1 2012-05-14 Andreas Jaeger <aj@suse.de>
3 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10 to 2.2.0 where earlier.
11 * sysdeps/unix/sysv/linux/configure: Regenerated.
12 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13 Remove conditional code.
14 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16 Remove conditional code.
17 [!__NR_lchown]: Likewise.
18 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19 [__NR_lchown]: Likewise.
20 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21 comment referencing __ASSUME_LCHOWN_SYSCALL.
22 * sysdeps/unix/sysv/linux/i386/sigaction.c
23 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26 Remove conditional code.
27 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28 (__protocol_available): Remove #if 0 code.
29 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32 * sysdeps/unix/sysv/linux/kernel-features.h
33 (__ASSUME_GETCWD_SYSCALL): Don't define.
34 (__ASSUME_REALTIME_SIGNALS): Likewise.
35 (__ASSUME_PREAD_SYSCALL): Likewise.
36 (__ASSUME_PWRITE_SYSCALL): Likewise.
37 (__ASSUME_POLL_SYSCALL): Likewise.
38 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41 (__ASSUME_SIOCGIFNAME): Don't define.
42 (__ASSUME_MSG_NOSIGNAL): Likewise.
43 (__ASSUME_SENDFILE): Define unconditionally.
44 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
53 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
55 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
58 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
70 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
77 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79 Remove conditional code.
80 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82 Remove conditional code.
83 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
84 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
85 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
86 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
87 Remove conditional code.
88 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
89 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
90 Remove conditional code.
91 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
92 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
93 Remove conditional code.
94 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
95 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
96 Remove conditional code.
97 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
98 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
99 Remove conditional code.
100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
101 * sysdeps/unix/sysv/linux/sh/pwrite64.c
102 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
104 * sysdeps/unix/sysv/linux/sigaction.c
105 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
106 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
107 * sysdeps/unix/sysv/linux/sigpending.c
108 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
109 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
110 * sysdeps/unix/sysv/linux/sigprocmask.c
111 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
112 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
113 * sysdeps/unix/sysv/linux/sigsuspend.c
114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
116 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
117 (__libc_missing_rt_sigs): Remove.
118 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
119 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
120 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
121 Remove conditional code.
122 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
123 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
125 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
126 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
128 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
130 2012-05-14 Andreas Jaeger <aj@suse.de>
132 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
133 it's not used in glibc.
134 (__coshm1): Likewise.
135 (__acosh1p): Likewise.
138 * manual/string.texi (Copying and Concatenation): Add missing
139 variable in concat example.
140 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
142 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
144 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
145 __builtin_clzl with __builtin_clzll.
147 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
150 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
153 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
155 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
156 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
157 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
158 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
160 2012-05-14 Mike Frysinger <vapier@gentoo.org>
162 * NEWS: Update ia64 info.
164 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
166 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
169 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
171 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
172 * sysdeps/unix/syscalls.list (dup3): Likewise.
173 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
174 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
176 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
178 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
179 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
181 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
183 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
185 (TLS_IE): Use mov/add instead of movq/addq to load thread
187 (TLS_GD_PREFIX): New.
190 2012-05-11 David S. Miller <davem@davemloft.net>
192 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
193 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
194 (_FPU_SETCW): Likewise.
196 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
198 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
201 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
204 * iconvdata/gb18030.c: Update tables.
205 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
206 characters specially.
207 (BODY for TO_LOOP): Add encoding of missing ranges.
209 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
212 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
213 * sysdeps/mach/hurd/dup3.c: Likewise.
214 * sysdeps/mach/hurd/readlinkat.c: Likewise.
215 * sysdeps/powerpc/memmove.c:: Likewise.
217 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
220 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
222 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
224 * elf/elf.h (R_X86_64_RELATIVE64): New.
225 (R_X86_64_NUM): Updated.
226 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
227 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
228 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
229 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
230 tst-quad1pie tst-quad2pie
231 (modules-names): Add tst-quadmod1 tst-quadmod2.
232 ($(objpfx)tst-quad1): New dependency.
233 ($(objpfx)tst-quad2): Likewise.
234 ($(objpfx)tst-quad1pie): Likewise.
235 ($(objpfx)tst-quad2pie): Likewise.
236 * sysdeps/x86_64/tst-quad1.c: New file.
237 * sysdeps/x86_64/tst-quad1pie.c: New file.
238 * sysdeps/x86_64/tst-quad2.c: Likewise.
239 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
240 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
241 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
242 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
243 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
245 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
247 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
248 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
249 * streams/stropts.h (t_scalar_t): Define type.
251 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
252 (_PATH_PRESERVE): Set to "/var/lib".
253 (_PATH_RWHODIR): Set to "/var/spool/rwho".
255 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
258 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
259 if __dir_mkfile succeeded.
261 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
262 checking for _hurd_dtablesize. Unlock it right after having
263 finished _hurd_dtable allocation.
265 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
267 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
268 * sysdeps/mach/hurd/configure: Regenerated.
269 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
271 * sysdeps/gnu/configure.in: ... this new file.
272 * sysdeps/unix/sysv/linux/configure: Regenerated.
273 * sysdeps/gnu/configure: New generated file.
275 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
276 for Linux: use nsec instead of usec, as well as:
277 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
278 members of type struct timespec.
279 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
281 (struct stat64): Likewise.
282 (_STATBUF_ST_NSEC): New macro.
283 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
285 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
286 __strtoul_internal rather than strtoul.
288 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
290 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
293 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
295 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
296 which preserves existing values.
297 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
299 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
301 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
302 TIMEOUT values. Return EINVAL for NFDS values either negative or
303 greater than FD_SETSIZE.
305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
307 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
308 allocated, call __vm_protect to finish enabling the existing space, and
309 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
310 allocate the remainder.
312 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
314 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
315 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
317 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
319 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
320 sysdeps/mach/hurd/readlink.c.
322 * posix/tst-sysconf.c (posix_options): Only use
323 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
324 _POSIX_SYNCHRONIZED_IO when they are defined
325 * sysdeps/mach/hurd/bits/posix_opt.h:
326 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
327 (_XOPEN_REALTIME): Undefine macro.
328 (_XOPEN_REALTIME_THREADS): Undefine macro.
329 (_XOPEN_SHM): Undefine macro.
330 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
332 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
334 (_POSIX_ASYNC_IO): Undefine macro.
335 (_POSIX_PRIORITIZED_IO): Undefine macro.
336 (_POSIX_SPIN_LOCKS): Define macro to -1.
338 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
339 SA_NODEFER, SA_RESETHAND.
340 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
341 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
344 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
346 * elf/Makefile (pldd-modules): Define unconditionally.
348 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
350 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
354 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
355 Return ENOENT when name is empty.
356 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
360 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
362 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
366 Fix mlock in all cases except non-readable pages.
367 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
368 instead of VM_PROT_ALL as parameter to __vm_wire function.
370 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
371 (__mkdir): When path is `/', just fail with EEXIST.
372 * sysdeps/mach/hurd/mkdirat.c: Likewise.
374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
376 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
377 <sys/uio.h> (for writev).
378 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
379 and <sys/param.h> (for MIN).
381 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
383 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
384 REQUESTED_TIME. Properly set the remaining time and return EINTR
387 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
389 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
390 Depend on against $(link-rpcuserlibs).
392 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
394 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
395 (__libc_stack_end): Do not use attribute_relro.
396 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
397 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
398 to libthread-provided value.
399 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
405 * bits/libc-lock.h (__libc_once_get): New macro.
406 * sysdeps/mach/bits/libc-lock.h: Likewise.
407 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
408 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
409 instead of using implementation details.
411 * libio/fileops.c: Unconditionally include <kernel-features.h>.
412 * libio/freopen.c: Likewise.
413 * libio/freopen64.c: Likewise.
414 * misc/syslog.c: Likewise.
415 * nscd/connections.c: Likewise.
416 * nscd/netgroupcache.c: Likewise.
417 * sysdeps/posix/getcwd.c: Likewise.
419 2012-05-10 Roland McGrath <roland@hack.frob.com>
421 * math/w_ilogbf.c: Add #include <limits.h>.
423 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
425 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
426 path instead of returning without unlocking.
428 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
429 immediate-write ioctls.
430 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
432 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
434 * sysdeps/mach/hurd/i386/init-first.c (init): Use
435 __builtin_frame_address instead of making assumptions about the
436 location of the return address relative to DATA. Force early load of
438 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
439 __builtin_frame_address.
442 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
443 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
444 implement dup3 and do some further code clean-ups.
445 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
446 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
448 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
450 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
452 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
453 HURD_CRITICAL_END around holding _hurd_dtable_lock.
454 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
455 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
456 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
459 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
460 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
461 when handler == SIG_ERR, not when handler != SIG_ERR.
463 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
465 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
466 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
469 accept4 for GNU Hurd.
470 * include/sys/socket.h (__libc_accept4): New prototype.
471 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
472 to implement __libc_accept4.
473 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
475 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
477 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
478 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
479 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
484 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
486 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
488 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
489 assertion on O_CLOEXEC flag.
490 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
491 * hurd/intern-fd.c: Likewise.
492 * hurd/port2fd.c: Likewise.
494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
497 * bits/in.h (IPV6_PKTINFO): Define new macro.
498 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
500 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
505 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
506 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
507 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
508 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
510 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
511 * math/libm-test.inc (logb_test) : Additional logb tests.
513 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
514 Andreas Jaeger <aj@suse.de>
516 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
517 * configure: Regenerated.
518 * config.h.in (LINK_OBSOLETE_RPC): New macro.
519 * config.make.in (link-obsolete-rpc): New substituted variable.
520 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
521 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
522 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
523 (shared-only-routines): Don't set it under [link-obsolete-rpc],
524 so that libc.a contains the symbols.
525 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
526 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
527 * sunrpc/auth_none.c: Likewise.
528 * sunrpc/auth_unix.c: Likewise.
529 * sunrpc/authdes_prot.c: Likewise.
530 * sunrpc/authuxprot.c: Likewise.
531 * sunrpc/clnt_gen.c: Likewise.
532 * sunrpc/clnt_perr.c: Likewise.
533 * sunrpc/clnt_raw.c: Likewise.
534 * sunrpc/clnt_simp.c: Likewise.
535 * sunrpc/clnt_tcp.c: Likewise.
536 * sunrpc/clnt_udp.c: Likewise.
537 * sunrpc/clnt_unix.c: Likewise.
538 * sunrpc/des_crypt.c: Likewise.
539 * sunrpc/des_soft.c: Likewise.
540 * sunrpc/get_myaddr.c: Likewise.
541 * sunrpc/key_call.c: Likewise.
542 * sunrpc/key_prot.c: Likewise.
543 * sunrpc/netname.c: Likewise.
544 * sunrpc/pm_getmaps.c: Likewise.
545 * sunrpc/pm_getport.c: Likewise.
546 * sunrpc/pmap_clnt.c: Likewise.
547 * sunrpc/pmap_prot.c: Likewise.
548 * sunrpc/pmap_prot2.c: Likewise.
549 * sunrpc/pmap_rmt.c: Likewise.
550 * sunrpc/publickey.c: Likewise.
551 * sunrpc/rpc_cmsg.c: Likewise.
552 * sunrpc/rpc_common.c: Likewise.
553 * sunrpc/rpc_dtable.c: Likewise.
554 * sunrpc/rpc_prot.c: Likewise.
555 * sunrpc/rpc_thread.c: Likewise.
556 * sunrpc/rtime.c: Likewise.
557 * sunrpc/svc.c: Likewise.
558 * sunrpc/svc_auth.c: Likewise.
559 * sunrpc/svc_raw.c: Likewise.
560 * sunrpc/svc_run.c: Likewise.
561 * sunrpc/svc_tcp.c: Likewise.
562 * sunrpc/svc_udp.c: Likewise.
563 * sunrpc/svc_unix.c: Likewise.
564 * sunrpc/svcauth_des.c: Likewise.
565 * sunrpc/xcrypt.c: Likewise.
566 * sunrpc/xdr.c: Likewise.
567 * sunrpc/xdr_array.c: Likewise.
568 * sunrpc/xdr_float.c: Likewise.
569 * sunrpc/xdr_intXX_t.c: Likewise.
570 * sunrpc/xdr_mem.c: Likewise.
571 * sunrpc/xdr_rec.c: Likewise.
572 * sunrpc/xdr_ref.c: Likewise.
573 * sunrpc/xdr_sizeof.c: Likewise.
574 * sunrpc/xdr_stdio.c: Likewise.
576 2012-05-10 Roland McGrath <roland@hack.frob.com>
578 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
579 change. Update copyright years.
581 2012-05-10 Joseph Myers <joseph@codesourcery.com>
583 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
585 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
586 Joseph Myers <joseph@codesourcery.com>
587 Paul Pluzhnikov <ppluzhnikov@google.com>
590 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
592 [cross-compiling] (extra-libs): Likewise.
593 [cross-compiling] (extra-libs-others): Likewise.
594 [cross-compiling] (librpcsvc-routines): Likewise.
595 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
596 [cross-compiling] (omit-deps): Likewise.
597 (sunrpc-CPPFLAGS): New variable.
598 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
599 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
600 (cross-rpcgen-objs): New variable.
601 (extra-objs): Append $(cross-rpcgen-objs).
602 ($(cross-rpcgen-objs)): New rule.
603 ($(objpfx)cross-rpcgen): Likewise.
604 (rpcgen-cmd): Define to use $(built-program-file). Expand
606 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
607 ($(objpfx)x%.stmp): Likewise.
608 * sunrpc/proto.h [IS_IN_build] (_): Define.
609 [IS_IN_build] (_libc_intl_domainname): Likewise.
611 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
614 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
615 and R_X86_64_TPOFF64.
617 2012-05-10 Joseph Myers <joseph@codesourcery.com>
619 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
620 sysdeps/unix/sysv/syscalls.list.
623 * sysdeps/unix/sysv/syscalls.list: Remove file.
625 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
628 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
629 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
630 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
631 (__LC_IDENTIFICATION): Make these macros useful in #if
632 expressions, as required by C99.
634 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
636 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
637 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
640 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
642 * stdlib/longlong.h: Updated from GCC.
644 2012-05-09 Andreas Jaeger <aj@suse.de>
646 * nscd/nscd.c (run_modes): Make named enum, reorder so that
647 default is first entry.
648 (run_mode): Set type.
649 (main): Remove informal message about syslog.
653 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
660 (nearbyint): Likewise.
661 (nearbyintf): Likewise.
663 2012-05-09 Andreas Jaeger <aj@suse.de>
664 Pedro Alves <palves@redhat.com>
666 * nscd/nscd.c (run_mode): Use enum.
667 (main): Cleanup coding style issue.
669 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
670 Andreas Jaeger <aj@suse.de>
672 * nscd/nscd.c (go_background): Replaced with...
673 (run_mode): ... this.
674 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
675 (options): Add -F --foreground.
676 (main): Implement it.
677 (parse_opt): Parse it.
679 2012-05-09 Andreas Jaeger <aj@suse.de>
682 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
683 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
684 -Wconversion warning.
685 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
688 2012-05-09 Joseph Myers <joseph@codesourcery.com>
690 * conform/data/locale.h-data (NULL): Use macro-constant. Require
692 (LC_ALL): Use macro-int-constant.
693 (LC_COLLATE): Likewise.
694 (LC_CTYPE): Likewise.
695 (LC_MESSAGES): Likewise.
696 (LC_MONETARY): Likewise.
697 (LC_NUMERIC): Likewise.
699 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
700 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
702 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
704 [C99-based standards] (float_t): Expect type.
705 [C99-based standards] (double_t): Expect type.
706 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
708 [C99-based standards] (HUGE_VALL): Likewise.
709 [C99-based standards] (INFINITY): Likewise.
710 [C99-based standards] (NAN): Likewise.
711 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
712 [C99-based standards] (FP_NAN): Likewise.
713 [C99-based standards] (FP_NORMAL): Likewise.
714 [C99-based standards] (FP_SUBNORMAL): Likewise.
715 [C99-based standards] (FP_ZERO): Likewise.
716 [C99-based standards] (FP_FAST_FMA): Use
717 optional-macro-int-constant. Specify type. Require == 1.
718 [C99-based standards] (FP_FAST_FMAF): Likewise.
719 [C99-based standards] (FP_FAST_FMAL): Likewise.
720 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
721 [C99-based standards] (FP_ILOGBNAN): Likewise.
722 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
724 [C99-based standards] (MATH_ERREXCEPT): Likewise.
725 [C99-based standards] (math_errhandling): Specify type.
726 [ISO99 || ISO11] (signgam): Do not allow.
727 [non-C99-based standards] (copysignf): Do not allow.
728 [non-C99-based standards] (exp2f): Likewise.
729 [non-C99-based standards] (log2f): Likewise.
730 [non-C99-based standards] (modff): Allow.
731 [non-C99-based standards] (erff): Do not allow.
732 [non-C99-based standards] (erfcf): Likewise.
733 [non-C99-based standards] (gammaf): Likewise.
734 [non-C99-based standards] (hypotf): Likewise.
735 [non-C99-based standards] (j0f): Likewise.
736 [non-C99-based standards] (j1f): Likewise.
737 [non-C99-based standards] (jnf): Likewise.
738 [non-C99-based standards] (lgammaf): Likewise.
739 [non-C99-based standards] (tgammaf): Likewise.
740 [non-C99-based standards] (y0f): Likewise.
741 [non-C99-based standards] (y1f): Likewise.
742 [non-C99-based standards] (ynf): Likewise.
743 [non-C99-based standards] (isnanf): Likewise.
744 [non-C99-based standards] (acoshf): Likewise.
745 [non-C99-based standards] (asinhf): Likewise.
746 [non-C99-based standards] (atanhf): Likewise.
747 [non-C99-based standards] (cbrtf): Likewise.
748 [non-C99-based standards] (expm1f): Likewise.
749 [non-C99-based standards] (ilogbf): Likewise.
750 [non-C99-based standards] (log1pf): Likewise.
751 [non-C99-based standards] (logbf): Likewise.
752 [non-C99-based standards] (nextafterf): Likewise.
753 [non-C99-based standards] (remainderf): Likewise.
754 [non-C99-based standards] (rintf): Likewise.
755 [non-C99-based standards] (scalbf): Likewise.
756 [non-C99-based standards] (copysignl): Likewise.
757 [non-C99-based standards] (exp2l): Likewise.
758 [non-C99-based standards] (log2l): Likewise.
759 [non-C99-based standards] (modfl): Allow.
760 [non-C99-based standards] (erfl): Do not allow.
761 [non-C99-based standards] (erfcl): Likewise.
762 [non-C99-based standards] (gammal): Likewise.
763 [non-C99-based standards] (hypotl): Likewise.
764 [non-C99-based standards] (j0l): Likewise.
765 [non-C99-based standards] (j1l): Likewise.
766 [non-C99-based standards] (jnl): Likewise.
767 [non-C99-based standards] (lgammal): Likewise.
768 [non-C99-based standards] (tgammal): Likewise.
769 [non-C99-based standards] (y0l): Likewise.
770 [non-C99-based standards] (y1l): Likewise.
771 [non-C99-based standards] (ynl): Likewise.
772 [non-C99-based standards] (isnanl): Likewise.
773 [non-C99-based standards] (acoshl): Likewise.
774 [non-C99-based standards] (asinhl): Likewise.
775 [non-C99-based standards] (atanhl): Likewise.
776 [non-C99-based standards] (cbrtl): Likewise.
777 [non-C99-based standards] (expm1l): Likewise.
778 [non-C99-based standards] (ilogbl): Likewise.
779 [non-C99-based standards] (log1pl): Likewise.
780 [non-C99-based standards] (logbl): Likewise.
781 [non-C99-based standards] (nextafterl): Likewise.
782 [non-C99-based standards] (remainderl): Likewise.
783 [non-C99-based standards] (rintl): Likewise.
784 [non-C99-based standards] (scalbl): Likewise.
785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
786 [non-C99-based standards] (FP_*): Do not allow.
787 [C99-based standards] (FP_*): Change to
788 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
789 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
791 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
793 [X/Open-based standards] (SIG_HOLD): Likewise.
795 (SIGABRT): Use macro-int-constant. Specify type. Require
802 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
803 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
804 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
805 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
806 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
807 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
808 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
809 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
810 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
811 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
812 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
813 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
814 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
815 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
816 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
817 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
818 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
819 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
820 [X/Open-based standards] (SIGTRAP): Likewise.
821 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
822 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
823 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
824 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
825 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
828 2012-05-08 Ian Wienand <ianw@vmware.com>
831 * time/tzset.c (__tzset_parse_tz): Update default rules for
832 daylight time changes in the Energy Policy Act of 2005.
834 2012-05-09 Andreas Jaeger <aj@suse.de>
837 * elf/ldconfig.c (parse_conf): Change string to make clear that
838 ldconfig only issued a warning if ld.so.conf does not exist.
840 2012-05-08 David S. Miller <davem@davemloft.net>
842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
843 movxtod instead of popping the value on the stack.
845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
847 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
849 * config.h.in: Add HAVE_ARM_PCS_VFP.
851 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
854 * include/features.h: Warn if user requests __FORTIFY_SOURCE
855 checking but the checks are disabled for any reason.
857 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
859 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
860 and ELF64_R_TYPE with ELFW(R_TYPE).
862 2012-05-08 Joseph Myers <joseph@codesourcery.com>
864 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
867 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
868 (settimeofday): Likewise.
870 2012-05-08 Mike Frysinger <vapier@gentoo.org>
872 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
873 a struct th_u2 inside the union, and move tu_block/tu_code into
874 a new th_u3 union of tu_block/tu_code inside of that. Move
875 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
876 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
877 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
878 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
879 (th_stuff): Change to th_u1.tu_stuff.
881 (th_msg): Change to th_u1.th_u2.tu_data.
883 2012-05-07 David S. Miller <davem@davemloft.net>
885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
888 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
889 (SETUP_PIC_REG): Use it.
890 (SETUP_PIC_REG_LEAF): Use it.
892 2012-05-07 Joseph Myers <joseph@codesourcery.com>
896 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
898 (EXPL_FINITE): Likewise.
900 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
901 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
903 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
905 (EXPL_FINITE): Likewise.
907 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
908 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
910 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
911 test of -max_value argument for long double.
912 * sysdeps/i386/fpu/libm-test-ulps: Update.
913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
915 2012-05-06 David S. Miller <davem@davemloft.net>
917 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
918 quad soft-float symbols whose references which are compiler
920 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
922 2012-05-06 Joseph Myers <joseph@codesourcery.com>
926 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
928 (EXPL_FINITE): Likewise.
932 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
933 Adjust comments for base varying.
934 (__expl_finite): Change alias to EXPL_FINITE.
935 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
937 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
938 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
939 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
940 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
943 (EXPL_FINITE): Likewise.
947 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
948 Adjust comments for base varying.
949 (__expl_finite): Change alias to EXPL_FINITE.
950 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
955 * math/libm-test.inc (check_float_internal): Correct ulp
956 calculation for subnormal expected results.
958 2012-05-06 Andreas Jaeger <aj@suse.de>
960 * Makeconfig (+math-flags): New, set to -frounding-math.
961 (+cflags): Add +math-flags so that all of glibc gets compiled with
964 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
966 2012-05-05 Joseph Myers <joseph@codesourcery.com>
968 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
974 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
975 (__ieee754_expl): Allow for and saturate large arguments.
976 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
977 (u_threshold): Likewise.
978 (__exp): Call __ieee754_exp before checking for overflow and
980 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
981 (u_threshold): Likewise.
982 (__expf): Call __ieee754_expf before checking for overflow and
984 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
985 (u_threshold): Likewise.
986 (__expl): Call __ieee754_expl before checking for overflow and
988 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
989 (__ieee754_expl): Allow for and saturate large arguments.
990 * math/libm-test.inc (exp_test): Add another test. Do not allow
991 missing overflow exception on overflow.
992 (expm1_test): Do not allow missing overflow exception on overflow.
994 * sysdeps/i386/fpu/e_expl.c: Move to ...
995 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
996 rather than using inline asm.
997 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
998 * sysdeps/x86_64/fpu/e_expl.S: Copy from
999 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1001 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1008 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1010 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1011 sysdeps/unix/common/syscalls.list.
1014 (ftruncate): Likewise.
1015 (getrusage): Likewise.
1016 (gettimeofday): Likewise.
1017 (setpgid): Likewise.
1018 (setregid): Likewise.
1019 (setreuid): Likewise.
1020 (sigaction): Likewise.
1021 (truncate): Likewise.
1022 (vhangup): Likewise.
1023 * sysdeps/unix/common/syscalls.list: Remove file.
1024 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1025 * sysdeps/unix/sysv/linux/Implies: Likewise.
1027 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1029 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1031 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1035 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1038 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1041 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1044 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1047 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1050 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1053 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1057 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1061 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1064 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1068 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1072 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1074 * sysdeps/unix/common/bits/dirent.h: Remove file.
1075 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1077 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1078 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1079 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1080 * sysdeps/unix/bsd/isatty.c: Likewise.
1081 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1082 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1083 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1085 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1089 long double comparison inaccuracies.
1090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1093 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1095 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1096 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1098 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1101 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1102 nonzero digits before rounding a hex value.
1103 * stdlib/tst-strtod.c (tests): Add another test.
1105 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1107 * sysdeps/s390/fpu/libm-test-ulps: Update.
1109 2012-05-03 Andreas Jaeger <aj@suse.de>
1111 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1112 does not get optimized out.
1113 (malloc_opt_barrier): New.
1115 2012-05-03 Andreas Jaeger <aj@suse.de>
1116 Roland McGrath <roland@hack.frob.com>
1118 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1119 intermediate file deletion.
1120 (generated): Add .symlist files.
1122 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1125 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1126 Redirect under this condition.
1127 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1128 [__USE_GNU] (__dprintf_chk): Not under this condition.
1129 [__USE_GNU] (__vdprintf_chk): Likewise.
1130 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1131 under this condition.
1132 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1133 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1134 [__USE_XOPEN2K8] (vdprintf): Likewise.
1135 [__USE_GNU] (__dprintf_chk): Not under this condition.
1136 [__USE_GNU] (__vdprintf_chk): Likewise.
1137 [__USE_GNU] (dprintf): Likewise.
1138 [__USE_GNU] (vdprintf): Likewise.
1140 2012-05-03 Roland McGrath <roland@hack.frob.com>
1142 * elf/Makefile (common-generated): Set this instead of generated for
1143 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1144 $(all-built-dso)-derived lists.
1146 2012-05-03 Andreas Jaeger <aj@suse.de>
1148 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152 * scripts/gen-FAQ.pl: Likewise.
1153 * manual/install.texi (Installation): Point to online location of
1155 * Makefile (files-for-dist): Remove FAQ.
1158 2012-05-02 Allan McRae <allan@archlinux.org>
1160 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1161 (LDFLAGS-reldepmod5.so): Likewise.
1162 (LDFLAGS-reldep6mod1.so): Likewise.
1163 (LDFLAGS-reldep6mod4.so): Likewise.
1164 (LDFLAGS-reldep8mod3.so): Likewise.
1165 (LDFLAGS-unload4mod1.so): Likewise.
1166 (LDFLAGS-unload4mod2.so): Likewise.
1167 (LDFLAGS-tst-initorder): Likewise.
1168 (LDFLAGS-tst-initordera2.so): Likewise.
1169 (LDFLAGS-tst-initordera3.so): Likewise.
1170 (LDFLAGS-tst-initordera4.so): Likewise.
1171 (LDFLAGS-tst-initorderb2.so): Likewise.
1172 (LDFLAGS-noload): Likewise.
1173 (LDFLAGS-next): Likewise.
1174 (LDFLAGS-order2mod1.so): Likewise.
1175 (LDFLAGS-order2mod2.so): Likewise.
1176 (LDFLAGS-tst-initorder2): Likewise.
1177 (LDFLAGS-tst-initorder2a.so): Likewise.
1178 (LDFLAGS-tst-initorder2b.so): Likewise.
1179 (LDFLAGS-tst-initorder2c.so): Likewise.
1180 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1182 2012-05-02 David S. Miller <davem@davemloft.net>
1184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1186 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1189 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1191 2012-05-02 Andreas Jaeger <aj@suse.de>
1193 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1194 since we manipulate rounding mode.
1195 (CPPFLAGS-test-idouble.c): Likewise.
1196 (CPPFLAGS-test-ifloat.c): Likewise.
1197 (CFLAGS-test-ldouble.c): Likewise.
1198 (CFLAGS-test-double.c): Likewise.
1199 (CFLAGS-test-float.c): Likewise.
1200 (CFLAGS-test-misc.c): Likewise.
1201 (CFLAGS-test-test-fenv.c): Likewise.
1203 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1207 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1208 comparisons to determine direction to adjust input.
1210 2012-05-01 Roland McGrath <roland@hack.frob.com>
1212 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1213 output to the target.
1215 * scripts/localplt.awk: New file.
1216 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1217 (check-localplt-CFLAGS): Variable removed.
1218 ($(all-built-dso:=.jmprel)): New static pattern rule.
1219 (generated): Add those targets.
1220 (localplt-built-dso): New variable.
1221 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1223 * elf/check-localplt.c: File removed.
1225 * scripts/check-execstack.awk: New file.
1226 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1227 (check-execstack-CFLAGS): Variable removed.
1228 ($(objpfx)check-execstack.h): Target removed.
1229 ($(objpfx)execstack-default): New target.
1230 (generated): Add that instead of check-execstack.h.
1231 ($(all-built-dso:=.phdr)): New static pattern rule.
1232 (generated): Add those targets.
1233 * elf/check-execstack.c: File removed.
1235 * scripts/check-textrel.awk: New file.
1236 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1237 (check-textrel-CFLAGS): Variable removed.
1238 (all-built-dso): Use := to define.o
1239 ($(all-built-dso:=.dyn)): New static pattern rule.
1240 (generated): Add those targets.
1241 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1242 * config.make.in (READELF): New substituted variable.
1243 * elf/check-textrel.c: File removed.
1245 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1247 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1249 * conform/data/ctype.h-data [C99-based standards] (isblank):
1251 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1252 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1253 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1254 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1255 Specify type. Require positive value.
1258 [ISO || POSIX] (EILSEQ): Do not expect.
1259 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1260 Specify type. Require positive value.
1261 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1262 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1263 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1264 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1265 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1266 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1267 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1268 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1269 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1270 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1271 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1272 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1273 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1274 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1275 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1276 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1277 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1278 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1279 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1280 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1281 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1282 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1283 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1284 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1285 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1286 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1287 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1288 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1289 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1290 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1291 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1292 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1293 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1294 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1295 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1296 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1297 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1298 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1299 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1300 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1301 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1302 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1303 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1304 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1305 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1306 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1307 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1308 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1309 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1310 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1311 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1312 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1313 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1314 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1315 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1316 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1317 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1318 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1319 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1320 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1321 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1322 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1323 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1324 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1325 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1326 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1327 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1328 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1329 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1330 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1331 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1332 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1333 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1334 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1335 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1336 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1337 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1339 (FLT_ROUNDS): Expect as macro, not constant.
1340 (FLT_MANT_DIG): Use macro-int-constant.
1341 (DBL_MANT_DIG): Likewise.
1342 (LDBL_MANT_DIG): Likewise.
1343 (FLT_DIG): Likewise.
1344 (DBL_DIG): Likewise.
1345 (LDBL_DIG): Likewise.
1346 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1347 (DBL_MIN_EXP): Likewise.
1348 (LDBL_MIN_EXP): Likewise.
1349 (FLT_MAX_EXP): Use macro-int-constant.
1350 (DBL_MAX_EXP): Likewise.
1351 (LDBL_MAX_EXP): Likewise.
1352 (FLT_MAX_10_EXP): Likewise.
1353 (DBL_MAX_10_EXP): Likewise.
1354 (LDBL_MAX_10_EXP): Likewise.
1355 (FLT_MAX): Use macro-constant.
1356 (DBL_MAX): Likewise.
1357 (LDBL_MAX): Likewise.
1358 (FLT_EPSILON): Use macro-constant. Give upper bound.
1359 (DBL_EPSILON): Likewise.
1360 (LDBL_EPSILON): Likewise.
1361 (FLT_MIN): Likewise.
1362 (DBL_MIN): Likewise.
1363 (LDBL_MIN): Likewise.
1364 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1365 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1366 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1367 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1368 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1369 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1370 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1371 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1372 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1373 [ISO11] (FLT_TRUE_MIN): Likewise.
1374 [ISO11] (LDBL_TRUE_MIN): Likewise.
1375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1376 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1377 (SCHAR_MIN): Use macro-int-constant. Specify type.
1378 (SCHAR_MAX): Likewise.
1379 (UCHAR_MAX): Likewise.
1380 (CHAR_MIN): Likewise.
1381 (CHAR_MAX): Likewise.
1382 (MB_LEN_MAX): Use macro-int-constant.
1383 (SHRT_MIN): Use macro-int-constant. Specify type.
1384 (SHRT_MAX): Likewise.
1385 (USHRT_MAX): Likewise.
1386 (INT_MAX): Likewise.
1387 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1389 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1391 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1393 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1394 bound negative. Suffix upper bound with "L".
1395 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1397 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1399 [C99-based standards] (LLONG_MAX): Likewise.
1400 [C99-based standards] (ULLONG_MAX): Likewise.
1401 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1403 [ISO11] (max_align_t): Require type.
1404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1406 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1407 from $CFLAGS, without defining away __attribute__ calls.
1408 (checknamespace): Use $CFLAGS_namespace.
1410 * conform/conformtest.pl (@keywords): Only include C99 keywords
1411 for standards based on C99 or C11.
1413 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1415 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1418 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1419 usability of symbols in #if.
1421 * conform/conformtest.pl: If macro or constant types start
1422 "promoted:", expect the symbol to be of the following type
1423 promoted by the integer promotions.
1425 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1426 in one place. Also handle "macro-constant".
1428 * conform/conformtest.pl: Only accept expected macro values with
1429 "==". Parse all "macro" lines in one place.
1430 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1432 * conform/conformtest.pl: Handle braced types on "constant" lines
1433 instead of handling "typed-constant".
1434 * conform/data/signal.h-data: Use "constant" instead of
1437 * conform/conformtest.pl: Handle "optional-" at start of lines in
1438 one place rather than duplicating several cases. Handle each
1439 format of "macro" line with initial "optional-".
1441 * conform/conformtest.pl: Only accept expected constant or
1442 optional-constant values with "==". Parse all "constant" lines in
1443 one place. Parse all "optional-constant" lines in one place.
1444 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1445 * conform/data/fmtmsg.h-data: Likewise.
1446 * conform/data/netinet/in.h-data: Likewise.
1447 * conform/data/tar.h-data: Likewise.
1448 * conform/data/limits.h-data: Use "==" form on "constant" and
1449 "optional-constant" lines.
1451 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1452 Use -std=c99 for XOPEN2K.
1453 (@knownproblems): Remove.
1454 (newtoken): Don't check %isknown.
1456 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1457 Do not expect macro.
1458 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1459 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1460 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1461 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1462 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1463 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1464 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1465 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1466 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1467 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1468 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1469 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1470 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1471 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1472 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1473 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1474 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1475 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1476 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1477 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1478 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1479 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1480 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1481 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1482 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1483 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1484 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1485 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1486 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1487 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1488 [XPG3] (acosh): Likewise.
1489 [XPG3] (asinh): Likewise.
1490 [XPG3] (atanh): Likewise.
1491 [XPG3] (cbrt): Likewise.
1492 [XPG3] (expm1): Likewise.
1493 [XPG3] (ilogb): Likewise.
1494 [XPG3] (log1p): Likewise.
1495 [XPG3] (logb): Likewise.
1496 [XPG3] (nextafter): Likewise.
1497 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1498 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1499 [XPG3] (remainder): Likewise.
1500 [XPG3] (rint): Likewise.
1501 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1502 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1503 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1504 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1505 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1506 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1507 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1508 [UNIX98 || XOPEN2K] (scalb): Expect.
1509 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1510 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1511 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1512 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1513 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1514 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1515 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1516 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1517 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1518 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1519 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1520 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1521 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1522 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1523 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1524 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1525 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1526 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1527 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1528 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1529 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1530 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1531 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1532 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1533 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1534 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1535 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1536 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1537 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1538 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1539 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1540 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1541 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1542 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1543 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1544 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1545 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1546 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1547 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1548 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1549 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1550 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1551 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1552 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1553 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1554 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1555 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1556 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1557 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1558 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1559 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1560 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1561 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1562 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1563 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1564 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1565 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1566 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1567 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1568 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1569 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1570 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1571 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1572 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1573 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1574 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1575 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1576 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1577 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1578 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1579 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1580 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1581 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1582 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1583 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1584 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1585 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1586 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1587 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1588 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1589 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1590 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1591 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1592 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1593 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1594 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1595 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1596 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1597 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1598 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1599 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1600 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1601 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1602 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1603 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1604 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1605 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1606 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1607 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1619 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1620 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1642 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1643 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1644 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1647 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1648 _XOPEN_SOURCE_EXTENDED for XPG4.
1650 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1652 * Makeconfig (localtime): Remove variable.
1653 (inst_localtime-file): Likewise.
1655 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1676 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1680 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1681 comparisons to determine direction to adjust input.
1682 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1683 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1686 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1688 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1690 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1691 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1693 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1695 * math/libm-test.inc (nexttoward_test): Add more tests.
1697 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1700 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1701 in version GLIBC_2.1, not GLIBC_2.0.
1702 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1705 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1708 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1710 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1711 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1712 * math/libm-test.inc (acos_test): Add more tests.
1713 (asin_test): Likewise.
1714 * sysdeps/i386/fpu/libm-test-ulps: Update.
1715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1718 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1720 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1721 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1722 * math/libm-test.inc (acos_test_tonearest): New function.
1723 (acos_test_towardzero): Likewise.
1724 (acos_test_downward): Likewise.
1725 (acos_test_upward): Likewise.
1726 (asin_test_tonearest): Likewise.
1727 (asin_test_towardzero): Likewise.
1728 (asin_test_downward): Likewise.
1729 (asin_test_upward): Likewise.
1730 (main): Call the new functions.
1731 * sysdeps/i386/fpu/libm-test-ulps: Update.
1732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1736 * math/e_exp10.c: Include <float.h>.
1737 (__ieee754_exp10): Handle underflow here rather than multiplying
1738 large negative argument by M_LN10.
1739 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1741 * math/e_exp10l.c: Include <float.h>.
1742 (__ieee754_exp10l): Handle underflow here rather than multiplying
1743 large negative argument by M_LN10l.
1744 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1745 spurious overflow exception on underflow.
1747 2012-04-29 Marek Polacek <polacek@redhat.com>
1749 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1750 (__fortify_function): New macro.
1751 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1752 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1753 __extern_always_inline.
1754 * libio/bits/stdio2.h: Likewise.
1755 * libio/bits/stdio.h: Likewise.
1756 * string/string.h: Likewise.
1757 * string/bits/string3.h: Likewise.
1758 * include/stdio.h: Likewise.
1759 * stdlib/bits/stdlib.h: Likewise.
1760 * stdlib/stdlib.h: Likewise.
1761 * rt/bits/mqueue2.h: Likewise.
1762 * rt/mqueue.h: Likewise.
1763 * posix/bits/unistd.h: Likewise.
1764 * posix/unistd.h: Likewise.
1765 * io/bits/poll2.h: Likewise.
1766 * io/bits/fcntl2.h: Likewise.
1767 * io/fcntl.h: Likewise.
1768 * io/sys/poll.h: Likewise.
1769 * misc/bits/syslog.h: Likewise.
1770 * misc/bits/syslog-ldbl.h: Likewise.
1771 * misc/sys/syslog.h: Likewise.
1772 * socket/bits/socket2.h: Likewise.
1773 * socket/sys/socket.h: Likewise.
1774 * debug/tst-chk1.c: Likewise.
1775 * wcsmbs/bits/wchar2.h: Likewise.
1776 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1777 * wcsmbs/wchar.h: Likewise.
1779 2012-04-29 Andreas Jaeger <aj@suse.de>
1781 * Makerules (tests): Remove enable-check-abi protection.
1782 (check-abi-warn): Remove.
1783 (check-abi-%): Remove check-abi-warn usage.
1785 * configure.in: Remove check-abi configure option.
1786 * configure: Regenerated.
1787 * config.make.in (enable-check-abi): Remove.
1789 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1792 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1793 double functions to double *_finite functions.
1796 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1797 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1799 * stdio-common/Makefile (tests): Add tst-sprintf3.
1800 * stdio-common/tst-sprintf3.c: New file.
1802 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1803 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1805 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1807 * conform/conformtest.pl: Remove duplicate typed-constant
1810 2012-04-28 David S. Miller <davem@davemloft.net>
1812 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1813 (check-abi-%): Remove AWK script prerequisite and explicit
1815 (check-abi): Rewrite to just diff the symlist with the abilist.
1816 (config-tls, config-abi-config): Delete, no longer used.
1817 (update-abi-%): Remove AWK script and explicit abilist directory.
1818 (update-abi): Rewrite to simply compare and conditionally copy the
1819 symlist and the sysdep abilist file. Remove update-abi-config
1821 * abilist/ld.abilist: Remove.
1822 * abilist/libBrokenLocale.abilist: Remove.
1823 * abilist/libanl.abilist: Remove.
1824 * abilist/libcrypt.abilist: Remove.
1825 * abilist/libdl.abilist: Remove.
1826 * abilist/librt.abilist: Remove.
1827 * abilist/libthread_db.abilist: Remove.
1828 * abilist/libutil.abilist: Remove.
1829 * scripts/extract-abilist.awk: Remove.
1830 * scripts/merge-abilist.awk: Remove.
1831 * sysdeps/generic/libcidn.abilist: New file.
1832 * sysdeps/generic/libnss_compat.abilist: New file.
1833 * sysdeps/generic/libnss_db.abilist: New file.
1834 * sysdeps/generic/libnss_dns.abilist: New file.
1835 * sysdeps/generic/libnss_files.abilist: New file.
1836 * sysdeps/generic/libnss_hesiod.abilist: New file.
1837 * sysdeps/generic/libnss_nis.abilist: New file.
1838 * sysdeps/generic/libnss_nisplus.abilist: New file.
1839 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1840 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1841 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1844 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1845 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1846 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1847 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1848 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1849 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1850 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1851 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1853 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1854 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1855 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1856 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1858 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1859 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1860 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1861 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1862 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1863 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1865 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1866 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1867 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1869 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1972 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1973 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1974 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1977 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1978 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1979 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1980 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1981 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1982 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1983 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1984 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1985 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2037 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2039 * conform/conformtest.pl: Fix typo in handling typed-constant from
2042 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2044 * README: Cut down references to pre-2.6 Linux kernels and
2045 Linuxthreads. Update lists of configurations in libc and ports
2046 and sort alphabetically. Say "or newer" with Linux kernel version
2049 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2051 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2054 * math/libm-test.inc (logb_test_downward): New test to expose
2055 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2058 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2061 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2063 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2064 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2066 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2068 * sysdeps/unix/i386/brk.S: Remove file.
2069 * sysdeps/unix/i386/dl-brk.S: Likewise.
2070 * sysdeps/unix/i386/pipe.S: Likewise.
2071 * sysdeps/unix/i386/sigreturn.S: Likewise.
2072 * sysdeps/unix/i386/syscall.S: Likewise.
2073 * sysdeps/unix/i386/vfork.S: Likewise.
2074 * sysdeps/unix/i386/wait.S: Likewise.
2076 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2077 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2079 * configure.in (arm*-none*): Do not allow without
2080 --enable-hacker-mode.
2081 (netbsd*): Remove case setting base_os.
2082 (386bsd*): Likewise.
2083 (freebsd*): Likewise.
2087 (ultrix*): Likewise.
2088 (newsos*): Likewise.
2098 (solaris[2-9]*): Likewise.
2100 * configure: Regenerated.
2102 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2105 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2106 overflow or cancellation in calculating denominator.
2107 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2108 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2109 down expression to avoid unexpected rounding in newer GCCs.
2110 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2112 2012-04-26 David S. Miller <davem@davemloft.net>
2114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2115 long-double compat symbols.
2116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2130 2012-04-25 David S. Miller <davem@davemloft.net>
2132 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2133 HWCAP_* values only after the memory barriers have been defined.
2134 (atomic_full_barrier): Define.
2135 (atomic_read_barrier): Define.
2136 (atomic_write_barrier): Define.
2138 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2140 * shlib-versions: Add libgcc_s version information.
2141 * sysdeps/generic/libgcc_s.h: Remove.
2142 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2144 * sysdeps/gnu/unwind-resume.c: Likewise.
2145 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2147 2012-04-25 David S. Miller <davem@davemloft.net>
2149 * sysdeps/unix/sparc/brk.S: Delete.
2150 * sysdeps/unix/sparc/dl-brk.S: Delete.
2151 * sysdeps/unix/sparc/pipe.S: Delete.
2152 * sysdeps/unix/sparc/sysdep.S: Delete.
2153 * sysdeps/unix/sparc/sysdep.h: Delete.
2154 * sysdeps/unix/sparc/vfork.S: Delete.
2155 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2156 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2157 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2158 ret_ERRVAL, r0, r1, MOVE): Define.
2159 (JUMPTARGET): Remove.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2161 sysdeps/unix/sparc/sysdep.h
2162 (ENTRY, END): Remove.
2163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2165 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2167 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2168 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2171 * timezone/README: Update upstream location and email address for
2173 * timezone/zdump.c: Update from tzcode 2012b.
2174 * timezone/zic.c: Likewise.
2176 * configure.in (libc_cv_as_needed): Remove test.
2177 * configure: Regenerated.
2178 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2179 conditional definition.
2180 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2181 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2182 * config.make.in (have-as-needed): Remove variable.
2184 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2185 Paul Pluzhnikov <ppluzhnikov@google.com>
2187 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2190 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2192 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2193 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2194 * sysdeps/sh/strlen.S: Likewise.
2196 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2198 * sysdeps/unix/fork.S: Remove file.
2199 * sysdeps/unix/i386/fork.S: Likewise.
2200 * sysdeps/unix/sparc/fork.S: Likewise.
2202 * sysdeps/unix/system.c: Remove file.
2203 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2205 * sysdeps/unix/getegid.S: Remove file.
2206 * sysdeps/unix/geteuid.S: Likewise.
2208 2012-04-24 Roland McGrath <roland@hack.frob.com>
2210 * scripts/check-localplt.awk: New file.
2211 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2213 * scripts/data/localplt-generic.data: Add a comment.
2215 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2216 NODE when __dir_mkfile failed.
2217 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2218 Reported by Ludovic Courtès <ludo@gnu.org>.
2220 2012-04-24 Andreas Jaeger <aj@suse.de>
2222 * Makerules (common-clean): Also remove gen-as-const-headers
2225 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2227 * Makerules (native-compile): Do not change working directory for
2228 build. Use $(OUTPUT_OPTION) in command.
2229 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2231 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2234 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2235 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2236 * math/libm-test.inc (floor_test): Add more tests.
2237 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2239 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2241 * sysdeps/unix/getdents.c: Remove file.
2242 * sysdeps/unix/sysv/getdents.c: Likewise.
2243 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2245 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2246 sysdeps/unix/mman/syscalls.list.
2248 (mprotect): Likewise.
2251 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2252 * sysdeps/unix/mman/syscalls.list: Remove.
2253 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2255 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2256 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2257 * configure: Regenerated.
2258 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2260 * config.make.in (libgcc_s_suffix): Remove variable.
2262 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2264 * sysdeps/unix/sysv/gethostname.c: Move to ...
2265 * sysdeps/posix/gethostname.c: ... here.
2267 * sysdeps/unix/execve.S: Remove file.
2269 * sysdeps/unix/_exit.S: Remove file.
2271 2012-04-23 Andreas Jaeger <aj@suse.de>
2274 * manual/Makefile: Remove make dist support, there's no
2275 need for a stand-alone documentation tar ball.
2276 (TEXI2DVI): Define always, it's not in Makeconfig.
2280 (glibc-doc-$(edition).tar): Removed
2284 (ETAGS): Remove, it's in Makeconfig.
2285 (move-if-change): Remove, it's in Makeconfig.
2287 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2290 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2291 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2292 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2293 (strtod_l, strtof_l, strtold_l): Remove __wur.
2294 It is not necessarily an error to ignore strtol's return value.
2295 One can reliably look at the stored endptr to decide whether
2296 the number had valid syntax.
2298 2012-04-21 Andreas Jaeger <aj@suse.de>
2301 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2303 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2305 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2306 * sysdeps/unix/sysv/Versions: Remove file.
2308 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2313 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2317 version from __vm86.
2319 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/unix/common/lxstat.c: Remove file.
2322 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2324 * sysdeps/unix/sysv/Makefile: Remove file.
2326 * sysdeps/unix/sysv/direct.h: Remove file.
2328 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2329 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2330 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2331 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2332 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2333 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2334 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2336 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2338 * sysdeps/unix/xmknod.c: Remove file.
2339 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2341 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2343 * sysdeps/unix/sysv/i386/time.S: Remove file.
2345 * sysdeps/unix/fxstat.c: Remove file.
2346 * sysdeps/unix/xstat.c: Likewise.
2347 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2349 * sysdeps/unix/sysv/sigaction.c: Remove file.
2351 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2352 (sysdep_headers): Remove variable.
2353 [termio.h not in sysdep_headers] (generated): Likewise.
2354 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2355 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2356 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2357 * sysdeps/unix/sysv/tcflow.c: Likewise.
2358 * sysdeps/unix/sysv/tcflush.c: Likewise.
2359 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2360 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2361 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2362 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2363 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2365 * sysdeps/unix/siglist.c: Remove file.
2367 * sysdeps/unix/getppid.S: Remove file.
2369 * sysdeps/unix/mkdir.c: Remove file.
2370 * sysdeps/unix/rmdir.c: Likewise.
2372 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2374 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2376 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2377 errlist-compat value.
2379 2012-04-18 David S. Miller <davem@davemloft.net>
2381 * sysdeps/generic/memcopy.h (reg_char): Delete.
2382 * debug/strcat_chk.c: Use char, not reg_char.
2383 * debug/strcpy_chk.c: Likewise.
2384 * debug/strncat_chk.c: Likewise.
2385 * debug/strncpy_chk.c: Likewise.
2386 * string/memchr.c: Likewise.
2387 * string/memrchr.c: Likewise.
2388 * string/rawmemchr.c: Likewise.
2389 * string/strcat.c: Likewise.
2390 * string/strchr.c: Likewise.
2391 * string/strchrnul.c: Likewise.
2392 * string/strcmp.c: Likewise.
2393 * string/strcpy.c: Likewise.
2394 * string/strncat.c: Likewise.
2395 * string/strncmp.c: Likewise.
2396 * string/strncpy.c: Likewise.
2398 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2400 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2401 __builtin_memcopy is called when src and dest ranges are known to not
2404 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2407 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2408 fwd_align_merge macro call.
2409 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2410 bwd_align_merge macro call.
2411 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2413 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2415 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2416 bwd_align_merge macros.
2417 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2418 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2419 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2421 2012-04-18 David S. Miller <davem@davemloft.net>
2423 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2425 2012-04-18 Andreas Jaeger <aj@suse.de>
2428 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2429 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2430 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2432 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2433 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2434 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2436 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2437 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2438 Adjust for changed ldbl-128 files.
2440 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2441 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2442 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2444 2012-04-17 David S. Miller <davem@davemloft.net>
2446 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2448 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2450 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2451 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2452 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2453 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2454 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2455 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2457 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2460 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2461 * math/libm-test.inc: Add ilogb errno and exception tests.
2462 * math/w_ilogb.c: New file: ilogb wrapper.
2463 * math/w_ilogbf.c: New file: ilogbf wrapper.
2464 * math/w_ilogbl.c: New file: ilogbl wrapper.
2465 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2466 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2467 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2468 exception being thrown with 0.0 as argument.
2469 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2470 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2471 exception being thrown with 0.0 as argument.
2472 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2473 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2474 exception being thrown with 0.0 as argument.
2475 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2476 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2477 exception being thrown with 0.0 as argument.
2478 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2479 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2480 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2481 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2482 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2483 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2484 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2485 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2486 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2488 2012-04-17 Petr Baudis <pasky@ucw.cz>
2490 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2493 2012-04-16 Marek Polacek <polacek@redhat.com>
2495 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2497 2012-04-16 Marek Polacek <polacek@redhat.com>
2499 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2500 operands of fdivp instruction.
2502 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2504 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2505 * elf/tst-auditmod3b.c: Likewise.
2506 * elf/tst-auditmod4b.c: Likewise.
2507 * elf/tst-auditmod5b.c: Likewise.
2508 * elf/tst-auditmod6b.c: Likewise.
2509 * elf/tst-auditmod6c.c: Likewise.
2510 * elf/tst-auditmod7b.c: Likewise.
2511 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2512 * sysdeps/x86_64/preconfigure.in: Likewise.
2513 * sysdeps/x86_64/preconfigure: Regenerated.
2515 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2517 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2520 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2523 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2525 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2528 * locale/iso-639.def: Fix gl language name. Spotted by
2531 2012-04-12 Roland McGrath <roland@hack.frob.com>
2534 * libio/libio.h (__io_write_fn): Update comment.
2536 2012-04-12 Petr Baudis <pasky@ucw.cz>
2539 * stdio.texi (Hook Functions): The user provided writer function
2540 is not allowed to return -1.
2542 2012-04-11 David S. Miller <davem@davemloft.net>
2544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2546 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2548 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2549 Add a leading slash to rtkaio.
2551 2012-04-11 Jim Meyering <meyering@redhat.com>
2554 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2555 It is not necessarily an error to ignore fwrite's return
2556 value. One can reliably use ferror to test for errors after
2559 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2561 * bits/types.h (__snseconds_t): New type.
2562 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2564 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2566 (__SNSECONDS_T_TYPE): Likewise.
2567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2568 (__SNSECONDS_T_TYPE): Likewise.
2569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2570 (__SNSECONDS_T_TYPE): Likewise.
2572 2012-04-10 Andreas Jaeger <aj@suse.de>
2575 * manual/time.texi (Processor Time): Return type of times is
2576 elapsed real time since an arbitrary point in the past.
2577 (CPU Time): Move CLK_TCK from here...
2578 (Processor Time): ...to here. Correct description.
2579 * manual/conf.texi (Constants for Sysconf): Correct description of
2582 2012-04-10 David S. Miller <davem@davemloft.net>
2585 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2586 where the is a gap between DT_REL(A) and DT_JMPREL.
2588 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2590 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2591 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2592 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2594 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2596 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2597 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2598 (dl_main): Handle --inhibit-cache.
2599 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2601 * elf/dl-load.c (_dl_map_object): Use it.
2602 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2604 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2607 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2608 (__ieee754_powl): Saturate large exponents rather than testing for
2609 overflow of y*log2(x).
2610 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2611 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2615 * math/s_ctan.c: Include <float.h>.
2616 (__ctan): Avoid internal overflow or cancellation in calculating
2618 * math/s_ctanf.c: Likewise.
2619 * math/s_ctanl.c: Likewise.
2620 * math/s_ctanh.c: Likewise.
2621 * math/s_ctanhf.c: Likewise.
2622 * math/s_ctanhl.c: Likewise.
2623 * math/libm-test.inc (ctan_test): Add more tests.
2624 (ctanh_test): Likewise.
2625 * sysdeps/i386/fpu/libm-test-ulps: Update.
2626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2628 2012-04-09 Andreas Jaeger <aj@suse.de>
2631 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2632 is an optional BSD extension.
2635 * manual/stdio.texi (Opening Streams): Document additional fopen
2638 2012-04-09 Roland McGrath <roland@hack.frob.com>
2640 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2641 %eax without telling the compiler.
2643 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2646 * manual/install.texi: Use sourceware.org.
2648 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2651 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2652 (__ieee754_pow): Generate overflow and underflow using huge*huge
2653 and tiny*tiny rather than just returning constant infinity or zero
2654 for large exponents.
2655 * math/libm-test.inc (pow_test): Require overflow exceptions for
2656 applicable cases of large exponents.
2659 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2660 (__ieee754_pow): Use iterative multiplication algorithm only for
2661 integer exponents with absolute value below 1024. Check for odd
2662 integer exponents when using algorithm for real exponents.
2663 * math/libm-test.inc (pow_test): Add more tests.
2664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2666 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2669 * math/libm-test.inc (exp_test): Do not allow overflow exception
2672 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2675 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2676 instead of __kernel_standard_f.
2678 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2680 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2681 * sysdeps/x86_64/memset_chk.S: Likewise.
2683 2012-04-08 Andreas Jaeger <aj@suse.de>
2686 * manual/startup.texi (Environment Access): Describe return value
2687 for putenv and setenv.
2690 * manual/filesys.texi (Directory Entries): Add description for
2694 * manual/filesys.texi (Directory Entries): Clarify that it's file
2695 system not operating system in the description of DT_UNKNOWN.
2698 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2700 2012-04-08 Stephen Compall <s11@member.fsf.org>
2703 * manual/llio.texi (Opening and Closing Files): Add cross
2704 reference to explain mode argument.
2706 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2708 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2709 * sysdeps/x86_64/memset_chk.S: Likewise.
2711 2012-04-07 David S. Miller <davem@davemloft.net>
2713 * elf/elf.h (R_SPARC_WDISP10): Define.
2714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2716 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2717 R_SPARC_SIZE64 and R_SPARC_H34.
2719 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2721 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2722 conditions and remove no longer applicable assertion.
2724 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2726 * bits/byteswap.h: Include <features.h>.
2727 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2728 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2730 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2732 * bits/byteswap.h (__bswap_16): Removed.
2733 Include <bits/byteswap-16.h> to get __bswap_16.
2734 * sysdeps/i386/bits/byteswap.h: Likewise.
2735 * sysdeps/s390/bits/byteswap.h: Likewise.
2736 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2737 * bits/byteswap-16.h: New file.
2738 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2739 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2740 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2741 * string/Makefile (headers): Add bits/byteswap-16.h.
2743 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2746 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2748 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2749 * nss/tst-nss-static.c: New.
2751 2012-04-06 Robert Millan <rmh@gnu.org>
2754 * manual/llio.texi (File Position Primitive): lseek
2755 refers to WHENCE when it really means OFFSET.
2757 2012-04-06 Andreas Jaeger <aj@suse.de>
2759 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2760 strncmp declarations.
2762 * abilist/libc.abilist: Add __poll and __ppoll.
2764 2012-04-05 David S. Miller <davem@davemloft.net>
2766 * scripts/check-local-headers.sh: Accept a host triplet in the
2767 path matched by the exclude regexp.
2769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2771 * sysdeps/powerpc/powerpc32/dl-machine.h
2772 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2773 * sysdeps/s390/s390-32/dl-machine.h
2774 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2775 * sysdeps/sparc/sparc32/dl-machine.h
2776 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2777 * sysdeps/sparc/sparc64/dl-machine.h
2778 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2780 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2782 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2783 undefined symbol errors.
2785 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2788 2012-04-05 Michael Matz <matz@suse.de>
2791 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2793 2012-04-05 Andreas Jaeger <aj@suse.de>
2796 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2799 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2801 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2802 which ROUND is no valid rounding mode.
2804 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2808 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2810 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2812 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2813 an exception using FPU order intentionally.
2815 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2817 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2818 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2819 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2820 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2822 2012-04-05 Simon Josefsson <simon@josefsson.org>
2825 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2826 EINVAL when BUFLEN is too smal.
2828 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2831 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2832 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2834 2012-04-03 Andreas Jaeger <aj@suse.de>
2837 * manual/setjmp.texi (System V contexts): Fix sentence.
2840 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2841 New macro for this case.
2842 [!__GNUC__] (__bswap_64): New inline function for this case.
2843 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2844 * bits/byteswap.h: Likewise.
2845 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2846 ull, guard with __GLIBC_HAVE_LONG_LONG.
2848 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2849 __GLIBC_HAVE_LONG_LONG.
2851 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2852 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2854 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2857 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2858 inptr and inend, rather than using last_ch.
2860 2012-04-02 David S. Miller <davem@davemloft.net>
2862 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2863 * stdio-common/printf-parse.h (read_int): Change return type to
2864 'int', return -1 on INT_MAX overflow.
2865 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2866 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2867 overflows INT_MAX. Check for overflow of in-format-string precision
2868 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2869 SIZE_MAX not INT_MAX for integer overflow test.
2870 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2871 skip the construct in the format string but do not record anything.
2872 * stdio-common/bug22.c: Adjust to test both width/prevision
2873 INT_MAX overflow as well as total length INT_MAX overflow. Check
2874 explicitly for proper errno values.
2876 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2878 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2880 * string/test-strcmp.c [! WIDE]: Likewise.
2881 * time/tst-mktime2.c: Likewise for INT_MAX.
2882 * string/test-string.h: #include <sys/param.h> for MIN.
2884 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2885 * sysdeps/i386/init-first.c (init): Likewise.
2886 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2887 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2888 * sysdeps/sh/init-first.c (init): Likewise.
2890 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2892 * po/ru.po: Update from translation team.
2893 * po/vi.po: Likewise.
2895 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2897 * resolv/nss_dns/dns-host.c: Merge copyright years.
2899 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2901 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2902 Optimize memcpy with prefetch if
2903 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2904 src, dst pointers have unequal 16 byte alignments.
2906 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2909 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2910 from a CNAME entry and return the minimum ttl for the query.
2911 (gaih_getanswer_slice): Likewise.
2913 2012-03-30 Jeff Law <law@redhat.com>
2915 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2917 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2918 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2920 * resolv/nss_dns/dns-host.c: Update copyright year.
2922 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2924 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2925 requests to save a system call. Fix check that all bytes are sent.
2927 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2928 comments for sendmmsg.
2930 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2933 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2934 with only 1 character between 0x0041 and 0x01b0.
2935 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2936 * wcsmbs/tst-mbsnrtowcs.c: New file.
2938 2012-03-29 David S. Miller <davem@davemloft.net>
2940 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2941 small copies by hand.
2943 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2946 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2947 _nss_compat_initgroups_dyn): Fall back to malloc/free
2948 for large group memberships.
2950 2012-03-28 David S. Miller <davem@davemloft.net>
2952 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2953 that branches into memcpy.
2954 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2955 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2957 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2960 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2962 * sysdeps/sparc/mempcpy.S: New file.
2964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2965 the IFUNC routine in the libc case.
2966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2968 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2969 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2970 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2971 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2972 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2973 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2974 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2975 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2977 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2978 loop to 256 bytes instead of 64 bytes and fix test signedness.
2980 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2981 * sysdeps/sparc/sparc32/Makefile: rather than here...
2982 * sysdeps/sparc/sparc64/Makefile: and here.
2984 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2986 * malloc/mallocbug.c: Avoid warnings about unused variables.
2988 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2991 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2992 in the right place. Discard and retry query if response is
2993 larger than input buffer size.
2995 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3000 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3001 x for large integer exponent.
3002 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3003 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3004 sign of result as needed afterwards.
3005 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3006 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3007 result for underflowing pow the same as for overflow.
3008 (__kernel_standard_l): Handle powl overflow and underflow here
3009 rather than calling __kernel_standard.
3010 * math/libm-test.inc (pow_test): Add more tests.
3025 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3026 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3027 (__kernel_standard_l): New function.
3028 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3030 * math/w_acosl.c (__acosl): Likewise.
3031 * math/w_asinl.c (__asinl): Likewise.
3032 * math/w_atan2l.c (__atan2l): Likewise.
3033 * math/w_atanhl.c (__atanhl): Likewise.
3034 * math/w_coshl.c (__coshl): Likewise.
3035 * math/w_exp10l.c (__exp10l): Likewise.
3036 * math/w_exp2l.c (__exp2l): Likewise.
3037 * math/w_fmodl.c (__fmodl): Likewise.
3038 * math/w_hypotl.c (__hypotl): Likewise.
3039 * math/w_j0l.c (__j0l, __y0l): Likewise.
3040 * math/w_j1l.c (__j1l, __y1l): Likewise.
3041 * math/w_jnl.c (__jnl, __ynl): Likewise.
3042 * math/w_lgammal.c (__lgammal): Likewise.
3043 * math/w_log10l.c (__log10l): Likewise.
3044 * math/w_log2l.c (__log2l): Likewise.
3045 * math/w_logl.c (__logl): Likewise.
3046 * math/w_powl.c (__powl): Likewise.
3047 * math/w_remainderl.c (__remainderl): Likewise.
3048 * math/w_scalbl.c (sysv_scalbl): Likewise.
3049 * math/w_sinhl.c (__sinhl): Likewise.
3050 * math/w_sqrtl.c (__sqrtl): Likewise.
3051 * math/w_tgammal.c (__tgammal): Likewise.
3052 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3053 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3054 * math/libm-test.inc (acos_test): Add more tests.
3055 (acosh_test): Likewise.
3056 (asin_test): Likewise.
3057 (atanh_test): Likewise.
3058 (exp_test): Likewise.
3059 (exp10_test): Likewise.
3060 (exp2_test): Likewise.
3061 (expm1_test): Likewise.
3062 (lgamma_test): Likewise.
3063 (log_test): Likewise.
3064 (log10_test): Likewise.
3065 (log1p_test): Likewise.
3066 (log2_test): Likewise.
3067 (pow_test): Do not allow some spurious overflow exceptions.
3068 (sqrt_test): Add more tests.
3069 (tgamma_test): Likewise.
3070 (y0_test): Likewise.
3071 (y1_test): Likewise.
3072 (yn_test): Likewise.
3074 2012-03-27 Anton Blanchard <anton@samba.org>
3076 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3078 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3079 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3080 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3082 2012-03-27 David S. Miller <davem@davemloft.net>
3084 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3086 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3089 2012-03-27 Andreas Jaeger <aj@suse.de>
3091 * sysdeps/x86_64/elf/configure.in: Moved to ...
3092 * sysdeps/x86_64/configure.in: ... here.
3093 * sysdeps/x86_64/elf/start.S: Moved to ...
3094 * sysdeps/x86_64/start.S: ... here.
3095 * sysdeps/x86_64/elf/configure: Delete.
3097 * sysdeps/x86_64/configure.in: Merge contents from
3098 sysdeps/i386/configure.in (without i686 check).
3100 * sysdeps/i386/elf/Versions: Merge into ...
3101 * sysdeps/i386/Versions: ... this.
3102 * sysdeps/i386/elf/Versions: Delete file.
3103 * sysdeps/i386/elf/start.S: Moved to ...
3104 * sysdeps/i386/start.S: ...here.
3105 * sysdeps/i386/elf/configure.in: Merge into...
3106 * sysdeps/i386/configure.in: ...here.
3107 * sysdeps/i386/elf/configure.in: Delete file.
3108 * sysdeps/i386/elf/configure: Delete file.
3110 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3111 * debug/backtracesyms.c: ... here.
3112 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3113 * debug/backtracesymsfd.c: ... here.
3114 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3115 * sysdeps/generic/ifunc-sel.h: ... here.
3117 * sysdeps/unix/i386/start.c: Delete file.
3118 * sysdeps/unix/sparc/start.c: Delete file.
3119 * sysdeps/unix/start.c: Delete file.
3121 * sysdeps/sh/elf/configure.in: Moved to ...
3122 * sysdeps/sh/configure.in: ... here.
3123 * sysdeps/sh/elf/start.S: Moved to ...
3124 * sysdeps/sh/start.S: ... here.
3125 * sysdeps/sh/elf/configure: Delete file.
3127 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3128 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3129 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3130 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3131 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3132 * sysdeps/powerpc/powerpc64/start.S: here.
3133 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3134 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3135 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3136 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3137 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3139 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3140 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3141 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3142 * sysdeps/powerpc/powerpc32/start.S: ... here.
3143 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3144 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3145 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3147 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3148 * sysdeps/powerpc/ifunc-sel.h: ... here.
3149 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3150 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3152 * sysdeps/sparc/elf/configure.in: Moved to ...
3153 * sysdeps/sparc/configure.in: ... here.
3154 * sysdeps/sparc/elf/configure: Delete file.
3155 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3156 * sysdeps/sparc/sparc32/start.S: ... here.
3157 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3158 * sysdeps/sparc/sparc64/start.S: ... here.
3159 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3160 * sysdeps/sparc/sparc32/Makefile: ... this.
3161 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3162 * sysdeps/sparc/sparc64/Makefile: ... this.
3164 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3165 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3166 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3167 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3168 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3169 * sysdeps/s390/s390-32/setjmp.S: ... here.
3170 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3171 * sysdeps/s390/s390-32/configure.in: ... here.
3172 * sysdeps/s390/s390-32/elf/configure: Delete file.
3173 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3174 * sysdeps/s390/s390-32/start.S: ... here.
3176 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3177 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3178 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3179 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3180 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3181 * sysdeps/s390/s390-64/setjmp.S: ... here.
3182 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3183 * sysdeps/s390/s390-64/configure.in: ... here
3184 * sysdeps/s390/s390-64/elf/configure: Delete file.
3185 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3186 * sysdeps/s390/s390-64/start.S: ... here.
3187 * sysdeps/s390/s390-64/elf/configure: Delete.
3189 * configure.in: Remove support for elf directories in sysdeps.
3191 * configure: Regenerated.
3192 * sysdeps/i386/configure: Regenerated.
3193 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3194 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3195 * sysdeps/s390/s390-32/configure: Regenerated.
3196 * sysdeps/s390/s390-64/configure: Regenerated.
3197 * sysdeps/sh/configure: Regenerated.
3198 * sysdeps/sparc/configure: Regenerated.
3199 * sysdeps/x86_64/configure: Regenerated.
3201 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3205 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3206 denormal result into account.
3208 2012-03-25 Roland McGrath <roland@hack.frob.com>
3210 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3211 Reported by Allan McRae <allan@archlinux.org>.
3213 2012-03-23 Jeff Law <law@redhat.com>
3215 * nss/getnssent.c (__nss_getent): Fix typo.
3217 2012-03-23 David S. Miller <davem@davemloft.net>
3219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3221 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3223 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3224 to pad to uint64_t for each field.
3225 (dl_tls_index): Replace unsigned long with uint64_t.
3227 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3228 Paul Pluzhnikov <ppluzhnikov@google.com>
3231 * grp/Makefile (otherlibs): Don't set it.
3232 * inet/Makefile (otherlibs): Likewise.
3233 * login/Makefile (otherlibs): Likewise.
3234 * nscd/Makefile (otherlibs): Likewise.
3235 * posix/Makefile (otherlibs): Likewise.
3236 * pwd/Makefile (otherlibs): Likewise.
3237 * rt/Makefile (otherlibs): Likewise.
3238 * sunrpc/Makefile (otherlibs): Likewise.
3239 * nss/Makefile (otherlibs): Likewise.
3240 Add libnss_files to routines and static-only-routines.
3241 ($(objpfx)getent): Remove rule.
3242 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3243 static-only-routines.
3245 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3248 * math/s_cexp.c: Include <float.h>.
3249 (__cexp): Handle exp result overflowing not necessarily
3250 overflowing both real and imaginary parts of result.
3251 * math/s_cexpf.c: Likewise.
3252 * math/s_cexpl.c: Likewise.
3253 * math/libm-test.inc (cexp_test): Add more tests.
3254 * sysdeps/i386/fpu/libm-test-ulps: Update.
3255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3257 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3259 * include/link.h (ELFW): New macro.
3260 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3261 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3263 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3265 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3268 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3270 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3272 (struct La_x32_retval): Likewise.
3274 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3276 * sysdeps/x86_64/preconfigure.in: New file.
3277 * sysdeps/x86_64/preconfigure: New generated file.
3279 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3282 * math/e_exp2l.c: Include <float.h>.
3283 (__ieee754_exp2l): Handle overflow and underflow cases
3284 separately. Only pass fractional part of argument to
3286 * math/libm-test.inc (exp2_test): Add more tests.
3288 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3289 negating x to take absolute value.
3290 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3292 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3293 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3295 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3296 computing low part if x was negated.
3297 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3299 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3301 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3303 (pltexit): Cast int_retval to ptrdiff_t.
3304 * elf/tst-auditmod3b.c: Likewise.
3305 * elf/tst-auditmod4b.c: Likewise.
3306 * elf/tst-auditmod5b.c: Likewise.
3307 * elf/tst-auditmod6b.c: Likewise.
3308 * elf/tst-auditmod6c.c: Likewise.
3309 * elf/tst-auditmod7b.c: Likewise.
3311 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3312 and x32_gnu_pltexit.
3314 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3316 (La_x32_regs): New macro.
3317 (La_x32_retval): Likewise.
3318 (la_x32_gnu_pltenter): New function prototype.
3319 (la_x32_gnu_pltexit): Likewise.
3321 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3323 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3328 * configure.in (libc_cv_cc_nofma): Check for option to disable
3329 generation of FMA instructions.
3330 * configure: Regenerate.
3331 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3332 * sysdeps/ieee754/dbl-64/Makefile: New file.
3333 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3334 Remove brandred-fma4.
3335 (CFLAGS-brandred-fma4.c): Remove.
3336 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3337 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3339 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3342 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3344 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3345 LLONG_MAX != LONG_MAX.
3346 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3347 (_fitoa_word): Likewise.
3348 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3349 LLONG_MAX != LONG_MAX.
3350 * stdio-common/_itowa.h: Include <_itoa.h>.
3351 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3352 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3353 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3354 only if not defined.
3355 (_ITOA_WORD_TYPE): Likewise.
3356 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3357 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3359 2012-03-21 David S. Miller <davem@davemloft.net>
3361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3363 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3365 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3366 of x86_64 when setting libc_cv_slibdir, libdir and
3368 * sysdeps/unix/sysv/linux/configure: Regenerated.
3370 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3372 * manual/lang.texi (Old Varargs): Remove section.
3373 (How Variadic): Update menu.
3374 (va_start): Do not mention varargs.h.
3376 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3377 Joseph Myers <joseph@codesourcery.com>
3379 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3381 * configure: Regenerated.
3383 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3385 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3386 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3389 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3392 * Makefile (files-for-dist): Remove NOTES.
3393 (NOTES): Remove rule.
3394 * README: Don't refer to NOTES.
3395 * manual/creature.texi: Don't include macros.texi.
3396 * manual/intro.texi (creature.texi): Remove comment referring to
3399 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3400 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3401 * configure: Regenerated.
3402 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3404 (libc_cv_as_i686): Likewise.
3405 (libc_cv_cc_avx): Likewise.
3406 (libc_cv_cc_sse2avx): Likewise.
3407 (libc_cv_cc_fma4): Likewise.
3408 (libc_cv_cc_novzeroupper): Likewise.
3409 * sysdeps/i386/configure: Regenerated.
3412 * sysdeps/i386/fpu/s_cexp.S: Remove.
3413 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3414 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3415 * math/libm-test.inc (cexp_test): Add more tests.
3416 * sysdeps/i386/fpu/libm-test-ulps: Update.
3417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3419 2012-03-21 Allan McRae <allan@archlinux.org>
3421 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3423 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3426 * math/w_exp2.c: Do not include <float.h>.
3427 (o_threshold, u_threshold): Remove.
3428 (__exp2): Calculate result before checking finiteness and calling
3430 * math/w_exp2f.c: Likewise.
3431 * math/w_exp2l.c: Likewise.
3432 * math/libm-test.inc (exp2_test): Require overflow exception for
3436 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3437 range of signed 64-bit integers before using fistpll. Remove
3438 checks for whether integers fit in mantissa bits.
3439 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3440 the range of signed 32-bit integers before using fistpl. Remove
3441 checks for whether integers fit in mantissa bits.
3442 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3443 (__ieee754_powl): Test for y outside the range of signed 64-bit
3444 integers before using fistpll. Reduce 64-bit values to 63-bit
3446 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3447 divide-by-zero is raised for zero to large negative powers.
3448 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3449 (__ieee754_powl): Test for y outside the range of signed 64-bit
3450 integers before using fistpll. Reduce 64-bit values to 63-bit
3452 * math/libm-test.inc (pow_test): Add more tests.
3454 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3456 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3457 <stdio-common/_itoa.h>.
3458 * debug/segfault.c: Likewise.
3459 * elf/dl-cache.c: Likewise.
3460 * elf/dl-minimal.c: Likewise.
3461 * elf/dl-misc.c: Likewise.
3462 * elf/dl-sysdep.c: Likewise.
3463 * elf/dl-version.c: Likewise.
3464 * elf/rtld.c: Likewise.
3465 * hurd/hurdsock.c: Likewise.
3466 * hurd/lookup-retry.c: Likewise.
3467 * malloc/malloc.c: Likewise.
3468 * malloc/mtrace.c: Likewise.
3469 * nscd/nscd_getgr_r.c: Likewise.
3470 * nscd/nscd_getpw_r.c: Likewise.
3471 * nscd/nscd_getserv_r.c: Likewise.
3472 * posix/getopt_init.c: Likewise.
3473 * posix/wordexp.c: Likewise.
3474 * stdio-common/_itoa.c: Likewise.
3475 * stdio-common/printf_fphex.c: Likewise.
3476 * stdio-common/vfprintf.c: Likewise.
3477 * string/_strerror.c: Likewise.
3478 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3479 * sysdeps/i386/i686/hp-timing.h: Likewise.
3480 * sysdeps/mach/_strerror.c: Likewise.
3481 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3482 * sysdeps/mach/hurd/sethostid.c: Likewise.
3483 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3484 * sysdeps/mach/xpg-strerror.c: Likewise.
3485 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3486 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3487 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3488 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3489 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3490 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3491 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3492 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3493 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3494 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3495 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3496 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3497 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3498 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3499 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3500 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3501 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3503 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3504 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3505 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3507 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3509 * stdio-common/_itoa.h: Moved to ...
3510 * sysdeps/generic/_itoa.h: Here.
3512 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3514 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3515 instead of "_itoa.h" and "_itowa.h".
3516 * stdio-common/vfprintf.: Likewise.
3518 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3520 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3522 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3523 (__signbit): Likwise.
3527 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3529 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3532 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3534 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3535 OVERFLOW_EXCEPTION_OK.
3536 * math/libm-test.inc ("Philosophy"): Update comment about
3538 (OVERFLOW_EXCEPTION): Define.
3539 (OVERFLOW_EXCEPTION_OK): Likewise.
3540 (INVALID_EXCEPTION_OK): Renumber.
3541 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3542 (IGNORE_ZERO_INF_SIGN): Likewise.
3543 (test_exceptions): Handle FE_OVERFLOW.
3544 (exp10_test): Expect overflow exceptions.
3545 (exp2_test): Likewise.
3546 (expm1_test): Likewise.
3547 (nextafter_test): Likewise.
3548 (pow_test): Likewise.
3549 (scalbn_test): Likewise.
3550 (scalbln_test): Likewise.
3552 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3554 * sysdeps/x86_64/bits/atomic.h
3555 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3557 (atomic_exchange_acq): Likewise.
3558 (__arch_exchange_and_add_body): Likewise.
3559 (__arch_add_body): Likewise.
3560 (atomic_add_negative): Likewise.
3561 (atomic_add_zero): Likewise.
3563 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3565 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3566 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3568 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3570 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3571 Check __x86_64__ instead of __WORDSIZE.
3573 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3575 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3577 2012-03-19 David S. Miller <davem@davemloft.net>
3579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3581 * sysdeps/sparc/fpu/fenv_private.h: New file.
3582 * sysdeps/sparc/fpu/math_private.h: Use it.
3583 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3585 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3586 (libc_feholdexcept_setroundl): Remove.
3587 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3589 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3590 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3592 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3594 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3595 int64_t instead of long int.
3596 (INSERT_WORDS64): Likwise.
3598 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3600 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3601 _Unwind_GetCFA return to _Unwind_Ptr first.
3603 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3606 * math/s_clog.c: Include <float.h>.
3607 (__clog): Scale large or subnormal inputs.
3608 * math/s_clogf.c: Likewise.
3609 * math/s_clogl.c: Likewise.
3610 * math/s_clog10.c: Include <float.h>.
3611 (M_LOG10_2): Define.
3612 (__clog10): Scale large or subnormal inputs.
3613 * math/s_clog10f.c: Likewise.
3614 * math/s_clog10l.c: Likewise.
3615 * math/libm-test.inc (clog_test): Add more tests.
3616 (clog10_test): Likewise.
3617 * sysdeps/i386/fpu/libm-test-ulps: Update.
3618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3621 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3623 * math/libm-test.inc (atan2_test): Add another test.
3625 * Makerules (common-objdir-compile): Remove.
3626 * sysdeps/unix/Makefile (config-generated): Do not add
3627 $(unix-generated) to variable.
3628 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3629 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3631 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3633 [generic bits/local_lim.h] (before-compile): Do not append to
3635 [generic bits/local_lim.h] (common-generated): Likewise.
3636 [generic sys/param.h] (before-compile): Do not append to variable.
3637 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3638 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3639 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3640 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3642 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3643 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3644 [generic sys/param.h] ($(addprefix
3645 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3646 [generic sys/param.h] (common-generated): Do not append to
3648 [generic sys/param.h] (sysdep_headers): Likewise.
3649 [generic bits/errno.h] (before-compile): Do not append to
3651 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3653 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3654 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3655 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3656 [generic bits/errno.h] (common-generated): Do not append to
3658 [generic bits/ioctls.h] (before-compile): Do not append to
3660 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3662 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3663 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3664 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3666 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3667 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3668 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3669 [generic bits/ioctls.h] (common-generated): Do not append to
3671 [generic sys/syscall.h] (syscall.h): Remove variable.
3672 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3674 [generic sys/syscall.h] (before-compile): Do not append to
3676 [generic sys/syscall.h] (common-generated): Likewise.
3677 * sysdeps/unix/errnos-tmpl.c: Remove file.
3678 * sysdeps/unix/errnos.awk: Likewise.
3679 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3680 * sysdeps/unix/ioctls.awk: Likewise.
3681 * sysdeps/unix/mk-local_lim.c: Likewise.
3682 * sysdeps/unix/snarf-ioctls: Likewise.
3684 2012-03-19 Richard Henderson <rth@twiddle.net>
3686 * sysdeps/i386/fpu/fenv_private.h: New file.
3687 * sysdeps/i386/fpu/math_private.h: Use it.
3688 (math_opt_barrier, math_force_eval): Remove.
3689 (libc_feholdexcept_setround_53bit): Remove.
3690 (libc_feupdateenv_53bit): Remove.
3691 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3692 (math_opt_barrier, math_force_eval): Remove.
3693 (libc_feholdexcept): Remove.
3694 (libc_feholdexcept_setround): Remove.
3695 (libc_fetestexcept, libc_fesetenv): Remove.
3696 (libc_feupdateenv_test): Remove.
3697 (libc_feupdateenv, libc_feholdsetround): Remove.
3698 (libc_feresetround): Remove.
3700 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3701 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3703 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3704 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3705 (libc_feupdateenv_testl): New.
3706 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3707 (libc_feupdateenv_testf): New.
3708 (libc_feupdateenv): Use libc_feupdateenv_test.
3709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3710 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3712 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3713 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3714 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3715 (libc_feresetround_noex): New.
3716 (libc_feresetround_noexf): New.
3717 (libc_feresetround_noexl): New.
3718 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3719 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3720 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3721 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3723 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3726 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3727 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3728 SET_RESTORE_ROUND_NOEX.
3729 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3730 SET_RESTORE_ROUND_NOEXF.
3731 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3732 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3733 (libc_feholdsetroundf): New.
3734 (libc_feresetround, libc_feresetroundf): New.
3736 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3737 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3738 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3740 * sysdeps/generic/math_private.h: Include <fenv.h>.
3741 (default_libc_feholdexcept): New.
3742 (default_libc_feholdexcept_setround): New.
3743 (default_libc_fesetenv, default_libc_feupdateenv): New.
3744 (libc_feholdexcept): Only define if undefined.
3745 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3746 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3747 (libc_feholdexcept_setroundl): Likewise.
3748 (libc_feholdexcept_setround_53bit): Likewise.
3749 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3750 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3751 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3752 (libc_feupdateenv_53bit): Likewise.
3753 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3754 (libc_feholdexcept): Convert from macro to inline function.
3755 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3756 (libc_fesetenv, libc_feupdateenv): Likewise.
3758 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3759 not previously defined.
3760 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3761 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3762 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3763 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3764 * sysdeps/ieee754/flt-32/math_private.h: New file.
3765 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3766 math_private.h below SET_FLOAT_WORD.
3767 (__isnan, __isinf_ns, __finite): Remove.
3768 (__isnanf, __isinf_nsf, __finitef): Remove.
3770 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3774 2012-03-17 David S. Miller <davem@davemloft.net>
3777 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3780 2012-03-16 David S. Miller <davem@davemloft.net>
3782 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3786 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3788 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3789 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3790 sysdep_routines when subdir is sysvipc.
3791 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3794 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3796 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3798 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3801 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3803 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3804 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3805 (__lround): Renamed to ...
3806 (__llround): This. Replace long int with long long int.
3807 Define lround functions as aliases of llround functions.
3808 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3810 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3812 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3813 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3814 adresses to uintptr_t. Replace "long int" and "unsigned long
3815 int" with "greg_t" on va_arg.
3817 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3819 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3820 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3822 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3823 Move e_machine check before EI_CLASS check. Handle x32
3824 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3825 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3826 SKIP_EM_IA_64 and include
3827 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3829 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3830 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3831 (add_system_dir): New macro.
3833 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3834 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3836 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3847 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3849 * math/w_j0f.c (j0f): Likewise.
3851 * math/w_j0l.c (__j0l): Likewise.
3853 * math/w_j1.c (j1): Likewise.
3855 * math/w_j1f.c (j1f): Likewise.
3857 * math/w_j1l.c (__j1l): Likewise.
3859 * math/w_jn.c (jn): Likewise.
3861 * math/w_jnf.c (jnf): Likewise.
3863 * math/w_jnl.c (__jnl): Likewise.
3865 * math/libm-test.inc (j0_test): Add more tests.
3866 (j1_test): Likewise.
3867 (jn_test): Likewise. Add trailing semicolon to existing test.
3868 (y0_test): Likewise.
3869 (y1_test): Likewise.
3870 * sysdeps/i386/fpu/libm-test-ulps: Update.
3871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3875 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3876 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3877 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3878 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3879 (__tanl): Set errno for infinite argument.
3880 * sysdeps/i386/fpu/mptan.c: Remove.
3881 * sysdeps/i386/fpu/s_tan.S: Likewise.
3882 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3883 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3884 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3885 * math/libm-test.inc (tan_test): Add more tests and enable more
3886 tests for double and long double.
3887 * sysdeps/i386/fpu/libm-test-ulps: Update.
3888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3890 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3892 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3893 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3895 2012-03-16 Roland McGrath <roland@hack.frob.com>
3897 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3898 * configure.in: Use it for both main tree and add-ons.
3899 * configure: Regenerated.
3901 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3903 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3905 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3907 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3911 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3912 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3917 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3918 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3920 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3921 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3922 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3923 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3924 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3925 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3926 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3927 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3928 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3929 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3930 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3931 * math/libm-test.inc (cos_test): Add more tests and enable more
3932 tests for long double.
3933 (sin_test): Likewise.
3934 (sincos_test): Likewise.
3935 * sysdeps/i386/fpu/libm-test-ulps: Update.
3936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3938 2012-03-16 David S. Miller <davem@davemloft.net>
3940 * sysdeps/sparc/fpu/math_private.h: New file.
3942 2012-03-15 David S. Miller <davem@davemloft.net>
3944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3958 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3959 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3961 * sysdeps/sparc/sparc-ifunc.h: New file.
3962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4000 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4005 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4007 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4009 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4013 2012-03-15 Andreas Jaeger <aj@suse.de>
4016 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4017 ieee754/flt-32 implementation for sin, cos and sincos.
4018 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4019 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4020 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4021 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4022 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4023 ieee754/flt-32 implementation for tan.
4025 * math/libm-test.inc (cos_test): Enable some large input tests for
4027 (sin_test): Likewise.
4028 (sincos_test): Likewise.
4029 (tan_test): Add tests for large input.
4031 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 2012-03-15 Andreas Jaeger <aj@suse.de>
4036 * math/libm-test.inc (cos_test): Add more test cases.
4037 (sin_test): Likewise.
4038 (sincos_test): Likewise.
4040 2012-03-15 Andreas Jaeger <aj@suse.de>
4043 * math/libm-test.inc (cos_test): Add a test case for large input
4045 (sin_test): Likewise.
4046 (sincos_test): Likewise.
4048 2012-03-15 Andreas Jaeger <aj@suse.de>,
4049 Joseph Myers <joseph@codesourcery.com>
4052 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4053 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4054 * sysdeps/i386/fpu/branred.c: Likewise.
4055 * sysdeps/i386/fpu/dosincos.c: Likewise.
4056 * sysdeps/i386/fpu/mpa.c: Likewise.
4057 * sysdeps/i386/fpu/s_cos.S: Likewise.
4058 * sysdeps/i386/fpu/s_sin.S: Likewise.
4059 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4060 * sysdeps/i386/fpu/sincos32.c: Likewise.
4062 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4064 (libc_feupdateenv_53bit): Define.
4065 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4067 (libc_feupdateenv_53bit): Define.
4069 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4070 53 bit (without extend i386 double precision).
4072 * math/libm-test.inc (sincos_test): Add tests for large input.
4076 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4078 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4082 2012-03-15 David S. Miller <davem@davemloft.net>
4084 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4085 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4086 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4087 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4112 fmin/fmax sysdep routines.
4113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4115 2012-03-14 David S. Miller <davem@davemloft.net>
4117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4137 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4138 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4194 * sysdeps/sparc/configure.in: New file.
4195 * sysdeps/sparc/configure: Generate.
4196 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4197 * configure: Regenerate.
4198 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4199 * config.make.in (have-as-vis3): New.
4200 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4201 available use -Av9d instead of -Av9a.
4202 * sysdeps/sparc/sparc64/Makefile: Likewise.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4212 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4213 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4214 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4218 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4219 fzeros/fnegs to load 0x80000000 into a float register instead of
4221 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4223 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4227 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4228 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4229 ($(inst_includedir)/bits/syscall.h): Remove rule.
4230 ($(objpfx)bits/syscall.d): Include instead of
4231 $(objpfx)syscall-list.d.
4232 (generated): Change syscall-list.h and syscall-list.d to
4233 bits/syscall.h and bits/syscall.d.
4235 2012-03-14 Roland McGrath <roland@hack.frob.com>
4238 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4240 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4243 * math/s_csqrt.c: Include <float.h>.
4244 (__csqrt): Scale large or subnormal inputs.
4245 * math/s_csqrtf.c: Likewise.
4246 * math/s_csqrtl.c: Likewise.
4247 * math/libm-test.inc (csqrt_test): Add more tests.
4248 * sysdeps/i386/fpu/libm-test-ulps: Update.
4249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4252 * math/libm-test.inc (hypot_test): Add more tests.
4254 2012-03-13 David S. Miller <davem@davemloft.net>
4257 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4258 double-precision for the calculation instead of scaling.
4260 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4262 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4263 manipulate bits before adding and subtracting TWO52[sx].
4264 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4265 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4267 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4269 2012-03-13 David S. Miller <davem@davemloft.net>
4271 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4272 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4274 rtld-global-offsets.h
4275 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4277 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4280 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4282 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4283 'err' in the ifdef scope in which it is actually used.
4285 * nss/nss_db/db-init.c: Include string.h
4287 2012-03-12 David S. Miller <davem@davemloft.net>
4289 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4290 masking out of the most significant byte of random value used.
4291 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4292 Fix coding style in previous change.
4294 * sysdeps/unix/sysv/linux/kernel-features.h
4295 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4296 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4298 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4301 2012-03-11 David S. Miller <davem@davemloft.net>
4303 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4304 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4305 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4306 for 'resultvar' otherwise things get truncated on 64-bit.
4308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4309 Fix masking out of the most significant byte of random value used.
4311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4313 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4317 2012-03-09 David S. Miller <davem@davemloft.net>
4319 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4320 variables with appropriate CPP guards.
4321 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4322 frame pointer, not the stack pointer. Correct layout comments. Fix test
4323 on resulting framesize and the management of the outregs buffer for pltexit.
4324 Preserve floating point return values across _dl_call_pltexit call.
4325 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4326 framesize and the management of the outregs buffer for pltexit.
4327 Preserve floating point return values across _dl_call_pltexit
4329 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4330 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4331 (print_exit): Fix format string for return register value.
4333 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4335 * sunrpc/Makefile (others): Add rpcgen.
4336 ($(objpfx)rpcgen): Remove special build rule and dependency on
4338 * sunrpc/rpcgen.c: New file.
4340 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4343 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4344 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4345 * sysdeps/i386/crti.S: Likewise.
4346 * sysdeps/i386/crtn.S: Likewise.
4347 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4348 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4349 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4350 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4351 * sysdeps/sh/crti.S: Likewise.
4352 * sysdeps/sh/crtn.S: Likewise.
4353 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4356 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4358 * locale/programs/locfile-kw.gperf: Likewise.
4359 * locale/programs/charmap-kw.h: Regenerated.
4360 * locale/programs/locfile-kw.h: Likewise.
4363 * intl/plural.y: Replace FSF snail mail address with URL.
4364 * intl/plural.c: Regenerated.
4366 2012-03-09 Richard Henderson <rth@twiddle.net>
4368 * include/math_private.h: Remove file.
4369 * math/math_private.h: Move file ...
4370 * sysdeps/generic/math_private.h: ... here.
4372 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4373 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4374 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4376 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4377 and <math_private.h>.
4378 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4379 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4380 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4381 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4382 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4383 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4384 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4389 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4390 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4392 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4393 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4394 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4395 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4396 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4397 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4399 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4400 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4402 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4403 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4405 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4407 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4408 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4410 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4411 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4412 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4416 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4417 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4428 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4429 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4430 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4431 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4433 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4434 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4435 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4436 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4438 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4439 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4441 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4442 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4443 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4444 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4445 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4446 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4447 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4449 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4450 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4451 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4452 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4454 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4456 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4457 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4458 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4459 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4460 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4461 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4462 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4464 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4465 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4466 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4467 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4468 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4469 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4470 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4471 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4472 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4473 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4474 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4475 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4476 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4477 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4478 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4479 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4480 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4481 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4482 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4483 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4484 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4485 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4486 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4487 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4488 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4489 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4490 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4491 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4492 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4493 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4494 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4495 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4496 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4497 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4498 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4499 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4501 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4502 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4503 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4504 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4505 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4506 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4507 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4508 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4509 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4510 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4511 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4512 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4513 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4514 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4515 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4516 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4517 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4518 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4519 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4520 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4521 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4522 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4523 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4524 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4525 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4526 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4527 * sysdeps/ieee754/k_standard.c: Likewise.
4528 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4529 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4530 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4532 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4534 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4535 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4536 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4537 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4538 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4540 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4541 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4542 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4543 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4545 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4546 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4547 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4548 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4549 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4550 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4551 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4552 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4553 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4554 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4555 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4556 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4557 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4558 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4559 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4560 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4561 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4562 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4563 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4564 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4565 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4566 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4567 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4568 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4569 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4570 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4571 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4572 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4573 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4574 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4575 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4576 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4577 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4579 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4580 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4581 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4582 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4583 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4584 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4585 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4586 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4587 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4588 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4589 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4590 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4591 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4592 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4594 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4595 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4596 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4597 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4598 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4600 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4601 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4602 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4603 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4604 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4605 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4607 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4608 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4609 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4611 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4612 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4613 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4614 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4615 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4616 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4618 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4621 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4623 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4624 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4625 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4640 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4642 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4643 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4647 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4655 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4657 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4658 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4659 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4660 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4676 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4677 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4678 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4688 * sysdeps/ieee754/s_lib_version.c: Likewise.
4689 * sysdeps/ieee754/s_matherr.c: Likewise.
4690 * sysdeps/ieee754/s_signgam.c: Likewise.
4691 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4692 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4693 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4694 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4695 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4696 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4697 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4698 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4699 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4700 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4701 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4702 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4703 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4704 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4705 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4706 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4707 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4708 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4710 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4711 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4713 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4715 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4716 * sunrpc/rpc_main.c: Likewise.
4717 * sunrpc/rpc_svcout.c: Likewise.
4719 2012-03-09 David S. Miller <davem@davemloft.net>
4721 * include/math_private.h: New file.
4723 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4725 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4726 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4727 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4728 from <bits/socket_type.h>.
4729 (enum __socket_type): Don't define here.
4730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4735 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4738 * Makerules ($(inst_includedir)/%.h): New rule.
4739 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4740 (install-others): Remove variable setting.
4741 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4743 2012-03-08 Richard Henderson <rth@twiddle.net>
4745 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4746 from macro to inline function; merge with the
4747 !__LIBC_INTERNAL_MATH_INLINES version.
4748 (__ieee754_sqrtf): Likewise.
4750 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4752 (__rintf, __floor, __floorf): Likewise.
4754 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4755 macro to inline function.
4756 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4758 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4759 not <math/math_private.h>.
4761 2012-03-08 David S. Miller <davem@davemloft.net>
4763 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4765 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4767 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4769 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4771 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4772 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4774 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4776 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4777 be defined individually, they must be defined as a block. Define
4778 S for printing a string instead of hidint the different by using a
4779 macro for adding the 'l'.
4780 * stdio-common/tst-fphex-wide.c: Adjust.
4782 2012-03-07 Marek Polacek <polacek@redhat.com>
4784 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4786 2012-03-08 Marek Polacek <polacek@redhat.com>
4789 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4790 * stdio-common/tst-fphex.c: Define a few macros to make the
4791 test reusable. Use them.
4792 * stdio-common/tst-fphex-wide.c: New file.
4794 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4797 * manual/macros.texi (gnusystems): New macro.
4798 (nongnusystems): Likewise.
4799 (gnulinuxhurdsystems): Likewise.
4800 (gnuhurdsystems): Likewise..
4801 (gnulinuxsystems): Likewise.
4802 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4803 variants of the GNU system, not "GNU system".
4804 * manual/conf.texi: Likewise.
4805 * manual/errno.texi: Likewise. Update example of errno macro
4807 * manual/filesys.texi: Likewise.
4808 (getumask): Document as specific to GNU/Hurd.
4809 * manual/install.texi: Likewise. Reword some references to
4811 * manual/intro.texi: Likewise.
4812 * manual/io.texi: Likewise.
4813 (File Name Portability): Detail which constraints are inapplicable
4814 to all GNU systems and which are only inapplicable to GNU/Hurd.
4815 * manual/job.texi: Likewise.
4816 * manual/llio.texi: Likewise.
4817 (O_NOCTTY): Document as present on GNU/Linux.
4818 * manual/maint.texi: Likewise.
4819 * manual/memory.texi: Likewise.
4820 * manual/pattern.texi: Likewise.
4821 * manual/pipe.texi: Likewise.
4822 * manual/process.texi: Likewise.
4823 * manual/resource.texi: Likewise.
4824 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4826 * manual/setjmp.texi: Likewise.
4827 * manual/signal.texi: Likewise.
4828 * manual/startup.texi: Likewise.
4829 * manual/stdio.texi: Likewise.
4830 * manual/terminal.texi: Likewise.
4831 (ONLCR): Document as POSIX.
4832 (OXTABS): Document availability on GNU/Linux as XTABS.
4833 (ONOEOT): Document availability separately from other bits.
4834 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4835 * manual/time.texi: Likewise.
4836 * manual/users.texi: Likewise.
4837 * INSTALL: Regenerated.
4838 * sysdeps/gnu/errlist.c: Regenerated.
4840 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4841 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4842 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4844 * configure: Regenerated.
4846 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4848 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4849 default includes instead of AC_HEADER_CHECK.
4850 * sysdeps/i386/configure: Regenerated.
4853 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4854 * math/s_cacoshf.c (__cacoshf): Likewise.
4855 * math/s_cacoshl.c (__cacoshl): Likewise.
4856 * math/s_casinh.c (__casinh): Set signs of result from argument.
4857 * math/s_casinhf.c (__casinhf): Likewise.
4858 * math/s_casinhl.c (__casinhl): Likewise.
4859 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4860 (casinh_test): Add more tests.
4861 * sysdeps/i386/fpu/libm-test-ulps: Update.
4862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4864 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4866 * po/zh_TW.po: Update from translation team.
4868 * login/Makefile (distribute): Remove variable.
4869 * catgets/Makefile: Likewise.
4870 * mach/Makefile: Likewise.
4871 * malloc/Makefile: Likewise.
4872 * misc/Makefile: Likewise.
4873 * iconv/Makefile: Likewise.
4874 * nscd/Makefile: Likewise.
4875 * hurd/Makefile: Likewise.
4876 * manual/Makefile: Likewise.
4877 * locale/Makefile: Likewise.
4878 * intl/Makefile: Likewise.
4879 * conform/Makefile: Likewise.
4880 * nss/Makefile: Likewise.
4881 * time/Makefile: Likewise.
4882 * soft-fp/Makefile: Likewise.
4883 * dirent/Makefile: Likewise.
4884 * gmon/Makefile: Likewise.
4885 * po/Makefile: Likewise.
4886 * rt/Makefile: Likewise.
4887 * socket/Makefile: Likewise.
4888 * math/Makefile: Likewise.
4889 * signal/Makefile: Likewise.
4890 * debug/Makefile: Likewise.
4891 * elf/Makefile: Likewise.
4892 * timezone/Makefile: Likewise.
4893 * stdlib/Makefile: Likewise.
4894 * iconvdata/Makefile: Likewise.
4895 * sunrpc/Makefile: Likewise.
4896 * io/Makefile: Likewise.
4897 * argp/Makefile: Likewise.
4898 * inet/Makefile: Likewise.
4899 * hesiod/Makefile: Likewise.
4900 * grp/Makefile: Likewise.
4901 * csu/Makefile: Likewise.
4902 * wctype/Makefile: Likewise.
4903 * crypt/Makefile: Likewise.
4904 * libio/Makefile: Likewise.
4905 * string/Makefile: Likewise.
4906 * nis/Makefile: Likewise.
4907 * resolv/Makefile: Likewise.
4908 * stdio-common/Makefile: Likewise.
4909 * wcsmbs/Makefile: Likewise.
4910 * dlfcn/Makefile: Likewise.
4911 * posix/Makefile: Likewise.
4914 * timezone/Makefile: Don't install timezone files, just the programs
4917 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4919 * nss/databases.def: Add missing gshadow entry.
4921 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4923 2012-03-06 Marek Polacek <polacek@redhat.com>
4926 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4927 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4928 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4929 * stdio-common/tst-long-dbl-fphex.c: New file.
4931 2012-03-06 David S. Miller <davem@davemloft.net>
4933 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4934 (set_obp_int): New function.
4935 (get_obp_int): New function.
4936 (__get_clockfreq_via_dev_openprom): Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4938 Avoid unused variable warnings on 'val' and use builtin_expect.
4939 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4941 (INLINE_CLONE_SYSCALL): Likewise.
4943 2012-03-05 David S. Miller <davem@davemloft.net>
4945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4947 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4951 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4953 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4955 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4957 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4958 Replace gettimeofday with __vdso_gettimeofday.
4960 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4961 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4962 __vdso_clock_gettime and __vdso_getcpu.
4964 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4965 time with __vdso_time.
4967 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4969 * manual/lang.texi (size_t): Note types to which size_t may be
4970 equivalent with the GNU C Library, but do not describe when
4971 differences between them are significant.
4973 2012-03-05 Andreas Jaeger <aj@suse.de>
4975 * sysdeps/i386/fpu/libm-test-ulps: Update.
4977 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4980 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4981 (__ieee754_pow): Save and restore rounding mode and use
4982 round-to-nearest for main computations.
4983 * math/libm-test.inc (pow_test_tonearest): New function.
4984 (pow_test_towardzero): Likewise.
4985 (pow_test_downward): Likewise.
4986 (pow_test_upward): Likewise.
4987 (main): Call the new functions.
4988 * sysdeps/i386/fpu/libm-test-ulps: Update.
4989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4992 * math/libm-test.inc (cosh_test_tonearest): New function.
4993 (cosh_test_towardzero): Likewise.
4994 (cosh_test_downward): Likewise.
4995 (cosh_test_upward): Likewise.
4996 (sinh_test_tonearest): Likewise.
4997 (sinh_test_towardzero): Likewise.
4998 (sinh_test_downward): Likewise.
4999 (sinh_test_upward): Likewise.
5000 (main): Call the new functions.
5001 * sysdeps/i386/fpu/libm-test-ulps: Update.
5002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5004 2012-03-05 Tom de Vries <tom@codesourcery.com>
5006 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5007 default stack guard is set in last bytes.
5008 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5010 2012-03-05 Kees Cook <keescook@chromium.org>
5012 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5015 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5016 possibly allocate from heap instead of stack.
5017 * stdio-common/bug-vfprintf-nargs.c: New file.
5018 * stdio-common/Makefile (tests): Add nargs overflow test.
5020 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5024 2012-03-03 Marek Polacek <polacek@redhat.com>
5026 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5027 * math/math_private.h: Likewise.
5028 * stdlib/tst-strtod.c: Likewise.
5029 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5030 * sysdeps/x86_64/bits/atomic.h: Likewise.
5032 2012-03-02 David S. Miller <davem@davemloft.net>
5034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5038 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5039 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5040 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5041 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5043 2012-03-02 Roland McGrath <roland@hack.frob.com>
5046 * manual/examples/README: New file, says the example source files
5047 can be used under GPL>=2.
5048 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5049 line containing just "*/".
5050 * manual/examples/add.c: Add copyright header (GPL>=2).
5051 * manual/examples/argp-ex1.c: Likewise.
5052 * manual/examples/argp-ex2.c: Likewise.
5053 * manual/examples/argp-ex3.c: Likewise.
5054 * manual/examples/argp-ex4.c: Likewise.
5055 * manual/examples/atexit.c: Likewise.
5056 * manual/examples/db.c: Likewise.
5057 * manual/examples/dir.c: Likewise.
5058 * manual/examples/dir2.c: Likewise.
5059 * manual/examples/execinfo.c: Likewise.
5060 * manual/examples/filecli.c: Likewise.
5061 * manual/examples/filesrv.c: Likewise.
5062 * manual/examples/fmtmsgexpl.c: Likewise.
5063 * manual/examples/genpass.c: Likewise.
5064 * manual/examples/inetcli.c: Likewise.
5065 * manual/examples/inetsrv.c: Likewise.
5066 * manual/examples/isockad.c: Likewise.
5067 * manual/examples/longopt.c: Likewise.
5068 * manual/examples/memopen.c: Likewise.
5069 * manual/examples/memstrm.c: Likewise.
5070 * manual/examples/mkfsock.c: Likewise.
5071 * manual/examples/mkisock.c: Likewise.
5072 * manual/examples/mygetpass.c: Likewise.
5073 * manual/examples/pipe.c: Likewise.
5074 * manual/examples/popen.c: Likewise.
5075 * manual/examples/rprintf.c: Likewise.
5076 * manual/examples/search.c: Likewise.
5077 * manual/examples/select.c: Likewise.
5078 * manual/examples/setjmp.c: Likewise.
5079 * manual/examples/sigh1.c: Likewise.
5080 * manual/examples/sigusr.c: Likewise.
5081 * manual/examples/stpcpy.c: Likewise.
5082 * manual/examples/strdupa.c: Likewise.
5083 * manual/examples/strftim.c: Likewise.
5084 * manual/examples/strncat.c: Likewise.
5085 * manual/examples/subopt.c: Likewise.
5086 * manual/examples/swapcontext.c: Likewise.
5087 * manual/examples/termios.c: Likewise.
5088 * manual/examples/testopt.c: Likewise.
5089 * manual/examples/testpass.c: Likewise.
5090 * manual/examples/timeval_subtract.c: Likewise.
5093 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5095 * manual/timeval_subtract.c.texi: ... here, new file.
5097 2012-03-02 David S. Miller <davem@davemloft.net>
5099 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5101 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5104 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5105 (__sin): Save and restore rounding mode and use round-to-nearest
5106 for all computations.
5107 (__cos): Save and restore rounding mode and use round-to-nearest
5108 for all computations.
5109 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5111 (tan): Save and restore rounding mode and use round-to-nearest for
5113 * math/libm-test.inc (cos_test_tonearest): New function.
5114 (cos_test_towardzero): Likewise.
5115 (cos_test_downward): Likewise.
5116 (cos_test_upward): Likewise.
5117 (sin_test_tonearest): Likewise.
5118 (sin_test_towardzero): Likewise.
5119 (sin_test_downward): Likewise.
5120 (sin_test_upward): Likewise.
5121 (tan_test_tonearest): Likewise.
5122 (tan_test_towardzero): Likewise.
5123 (tan_test_downward): Likewise.
5124 (tan_test_upward): Likewise.
5125 (main): Call the new functions.
5126 * sysdeps/i386/fpu/libm-test-ulps: Update.
5127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5130 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5131 small n, then large n, before computing and testing k+n.
5132 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5133 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5137 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5138 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5141 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5142 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5143 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5144 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5145 * math/libm-test.inc (scalbn_test): Add more tests.
5146 (scalbln_test): Likewise.
5148 * manual/filesys.texi (mode_t): Describe constraints on size and
5149 signedness, not exact equivalence to a particular type.
5151 (ino64_t): Likewise.
5153 (nlink_t): Likewise.
5154 (blkcnt_t): Likewise.
5155 (blkcnt64_t): Likewise.
5156 * manual/llio.texi (off_t): Likewise.
5159 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5160 (__ieee754_exp): Save and restore rounding mode and use
5161 round-to-nearest for all computations.
5162 * math/libm-test.inc (exp_test_tonearest): New function.
5163 (exp_test_towardzero): Likewise.
5164 (exp_test_downward): Likewise.
5165 (exp_test_upward): Likewise.
5166 (main): Call the new functions.
5167 * sysdeps/i386/fpu/libm-test-ulps: Update.
5168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5170 2012-03-01 Chris Demetriou <cgd@google.com>
5172 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5173 have predictable order.
5175 2012-03-01 David S. Miller <davem@davemloft.net>
5177 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5179 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5180 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5181 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5182 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5184 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5185 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5186 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5188 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5189 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5190 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5191 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5192 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5196 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5197 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5198 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5200 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5201 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5202 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5203 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5204 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5205 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5207 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5208 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5209 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5210 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5211 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5213 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5214 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5216 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5217 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5218 * sysdeps/sparc/elf/configure: Regenerated.
5220 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5222 * configure.in (AS, LD): Require binutils 2.20 or later.
5223 * configure: Regenerated.
5224 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5225 as required minimum version.
5226 * INSTALL: Regenerated.
5230 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5231 before squaring exponent.
5232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5233 bottom long double and 27 bits of top long double before squaring
5235 * math/libm-test.inc (erfc_test): Add more tests.
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5237 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5240 2012-03-01 Kai Tietz <ktietz@redhat.com>
5242 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5243 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5244 containing bit-fields.
5245 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5246 * soft-fp/single.h (_FP_UNION_S): Likewise.
5247 * soft-fp/double.h (_FP_UNION_D): Likewise.
5249 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5252 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5253 not include ../strcmp.S.
5254 [USE_AS_STRNCASECMP_L]: Likewise.
5255 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5256 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5257 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5258 (__strncasecmp_l_ia32): Define as alias to
5259 __strncasecmp_l_nonascii.
5262 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5263 * sysdeps/i386/fpu/libm-test-ulps: Update.
5264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5266 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5269 2012-02-29 Jeff Law <law@redhat.com>
5271 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5274 2012-02-29 Marek Polacek <polacek@redhat.com>
5277 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5278 * elf/Makefile: Add rules to run tst-unused-dep.out.
5280 2012-02-28 David S. Miller <davem@davemloft.net>
5282 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5283 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5284 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5286 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5287 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5289 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5291 * math/libm-test.inc (llround_test): Move one test from
5292 lround_test. Use TEST_f_L in moved test.
5293 (lround_test): Move misplaced test to llround_test. Add testcase
5296 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5298 * sysdeps/x86_64/fpu/e_expf.S: New file.
5299 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5301 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5304 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5305 of remain_len that may cause incomplete multi-byte character and
5307 * posix/bug-regex33.c: New file.
5308 * posix/Makefile (tests): Add bug-regex33.
5310 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5312 * manual/macros.texi: New file.
5313 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5314 * manual/libc.texinfo: Include macros.texi.
5315 * manual/creatute.texi: Likewise.
5316 * manual/install.texi: Likewise.
5317 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5318 @glibcadj{} in references to the GNU C Library.
5319 * manual/charset.texi: Likewise.
5320 * manual/conf.texi: Likewise.
5321 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5322 when not using those macros.
5323 * manual/creature.texi: Likewise.
5324 * manual/crypt.texi: Likewise.
5325 * manual/errno.texi: Likewise.
5326 * manual/filesys.texi: Likewise.
5327 * manual/header.texi: Likewise.
5328 * manual/install.texi: Likewise.
5329 * manual/intro.texi: Likewise.
5330 * manual/io.texi: Likewise.
5331 * manual/job.texi: Likewise.
5332 * manual/lang.texi: Likewise.
5333 * manual/libc.texiinfo: Likewise.
5334 * manual/llio.texi: Likewise.
5335 * manual/locale.texi: Likewise.
5336 * manual/maint.texi: Likewise.
5337 * manual/math.texi: Likewise.
5338 * manual/memory.texi: Likewise.
5339 * manual/message.texi: Likewise.
5340 * manual/nss.texi: Likewise.
5341 * manual/pattern.texi: Likewise.
5342 * manual/process.texi: Likewise.
5343 * manual/resource.texi: Likewise.
5344 * manual/search.texi: Likewise.
5345 * manual/setjmp.texi: Likewise.
5346 * manual/signal.texi: Likewise.
5347 * manual/socket.texi: Likewise.
5348 * manual/startup.texi: Likewise.
5349 * manual/stdio.texi: Likewise.
5350 * manual/string.texi: Likewise.
5351 * manual/sysinfo.texi: Likewise.
5352 * manual/syslog.texi: Likewise.
5353 * manual/terminal.texi: Likewise.
5354 * manual/time.texi: Likewise.
5355 * manual/users.texi: Likewise.
5356 * INSTALL: Regenerated.
5357 * NOTES: Regenerated.
5358 * sysdeps/gnu/errlist.c: Regenerated.
5360 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5362 * include/dirent.h: Include <dirstream.h> before
5365 2012-02-28 David S. Miller <davem@davemloft.net>
5367 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5368 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5369 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5370 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5372 2012-02-27 David S. Miller <davem@davemloft.net>
5374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5376 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5377 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5380 frame pointer instead of stack pointer relative arg slot.
5381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5382 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5383 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5385 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5388 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5390 2012-02-27 David S. Miller <davem@davemloft.net>
5392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5396 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5397 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5398 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5399 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5401 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5403 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5404 later. Allow versions 5-9.
5405 * configure: Regenerated.
5406 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5407 required minimum version and 4.6 as recommended version. Do not
5408 mention bugs in GCC 2.7 and 2.8.
5409 * INSTALL: Regenerated.
5411 2012-02-27 David S. Miller <davem@davemloft.net>
5413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5417 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5418 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5419 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5420 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5423 manipulate bits before adding and subtracting TWO112[sx].
5424 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5426 2012-02-27 Roland McGrath <roland@hack.frob.com>
5429 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5430 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5431 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5432 being in POSIX, because they are in 1003.1-2008.
5434 * rt/tst-aio.c: Include <fcntl.h>.
5435 * rt/tst-aio7.c: Likewise.
5436 * rt/tst-aio64.c: Likewise.
5438 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5440 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5442 * manual/install.texi (--with-headers): Describe headers as
5443 interface headers, not private headers.
5444 (Specific advice for GNU/Linux systems): Describe use of headers
5445 from "make headers_install", not private headers from older
5447 * INSTALL: Regenerated.
5448 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5450 * sysdeps/unix/sysv/linux/configure: Regenerated.
5452 * manual/llio.texi (fclean): Remove documentation.
5454 * manual/Makefile (libc-texi-generated): New variable. Include
5456 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5457 $(libc-texi-generated), not duplicated list of files.
5458 (version.texi, stamp-version): New rules.
5459 (realclean): Remove $(libc-texi-generated), not individual files
5460 from that list. Do not remove dir-add.texinfo.
5461 * manual/libc.texinfo: Comment out uses of edition numbers and
5462 references to printed manual. Remove last-updated dates.
5463 (EDITION): Comment out.
5465 (VERSION, UPDATED): Remove.
5466 (version.texi): Include.
5468 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5470 * sysdeps/posix/spawni.c: Include <signal.h>.
5471 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5472 * sysdeps/pthread/aio_fsync.c: Likewise.
5474 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5476 * conform/Makefile (tests): Run only when not cross-compiling and
5477 when fast-check is not defined.
5479 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5480 * conform/data/limits.h-data: Fixes for POSIX2008.
5481 * conform/run-conformtest.sh: Run all tests.
5482 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5484 * include/bits/dlfcn.h: Likewise.
5485 * include/langinfo.h: Likewise.
5486 * include/monetary.h: Likewise.
5487 * include/sys/poll.h: Likewise.
5489 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5491 * posix/spawn.h: Define __need_sigset_t.
5492 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5493 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5494 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5495 to get sigevent_t only.
5496 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5499 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5500 process_vm_writev only for __USE_GNU.
5501 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5503 * conform/Makefile: For now ignore errors from run-conformtest.
5504 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5505 POSIX to avoid namespace pollution. Don't prepend headers.
5506 * conform/data/aio.h-data: Fixes for POSIX testing.
5507 * conform/data/fcntl.h-data: Likewise.
5508 * conform/data/glob.h-data: Likewise.
5509 * conform/data/grp.h-data: Likewise.
5510 * conform/data/pthread.h-data: Likewise.
5511 * conform/data/pwd.h-data: Likewise.
5512 * conform/data/signal.h-data: Likewise.
5513 * conform/data/spawn.h-data: Likewise.
5514 * conform/data/stdio.h-data: Likewise.
5515 * conform/data/stdlib.h-data: Likewise.
5516 * conform/data/stropts.h-data: Likewise.
5517 * conform/data/sys/mman.h-data: Likewise.
5518 * conform/data/sys/stat.h-data: Likewise.
5519 * conform/data/sys/types.h-data: Likewise.
5520 * conform/data/sys/wait.h-data: Likewise.
5521 * conform/data/time.h-data: Likewise.
5522 * conform/data/unistd.h-data: Likewise.
5523 * conform/data/utime.h-data: Likewise.
5525 * io/sys/stat.h: fchmod was always in POSIX.
5526 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5527 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5528 * rt/aio.h: Define __need_timespec before including <time.h>.
5529 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5530 struct. Add forward declaration of pthread_attr_t and use it in
5532 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5534 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5535 always remove CLK_TCK definition.
5537 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5539 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5541 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5543 * conform/run-conformtest.sh: New file.
5544 * conform/Makefile: Run run-conformtest for tests.
5545 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5548 * conform/data/uchar.h-data: New file.
5549 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5550 * conform/data/arpa/inet.h-data: Likewise.
5551 * conform/data/assert.h-data: Likewise.
5552 * conform/data/complex.h-data: Likewise.
5553 * conform/data/cpio.h-data: Likewise.
5554 * conform/data/ctype.h-data: Likewise.
5555 * conform/data/dirent.h-data: Likewise.
5556 * conform/data/dlfcn.h-data: Likewise.
5557 * conform/data/errno.h-data: Likewise.
5558 * conform/data/fcntl.h-data: Likewise.
5559 * conform/data/float.h-data: Likewise.
5560 * conform/data/fmtmsg.h-data: Likewise.
5561 * conform/data/fnmatch.h-data: Likewise.
5562 * conform/data/ftw.h-data: Likewise.
5563 * conform/data/glob.h-data: Likewise.
5564 * conform/data/grp.h-data: Likewise.
5565 * conform/data/iconv.h-data: Likewise.
5566 * conform/data/inttypes.h-data: Likewise.
5567 * conform/data/langinfo.h-data: Likewise.
5568 * conform/data/libgen.h-data: Likewise.
5569 * conform/data/limits.h-data: Likewise.
5570 * conform/data/locale.h-data: Likewise.
5571 * conform/data/math.h-data: Likewise.
5572 * conform/data/monetary.h-data: Likewise.
5573 * conform/data/mqueue.h-data: Likewise.
5574 * conform/data/ndbm.h-data: Likewise.
5575 * conform/data/net/if.h-data: Likewise.
5576 * conform/data/netdb.h-data: Likewise.
5577 * conform/data/netinet/in.h-data: Likewise.
5578 * conform/data/nl_types.h-data: Likewise.
5579 * conform/data/poll.h-data: Likewise.
5580 * conform/data/pthread.h-data: Likewise.
5581 * conform/data/pwd.h-data: Likewise.
5582 * conform/data/regex.h-data: Likewise.
5583 * conform/data/sched.h-data: Likewise.
5584 * conform/data/search.h-data: Likewise.
5585 * conform/data/semaphore.h-data: Likewise.
5586 * conform/data/setjmp.h-data: Likewise.
5587 * conform/data/signal.h-data: Likewise.
5588 * conform/data/spawn.h-data: Likewise.
5589 * conform/data/stdarg.h-data: Likewise.
5590 * conform/data/stdio.h-data: Likewise.
5591 * conform/data/stdlib.h-data: Likewise.
5592 * conform/data/string.h-data: Likewise.
5593 * conform/data/strings.h-data: Likewise.
5594 * conform/data/stropts.h-data: Likewise.
5595 * conform/data/sys/ipc.h-data: Likewise.
5596 * conform/data/sys/mman.h-data: Likewise.
5597 * conform/data/sys/msg.h-data: Likewise.
5598 * conform/data/sys/resource.h-data: Likewise.
5599 * conform/data/sys/select.h-data: Likewise.
5600 * conform/data/sys/sem.h-data: Likewise.
5601 * conform/data/sys/shm.h-data: Likewise.
5602 * conform/data/sys/socket.h-data: Likewise.
5603 * conform/data/sys/stat.h-data: Likewise.
5604 * conform/data/sys/statvfs.h-data: Likewise.
5605 * conform/data/sys/time.h-data: Likewise.
5606 * conform/data/sys/timeb.h-data: Likewise.
5607 * conform/data/sys/times.h-data: Likewise.
5608 * conform/data/sys/types.h-data: Likewise.
5609 * conform/data/sys/uio.h-data: Likewise.
5610 * conform/data/sys/un.h-data: Likewise.
5611 * conform/data/sys/utsname.h-data: Likewise.
5612 * conform/data/sys/wait.h-data: Likewise.
5613 * conform/data/syslog.h-data: Likewise.
5614 * conform/data/tar.h-data: Likewise.
5615 * conform/data/termios.h-data: Likewise.
5616 * conform/data/utime.h-data: Likewise.
5617 * conform/data/utmpx.h-data: Likewise.
5618 * conform/data/varargs.h-data: Likewise.
5619 * conform/data/wchar.h-data: Likewise.
5620 * conform/data/wctype.h-data: Likewise.
5621 * conform/data/wordexp.h-data: Likewise.
5623 * include/stropts.h: New file.
5624 * include/uchar.h: New file.
5625 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5626 * include/assert.h: Likewise.
5627 * include/ctype.h: Likewise.
5628 * include/dirent.h: Likewise.
5629 * include/dlfcn.h: Likewise.
5630 * include/fcntl.h: Likewise.
5631 * include/fnmatch.h: Likewise.
5632 * include/glob.h: Likewise.
5633 * include/grp.h: Likewise.
5634 * include/libio.h: Likewise.
5635 * include/locale.h: Likewise.
5636 * include/math.h: Likewise.
5637 * include/net/if.h: Likewise.
5638 * include/netdb.h: Likewise.
5639 * include/netinet/in.h: Likewise.
5640 * include/pthread.h: Likewise.
5641 * include/pwd.h: Likewise.
5642 * include/regex.h: Likewise.
5643 * include/sched.h: Likewise.
5644 * include/search.h: Likewise.
5645 * include/setjmp.h: Likewise.
5646 * include/signal.h: Likewise.
5647 * include/stdio.h: Likewise.
5648 * include/stdlib.h: Likewise.
5649 * include/string.h: Likewise.
5650 * include/sys/cdefs.h: Likewise.
5651 * include/sys/mman.h: Likewise.
5652 * include/sys/msg.h: Likewise.
5653 * include/sys/resource.h: Likewise.
5654 * include/sys/select.h: Likewise.
5655 * include/sys/socket.h: Likewise.
5656 * include/sys/stat.h: Likewise.
5657 * include/sys/statvfs.h: Likewise.
5658 * include/sys/time.h: Likewise.
5659 * include/sys/times.h: Likewise.
5660 * include/sys/uio.h: Likewise.
5661 * include/sys/utsname.h: Likewise.
5662 * include/sys/wait.h: Likewise.
5663 * include/termios.h: Likewise.
5664 * include/time.h: Likewise.
5665 * include/ulimit.h: Likewise.
5666 * include/unistd.h: Likewise.
5667 * include/utime.h: Likewise.
5668 * include/wchar.h: Likewise.
5669 * include/wctype.h: Likewise.
5670 * include/wordexp.h: Likewise.
5672 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5674 * time/time.h: TIME_UTC must be a macro.
5675 Make timespec_get available for ISO C11 only as well.
5677 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5679 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5680 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5682 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5684 * configure.in: Use -o not -a in test for unsupported multi-arch.
5686 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5688 * manual/texinfo.tex: Update to version 2012-01-19.16.
5690 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5692 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5694 2012-02-24 Roland McGrath <roland@hack.frob.com>
5697 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5698 * manual/fdl-1.3.texi: New file.
5699 * manual/fdl-1.1.texi: File removed.
5702 * manual/libc.texinfo (FDL_VERSION): New @set.
5703 Use it for mention of FDL in cover text.
5704 (Documentation License): Use it in @include file name.
5706 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5707 Roland McGrath <roland@hack.frob.com>
5710 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5711 not LONG_LONG_MAX and LONG_LONG_MIN.
5712 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5713 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5715 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5717 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5721 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5722 manipulate bits before adding and subtracting TWO23[sx].
5723 * math/libm-test.inc (nearbyint_test): Add more tests.
5725 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5729 bits before adding and subtracting TWO23[sx].
5730 * math/libm-test.inc (rint_test): Add more tests.
5731 (rint_test_tonearest): Likewise.
5732 (rint_test_towardzero): Likewise.
5733 (rint_test_downward): Likewise.
5734 (rint_test_upward: Likewise.
5736 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5739 * include/stdc-predef.h: New file. Extracted from features.h.
5740 * include/features.h: Include stdc-predef.h.
5741 * Makefile (headers): Add stdc-predef.h.
5742 * CONFORMANCE (Compiler limitations): Update.
5744 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5746 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5748 2012-02-21 David S. Miller <davem@davemloft.net>
5750 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5751 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5753 2012-02-20 David S. Miller <davem@davemloft.net>
5755 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5756 using a normal save/restore sequence, rather than allocating a
5757 dummy stack frame just to store a frame pointer and restore.
5758 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5760 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5762 * manual/install.texi: Fix stray word in line-wrapped comment.
5764 2012-02-20 David S. Miller <davem@davemloft.net>
5766 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5767 both binutils and gcc support GOTDATA.
5769 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5770 "rd %pc" in the PIC register setup sequences.
5772 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5773 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5774 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5775 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5776 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5778 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5779 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5781 (SYSCALL_ERROR_HANDLER): Likewise.
5782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5783 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5785 (SYSCALL_ERROR_HANDLER): Likewise.
5787 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5788 (HAVE_GCC_GOTDATA): New.
5789 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5790 relocation support in both binutils and gcc.
5791 * sysdeps/sparc/elf/configure: Regenerate.
5793 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5794 * sysdeps/sparc/sparc32/elf/configure: Delete.
5795 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5796 * sysdeps/sparc/sparc64/elf/configure: Delete.
5797 * sysdeps/sparc/elf/configure.in: New file.
5798 * sysdeps/sparc/elf/configure: Generate.
5800 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5801 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5802 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5803 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5804 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5806 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5808 * manual/install.texi: Do not mention specific glibc version
5810 * manual/libc.texinfo (VERSION, UPDATED): Update.
5811 (@copying): Use @copyright{} and range of years.
5813 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5816 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5817 [crti.S not in sysdirs] (generated): Do not append.
5818 [crti.S not in sysdirs] (omit-deps): Likewise.
5819 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5820 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5821 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5822 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5823 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5825 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5826 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5827 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5828 * csu/defs.awk: Remove file.
5829 * sysdeps/generic/initfini.c: Likewise.
5830 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5832 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5835 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5837 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5838 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5839 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5841 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5842 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5844 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5845 (__EPOLL_PACKED): Define to empty if not defined by
5847 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5851 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5853 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5854 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5856 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5858 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5862 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5864 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5867 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5868 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5871 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5873 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5874 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5876 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5878 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5879 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5881 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5883 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5886 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5888 * math/w_acos.c: Use non-signaling floating-point comparisons.
5889 * math/w_acosf.c: Likewise.
5890 * math/w_acosh.c: Likewise.
5891 * math/w_acoshf.c: Likewise.
5892 * math/w_acoshl.c: Likewise.
5893 * math/w_acosl.c: Likewise.
5894 * math/w_asin.c: Likewise.
5895 * math/w_asinf.c: Likewise.
5896 * math/w_asinl.c: Likewise.
5897 * math/w_atanh.c: Likewise.
5898 * math/w_atanhf.c: Likewise.
5899 * math/w_atanhl.c: Likewise.
5900 * math/w_exp2.c: Likewise.
5901 * math/w_exp2f.c: Likewise.
5902 * math/w_exp2l.c: Likewise.
5903 * math/w_j0.c: Likewise.
5904 * math/w_j0f.c: Likewise.
5905 * math/w_j0l.c: Likewise.
5906 * math/w_j1.c: Likewise.
5907 * math/w_j1f.c: Likewise.
5908 * math/w_j1l.c: Likewise.
5909 * math/w_jn.c: Likewise.
5910 * math/w_jnf.c: Likewise.
5911 * math/w_log.c: Likewise.
5912 * math/w_log10.c: Likewise.
5913 * math/w_log10f.c: Likewise.
5914 * math/w_log10l.c: Likewise.
5915 * math/w_log2.c: Likewise.
5916 * math/w_log2f.c: Likewise.
5917 * math/w_log2l.c: Likewise.
5918 * math/w_logf.c: Likewise.
5919 * math/w_logl.c: Likewise.
5920 * math/w_sqrt.c: Likewise.
5921 * math/w_sqrtf.c: Likewise.
5922 * math/w_sqrtl.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5925 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5926 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5927 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5929 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5932 * manual/string.texi (strnlen): Use correct parameter name in
5933 equivalent expression.
5935 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5938 * manual/users.texi (seteuid): Consistently use neweuid for
5941 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5944 * manual/nss.texi (Services in the NSS configuration): Correct
5945 list of services in example configuration file.
5947 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5950 * manual/arith.texi: Remove statements about negative zero
5951 behaving identically to zero.
5953 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5956 * manual/install.texi: Do not document upgrading from libc5.
5958 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5961 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5963 2012-02-18 David S. Miller <davem@davemloft.net>
5965 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5966 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5967 %o7 across the call.
5968 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5972 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5973 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5974 * sysdeps/sparc/crtn.S: Likewise.
5976 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5978 * aout/Makefile: Remove.
5980 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5983 * manual/examples/argp-ex1.c (main): Format definition in GNU
5985 * manual/examples/argp-ex2.c (main): Likewise.
5986 * manual/examples/argp-ex3.c (main): Likewise.
5987 * manual/examples/argp-ex4.c (main): Likewise.
5988 * manual/examples/longopt.c (main): Use new-style prototype
5990 * manual/examples/strncat.c (main): Specify return type and use
5991 (void) for arguments.
5992 * manual/examples/subopt.c (main): Use char **argv argument.
5994 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5997 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6000 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6003 * manual/string.texi (strchr): Change when strchrnul is
6006 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6009 * manual/locale.texi (setlocale): Document LOCPATH.
6011 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6014 * manual/process.texi (execle): Move @dots{} before last argument.
6016 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6019 * manual/charset.texi (Generic Charset Conversion): Fix typo
6020 (LC_TYPE -> LC_CTYPE).
6022 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6025 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6026 (scalbnf): Likewise.
6027 (scalbnl): Likewise.
6028 (scalbln): Likewise.
6029 (scalblnf): Likewise.
6030 (scalblnl): Likewise.
6031 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6035 * manual/filesys.texi (telldir): Use braces around return type.
6036 * manual/llio.texi (mmap): Add space after comma.
6038 * manual/math.texi (jn): Use @var{} on parameter names.
6044 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6046 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6048 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6049 (sched_get_priority_max): Likewise.
6050 * manual/signal.texi (sigvec): Add space after comma.
6051 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6053 (if_indextoname): Likewise.
6054 (if_freenameindex): Likewise.
6055 (sendto): Use ',' instead of '.' in prototype.
6056 * manual/startup.texi (syscall): Use @dots{} instead of literal
6058 * manual/stdio.texi (__fpending): Separate initial words of
6059 paragraph from @deftypefun line.
6060 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6062 (vsyslog): Use @var{} on parameter names.
6063 * manual/terminal.texi (stty): Use @var{} on parameter names.
6064 * manual/users.texi (getutmp): Use @var{} on parameter names.
6065 (getutmpx): Likewise.
6067 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6070 * manual/stdio.texi (fopen): Fix typos in description of
6073 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6076 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6077 get clock_id definition.
6079 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6082 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6083 (madvise): Cast every argument to void on its own.
6085 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6088 * manual/startup.texi (Exit Status): Fix typo.
6090 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6093 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6094 * manual/examples/argp-ex2.c: Likewise.
6095 * manual/examples/argp-ex3.c: Likewise.
6097 2012-02-16 Richard Henderson <rth@redhat.com>
6099 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6100 * sysdeps/s390/s390-32/initfini.c: Remove.
6101 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6102 * sysdeps/s390/s390-64/initfini.c: Remove.
6104 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6106 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6107 compiler output for sysdeps/generic/initfini.c.
6108 * sysdeps/sh/elf/initfini.c: Remove file.
6110 2012-02-16 David S. Miller <davem@davemloft.net>
6113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6115 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6116 * sysdeps/sparc/crti.S: New file.
6117 * sysdeps/sparc/crtn.S: New file.
6118 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6119 * sysdeps/sparc/sparc64/Makefile: Likewise.
6121 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6124 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6126 2012-02-15 Roland McGrath <roland@hack.frob.com>
6129 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6131 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6132 (write, read, close): Likewise.
6133 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6135 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6137 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6138 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6139 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6140 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6142 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6146 2012-02-14 Marek Polacek <polacek@redhat.com>
6148 * sysdeps/x86_64/crti.S: New file.
6149 * sysdeps/x86_64/crtn.S: New file.
6150 * sysdeps/x86_64/elf/initfini.c: Remove file.
6152 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6154 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6155 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6156 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6157 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6159 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6163 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6165 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6166 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6167 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6168 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6170 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6174 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6176 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6177 __feraiseexcept instead of feraiseexcept.
6179 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6180 nanosleep invocations.
6181 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6182 strings, and add error checking for a nanosleep invocations.
6184 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6186 Replace FSF snail mail address with URLs, as per GNU coding standards.
6187 Most of the snail mail addresses were wrong anyway, and omitting
6188 them makes the source code easier to maintain. Almost all of the
6189 changes are to license notices and to locale LC_IDENTIFICATION
6190 addresses, except for this one:
6191 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6192 not its snail mail address.
6194 2012-02-09 Richard Henderson <rth@twiddle.net>
6196 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6197 of kernel-features.h.
6199 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6201 2012-02-08 Marek Polacek <polacek@redhat.com>
6203 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6204 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6205 * sysdeps/gnu/_G_config.h: Likewise.
6206 * sysdeps/generic/_G_config.h: Likewise.
6208 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6210 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6214 * sysdeps/powerpc/powerpc32/crti.S: New file.
6215 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6216 * sysdeps/powerpc/powerpc64/crti.S: New file.
6217 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6219 * Makeconfig (have-initfini): Don't set.
6220 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6221 * configure.in (nopic_initfini): Don't substitute.
6222 * config.h.in (HAVE_INITFINI): Don't #undef.
6223 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6224 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6226 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6228 Support crti.S and crtn.S provided directly by architectures.
6229 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6230 [crti.S in sysdirs] (omit-deps): Likewise.
6231 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6232 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6233 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6234 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6235 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6236 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6237 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6238 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6239 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6240 compiler output for sysdeps/generic/initfini.c.
6241 * sysdeps/i386/elf/Makefile: Remove file.
6242 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6244 2012-02-07 Marek Polacek <polacek@redhat.com>
6246 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6247 * sysdeps/gnu/_G_config.h: Likewise.
6248 * sysdeps/mach/hurd/_G_config.h: Likewise.
6250 2012-02-07 Marek Polacek <polacek@redhat.com>
6252 * math/Makefile (tests): Add tst-CMPLX2.
6253 * math/tst-CMPLX2.c: New file.
6255 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6257 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6259 * math/libm-test.inc (jn_test): Add missing L suffix.
6261 2012-02-06 Marek Polacek <polacek@redhat.com>
6263 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6264 * sysdeps/i386/fpu/e_powf.S: Likewise.
6265 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6266 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6267 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6268 * sysdeps/i386/fpu/e_pow.S: Likewise.
6269 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6270 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6271 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6272 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6273 * sysdeps/i386/fpu/e_log2.S: Likewise.
6274 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6275 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6276 * sysdeps/i386/fpu/e_powl.S: Likewise.
6277 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6278 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6279 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6280 * sysdeps/i386/fpu/e_logl.S: Likewise.
6281 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6282 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6283 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6284 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6285 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6286 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6287 * sysdeps/i386/fpu/e_log.S: Likewise.
6288 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6289 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6290 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6291 * sysdeps/i386/fpu/e_logf.S: Likewise.
6292 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6293 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6294 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6295 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6296 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6297 * sysdeps/i386/fpu/e_log10.S: Likewise.
6298 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6299 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6300 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6301 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6302 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6303 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6304 * sysdeps/i386/asm-syntax.h: Likewise.
6305 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6306 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6307 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6308 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6309 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6310 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6311 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6312 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6313 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6314 * sysdeps/powerpc/sysdep.h: Likewise.
6315 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6316 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6318 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6321 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6323 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6325 * sysdeps/i386/sysdep.h: Include <features.h>.
6326 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6329 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6331 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6333 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6336 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6338 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6339 (SETUP_PIC_REG): Use GET_PC_THUNK.
6340 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6343 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6345 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6346 for non-PIC compilation.
6347 (SETUP_PIC_REG): Add .p2align directive.
6348 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6349 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6350 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6351 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6352 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6353 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6354 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6356 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6357 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6358 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6359 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6360 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6361 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6362 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6363 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6364 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6365 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6366 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6367 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6368 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6370 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6371 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6372 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6374 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6376 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6377 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6378 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6379 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6380 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6381 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6382 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6383 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6384 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6385 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6386 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6387 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6388 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6390 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6392 * math/tst-CMPLX.c: Include <stdio.h>.
6394 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6396 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6398 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6399 * sysdeps/sparc/bits/mathdef.h: Likewise.
6401 2012-01-31 Marek Polacek <polacek@redhat.com>
6403 * libio/libio.h: Don't define _PARAMS.
6404 * locale/programs/config.h: Don't define PARAMS.
6405 * stdlib/strtol_l.c: Likewise.
6406 (__strtol_l): Remove PARAMS from the prototype.
6408 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6410 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6411 names. Just use the correct names. Remove unnecessary wrapper
6413 * malloc/arena.c: Likewise.
6414 * malloc/hooks.c: Likewise.
6416 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6417 ARENA_TEST says not to. Simplify test for creation of a new arena.
6418 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6420 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6422 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6424 (update_get_addr): New function.
6425 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6426 GET_ADDR_MODULE parameter.
6428 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6430 * crypt/cert.c: Remove __STDC__ conditionals.
6431 * crypt/crypt-entry.c: Likewise.
6432 * crypt/crypt_util.c: Likewise.
6433 * libio/filedoalloc.c: Likewise.
6434 * libio/fileops.c: Likewise.
6435 * libio/genops.c: Likewise.
6436 * libio/iofclose.c: Likewise.
6437 * libio/iofdopen.c: Likewise.
6438 * libio/iofopen.c: Likewise.
6439 * libio/iofopen64.c: Likewise.
6440 * libio/iogetdelim.c: Likewise.
6441 * libio/iopopen.c: Likewise.
6442 * libio/obprintf.c: Likewise.
6443 * libio/oldfileops.c: Likewise.
6444 * libio/oldiofclose.c: Likewise.
6445 * libio/oldiofdopen.c: Likewise.
6446 * libio/oldiofopen.c: Likewise.
6447 * libio/oldiopopen.c: Likewise.
6448 * libio/wfiledoalloc.c: Likewise.
6449 * libio/wgenops.c: Likewise.
6450 * locale/programs/xmalloc.c: Likewise.
6451 * misc/syslog.c: Likewise.
6452 * stdio-common/xbug.c: Likewise.
6453 * string/memchr.c: Likewise.
6454 * string/memcmp.c: Likewise.
6455 * string/memrchr.c: Likewise.
6456 * string/rawmemchr.c: Likewise.
6457 * sysdeps/posix/getcwd.c: Likewise.
6458 * time/strftime_l.c: Likewise.
6460 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6462 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6463 * config.make.in (config-cflags-sse2avx): Define.
6464 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6467 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6469 * scripts/config.guess: Update from upstream config git repository.
6470 * scripts/config.sub: Likewise.
6472 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6474 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6476 (R_TILEPRO_*, R_TILEGX_*): New macros.
6478 * scripts/firstversions.awk: Fix bug in version range handling.
6480 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6482 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6484 * include/sys/epoll.h: New file.
6485 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6488 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6490 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6491 Avoid unnecessary __WORDSIZE == 64 test.
6492 (fmaxf): Use VEX format if possible.
6497 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6498 * math/math_private.h: Remove libc_fegetround* and
6500 * sysdeps/i386/configure.in: Check for -msse2avx.
6501 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6502 also if SSE2AVX is defined.
6503 Remove libc_fegetround* and libc_fesetround*.
6504 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6505 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6509 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6511 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6514 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6516 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6518 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6522 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6525 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6527 * Makeconfig (libm): Define.
6528 * elf/Makefile: Add rules to build and run tst-relsort1.
6529 * elf/tst-relsort1.c: New file.
6530 * elf/tst-relsort1mod1.c: New file.
6531 * elf/tst-relsort1mod2.c: New file.
6533 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6535 * math/s_ldexp.c: Remove __STDC__ conditionals.
6536 * math/s_ldexpf.c: Likewise.
6537 * math/s_ldexpl.c: Likewise.
6538 * math/s_nextafter.c: Likewise.
6539 * math/s_nexttowardf.c: Likewise.
6540 * math/s_significand.c: Likewise.
6541 * math/s_significandf.c: Likewise.
6542 * math/s_significandl.c: Likewise.
6543 * math/w_jnl.c: Likewise.
6544 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6545 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6546 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6547 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6548 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6560 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6563 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6566 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6567 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6568 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6572 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6573 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6574 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6575 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6576 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6578 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6579 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6580 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6581 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6582 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6583 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6584 * sysdeps/ieee754/k_standard.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6646 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6651 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6659 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6660 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6664 * sysdeps/ieee754/s_matherr.c: Likewise.
6665 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6666 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6670 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6672 * crypt/md5.h: Remove __STDC__ conditionals.
6673 * libio/libioP.h: Likewise.
6674 * locale/programs/config.h: Likewise.
6675 * sysdeps/generic/sysdep.h: Likewise.
6676 * sysdeps/i386/asm-syntax.h: Likewise.
6677 * sysdeps/s390/asm-syntax.h: Likewise.
6678 * sysdeps/unix/sysdep.h: Likewise.
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6682 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6684 * libio/libio.h: Remove __STDC__ conditionals.
6685 * malloc/obstack.h: Likewise.
6686 * math/complex.h: Likewise.
6687 * math/math.h: Likewise.
6688 * sysdeps/generic/_G_config.h: Likewise.
6689 * sysdeps/gnu/_G_config.h: Likewise.
6690 * sysdeps/mach/hurd/_G_config.h: Likewise.
6691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6692 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6693 * sysdeps/sparc/bits/mathdef.h: Likewise.
6695 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6698 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6699 Clean up HAS_* macros.
6700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6701 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6711 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6713 * elf/tst-unique3.cc (gets): Remove declaration.
6714 * elf/tst-unique3lib.cc (gets): Likewise.
6715 * elf/tst-unique3lib2.cc (gets): Likewise.
6716 * elf/tst-unique4.cc (gets): Likewise.
6718 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6720 * include/stdio.h: Add C++ protection. Add gets declarations and
6722 * debug/tst-chk1.c: Don't declare gets here.
6723 * stdio-common/tst-gets.c: Likewise.
6725 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6727 * posix/glob: Remove directory.
6729 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6731 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6733 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6735 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6736 of the non-standard EPFNOSUPPORT.
6738 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6740 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6741 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6742 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6744 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6746 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6748 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6750 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6752 * nscd/grpcache.c (cache_addgr): Likewise.
6753 * nscd/hstcache.c (cache_addhst): Likewise.
6754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6755 * nscd/pwdcache.c (cache_addpw): Likewise.
6756 * nscd/servicescache.c (cache_addserv): Likewise.
6758 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6760 * malloc/malloc.c: Various cleanups.
6761 * malloc/hooks.c: Likewise.
6763 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6764 * stdlib/bug-fmtmsg1.c: New file.
6766 * stdlib/fmtmsg.c (init): Add missing unlock.
6767 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6769 2012-01-12 Marek Polacek <polacek@redhat.com>
6771 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6774 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6776 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6777 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6778 macro to ensure uniqueness of label name.
6779 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6780 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6782 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6784 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6786 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6787 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6791 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6793 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6795 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6796 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6799 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6801 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6802 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6803 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6806 * math/bits/math-finite.h: Add ldexp support.
6808 2012-01-10 Marek Polacek <polacek@redhat.com>
6810 * locale/programs/localedef.h (show_archive_content): Add noreturn
6813 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6815 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6817 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6819 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6821 * io/Makefile (headers): Add bits/poll2.h.
6823 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6826 typo #include statement.
6828 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6830 * include/sys/cdefs.h: Define __attribute_alloc_size.
6831 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6832 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6833 * elf/pldd.c: Likewise.
6834 * iconv/iconv_charmap.c: Likewise.
6835 * iconv/iconvconfig.c: Likewise.
6836 * iconv/strtab.c: Likewise.
6837 * locale/programs/locale.c: Likewise.
6838 * locale/programs/localedef.h: Likewise.
6839 * locale/programs/simple-hash.c: Likewise.
6840 * nscd/nscd.h: Likewise.
6841 * nss/makedb.c: Likewise.
6842 * sysdeps/generic/ldconfig.h: Likewise.
6843 * locale/programs/localedef.c: Remove xmalloc prototype.
6844 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6846 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6848 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6851 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6853 * math/Makefile (tests): Add tst-CMPLX.
6854 * math/tst-CMPLX.c: New file.
6856 * math/complex.h (CMPLXL): Fix typo.
6858 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6859 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6861 * debug/tst-chk1.c: Add poll and ppoll tests.
6862 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6863 * include/sys/poll.h: Add hidden proto for ppoll.
6864 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6865 * sysdeps/mach/hurd/ppoll.c: Likewise.
6866 * io/ppoll.c: Likewise.
6867 * debug/poll_chk.c: New file.
6868 * debug/ppoll_chk.c: New file.
6869 * include/bits/poll2.h: New file.
6870 * io/bits/poll2.h: New file.
6873 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6875 * configure.in: static is always set to yes. Remove.
6876 * config.make.in: Don't set build-static.
6877 * Makeconfig: Remove use of build-static.
6878 * dlfcn/Makefile: Likewise.
6879 * elf/Makefile: Likewise.
6880 * math/Makefile: Likewise.
6881 * misc/Makefile: Likewise.
6882 * nptl/Makefile: Likewise.
6883 * sysdeps/mach/hurd/Makefile: Likewise.
6885 * configure.in: PWD_P is not used anymore.
6886 * config.make.in: Remove PWD_P entry.
6888 * configure.in: Remove last remnants of RANLIB.
6889 No need to check for signed size_t anymore.
6890 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6892 Remove __builtin_expect test because we require at least gcc 3.4.
6893 * aclocal.m4: Likewise.
6895 * wcsmbs/mbrtoc16.c: Implement using towc function.
6896 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6897 * wcsmbs/wcsmbsload.c: Likewise.
6898 * iconv/gconv_simple.c: Likewise.
6899 * iconv/gconv_int.h: Likewise.
6900 * iconv/gconv_builtin.h: Likewise.
6901 * iconv/iconv_prog.c: Remove CHAR16 handling.
6903 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6905 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6907 * configure.in: Remove --with-elf and --enable-bounded options.
6908 Dont set base_machine for ia64. More non-ELF conditions removed.
6909 Remove testing and setting of leading underscore information.
6910 * config.make.in (build-bounded): Set to no.
6911 * config.h.in: Remove NO_UNDERSCORES entry.
6912 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6914 * csu/start.c: Remove !NO_UNDERSCORE code.
6915 * locale/localeinfo.h: Likewise.
6916 * sysdeps/generic/machine-gmon.h: Likewise.
6917 * sysdeps/generic/sysdep.h: Likewise.
6918 * sysdeps/i386/sysdep.h: Likewise.
6919 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6920 * sysdeps/mach/sysdep.h: Likewise.
6921 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6922 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6923 * sysdeps/sh/sysdep.h: Likewise.
6924 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6925 * sysdeps/unix/i386/sysdep.S: Likewise.
6926 * sysdeps/unix/sparc/start.c: Likewise.
6927 * sysdeps/unix/sparc/sysdep.S: Likewise.
6928 * sysdeps/unix/sparc/sysdep.h: Likewise.
6929 * sysdeps/unix/start.c: Likewise.
6930 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6931 * sysdeps/x86_64/sysdep.h: Likewise.
6933 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6936 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6938 * argp/argp-fmtstream.h: Use const instead __const.
6939 * argp/argp.h: Likewise.
6940 * assert/assert.h: Likewise.
6941 * bits/fenv.h: Likewise.
6942 * bits/sched.h: Likewise.
6943 * bits/sigset.h: Likewise.
6944 * bits/sigthread.h: Likewise.
6945 * catgets/nl_types.h: Likewise.
6946 * conform/data/pthread.h-data: Likewise.
6947 * crypt/crypt-private.h: Likewise.
6948 * crypt/crypt.h: Likewise.
6949 * crypt/crypt_util.c: Likewise.
6950 * ctype/ctype.h: Likewise.
6951 * debug/execinfo.h: Likewise.
6952 * debug/mbsnrtowcs_chk.c: Likewise.
6953 * debug/mbsrtowcs_chk.c: Likewise.
6954 * debug/wcsnrtombs_chk.c: Likewise.
6955 * debug/wcsrtombs_chk.c: Likewise.
6956 * debug/wcstombs_chk.c: Likewise.
6957 * dirent/dirent.h: Likewise.
6958 * dlfcn/dlfcn.h: Likewise.
6959 * elf/neededtest4.c: Likewise.
6960 * grp/grp.h: Likewise.
6961 * gshadow/gshadow.h: Likewise.
6962 * iconv/gconv.h: Likewise.
6963 * iconv/gconv_int.h: Likewise.
6964 * iconv/gconv_simple.c: Likewise.
6965 * iconv/iconv.h: Likewise.
6966 * iconv/loop.c: Likewise.
6967 * iconv/skeleton.c: Likewise.
6968 * include/aio.h: Likewise.
6969 * include/aliases.h: Likewise.
6970 * include/argz.h: Likewise.
6971 * include/arpa/inet.h: Likewise.
6972 * include/assert.h: Likewise.
6973 * include/dirent.h: Likewise.
6974 * include/dlfcn.h: Likewise.
6975 * include/execinfo.h: Likewise.
6976 * include/fcntl.h: Likewise.
6977 * include/fenv.h: Likewise.
6978 * include/glob.h: Likewise.
6979 * include/grp.h: Likewise.
6980 * include/libintl.h: Likewise.
6981 * include/mntent.h: Likewise.
6982 * include/netdb.h: Likewise.
6983 * include/pwd.h: Likewise.
6984 * include/rpc/netdb.h: Likewise.
6985 * include/sched.h: Likewise.
6986 * include/search.h: Likewise.
6987 * include/shadow.h: Likewise.
6988 * include/signal.h: Likewise.
6989 * include/stdio.h: Likewise.
6990 * include/stdlib.h: Likewise.
6991 * include/string.h: Likewise.
6992 * include/sys/socket.h: Likewise.
6993 * include/sys/stat.h: Likewise.
6994 * include/sys/statfs.h: Likewise.
6995 * include/sys/statvfs.h: Likewise.
6996 * include/sys/syslog.h: Likewise.
6997 * include/sys/time.h: Likewise.
6998 * include/sys/uio.h: Likewise.
6999 * include/time.h: Likewise.
7000 * include/unistd.h: Likewise.
7001 * include/utmp.h: Likewise.
7002 * include/wchar.h: Likewise.
7003 * include/wctype.h: Likewise.
7004 * inet/aliases.h: Likewise.
7005 * inet/arpa/inet.h: Likewise.
7006 * inet/netinet/ether.h: Likewise.
7007 * inet/netinet/in.h: Likewise.
7008 * intl/libintl.h: Likewise.
7009 * io/bits/fcntl2.h: Likewise.
7010 * io/fcntl.h: Likewise.
7011 * io/ftw.h: Likewise.
7012 * io/sys/poll.h: Likewise.
7013 * io/sys/stat.h: Likewise.
7014 * io/sys/statfs.h: Likewise.
7015 * io/sys/statvfs.h: Likewise.
7016 * io/utime.h: Likewise.
7017 * libio/bits/stdio.h: Likewise.
7018 * libio/bits/stdio2.h: Likewise.
7019 * libio/libio.h: Likewise.
7020 * libio/libioP.h: Likewise.
7021 * libio/stdio.h: Likewise.
7022 * locale/lc-ctype.c: Likewise.
7023 * locale/locale.h: Likewise.
7024 * login/utmp.h: Likewise.
7025 * malloc/arena.c: Likewise.
7026 * malloc/malloc.c: Likewise.
7027 * malloc/malloc.h: Likewise.
7028 * malloc/mcheck.c: Likewise.
7029 * malloc/mtrace.c: Likewise.
7030 * math/bits/mathcalls.h: Likewise.
7031 * math/fenv.h: Likewise.
7032 * math/math_private.h: Likewise.
7033 * misc/bits/error.h: Likewise.
7034 * misc/bits/syslog.h: Likewise.
7035 * misc/err.h: Likewise.
7036 * misc/error.h: Likewise.
7037 * misc/fstab.h: Likewise.
7038 * misc/mntent.h: Likewise.
7039 * misc/regexp.h: Likewise.
7040 * misc/search.h: Likewise.
7041 * misc/sgtty.h: Likewise.
7042 * misc/sys/mman.h: Likewise.
7043 * misc/sys/syslog.h: Likewise.
7044 * misc/sys/uio.h: Likewise.
7045 * misc/sys/xattr.h: Likewise.
7046 * misc/ttyent.h: Likewise.
7047 * nis/rpcsvc/ypclnt.h: Likewise.
7048 * nss/nss.h: Likewise.
7049 * posix/bits/unistd.h: Likewise.
7050 * posix/fnmatch.h: Likewise.
7051 * posix/glob.h: Likewise.
7052 * posix/sched.h: Likewise.
7053 * posix/spawn.h: Likewise.
7054 * posix/sys/wait.h: Likewise.
7055 * posix/unistd.h: Likewise.
7056 * posix/wordexp.h: Likewise.
7057 * pwd/pwd.h: Likewise.
7058 * resolv/netdb.h: Likewise.
7059 * resource/sys/resource.h: Likewise.
7060 * rt/aio.h: Likewise.
7061 * rt/bits/mqueue2.h: Likewise.
7062 * rt/mqueue.h: Likewise.
7063 * shadow/shadow.h: Likewise.
7064 * signal/signal.h: Likewise.
7065 * socket/send.c: Likewise.
7066 * socket/sendto.c: Likewise.
7067 * socket/sys/socket.h: Likewise.
7068 * stdio-common/printf.h: Likewise.
7069 * stdlib/bits/stdlib.h: Likewise.
7070 * stdlib/fmtmsg.h: Likewise.
7071 * stdlib/monetary.h: Likewise.
7072 * stdlib/stdlib.h: Likewise.
7073 * stdlib/ucontext.h: Likewise.
7074 * streams/stropts.h: Likewise.
7075 * string/argz.h: Likewise.
7076 * string/bits/string2.h: Likewise.
7077 * string/string.h: Likewise.
7078 * string/strings.h: Likewise.
7079 * sunrpc/rpc/auth.h: Likewise.
7080 * sunrpc/rpc/auth_des.h: Likewise.
7081 * sunrpc/rpc/clnt.h: Likewise.
7082 * sunrpc/rpc/netdb.h: Likewise.
7083 * sunrpc/rpc/pmap_clnt.h: Likewise.
7084 * sunrpc/rpc/xdr.h: Likewise.
7085 * sysdeps/generic/inttypes.h: Likewise.
7086 * sysdeps/generic/net/if.h: Likewise.
7087 * sysdeps/generic/sys/swap.h: Likewise.
7088 * sysdeps/gnu/net/if.h: Likewise.
7089 * sysdeps/gnu/utmpx.h: Likewise.
7090 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7091 * sysdeps/i386/i486/bits/string.h: Likewise.
7092 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7093 * sysdeps/s390/bits/string.h: Likewise.
7094 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7095 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7096 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7097 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7098 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7099 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7100 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7101 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7102 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7103 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7104 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7105 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7106 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7107 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7108 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7109 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7110 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7111 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7112 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7113 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7114 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7115 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7116 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7117 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7118 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7119 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7120 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7121 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7122 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7123 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7124 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7125 * sysvipc/sys/ipc.h: Likewise.
7126 * sysvipc/sys/msg.h: Likewise.
7127 * sysvipc/sys/sem.h: Likewise.
7128 * sysvipc/sys/shm.h: Likewise.
7129 * termios/termios.h: Likewise.
7130 * time/sys/time.h: Likewise.
7131 * time/time.h: Likewise.
7132 * wcsmbs/bits/wchar2.h: Likewise.
7133 * wcsmbs/uchar.h: Likewise.
7134 * wcsmbs/wchar.h: Likewise.
7135 * wctype/wctype.h: Likewise.
7138 * Makeconfig: Remove all but ELF support including AIX support.
7139 * Makerules: Likewise.
7140 * config.h.in: Likewise.
7141 * config.make.in: Likewise.
7142 * configure: Likewise.
7143 * configure.in: Likewise.
7144 * csu/Makefile: Likewise.
7145 * csu/version.c: Likewise.
7146 * debug/Makefile: Likewise.
7147 * dlfcn/Makefile: Likewise.
7148 * elf/Makefile: Likewise.
7149 * extra-lib.mk: Likewise.
7150 * iconv/Makefile: Likewise.
7151 * include/libc-symbols.h: Likewise.
7152 * include/shlib-compat.h: Likewise.
7153 * resolv/Makefile: Likewise.
7154 * resolv/res_libc.c: Likewise.
7155 * rt/Makefile: Likewise.
7156 * sysdeps/i386/asm-syntax.h: Likewise.
7157 * sysdeps/i386/sysdep.h: Likewise.
7158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7159 * sysdeps/mach/sysdep.h: Likewise.
7160 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7161 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7162 * sysdeps/s390/asm-syntax.h: Likewise.
7163 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7164 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7165 * sysdeps/sh/sysdep.h: Likewise.
7166 * sysdeps/unix/sparc/sysdep.h: Likewise.
7167 * sysdeps/wordsize-32/divdi3.c: Likewise.
7168 * sysdeps/x86_64/sysdep.h: Likewise.
7170 * argp/Versions: Remove _argp_unlock_xxx.
7173 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7174 * abilist/libBrokenLocale.abilist: Likewise.
7175 * abilist/libanl.abilist: Likewise.
7176 * abilist/libc.abilist: Likewise.
7177 * abilist/libcrypt.abilist: Likewise.
7178 * abilist/libdl.abilist: Likewise.
7179 * abilist/libm.abilist: Likewise.
7180 * abilist/libnsl.abilist: Likewise.
7181 * abilist/libpthread.abilist: Likewise.
7182 * abilist/libresolv.abilist: Likewise.
7183 * abilist/librt.abilist: Likewise.
7184 * abilist/libthread_db.abilist: Likewise.
7185 * abilist/libutil.abilist: Likewise.
7186 * abilist/libnss_db.abilist: New file.
7188 * scripts/abilist.awk: Add support for indirect functions.
7190 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7192 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7194 * shlib-versions: Remove entries for ports architectures.
7196 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7198 * elf/stackguard-macros.h: Remove support for IA-64.
7199 * elf/tst-auditmod1.c: Likewise.
7200 * sysdeps/generic/ldsodefs.h: Likewise.
7202 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7203 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7207 * configure.in: Remove --enable-omitfp support.
7209 * config.make.in: Likewise.
7210 * Makeconfig: Likewise.
7211 * manual/install.texi: Likewise.
7213 In case anyone cares, the IA-64 architecture could move to ports.
7214 * sysdeps/ia64/*: Removed.
7215 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7216 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7219 * configure.in: Remove entries for unsupported architectures.
7222 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7223 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7225 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7226 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7227 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7228 fall back to using wcrtomb.
7229 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7230 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7232 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7233 * wcsmbs/tst-c16c32-1.c: New file.
7235 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7238 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7240 * elf/tst-unique3.cc: Add explicit declaration of gets.
7241 * elf/tst-unique3lib.cc: Likewise.
7242 * elf/tst-unique3lib2.cc: Likewise.
7243 * elf/tst-unique4.cc: Likewise.
7245 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7247 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7250 * assert/assert.h (static_assert): Don't define for C++.
7251 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7252 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7254 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7256 * iconv/loop.c (single loop): Fix assertion in storing of
7259 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7261 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7263 * posix/getconf.c: Update copyright year.
7264 * nss/getent.c: Likewise.
7265 * nss/makedb.c: Likewise.
7266 * iconv/iconvconfig.c: Likewise.
7267 * iconv/iconv_prog.c: Likewise.
7268 * elf/ldconfig.c: Likewise.
7269 * elf/pldd.c: Likewise.
7270 * elf/sotruss.ksh: Likewise.
7271 * catgets/gencat.c: Likewise.
7272 * csu/version.c: Likewise.
7273 * elf/ldd.bash.in: Likewise.
7274 * elf/sprof.c (print_version): Likewise.
7275 * locale/programs/locale.c: Likewise.
7276 * locale/programs/localedef.c: Likewise.
7277 * login/programs/pt_chown.c: Likewise.
7278 * nscd/nscd.c (print_version): Likewise.
7279 * debug/xtrace.sh: Likewise.
7280 * malloc/memusage.sh: Likewise.
7281 * malloc/mtrace.pl: Likewise.
7282 * debug/catchsegv.sh: Likewise.
7284 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7286 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7289 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7292 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7293 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7295 * iconv/gconv_int.h: Likewise.
7296 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7297 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7298 from libc for GLIBC_2.16.
7299 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7300 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7301 * wcsmbs/uchar.h: Really define mbstate_t.
7302 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7303 * wcsmbs/c16rtomb.c: New file.
7304 * wcsmbs/mbrtoc16.c: New file.
7305 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7307 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7308 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7310 * wcsmbs/wchar.h: Add missing __restrict.
7312 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7315 * time/Makefile (routines): Add timespec_get.
7316 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7317 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7318 timespec for ISO C11.
7319 * time/timespec_get.c: New file.
7320 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7321 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7324 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7325 * stdlib/stdlib.h: Declare aligned_alloc.
7326 * Versions.def: Add GLIBC_2.16 for libc.
7327 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7330 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7333 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7337 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7340 * assert/assert.h (static_assert): Define.
7342 * version.h: Update for 2.16 development version.
7345 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7348 * version.h (RELEASE): Bump for 2.15 release.
7349 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7351 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7352 Patch by Marek Polacek <mpolacek@redhat.com>.
7354 * bits/byteswap.h: Protect long long constants with __extension__.
7355 * sysdeps/i386/bits/byteswap.h: Likewise.
7356 * sysdeps/ia64/bits/byteswap.h: Likewise.
7357 * sysdeps/s390/bits/byteswap.h: Likewise.
7358 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7360 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7365 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7367 2011-12-23 Marek Polacek <polacek@redhat.com>
7369 * elf/dl-addr.c (determine_info): Add inline keyword.
7370 * elf/tst-auditmod4b.c (check_avx): Likewise.
7371 * elf/tst-auditmod6b.c (check_avx): Likewise.
7372 * elf/tst-auditmod6c.c (check_avx): Likewise.
7373 * elf/tst-auditmod7b.c (check_avx): Likewise.
7375 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7377 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7380 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7383 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7384 processing for last bytes.
7386 2011-08-06 Bruno Haible <bruno@clisp.org>
7389 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7390 U+0385, not to U+1FEE.
7393 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7394 entry for U+00A5 U+0301.
7396 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7399 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7400 buffer for the output is too small.
7402 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7406 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7407 SSE flags if possible.
7409 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7412 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7413 processing for last bytes.
7415 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7417 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7418 (syscall-list-default-options, syscall-list-default-condition)
7419 (syscall-list-includes): Define.
7420 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7421 list of ABIs and options and #if conditions for each ABI. Do not
7422 handle common syscalls between ABIs specially.
7423 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7425 (syscall-list-variants, syscall-list-32bit-options)
7426 (syscall-list-32bit-condition, syscall-list-64bit-options)
7427 (syscall-list-64bit-condition): Define.
7428 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7429 (syscall-list-variants, syscall-list-32bit-options)
7430 (syscall-list-32bit-condition, syscall-list-64bit-options)
7431 (syscall-list-64bit-condition): Define.
7432 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7434 (syscall-list-variants, syscall-list-32bit-options)
7435 (syscall-list-32bit-condition, syscall-list-64bit-options)
7436 (syscall-list-64bit-condition): Define.
7437 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7439 (syscall-list-variants, syscall-list-32bit-options)
7440 (syscall-list-32bit-condition, syscall-list-64bit-options)
7441 (syscall-list-64bit-condition): Define.
7443 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7445 * locale/iso-639.def: Add brx entry.
7448 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7449 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7451 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7452 __feraiseexcept_renamed.
7454 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7457 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7458 EPOLLET with unsigned values.
7459 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7462 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7463 to large cancellation.
7464 * math/s_cacoshf.c: Likewise.
7465 * math/s_cacoshl.c: Likewise.
7467 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7471 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7472 * math/s_cacoshf.c: Likewise.
7473 * math/s_cacoshl.c: Likewise.
7475 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7478 * iconv/gconv.h: Define __GCONV_SWAP.
7479 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7480 * iconvdata/utf-16.c: Likewise.
7481 * iconvdata/utf-32.c: Likewise.
7483 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7486 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7487 numerator after shifting it by one limb.
7489 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7491 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7492 under [__USE_EXTERN_INLINES].
7494 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7497 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7499 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7501 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7502 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7504 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7505 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7506 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7507 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7508 for strncasecmp/strncasecmp_l compilation.
7509 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7510 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7512 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7515 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7518 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7521 * time/tzfile.c (__tzfile_read): Check values from file header.
7523 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7525 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7526 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7527 * powerpc/powerpc32/dl-start.S: Likewise.
7528 * powerpc/powerpc32/elf/start.S: Likewise.
7529 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7530 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7531 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7532 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7533 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7534 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7535 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7536 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7537 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7538 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7539 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7540 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7541 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7542 * powerpc/powerpc32/memset.S: Likewise.
7543 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7544 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7545 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7546 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7547 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7548 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7549 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7550 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7551 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7552 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7553 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7554 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7555 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7557 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7559 * math/libm-test.inc: Added more nearbyint tests.
7560 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7561 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7562 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7563 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7565 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7567 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7570 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7572 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7573 Add wcscpy-ssse3 wcscpy-c.
7574 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7575 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7576 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7577 * sysdeps/x86_64/wcschr.S: New file.
7578 * sysdeps/x86_64/wcsrchr.S: New file.
7579 * string/test-strcmp.c: Remove checking of wcscmp function for
7581 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7582 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7583 wcsrchr-sse2 wcsrchr-c.
7584 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7585 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7586 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7587 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7588 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7589 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7590 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7591 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7592 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7593 * wcsmbc/wcschr.c (WCSCHR): New macro.
7595 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7597 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7598 * wcsmbs/test-wcsrchr.c: New file.
7599 * string/test-strrchr.c: Add wcsrchr support.
7601 * wcsmbs/test-wcscpy.c: New file.
7602 * string/test-strcpy.c: Add wcscpy support.
7605 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7610 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7613 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7615 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7617 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7618 Minor optimizations.
7620 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7621 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7622 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7624 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7626 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7627 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7628 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7629 for gcc to avoid warnings.
7630 * inet/Makefile (tests): Add tst-checks.
7631 * inet/tst-checks.c: New file.
7633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7636 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7639 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7640 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7642 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7644 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7646 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7649 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7651 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7653 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7654 conditional on GCC version.
7655 (__arch_compare_and_exchange_val_8_acq)
7656 (__arch_compare_and_exchange_val_16_acq)
7657 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7658 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7659 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7661 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7663 * sysdeps/sh/backtrace.c: New file.
7665 2011-12-02 Andreas Schwab <schwab@redhat.com>
7667 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7670 2011-12-01 Andreas Schwab <schwab@redhat.com>
7672 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7673 falling back to utime.
7675 2011-11-30 Andreas Schwab <schwab@redhat.com>
7677 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7678 expectations for float.
7680 2011-11-29 Andreas Schwab <schwab@redhat.com>
7682 * locale/weight.h (findidx): Add parameter len.
7683 * locale/weightwc.h (findidx): Likewise.
7684 * posix/fnmatch_loop.c (FCT): Adjust caller.
7685 * posix/regcomp.c (build_equiv_class): Likewise.
7686 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7687 * posix/regexec.c (check_node_accept_bytes): Likewise.
7688 * string/strcoll_l.c (STRCOLL): Likewise.
7689 * string/strxfrm_l.c (STRXFRM): Likewise.
7691 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7693 * Makefile.in: Remove CVSOPT handling.
7694 * configure.in: Remove use of AC_REVISION.
7695 * iconvdata/Makefile (distribute): No need to filter out CVS.
7696 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7699 2011-11-16 Andreas Schwab <schwab@redhat.com>
7701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7702 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7703 [USE_AS_STRNCASECMP_L]: Likewise.
7704 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7705 NO_TLS_DIRECT_SEG_REFS.
7706 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7707 Fix argument offsets for non-PIC.
7708 [USE_AS_STRNCASECMP_L]: Likewise.
7709 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7710 NO_TLS_DIRECT_SEG_REFS.
7712 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7714 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7716 * locale/loadlocale.c (_nl_load_locale): Likewise.
7718 2011-11-15 Andreas Schwab <schwab@redhat.com>
7720 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7721 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7722 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7723 (SYSCALL_GETTIME): Set errno on error.
7725 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7726 count references to noai6ai_cached.
7728 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7730 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7732 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7733 FD_CLOEXEC for /proc/self/maps.
7735 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7736 FD_CLOEXEC for /proc/meminfo.
7738 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7741 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7742 FD_CLOEXEC for given file.
7744 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7746 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7747 FD_CLOEXEC for /etc/hosts.
7748 (_gethtent): Likewise.
7750 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7752 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7753 cancellation and set FD_CLOEXEC for /etc/netgroup.
7755 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7756 reading /etc/publickey.
7758 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7759 allow cancellation when reading /etc/group.
7761 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7763 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7765 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7766 when using data file.
7768 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7770 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7771 (write_nis_obj): Use "c" and "e" in fopen.
7773 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7775 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7777 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7779 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7781 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7784 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7786 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7788 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7790 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7791 file parsing and set FD_CLOEXEC.
7793 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7795 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7797 2011-11-14 Andreas Schwab <schwab@redhat.com>
7799 * malloc/arena.c (arena_get2): Don't call reused_arena when
7800 _int_new_arena failed.
7802 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7804 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7805 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7806 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7807 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7808 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7809 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7810 to compile strcasecmp and strncasecmp.
7811 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7812 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7816 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7818 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7819 locale-defines.sym to gen-as-const-headers.
7820 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7821 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7823 to compile strcasecmp and strncasecmp.
7824 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7825 strcasecmp_l and strncasecmp_l.
7826 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7827 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7828 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7829 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7830 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7831 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7832 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7833 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7834 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7835 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7836 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7838 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7840 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7841 result of SYSDEP_GETTIME_CPU to retval.
7842 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7843 parameter list to macro. Remove trailing semicolon. Adjust users.
7845 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7848 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7850 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7852 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7853 from unused variable.
7855 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7857 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7860 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7863 * sunrpc/rpc_prot.c (rejected): Fix case value.
7865 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7866 unsigned long long int to avoid warnings in shift.
7868 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7870 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7873 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7874 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7875 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7877 * nis/nis_table.c (nis_list): Use variable of correct type for
7878 result of __follow_path call.
7880 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7882 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7883 of math functions ceil, trunc, floor, round, and sqrt, when
7884 avaliable on the platform.
7885 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7887 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7888 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7889 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7891 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7893 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7894 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7896 2011-11-11 Roland McGrath <roland@hack.frob.com>
7898 * include/unistd.h: Fix __readlink return type.
7899 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7901 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7903 * stdlib/ucontext.h: Undo last change for makecontext.
7905 2011-11-11 Andreas Schwab <schwab@redhat.com>
7907 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7909 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7910 * setjmp/setjmp.h: Mark functions as non-leaf.
7911 * setjmp/bits/setjmp2.h: Likewise.
7912 * stdlib/ucontext.h: Likewise.
7914 2011-11-10 Andreas Schwab <schwab@redhat.com>
7916 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7917 (reused_arena): Don't check arena limit.
7918 (arena_get2): Atomically check arena limit.
7920 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7922 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7923 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7928 2011-11-07 Andreas Schwab <schwab@redhat.com>
7930 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7931 handler when locking.
7933 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7934 Fix size of allocated buffer.
7936 2011-11-04 Andreas Schwab <schwab@redhat.com>
7939 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7940 declarations for long double functions.
7941 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7943 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7945 2011-11-03 Andreas Schwab <schwab@redhat.com>
7947 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7950 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7953 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7955 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7957 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7959 * include/alloca.h (stackinfo_alloca_round): Define.
7960 (extend_alloca): Use it.
7961 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7962 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7965 * scripts/check-local-headers.sh: Ignore libaudit.h.
7967 * nscd/Makefile (extra-objs): Make recursively expanded.
7969 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7971 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7972 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7974 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7975 * posix/tst-rfc3484-2.c: Likewise.
7976 * posix/tst-rfc3484-3.c: Likewise.
7978 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7980 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7982 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7983 process_vm_writev from libc using GLIBC_2.15 version.
7985 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7987 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7989 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7992 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7995 * nss/getent.c (initgroups_keys): Show error message in case no group
7998 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7999 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8000 __bump_nl_timestamp.
8001 * nscd/connections (nscd_init): When host database is served open
8002 netlink socket and request notification about configuration changes.
8003 (main_loop_poll): Track netlink file descriptor and bump timestamp
8004 in case data becomes available.
8005 (main_loop_epoll): Likewise.
8006 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8007 (database_pers_head): Add extra_data fileds.
8008 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8009 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8010 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8012 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8013 in6ai data, call __free_in6ai.
8014 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8016 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8017 interface information. Reuse previous data if netlink timestamp
8019 (__bump_nl_timestamp): New function.
8020 (__free_in6ai): New function.
8022 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8024 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8025 close_not_cancel_no_status here.
8026 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8028 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8031 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8034 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8035 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8036 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8038 2011-07-03 Andreas Jaeger <aj@suse.de>
8041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8042 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8043 * math/libm-test.inc (sin_test): Add test case.
8045 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8048 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8049 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8051 * elf/chroot_canon.c (chroot_canon): Cleanups.
8053 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8056 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8057 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8059 * string/test-strchr.c: Make usable for strchrnul testing.
8060 * string/test-strchrnul.c: New file.
8061 * string/Makefile (strop-tests): Add strchrnul.
8063 * po/it.po: Update from translation team.
8064 * po/es.po: Likewise.
8066 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8068 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8069 the three constants needed as parameters. Drop the others.
8070 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8071 __m128i_strloadu_tolower.
8072 Create and initialize variable zero and use it in all the places
8073 where _mm_setzero_si128 was used.
8075 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8076 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8077 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8078 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8080 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8081 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8082 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8083 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8084 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8085 __mpranred, __mptan.
8086 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8087 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8088 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8089 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8090 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8091 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8093 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8094 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8096 2011-10-28 Andreas Schwab <schwab@redhat.com>
8098 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8100 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8103 wide char related routines to wcsmbs subdir.
8105 2011-10-27 Andreas Schwab <schwab@redhat.com>
8108 * misc/sys/cdefs.h (__THROWNL): Define.
8109 * posix/unistd.h: Use __THREADNL instead of __THREAD
8110 for memory synchronization functions.
8112 2011-10-26 Roland McGrath <roland@hack.frob.com>
8115 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8117 * manual/stdio.texi (Obstack Streams): Node removed.
8119 2011-10-26 Andreas Schwab <schwab@redhat.com>
8121 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8123 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8125 * math/math_private.h (math_force_eval): Allow non-addressable
8127 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8129 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8131 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8134 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8137 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8138 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8139 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8141 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8143 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8144 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8145 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8146 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8147 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8148 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8149 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8150 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8151 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8152 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8153 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8154 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8155 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8156 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8157 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8158 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8159 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8160 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8161 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8163 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8164 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8166 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8167 place. Use VEX encoding when compiling for AVX.
8169 2011-10-25 Andreas Schwab <schwab@redhat.com>
8171 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8172 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8174 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8176 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8178 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8179 useless if() expression.
8180 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8189 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8190 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8191 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8192 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8193 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8194 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8195 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8196 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8198 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8200 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8202 2011-10-25 Andreas Schwab <schwab@redhat.com>
8204 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8206 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8208 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8210 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8211 .text section. Avoid duplicate constants.
8212 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8222 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8224 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8227 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8229 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8235 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8236 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8237 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8238 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8239 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8240 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8241 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8242 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8243 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8244 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8245 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8246 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8247 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8248 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8250 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8251 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8252 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8254 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8255 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8256 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8258 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8260 * sysdeps/x86_64/dla.h: Move to ...
8261 * sysdeps/x86_64/fpu/dla.h: ...here.
8262 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8263 situations. Use __builtin_fma only for gcc 4.6 and up.
8265 * config.make.in: Add have-mfma4 entry.
8266 * configure.in: Substitute libc_cv_cc_fma4.
8267 * math/Makefile (dbl-only-routines): Add sincostab.
8268 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8269 Use __sincostab not sincos.
8270 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8277 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8278 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8279 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8280 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8282 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8283 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8285 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8286 define aliases when function name is a macro.
8287 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8288 sysdeps/ieee754/dbl-64/sincos.tbl.
8289 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8290 fma4-enabled routines.
8291 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8292 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8293 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8294 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8295 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8296 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8297 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8298 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8300 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8301 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8302 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8303 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8304 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8305 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8306 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8307 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8308 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8309 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8310 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8311 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8312 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8314 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8315 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8316 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8317 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8318 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8319 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8320 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8322 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8333 2011-10-24 Andreas Schwab <schwab@redhat.com>
8335 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8337 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8339 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8341 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8343 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8345 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8346 Remove unused variable magic_bits.
8347 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8349 * string/strnlen.c: Define and use STRNLEN macro.
8350 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8351 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8352 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8353 * wcsmbs/wcslen.c: Define and use WCSLEN.
8354 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8355 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8356 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8357 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8358 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8359 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8360 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8362 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8365 strnlen-sse2-no-bsf.
8366 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8367 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8368 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8369 Add strnlen support.
8370 (USE_AS_STRNLEN): New macro.
8371 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8372 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8373 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8374 * sysdeps/x86_64/wcslen.S: New file.
8376 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8378 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8379 XMM-moves are used for copying on small sizes.
8381 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8383 * wcsmbs/Makefile (strop-tests): Add wcschr.
8384 * wcsmbs/test-wcschr.c: New file.
8385 * string/test-strchr.c: Update.
8389 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8391 * wcsmbs/Makefile (strop-tests): Add wcslen.
8392 * wcsmbs/test-wcslen.c: New file.
8393 * string/test-strlen.c: Update.
8397 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8399 * po/it.po: Update from translation team.
8401 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8403 * sysdeps/x86_64/wcscmp.S: Update.
8404 Fix wrong comparison semantics.
8405 wcscmp shall use signed comparison not unsigned.
8406 Don't use substraction to avoid overflow bug.
8407 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8408 * wcsmbc/wcscmp.c: Likewise.
8409 * string/test-strcmp.c: Likewise.
8410 Add new tests to check cases with negative values.
8412 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8414 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8415 * sysdeps/x86_64/dla.h: ...here. New file.
8416 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8426 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8428 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8429 __ynl_finite aliases.
8431 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8435 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8437 [DLA_FMA] (EMULV): Use DLA_FMA.
8438 [DLA_FMA] (MUL12): Use EMULV.
8439 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8440 that are not needed.
8441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8446 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8449 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8451 * math/s_nan.c: Undef __nan.
8452 * math/s_nanf.c: Undef __nanf.
8453 * math/s_nanl.c: Undef __nanl.
8454 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8457 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8459 * math/s_catan.c: Add branch predictions.
8460 * math/s_catanf.c: Likewise.
8461 * math/s_catanh.c: Likewise.
8462 * math/s_catanhf.c: Likewise.
8463 * math/s_catanhl.c: Likewise.
8464 * math/s_catanl.c: Likewise.
8465 * math/s_cexp.c: Likewise.
8466 * math/s_cexpf.c: Likewise.
8467 * math/s_cexpl.c: Likewise.
8468 * math/s_clog.c: Likewise.
8469 * math/s_clog10.c: Likewise.
8470 * math/s_clog10f.c: Likewise.
8471 * math/s_clog10l.c: Likewise.
8472 * math/s_clogf.c: Likewise.
8473 * math/s_clogl.c: Likewise.
8474 * math/s_csqrt.c: Likewise.
8475 * math/s_csqrtf.c: Likewise.
8476 * math/s_csqrtl.c: Likewise.
8477 * math/s_ctanf.c: Likewise.
8478 * math/s_ctanh.c: Likewise.
8479 * math/s_ctanhf.c: Likewise.
8480 * math/s_ctanhl.c: Likewise.
8481 * math/s_ctanl.c: Likewise.
8483 * math/math_private.h: Define __nan, __nanf, __nanl.
8484 * math/s_cacosh.c: Include <math_private.h>.
8485 * math/s_cacoshl.c: Likewise.
8486 * math/s_casinh.c: Likewise.
8487 * math/s_casinhf.c: Likewise.
8488 * math/s_casinhl.c: Likewise.
8489 * math/s_ccos.c: Rely entire on ccosh.
8490 * math/s_ccosf.c: Rely entire on ccoshf.
8491 * math/s_ccosl.c: Rely entirely on ccoshl.
8492 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8493 Remove tests for FE_INVALID.
8494 * math/s_ccoshf.c: Likewise.
8495 * math/s_ccoshl.c: Likewise.
8496 * math/s_csin.c: Likewise.
8497 * math/s_csinf.c: Likewise.
8498 * math/s_csinh.c Likewise.
8499 * math/s_csinhf.c: Likewise.
8500 * math/s_csinhl.c: Likewise.
8501 * math/s_csinl.c: Likewise.
8502 * math/s_ctan.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8504 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8507 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8510 compilation problems.
8512 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8515 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8517 * sysdeps/i386/configure.in: Test for -mfma4 option.
8518 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8519 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8520 COMMON_CPUID_INDEX_80000001.
8521 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8522 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8523 use it if FMA3 is not supported.
8524 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8526 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8527 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8529 2011-10-20 Andreas Schwab <schwab@redhat.com>
8532 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8533 it would create a cycle with a link time dependency.
8535 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8537 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8539 * string/Makefile (strop-tests): Add rawmemchr.
8540 * string/test-rawmemchr.c: New file.
8542 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8544 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8545 when compiling str{,n}casecmp and when AVX is available. Hook up
8546 new optimized code in initializers.
8548 2011-10-19 Andreas Schwab <schwab@redhat.com>
8550 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8551 __feraiseexcept instead of feraiseexcept.
8553 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8555 * math/math_private.h: Define defaults for libc_fetestexcept and
8557 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8558 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8559 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8560 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8561 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8562 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8563 libc_fetestexcept and libc_feupdateenv.
8565 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8566 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8567 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8568 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8569 libc_feholdexcept_setround.
8571 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8572 Add s_nearbyint-c and s_nearbyintf-c.
8573 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8575 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8576 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8577 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8578 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8580 * math/math_private.h: Define defaults for libc_fegetround,
8581 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8582 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8583 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8584 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8585 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8587 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8588 Remove comments and hacks for old compiler versions.
8589 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8590 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8593 2011-10-18 Andreas Schwab <schwab@redhat.com>
8595 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8596 (__feraiseexcept_renamed): Add __NTH.
8597 (feraiseexcept): Add __NTH. Rename local variables to fix
8598 namespace violations.
8600 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8602 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8604 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8606 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8607 recently added interfaces.
8608 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8610 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8611 about macro parameter expansion.
8613 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8614 __NO_MATH_INLINES is defined. Cleanups.
8616 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8617 and __floorf is target has SSE4.1.
8618 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8619 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8620 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8621 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8623 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8627 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8629 2011-10-17 Andreas Schwab <schwab@redhat.com>
8631 * misc/sys/cdefs.h: Fix last change.
8633 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8636 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8638 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8640 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8641 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8644 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8646 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8649 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8650 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8651 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8652 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8653 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8654 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8655 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8656 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8657 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8658 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8659 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8660 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8661 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8663 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8664 ceil, ceilf, floor, floorf.
8666 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8667 Perform IRELATIVE relocations last.
8669 * elf/do-rel.h: Add another parameter nrelative, replacing the
8670 local variable with the same name. Change name of the function
8671 to end in Rel or Rela (uppercase).
8672 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8673 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8674 elf_dynamic_do_##reloc function.
8676 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8678 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8679 is sufficient, at least on modern CPUs.
8681 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8683 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8684 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8686 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8688 * math/bits/math-finite.h: Add entries for exp.
8689 * math/e_expl.c: Add __*_finite alias.
8690 * sysdeps/i386/fpu/e_exp.S: Likewise.
8691 * sysdeps/i386/fpu/e_expf.S: Likewise.
8692 * sysdeps/i386/fpu/e_expl.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8698 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8699 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8701 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8702 is sufficient, at least on modern CPUs.
8704 * ctype/ctype-info.c (__ctype_init): Define.
8705 * include/ctype.h (__ctype_init): Declare.
8706 (__ctype_b_loc): The variable is always initialized.
8707 (__ctype_toupper_loc): Likewise.
8708 (__ctype_tolower_loc): Likewise.
8709 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8710 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8712 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8714 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8716 * configure.in: Also look in $cxxmachine/include for C++ system
8719 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8721 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8722 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8723 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8724 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8725 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8726 (USE_AS_WMEMCMP): New macro.
8728 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8729 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8730 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8731 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8733 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8734 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8735 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8736 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8737 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8738 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8739 (USE_AS_WMEMCMP): New macro.
8740 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8741 * sysdeps/string/test-memcmp.c: Update.
8744 * wcsmbs/wmemcmp.c: Update.
8745 (WMEMCMP): New macro.
8748 2011-10-12 Andreas Jaeger <aj@suse.de>
8751 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8753 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8755 * libio/iofwide.c (do_length): Avoid warning.
8757 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8759 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8761 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8763 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8764 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8765 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8766 * sysdeps/i386/i686/fpu/e_log.S: New file.
8767 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8768 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8770 * ctype/ctype.h: Add support for inlined isXXX functions when
8773 2011-10-14 Andreas Schwab <schwab@redhat.com>
8775 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8777 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8779 2011-10-13 Roland McGrath <roland@hack.frob.com>
8782 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8784 2011-10-13 Andreas Schwab <schwab@redhat.com>
8786 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8787 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8790 * sysdeps/x86_64/memrchr.S: Check for zero size.
8792 * string/stratcliff.c: Add memrchr tests.
8794 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8797 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8798 rawmemchr-sse2 rawmemchr-sse2-bsf.
8799 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8800 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8801 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8802 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8803 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8804 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8805 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8806 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8807 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8808 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8809 * string/memrchr.c (MEMRCHR): New macro.
8811 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8813 Add integration with gcc's -ffinite-math-only and optimize wrapper
8815 * Versions.def: Define GLIBC_2.15 version for libm.
8816 * math/Makefile (headers): Add bits/math-finite.h.
8817 * math/bits/math-finite.h: New file.
8818 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8819 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8820 * math/e_acoshl.c: Add __*_finite alias.
8821 * math/e_acosl.c: Likewise.
8822 * math/e_asinl.c: Likewise.
8823 * math/e_atan2l.c: Likewise.
8824 * math/e_atanhl.c: Likewise.
8825 * math/e_coshl.c: Likewise.
8826 * math/e_exp10.c: Likewise.
8827 * math/e_exp10f.c: Likewise.
8828 * math/e_exp10l.c: Likewise.
8829 * math/e_exp2l.c: Likewise.
8830 * math/e_fmodl.c: Likewise.
8831 * math/e_gammal_r.c: Likewise.
8832 * math/e_hypotl.c: Likewise.
8833 * math/e_j0l.c: Likewise.
8834 * math/e_j1l.c: Likewise.
8835 * math/e_jnl.c: Likewise.
8836 * math/e_lgammal_r.c: Likewise.
8837 * math/e_log10l.c: Likewise.
8838 * math/e_log2l.c: Likewise.
8839 * math/e_logl.c: Likewise.
8840 * math/e_powl.c: Likewise.
8841 * math/e_sinhl.c: Likewise.
8842 * math/e_sqrtl.c: Likewise.
8843 * math/e_scalb.c: Completely rewritten and optimized.
8844 * math/e_scalbf.c: Likewise.
8845 * math/e_scalbl.c: Likewise.
8846 * math/w_acos.c: Likewise.
8847 * math/w_acosf.c: Likewise.
8848 * math/w_acosl.c: Likewise.
8849 * math/w_acosh.c: Likewise.
8850 * math/w_acoshf.c: Likewise.
8851 * math/w_acoshl.c: Likewise.
8852 * math/w_asin.c: Likewise.
8853 * math/w_asinf.c: Likewise.
8854 * math/w_asinl.c: Likewise.
8855 * math/w_atan2.c: Likewise.
8856 * math/w_atan2f.c: Likewise.
8857 * math/w_atan2l.c: Likewise.
8858 * math/w_atanh.c: Likewise.
8859 * math/w_atanhf.c: Likewise.
8860 * math/w_atanhl.c: Likewise.
8861 * math/w_exp10.c: Likewise.
8862 * math/w_exp10f.c: Likewise.
8863 * math/w_exp10l.c: Likewise.
8864 * math/w_fmod.c: Likewise.
8865 * math/w_fmodf.c: Likewise.
8866 * math/w_fmodl.c: Likewise.
8867 * math/w_j0.c: Likewise.
8868 * math/w_j0f.c: Likewise.
8869 * math/w_j0l.c: Likewise.
8870 * math/w_j1.c: Likewise.
8871 * math/w_j1f.c: Likewise.
8872 * math/w_j1l.c: Likewise.
8873 * math/w_jn.c: Likewise.
8874 * math/w_jnf.c: Likewise.
8875 * math/w_log.c: Likewise.
8876 * math/w_logf.c: Likewise.
8877 * math/w_logl.c: Likewise.
8878 * math/w_log10.c: Likewise.
8879 * math/w_log10f.c: Likewise.
8880 * math/w_log10l.c: Likewise.
8881 * math/w_log2.c: Likewise.
8882 * math/w_log2f.c: Likewise.
8883 * math/w_log2l.c: Likewise.
8884 * math/w_pow.c: Likewise.
8885 * math/w_powf.c: Likewise.
8886 * math/w_powl.c: Likewise.
8887 * math/w_remainder.c: Likewise.
8888 * math/w_remainderf.c: Likewise.
8889 * math/w_remainderl.c: Likewise.
8890 * math/w_scalb.c: Likewise.
8891 * math/w_scalbf.c: Likewise.
8892 * math/w_scalbl.c: Likewise.
8893 * math/w_sqrt.c: Likewise.
8894 * math/w_sqrtf.c: Likewise.
8895 * math/w_sqrtl.c: Likewise.
8896 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8897 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8899 * math/math_private.h: Declare __kernel_standard_f.
8900 * math/w_cosh.c: Remove cruft and optimize a bit.
8901 * math/w_coshf.c: Likewise.
8902 * math/w_coshl.c: Likewise.
8903 * math/w_exp2.c: Likewise.
8904 * math/w_exp2f.c: Likewise.
8905 * math/w_exp2l.c: Likewise.
8906 * math/w_hypot.c: Likewise.
8907 * math/w_hypotf.c: Likewise.
8908 * math/w_hypotl.c: Likewise.
8909 * math/w_lgamma.c: Likewise.
8910 * math/w_lgamma_r.c: Likewise.
8911 * math/w_lgammaf.c: Likewise.
8912 * math/w_lgammaf_r.c: Likewise.
8913 * math/w_lgammal.c: Likewise.
8914 * math/w_lgammal_r.c: Likewise.
8915 * math/w_sinh.c: Likewise.
8916 * math/w_sinhf.c: Likewise.
8917 * math/w_sinhl.c: Likewise.
8918 * math/w_tgamma.c: Likewise.
8919 * math/w_tgammaf.c: Likewise.
8920 * math/w_tgammal.c: Likewise.
8921 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8922 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8923 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8924 Minor optimizations. Pretty printing. Remove cruft.
8925 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8926 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8927 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8928 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8929 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8930 * sysdeps/i386/fpu/e_asin.S: Likewise.
8931 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8932 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8933 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8934 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8935 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8936 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8937 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8938 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8939 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8940 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8941 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8942 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8943 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8944 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8945 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8946 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8947 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8948 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8949 * sysdeps/i386/fpu/e_log.S: Likewise.
8950 * sysdeps/i386/fpu/e_log10.S: Likewise.
8951 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8952 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8953 * sysdeps/i386/fpu/e_log2.S: Likewise.
8954 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8955 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8956 * sysdeps/i386/fpu/e_logf.S: Likewise.
8957 * sysdeps/i386/fpu/e_logl.S: Likewise.
8958 * sysdeps/i386/fpu/e_pow.S: Likewise.
8959 * sysdeps/i386/fpu/e_powf.S: Likewise.
8960 * sysdeps/i386/fpu/e_powl.S: Likewise.
8961 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8962 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8963 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8964 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8965 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8966 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8967 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8968 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8969 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8991 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8992 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8993 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8994 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8995 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8996 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8997 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8998 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8999 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9000 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9001 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9002 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9003 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9004 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9005 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9006 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9007 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9008 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9009 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9011 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9012 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9013 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9020 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9022 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9023 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9025 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9026 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9027 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9028 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9029 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9030 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9031 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9035 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9036 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9039 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9040 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9043 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9050 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9053 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9055 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9056 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9058 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9061 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9062 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9063 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9064 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9065 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9066 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9067 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9068 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9069 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9070 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9071 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9072 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9073 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9074 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9075 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9076 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9077 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9078 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9079 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9080 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9081 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9082 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9083 (__isnanf): Likewise.
9084 (__isinf_ns): Likewise.
9085 (__isinf_nsf): Likewise.
9086 (__finite): Likewise.
9087 (__finitef): Likewise.
9088 (__ieee754_sqrt): Define as macro.
9089 (__ieee754_sqrtf): Define as macro.
9090 (__ieee754_sqrtl): Define as macro.
9091 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9093 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9094 __FINITE_MATH_ONLY__ consistent.
9095 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9097 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9099 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9102 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9104 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9106 * po/ja.po: Update from translation team.
9108 2011-10-08 Roland McGrath <roland@hack.frob.com>
9110 * locale/programs/locarchive.c (prepare_address_space): New function.
9111 (create_archive, enlarge_archive, open_archive): Use it.
9113 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9114 inside [SHARED], where it is used.
9116 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9118 * nss/getent.c (netgroup_keys): Remove unused variable.
9119 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9121 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9123 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9124 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9127 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9128 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9129 * math/Makefile (libm-calls): Add s_isinf_ns.
9130 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9131 * math/multc3.c: Likewise.
9132 * math/s_casin.c: Likewise.
9133 * math/s_casinf.c: Likewise.
9134 * math/s_casinl.c: Likewise.
9135 * math/s_ccos.c: Likewise.
9136 * math/s_ccosf.c: Likewise.
9137 * math/s_ccosl.c: Likewise.
9138 * math/s_ctan.c: Likewise.
9139 * math/s_ctanf.c: Likewise.
9140 * math/s_ctanh.c: Likewise.
9141 * math/s_ctanhf.c: Likewise.
9142 * math/s_ctanhl.c: Likewise.
9143 * math/s_ctanl.c: Likewise.
9144 * math/w_fmod.c: Likewise.
9145 * math/w_fmodf.c: Likewise.
9146 * math/w_fmodl.c: Likewise.
9147 * math/w_remainder.c: Likewise.
9148 * math/w_remainderf.c: Likewise.
9149 * math/w_remainderl.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9151 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9152 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9154 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9155 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9156 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9157 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9159 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9161 * stdio-common/printf_fphex.c: Likewise.
9162 * stdio-common/printf_size.c: Likewise.
9164 * math/e_exp10.c: Include math_private.h using <...> not "...".
9165 * math/e_exp10f.c: Likewise.
9166 * math/e_exp10l.c: Likewise.
9167 * math/e_exp2l.c: Likewise.
9168 * math/e_j0l.c: Likewise.
9169 * math/e_j1l.c: Likewise.
9170 * math/e_jnl.c: Likewise.
9171 * math/e_lgammal_r.c: Likewise.
9172 * math/e_rem_pio2l.c: Likewise.
9173 * math/e_scalb.c: Likewise.
9174 * math/e_scalbf.c: Likewise.
9175 * math/e_scalbl.c: Likewise.
9176 * math/k_cosl.c: Likewise.
9177 * math/k_sinl.c: Likewise.
9178 * math/k_tanl.c: Likewise.
9179 * math/s_cacoshf.c: Likewise.
9180 * math/s_catan.c: Likewise.
9181 * math/s_catanf.c: Likewise.
9182 * math/s_catanh.c: Likewise.
9183 * math/s_catanhf.c: Likewise.
9184 * math/s_catanhl.c: Likewise.
9185 * math/s_catanl.c: Likewise.
9186 * math/s_ccosh.c: Likewise.
9187 * math/s_ccoshf.c: Likewise.
9188 * math/s_ccoshl.c: Likewise.
9189 * math/s_cexp.c: Likewise.
9190 * math/s_cexpf.c: Likewise.
9191 * math/s_cexpl.c: Likewise.
9192 * math/s_clog.c: Likewise.
9193 * math/s_clog10.c: Likewise.
9194 * math/s_clog10f.c: Likewise.
9195 * math/s_clog10l.c: Likewise.
9196 * math/s_clogf.c: Likewise.
9197 * math/s_clogl.c: Likewise.
9198 * math/s_csin.c: Likewise.
9199 * math/s_csinf.c: Likewise.
9200 * math/s_csinh.c: Likewise.
9201 * math/s_csinhf.c: Likewise.
9202 * math/s_csinhl.c: Likewise.
9203 * math/s_csinl.c: Likewise.
9204 * math/s_csqrt.c: Likewise.
9205 * math/s_csqrtf.c: Likewise.
9206 * math/s_csqrtl.c: Likewise.
9207 * math/s_ctan.c: Likewise.
9208 * math/s_ctanf.c: Likewise.
9209 * math/s_ctanh.c: Likewise.
9210 * math/s_ctanhf.c: Likewise.
9211 * math/s_ctanhl.c: Likewise.
9212 * math/s_ctanl.c: Likewise.
9213 * math/s_ldexp.c: Likewise.
9214 * math/s_ldexpf.c: Likewise.
9215 * math/s_ldexpl.c: Likewise.
9216 * math/s_significand.c: Likewise.
9217 * math/s_significandf.c: Likewise.
9218 * math/s_significandl.c: Likewise.
9219 * math/w_acos.c: Likewise.
9220 * math/w_acosf.c: Likewise.
9221 * math/w_acosh.c: Likewise.
9222 * math/w_acoshf.c: Likewise.
9223 * math/w_acoshl.c: Likewise.
9224 * math/w_acosl.c: Likewise.
9225 * math/w_asin.c: Likewise.
9226 * math/w_asinf.c: Likewise.
9227 * math/w_asinl.c: Likewise.
9228 * math/w_atan2.c: Likewise.
9229 * math/w_atan2f.c: Likewise.
9230 * math/w_atan2l.c: Likewise.
9231 * math/w_atanh.c: Likewise.
9232 * math/w_atanhf.c: Likewise.
9233 * math/w_atanhl.c: Likewise.
9234 * math/w_cosh.c: Likewise.
9235 * math/w_coshf.c: Likewise.
9236 * math/w_coshl.c: Likewise.
9237 * math/w_dremf.c: Likewise.
9238 * math/w_exp10.c: Likewise.
9239 * math/w_exp10f.c: Likewise.
9240 * math/w_exp10l.c: Likewise.
9241 * math/w_exp2.c: Likewise.
9242 * math/w_exp2f.c: Likewise.
9243 * math/w_fmod.c: Likewise.
9244 * math/w_fmodf.c: Likewise.
9245 * math/w_fmodl.c: Likewise.
9246 * math/w_hypot.c: Likewise.
9247 * math/w_hypotf.c: Likewise.
9248 * math/w_hypotl.c: Likewise.
9249 * math/w_j0.c: Likewise.
9250 * math/w_j0f.c: Likewise.
9251 * math/w_j0l.c: Likewise.
9252 * math/w_j1.c: Likewise.
9253 * math/w_j1f.c: Likewise.
9254 * math/w_j1l.c: Likewise.
9255 * math/w_jn.c: Likewise.
9256 * math/w_jnf.c: Likewise.
9257 * math/w_jnl.c: Likewise.
9258 * math/w_lgamma.c: Likewise.
9259 * math/w_lgamma_r.c: Likewise.
9260 * math/w_lgammaf.c: Likewise.
9261 * math/w_lgammaf_r.c: Likewise.
9262 * math/w_lgammal.c: Likewise.
9263 * math/w_lgammal_r.c: Likewise.
9264 * math/w_log.c: Likewise.
9265 * math/w_log10.c: Likewise.
9266 * math/w_log10f.c: Likewise.
9267 * math/w_log10l.c: Likewise.
9268 * math/w_log2.c: Likewise.
9269 * math/w_log2f.c: Likewise.
9270 * math/w_log2l.c: Likewise.
9271 * math/w_logf.c: Likewise.
9272 * math/w_logl.c: Likewise.
9273 * math/w_pow.c: Likewise.
9274 * math/w_powf.c: Likewise.
9275 * math/w_powl.c: Likewise.
9276 * math/w_remainder.c: Likewise.
9277 * math/w_remainderf.c: Likewise.
9278 * math/w_remainderl.c: Likewise.
9279 * math/w_scalb.c: Likewise.
9280 * math/w_scalbf.c: Likewise.
9281 * math/w_scalbl.c: Likewise.
9282 * math/w_sinh.c: Likewise.
9283 * math/w_sinhf.c: Likewise.
9284 * math/w_sinhl.c: Likewise.
9285 * math/w_sqrt.c: Likewise.
9286 * math/w_sqrtf.c: Likewise.
9287 * math/w_sqrtl.c: Likewise.
9288 * math/w_tgamma.c: Likewise.
9289 * math/w_tgammaf.c: Likewise.
9290 * math/w_tgammal.c: Likewise.
9292 * po/ja.po: Update from translation team.
9294 2011-09-29 Andreas Jaeger <aj@suse.de>
9297 * sunrpc/netname.c (netname2host): Fix logic.
9301 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9303 * math/w_remainder.c (__remainder): Likewise.
9304 * math/w_remainderf.c (__remainderf): Likewise.
9305 * math/libm-test.inc (remainder_test): Add test cases.
9307 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9309 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9312 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9314 * string/test-memcmp.c: Avoid unncessary #defines.
9315 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9317 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9319 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9320 Use new sse2 version for core i3 - i7 as it's faster
9322 (bit_Prefer_PMINUB_for_stringop): New.
9323 * sysdeps/x86_64/rawmemchr.S: Update.
9324 Replace with faster SSE2 version.
9325 * sysdeps/x86_64/memrchr.S: New file.
9326 * sysdeps/x86_64/memchr.S: Update.
9327 Replace with faster SSE2 version.
9329 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9331 * elf/dl-load.c (lose): Add cast to avoid warning.
9333 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9335 * po/ca.po: Update from translation team.
9337 * inet/getnetgrent_r.c: Hook up nscd.
9338 * nscd/Makefile (routines): Add nscd_netgroup.
9339 (nscd-modules): Add netgroupcache.
9340 (CFLAGS-netgroupcache.c): Define.
9341 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9342 (cache_search): Add const to second parameter.
9343 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9345 (dbs): Add netgrdb entry.
9346 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9347 (verify_persistent_db): Handle netgrdb.
9348 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9349 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9351 (netgroup_response_header): Define.
9352 (innetgroup_response_header): Define.
9353 (datahead): Add netgroup_response_header and innetgroup_response_header
9355 * nscd/nscd.conf: Add entries for netgroup cache.
9356 * nscd/nscd.h (dbtype): Add netgrdb.
9357 (_PATH_NSCD_NETGROUP_DB): Define.
9358 (netgroup_iov_disabled): Declare.
9359 (xmalloc, xcalloc, xrealloc): Move declarations here.
9360 (cache_search): Adjust prototype.
9361 Add netgroup-related prototypes.
9362 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9363 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9364 (__nscd_innetgr): Declare.
9365 * nscd/selinux.c (perms): Use access_vector_t as element type and
9366 add netgroup-related initializers.
9367 * nscd/netgroupcache.c: New file.
9368 * nscd/nscd_netgroup.c: New file.
9369 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9370 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9371 For four parameters use innetgr.
9372 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9373 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9374 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9375 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9377 * nscd/connections.c (register_traced_file): Don't register file
9378 for disabled databases.
9380 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9382 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9384 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9385 from tree and freeing node.
9387 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9389 * nss/nsswitch.c (__nss_database_lookup): Handle
9390 nss_parse_service_list out of memory case.
9392 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9394 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9397 2011-10-04 Andreas Schwab <schwab@redhat.com>
9399 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9400 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9402 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9403 elf_machine_rela, elf_machine_lazy_rel.
9404 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9405 (ELF_DYNAMIC_DO_REL): Likewise.
9406 (ELF_DYNAMIC_DO_RELA): Likewise.
9407 (ELF_DYNAMIC_RELOCATE): Likewise.
9408 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9409 to ELF_DYNAMIC_DO_REL.
9410 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9411 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9412 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9414 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9415 skip_ifunc, don't call ifunc function if non-zero.
9416 (elf_machine_rela): Likewise.
9417 (elf_machine_lazy_rel): Likewise.
9418 (elf_machine_lazy_rela): Likewise.
9419 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9420 (elf_machine_lazy_rel): Likewise.
9421 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9423 (elf_machine_lazy_rel): Likewise.
9424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9426 (elf_machine_lazy_rel): Likewise.
9427 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9428 (elf_machine_lazy_rel): Likewise.
9429 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9430 (elf_machine_lazy_rel): Likewise.
9431 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9432 (elf_machine_lazy_rel): Likewise.
9433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9434 (elf_machine_lazy_rel): Likewise.
9435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9436 (elf_machine_lazy_rel): Likewise.
9437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9438 (elf_machine_lazy_rel): Likewise.
9440 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9442 * nss/nss_files/files-init.c (_nss_files_init): Use static
9443 initialization for all the *_traced_file variables.
9445 2011-09-28 Andreas Schwab <schwab@redhat.com>
9447 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9449 2011-09-27 Roland McGrath <roland@hack.frob.com>
9452 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9454 2011-09-27 Andreas Schwab <schwab@redhat.com>
9456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9457 Reread the line before reparsing it.
9459 2011-09-26 Andreas Schwab <schwab@redhat.com>
9461 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9463 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9464 Maxim Kuvyrkov <maxim@codesourcery.com>
9465 Joseph Myers <joseph@codesourcery.com>
9467 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9468 if needed for __stack_chk_guard.
9470 2011-09-19 Roland McGrath <roland@hack.frob.com>
9472 * sysdeps/posix/spawni.c (script_execute): Always define it.
9473 It will be optimized away if unused.
9474 (maybe_script_execute): New function.
9475 (__spawni): Call it.
9477 * Makerules: Don't include tls.make.
9478 (config-tls): Always set to thread.
9479 * tls.make.c: File removed.
9481 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9483 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9484 * config.make.in (CPPFLAGS-config): New substituted variable.
9486 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9491 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9492 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9494 2011-09-15 Roland McGrath <roland@hack.frob.com>
9496 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9497 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9499 (CALL_FAIL): Likewise.
9500 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9501 (CALL_FAIL): Macro removed.
9502 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9504 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9506 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9507 for __FINITE_MATH_ONLY__ == 1.
9509 2011-09-15 Andreas Schwab <schwab@redhat.com>
9511 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9512 __ieee754_sqrt instead of sqrt.
9513 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9514 __ieee754_sqrtf instead of sqrtf.
9515 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9516 __floorf instead of floorf.
9517 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9518 __floorf, __truncf instead of floorf, truncf.
9520 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9522 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9524 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9525 __extern_always_inline.
9526 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9529 2011-09-14 Andreas Schwab <schwab@redhat.com>
9531 * elf/rtld.c (dl_main): Also relocate in dependency order when
9532 doing symbol dependency testing.
9534 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9537 Always define `refsym'.
9539 2011-09-13 Andreas Schwab <schwab@redhat.com>
9541 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9542 (__FD_ELT): Renamed from __FDELT.
9543 * misc/bits/select2.h (__FD_ELT): Likewise.
9544 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9545 __FD_MASK instead of __FDELT, __FDMASK.
9546 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9548 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9551 * elf/Makefile (gen-ldd): Fix pattern.
9553 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9554 (init_tls): Likewise.
9556 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9558 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9560 2011-09-12 Andreas Schwab <schwab@redhat.com>
9562 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9563 `struct cmsghdr *' instead of `void *'.
9564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9567 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9569 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9571 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9574 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9576 * configure.in: Remove --with-tls option.
9577 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9578 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9579 out in case it is missing.
9580 * sysdeps/ia64/elf/configure.in: Likewise.
9581 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9582 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9583 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9584 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9585 * sysdeps/sh/elf/configure.in: Likewise.
9586 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9587 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9588 * sysdeps/x86_64/elf/configure.in: Likewise.
9589 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9590 * sysdeps/mach/hurd/tls.h: Likewise.
9593 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9596 * configure.in: Fix use of AC_INIT.
9598 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9600 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9602 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9604 * malloc/hooks.c: Likewise.
9607 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9608 variables statically.
9609 (narenas): Initialize.
9610 (list_lock): Initialize.
9611 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9612 initializtion of main_arena and list_lock. Small cleanups.
9613 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9614 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9615 Add initializers to main_arena and mp_.
9616 (malloc_state): Remove pagesize member. Change all users to use
9619 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9620 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9621 is always initialized.
9623 * malloc/malloc.c: Removed unused configurations and dead code.
9624 * malloc/arena.c: Likewise.
9625 * malloc/hooks.c: Likewise.
9626 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9628 * include/tls.h: Removed. USE___THREAD must always be defined.
9629 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9630 * elf/dl-libc.c: Likewise.
9631 * elf/dl-tsd.c: Likewise.
9632 * include/errno.h: Likewise.
9633 * include/netdb.h: Likewise.
9634 * include/resolv.h: Likewise.
9635 * inet/herrno-loc.c: Likewise.
9636 * inet/herrno.c: Likewise.
9637 * malloc/arena.c: Likewise.
9638 * malloc/hooks.c: Likewise.
9639 * malloc/malloc.c: Likewise.
9640 * resolv/res-state.c: Likewise.
9641 * resolv/res_libc.c: Likewise.
9642 * sysdeps/i386/dl-machine.h: Likewise.
9643 * sysdeps/ia64/dl-machine.h: Likewise.
9644 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9645 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9646 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9647 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9648 * sysdeps/sh/dl-machine.h: Likewise.
9649 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9650 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9651 * sysdeps/unix/i386/sysdep.S: Likewise.
9652 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9653 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9655 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9658 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9662 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9663 * sysdeps/x86_64/dl-machine.h: Likewise.
9664 * tls.make.c: Likewise.
9666 * configure.in: Remove --with-__thread option. Make tests for
9667 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9668 tls_model attribute fail if no support is available. Remove
9670 * Makeconfig: Adjust for dropped configure option. All features are
9672 * Makerules: Likewise.
9673 * Versions.def: Likewise.
9674 * argp/argp-fmtstream.c: Likewise.
9675 * argp/argp-fmtstream.h: Likewise.
9676 * argp/argp-help.c: Likewise.
9677 * assert/assert.c: Likewise.
9678 * config.h.in: Likewise.
9679 * config.make.in: Likewise.
9680 * configure: Likewise.
9681 * configure.in: Likewise.
9682 * csu/Versions: Likewise.
9683 * csu/init.c: Likewise.
9684 * elf/tst-audit2.c: Likewise.
9685 * elf/tst-tls10.c: Likewise.
9686 * elf/tst-tls10.h: Likewise.
9687 * elf/tst-tls11.c: Likewise.
9688 * elf/tst-tls12.c: Likewise.
9689 * elf/tst-tls14.c: Likewise.
9690 * elf/tst-tlsmod11.c: Likewise.
9691 * elf/tst-tlsmod12.c: Likewise.
9692 * elf/tst-tlsmod13.c: Likewise.
9693 * elf/tst-tlsmod13a.c: Likewise.
9694 * elf/tst-tlsmod14a.c: Likewise.
9695 * elf/tst-tlsmod15b.c: Likewise.
9696 * elf/tst-tlsmod16a.c: Likewise.
9697 * elf/tst-tlsmod16b.c: Likewise.
9698 * elf/tst-tlsmod7.c: Likewise.
9699 * elf/tst-tlsmod8.c: Likewise.
9700 * elf/tst-tlsmod9.c: Likewise.
9701 * gmon/gmon.c: Likewise.
9702 * grp/fgetgrent_r.c: Likewise.
9703 * grp/putgrent.c: Likewise.
9704 * hurd/fopenport.c: Likewise.
9705 * include/libc-symbols.h: Likewise.
9706 * include/tls.h: Likewise.
9707 * intl/gettextP.h: Likewise.
9708 * intl/loadinfo.h: Likewise.
9709 * locale/global-locale.c: Likewise.
9710 * locale/localeinfo.h: Likewise.
9711 * mach/devstream.c: Likewise.
9712 * malloc/arena.c: Likewise.
9713 * malloc/set-freeres.c: Likewise.
9714 * misc/err.c: Likewise.
9715 * misc/getttyent.c: Likewise.
9716 * misc/mntent_r.c: Likewise.
9717 * posix/getopt.c: Likewise.
9718 * posix/wordexp.c: Likewise.
9719 * pwd/fgetpwent_r.c: Likewise.
9720 * resolv/Versions: Likewise.
9721 * resolv/res_hconf.c: Likewise.
9722 * shadow/fgetspent_r.c: Likewise.
9723 * shadow/putspent.c: Likewise.
9724 * stdio-common/printf_fphex.c: Likewise.
9725 * stdio-common/tmpfile.c: Likewise.
9726 * stdlib/abort.c: Likewise.
9727 * stdlib/fmtmsg.c: Likewise.
9728 * sunrpc/auth_unix.c: Likewise.
9729 * sunrpc/clnt_perr.c: Likewise.
9730 * sunrpc/clnt_tcp.c: Likewise.
9731 * sunrpc/clnt_udp.c: Likewise.
9732 * sunrpc/clnt_unix.c: Likewise.
9733 * sunrpc/openchild.c: Likewise.
9734 * sunrpc/svc_simple.c: Likewise.
9735 * sunrpc/svc_tcp.c: Likewise.
9736 * sunrpc/svc_udp.c: Likewise.
9737 * sunrpc/svc_unix.c: Likewise.
9738 * sunrpc/xdr.c: Likewise.
9739 * sunrpc/xdr_array.c: Likewise.
9740 * sunrpc/xdr_rec.c: Likewise.
9741 * sunrpc/xdr_ref.c: Likewise.
9742 * sunrpc/xdr_stdio.c: Likewise.
9744 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9746 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9748 2011-07-03 Andreas Jaeger <aj@suse.de>
9750 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9751 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9752 regenerate with gen-libm-tests.pl.
9754 2010-05-12 Petr Baudis <pasky@suse.cz>
9757 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9758 around j0() zero points by switching to j1().
9759 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9764 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9766 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9768 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9771 Patch in part by Pavel Roskin <proski@gnu.org>.
9774 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9776 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9777 Free memory block if necessary.
9780 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9781 be NULL. Don't lock in this case.
9783 2011-09-09 Roland McGrath <roland@hack.frob.com>
9785 * elf/elf.h (ELFOSABI_GNU): New macro.
9786 (ELFOSABI_LINUX): Define to that.
9788 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9790 * string/strncat.c (strncat): Undef the symbol in case it has been
9791 defined in bits/string.h.
9793 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9795 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9797 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9800 2011-08-17 Andreas Jaeger <aj@suse.de>
9802 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9804 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9805 Ian Lance Taylor <iant@google.com>
9807 * math/libm-test.inc (lround_test): New testcase.
9808 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9810 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9812 * Makefile: Remove support for automatic cvs check-ins.
9813 * Makerules: Likewise.
9814 * config.make.in: Likewise.
9815 * configure.in: Likewise.
9816 * intl/Makefile: Likewise.
9817 * locale/Makefile: Likewise.
9818 * po/Makefile: Likewise.
9819 * posix/Makefile: Likewise.
9820 * sysdeps/gnu/Makefile: Likewise.
9821 * sysdeps/mach/hurd/Makefile: Likewise.
9822 * sysdeps/sparc/sparc32/Makefile: Likewise.
9825 * posix/Makefile (bug-regex32-ENV): Define.
9826 Patch by John Stanley <jpsinthemix@verizon.net>.
9828 * misc/Makefile (headers): Add bits/select2.h.
9829 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9830 * misc/bits/select2.h: New file.
9831 * include/bits/select2.h: New file.
9832 * debug/Makefile (routines): Add fdelt_chk.
9833 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9834 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9836 * debug/fdelt_chk.c: New file.
9838 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9839 * wcsmbs/test-wmemcmp.c: Likewise.
9840 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9841 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9843 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9845 * string/Makefile (strop-tests): Add memcmp.
9846 * string/test-wmemcmp.c: New file.
9847 * string/test-memcmp.c: Add wmemcmp support.
9849 2011-09-08 Roland McGrath <roland@hack.frob.com>
9852 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9855 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9856 garbage value in a __mach_port_mod_refs call in the cases of the
9857 task-self and thread-self ports.
9859 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9861 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9863 2011-09-08 Andreas Schwab <schwab@redhat.com>
9865 * elf/dl-load.c (lose): Check for non-null L.
9867 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9869 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9871 * elf/dl-libc.c (dlerror_run): Pass back error code from
9875 * elf/dl-load.c (lose): Free l_origin if it is valid.
9877 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9879 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9880 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9881 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9882 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9883 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9884 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9886 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9888 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9889 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9890 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9891 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9892 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9893 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9894 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9895 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9896 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9897 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9899 2011-08-15 Alan Modra <amodra@gmail.com>
9902 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9903 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9904 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9905 ppc_mcount to static-only-routines.
9906 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9908 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9909 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9911 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9913 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9914 for finite and infinity parameters.
9916 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9919 and add nop instructions for throughput optimization.
9920 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9922 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9924 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9925 aligned copy for power7 with vector-scalar instructions.
9926 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9928 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9933 2011-09-07 Andreas Schwab <schwab@redhat.com>
9936 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9939 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9941 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9942 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9943 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9944 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9947 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9949 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9950 Forgot to demangle the pointer.
9952 * sysdeps/i386/sysdep.h: Define atom_text_section.
9953 * sysdeps/x86_64/sysdep.h: Likewise.
9954 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9955 section with atom_text_section.
9956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9957 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9958 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9960 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9962 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9964 already be defined. Change to take two parameters and don't assign
9965 result to variable. Adjust all users.
9966 Define INTERNAL_GETTIME if not already defined.
9967 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9970 HAVE_CLOCK_GETTIME_VSYSCALL.
9971 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9974 gettimeofday vsyscall, just use time.
9976 2011-09-06 Andreas Schwab <schwab@redhat.com>
9978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9981 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9983 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9987 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9988 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9989 syscall if possible.
9991 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9993 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9994 e_ident. Don't pass to find_mapsXX.
9995 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9997 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10000 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10001 * sysdeps/x86_64/multiarch/strchr.S: Update.
10002 Check bit_slow_BSF bit.
10003 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10004 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10005 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10007 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10010 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10012 (tryshell): Define.
10013 (__spawni): Change last parameter to be flag. Test
10014 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10015 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10016 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10017 * posix/spawni.c: Likewise.
10018 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10019 * posix/spawnp.c: Likewise. Change normal version to use
10020 SPAWN_XFLAGS_USE_PATH.
10021 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10022 SPAWN_XFLAGS_TRY_SHELL.
10025 * posix/glob.h: Remove gcc 1.x support.
10028 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10030 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10033 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10035 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10036 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10037 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10038 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10039 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10040 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10042 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10044 * sysdeps/x86_64/wcscmp.S: New file.
10046 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10047 wcscmp-c wcscmp-sse2
10048 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10049 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10050 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10051 * wcsmbs/wcscmp.c: Allow renaming.
10053 2011-09-05 David S. Miller <davem@davemloft.net>
10055 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10056 stack slot, rather than the struct return pointer slot.
10057 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10058 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10060 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10062 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10064 * po/ja.po: Update from translation team.
10067 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10068 kernel in 64-bit binaries.
10070 2011-09-01 David S. Miller <davem@davemloft.net>
10072 * elf/elf.h (HWCAP_SPARC_*): Move to..
10073 * sysdeps/sparc/sysdep.h: this new file and add new values.
10074 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10075 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10076 _DL_HWCAP_COUNT to 24.
10077 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10079 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10080 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10081 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10083 instead of magic constants.
10084 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10086 2011-08-31 David S. Miller <davem@davemloft.net>
10088 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10090 Reimplement to do errno handling inline.
10091 (SYSCALL_ERROR_HANDLER): New macro.
10092 (__SYSCALL_STRING): Do not do errno handling in asm.
10093 (__CLONE_SYSCALL_STRING): Delete.
10094 (__INTERNAL_SYSCALL_STRING): Delete.
10095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10096 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10097 (PSEUDO): Reimplement to do errno handling inline.
10098 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10099 (SYSCALL_ERROR_HANDLER): New macro.
10100 (__SYSCALL_STRING): Do not do errno handling in asm.
10101 (__CLONE_SYSCALL_STRING): Delete.
10102 (__INTERNAL_SYSCALL_STRING): Delete.
10103 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10104 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10106 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10107 (inline_syscall*): Add 'err' argument.
10108 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10109 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10110 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10111 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10113 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10114 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10116 2011-08-30 Andreas Schwab <schwab@redhat.com>
10118 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10120 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10122 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10125 2011-08-24 David S. Miller <davem@davemloft.net>
10127 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10129 2011-08-24 Andreas Schwab <schwab@redhat.com>
10131 * elf/Makefile: Add rules to build and run unload8 test.
10132 * elf/unload8.c: New file.
10133 * elf/unload8mod1.c: New file.
10134 * elf/unload8mod1x.c: New file.
10135 * elf/unload8mod2.c: New file.
10136 * elf/unload8mod3.c: New file.
10138 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10141 2011-08-23 David S. Miller <davem@davemloft.net>
10143 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10144 subtract stack bias.
10145 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10146 %sp not %fp in calculations.
10147 (_JMPBUF_UNWINDS_ADJ): Likewise.
10149 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10150 (aio_suspend): Call it to force an exception region around the
10151 AIO_MISC_WAIT() invocation.
10153 2011-08-23 Andreas Schwab <schwab@redhat.com>
10155 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10158 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10160 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10162 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10163 and <dl-machine.h>.
10164 (Elf64_FuncDesc): Remove.
10166 2011-08-22 David S. Miller <davem@davemloft.net>
10168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10169 sigaltstack check, add missing cfi directives.
10170 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10171 missing cfi directives, and sigaltstack handling.
10173 2011-08-16 Andreas Schwab <schwab@redhat.com>
10176 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10177 object is seen twice.
10178 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10180 * elf/Makefile (distribute): Add tst-initorder2.c.
10181 (tests): Add tst-initorder2.
10182 (modules-names): Add tst-initorder2a tst-initorder2b
10183 tst-initorder2c tst-initorder2d. Add rules to build them.
10184 ($(objpfx)tst-initorder2.out): New rule.
10185 * elf/tst-initorder2.c: New file.
10186 * elf/tst-initorder2.exp: New file.
10188 2011-08-22 Andreas Schwab <schwab@redhat.com>
10190 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10192 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10193 dependencies back to end of function.
10195 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10196 $(elfobjdir)/ld.so.
10198 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10201 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10203 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10204 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10205 of __vdso_gettimeofday.
10206 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10207 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10209 (_libc_vdso_platform_setup): Remove initialization of
10210 __vdso_gettimeofday and __vdso_time.
10212 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10214 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10215 and fgetc_unlocked.
10216 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10219 * elf/dl-open.c (add_to_global): Report additions to the global scope
10220 for LD_DEBUG=scopes.
10221 (dl_open_worker): Also print scope of newly loaded dependencies.
10222 (_dl_show_scope): Indicate if there is no scope.
10225 * stdio-common/Makefile (tests): Add bug24.
10226 * stdio-common/bug24.c: New file.
10228 2011-08-19 Andreas Jaeger <aj@suse.de>
10231 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10232 non-existant file when using close-on-exec mode.
10234 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10237 the very first instruction.
10239 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10240 the CFI state in the end.
10241 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10242 inclusion of dl-trampoline.h.
10243 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10245 2011-08-19 Andreas Schwab <schwab@redhat.com>
10247 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10248 expectations for long double.
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10251 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10253 2011-08-14 David S. Miller <davem@davemloft.net>
10255 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10256 artificual limit depends upon the system page size.
10258 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10260 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10261 * resolv/Makefile: Define CFLAGS-libresolv.
10263 2011-08-17 Andreas Schwab <schwab@redhat.com>
10265 * nss/makedb.c (compute_tables): Make variables used in nested
10268 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10270 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10271 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10272 if buffer was too small.
10274 * elf/pldd.c (main): Attach to all threads in the process.
10275 Rewrite /proc handling to use *at functions.
10277 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10279 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10280 specifies first scope to show.
10281 (dl_open_worker): Update callers. Move printing scope of new
10282 object to before the relocation.
10283 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10284 * sysdeps/generic/ldsodefs.h: Update declaration.
10286 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10287 string for the scope number.
10289 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10291 * nscd/servicescache.c (cache_addserv): Make sure written is always
10294 2011-08-14 Roland McGrath <roland@hack.frob.com>
10296 * sysdeps/i386/i486/bits/atomic.h
10297 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10298 statement expression, so as to suppress "set but not used" warning.
10299 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10301 * string/strncat.c (STRNCAT): Use prototype definition.
10303 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10304 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10306 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10307 (localedef-modules): Add localedef.
10308 (locale-modules): Add locale.
10310 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10311 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10312 to avoid a warning.
10314 2011-08-14 David S. Miller <davem@davemloft.net>
10316 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10317 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10319 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10321 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10322 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10323 * elf/rtld.c (dl_main): Set l_name of vDSO.
10324 Call _dl_show_scope when DL_DEBUG_SCOPES.
10325 (process_dl_debug): Recognize scopes flag and also set it for all.
10326 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10327 Declare _dl_show_scope.
10329 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10330 (do_dlopen): Pass caller_dlopen to dl_open.
10331 (__libc_dlopen_mode): Initialize caller_dlopen.
10333 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10334 of libc. Make tolower call locale-independent. Optimize a bit by
10335 using isdigit instead of isalnum.
10336 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10338 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10340 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10341 was a dependency or dynamically loaded.
10343 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10345 * intl/l10nflist.c: Allow architecture-specific pop function.
10346 * sysdeps/x86_64/l10nflist.c: New file.
10348 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10351 2011-08-10 Andreas Schwab <schwab@redhat.com>
10353 * include/dirent.h: Add libc_hidden_proto for scandirat and
10354 scandirat64. Don't declare __scandirat64.
10355 * dirent/scandirat.c: Add libc_hidden_def.
10356 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10357 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10359 2011-08-10 David S. Miller <davem@davemloft.net>
10361 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10363 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10364 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10367 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10369 * Versions.def [libc]: Add GLIBC_2.15.
10370 * dirent/Makefile (routines): Add scandirat and scandirat64.
10371 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10373 * dirent/dirent.h: Declare scandirat and scandirat64.
10374 * dirent/scandirat.c: New file.
10375 * dirent/scandirat64.c: New file.
10376 * sysdeps/wordsize-64/scandirat.c: New file.
10377 * sysdeps/wordsize-64/scandirat64.c: New file.
10378 * dirent/opendir.c: Define opendirat.
10379 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10381 * dirent/scandir64.c: Adjust for scandir.c change.
10382 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10383 __scandirat64, and __scandir_cancel_handler.
10384 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10385 additional parameter and use openat instead of open (outside of ld.so).
10386 Add new __opendir as wrapper around __opendirat.
10387 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10388 here without requiring old scandirat implementation.
10390 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10392 * dirent/scandir.c (cancel_handler): Renamed to
10393 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10394 defined. Adjust users.
10395 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10396 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10398 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10400 * string/test-string.h (IMPL): Use __STRING to expand name and then
10403 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10406 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10408 * string/Makefile: Update.
10409 (strop-tests): Append strncat.
10410 * string/test-wcscmp.c: New file.
10411 New comprehensive test for wcscmp.
10412 * string/test-strcmp.c: Update.
10413 (WIDE): New define.
10415 2011-07-22 Andreas Schwab <schwab@redhat.com>
10417 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10420 2011-07-26 Andreas Schwab <schwab@redhat.com>
10422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10423 encoding to ACE if AI_IDN.
10425 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10427 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10428 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10430 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10432 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10433 Fix overflow bug in strncat.
10434 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10436 * string/test-strncat.c: Update.
10437 Add new tests for checking overflow bugs.
10439 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10442 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10443 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10444 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10446 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10447 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10448 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10449 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10452 (USE_AS_STRCAT): Define.
10453 Add strcat and strncat support.
10454 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10456 2011-07-25 Andreas Schwab <schwab@redhat.com>
10458 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10459 __n bigger than INT_MAX+1.
10460 (__strncmp_g): Likewise.
10462 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10464 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10465 * libio/stido.h: Likewise.
10467 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10472 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10474 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10475 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10476 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10479 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10484 (_dl_x86_64_save_sse): Likewise.
10486 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10490 (_dl_x86_64_save_sse): Likewise.
10492 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10494 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10496 2011-07-21 Andreas Schwab <schwab@redhat.com>
10498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10500 (_dl_x86_64_save_sse): Use correct AVX check.
10502 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10504 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10505 bug in strncpy/strncat.
10506 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10508 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10510 * string/tester.c (test_strcat): Add tests for different alignments
10511 of source and destination.
10512 (test_strncat): Likewise.
10514 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10517 * posix/glob.c (glob): Check passed in values before using them in
10518 expressions to avoid some overflows.
10519 (glob_in_dir): Likewise.
10522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10523 check for AVX enablement so that we don't crash with old kernels and
10525 * elf/tst-audit4.c: Add same checks here.
10526 * elf/tst-audit6.c: Likewise.
10528 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10530 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10532 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10534 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10536 * po/cs.po: Update from translation team.
10537 * po/bg.po: Likewise.
10539 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10541 * misc/sys/cdefs.h: Add support for const attribute.
10542 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10543 to gnu_dev_{major,minor,makedev} functions.
10545 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10547 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10549 2011-07-20 Andreas Schwab <schwab@redhat.com>
10551 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10554 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10556 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10557 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10558 register in order to avoid conflicts with the soft frame pointer
10559 being held in r11 when necessary.
10560 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10561 (INTERNAL_VSYSCALL_NCS): Likewise.
10563 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10565 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10566 * elf/dl-fini.c (_dl_fini): Adjust caller.
10567 * elf/dl-close.c (_dl_close_worker): Likewise.
10568 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10570 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10572 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10573 "aux_cache->nlibs < 0".
10575 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10576 in the reload-count case.
10578 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10581 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10582 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10583 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10584 * sysdeps/x86_64/multiarch/strcat.S: New file.
10585 * sysdeps/x86_64/multiarch/strncat.S: New file.
10586 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10587 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10588 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10589 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10591 (USE_AS_STRCAT): Define.
10592 Add strcat and strncat support.
10593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10595 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10596 * string/strncat.c: Update.
10597 (USE_AS_STRNCAT): Define.
10598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10599 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10601 * sysdeps/x86_64/multiarch/init-arch.h
10602 (bit_Prefer_PMINUB_for_stringop): New.
10603 (index_Prefer_PMINUB_for_stringop): Likewise.
10604 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10605 bit_Prefer_PMINUB_for_stringop.
10607 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10609 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10611 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10612 of casting of buffer.
10613 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10614 buffer32 and buffer64.
10615 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10616 writes instead of casting of buffer.
10617 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10619 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10622 2011-07-19 Andreas Schwab <schwab@redhat.com>
10624 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10626 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10628 * nscd/nscd.c (termination_handler): Don't do anything for a database
10629 if it has not yet been initialized.
10631 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10633 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10635 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10637 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10639 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10641 * po/nl.po: Update from translation team.
10642 * po/sv.po: Likewise.
10644 2011-07-16 Roland McGrath <roland@hack.frob.com>
10646 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10647 now disallowed by GCC.
10649 * configure.in (use-default-link): Default to yes if a test -shared
10650 link meets our qualifications.
10651 * configure: Regenerated.
10653 * config.make.in (output-format): New variable.
10654 * configure.in: Check for ld --print-output-format support.
10655 * configure: Regenerated.
10656 * Makerules ($(common-objpfx)format.lds)
10657 [$(output-format) != unknown]: Just use $(output-format),
10658 instead of the linker-script munging.
10660 2011-07-14 Roland McGrath <roland@hack.frob.com>
10662 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10663 of $(common-objpfx)shlib.lds.
10664 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10666 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10667 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10669 * configure.in (-z relro check): Adjust test code to add a large
10670 writable data section after it.
10671 * configure: Regenerated.
10673 2011-07-11 Roland McGrath <roland@hack.frob.com>
10675 * configure.in (-z relro check): Fix test code to make the variable
10677 * configure: Regenerated.
10679 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10681 * nscd/nscd.h (struct traced_file): Define.
10682 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10683 elements. Add traced_files.
10684 (inotify_fd): Declare.
10685 (register_traced_file): Declare.
10686 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10687 (inotify_fd): Export.
10688 (resolv_conf_descr): Remove.
10689 (nscd_init): Move inotify descriptor creation to main.
10690 Don't register files for notification here.
10691 (register_traced_file): New function.
10692 (invalidate_cache): Don't use reset_res to determine whether to call
10693 res_init, go through the list of registered files.
10694 (main_loop_poll): The inotify descriptors are now stored in the
10695 structures for the traced files.
10696 (main_loop_epoll): Likewise
10697 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10698 to __nss_disable_nscd.
10699 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10700 for a database anymore. Check the records for all the registered
10702 * nss/Makefile (libnss_files-routines): Add files-init.
10703 (libnss_db-routines): Add db-init.
10704 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10705 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10706 * nss/nss_db/db-init.c: New file.
10707 * nss/nss_files/files-init.c: New file.
10708 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10709 __nss_lookup_function.
10710 (__nss_lookup_function): Call nss_load_library.
10711 (nss_load_all_libraries): New function.
10712 (__nss_disable_nscd): Take parameter with callback function for files
10713 to register. Set is_nscd. Load all the DSOs for the NSS modules
10714 used for the cached services.
10715 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10716 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10717 options for features to all the files in nscd.
10719 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10721 2011-07-10 Roland McGrath <roland@hack.frob.com>
10723 * csu/elf-init.c (__libc_csu_init): Comment typo.
10725 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10727 * po/pl.po: Update from translation team.
10728 * po/ja.po: Likewise.
10729 * po/ru.po: Likewise.
10730 * po/ko.po: Likewise.
10731 * po/fr.po: Likewise.
10733 2011-07-09 Roland McGrath <roland@hack.frob.com>
10735 * configure.in (.ctors/.dtors header and trailer check):
10736 Use an empirical test on a built program.
10737 * configure: Regenerated.
10739 * configure.in (-z relro check): Use an empirical test on a built DSO.
10740 Detect, but do not require, on ia64.
10741 * configure: Regenerated.
10743 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10744 Update tests that use readelf to use $READELF instead.
10745 * configure: Regenerated.
10747 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10749 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10750 if the result is not used.
10752 2011-07-05 Andreas Jaeger <aj@suse.de>
10755 * stdlib/tst-strtod.c: Add testcase.
10757 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10759 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10760 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10761 The latter has a higher limit. Take additional parameter to pass to
10763 (__pathconf): Pass file to __statfs_link_max.
10764 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10766 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10770 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10771 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10774 (__statfs_filesize_max): Likewise.
10775 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10777 2011-07-05 Andreas Jaeger <aj@suse.de>
10779 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10781 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10783 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10785 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10788 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10790 * Makefile (strop-tests): Add strncat.
10791 * string/test-strncat.c: New file.
10793 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10795 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10797 2011-06-21 Andreas Jaeger <aj@suse.de>
10799 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10800 Copy rule from iconvdata/Makefile.
10802 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10805 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10806 but no long options are defined, just return 'W'.
10808 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10811 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10813 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10815 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10817 (innetgr): Likewise.
10819 2011-07-05 Roland McGrath <roland@hack.frob.com>
10821 * config.make.in (install_root): Default to $(DESTDIR).
10823 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10825 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10827 2011-07-02 Roland McGrath <roland@hack.frob.com>
10829 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10831 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10832 containing directory rather than embedding absolute directory names.
10834 * scripts/check-local-headers.sh: Rewritten using awk.
10835 Match by word, not by line. Print error messages for matches.
10836 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10838 * Makerules [shlib-lds-flags empty]:
10839 ($(common-objpfx)libc_pic.opts): New target.
10840 ($(common-objpfx)libc_pic.os.clean): New target.
10841 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10843 * config.make.in (OBJCOPY): New variable.
10844 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10845 * configure: Regenerated.
10847 * config.make.in (use-default-link): New variable.
10848 * configure.in (use_default_link): Grok --with-default-link to set it.
10849 * configure: Regenerated.
10850 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10851 (shlib-lds, shlib-lds-flags): Define to empty.
10853 * Makerules (shlib-lds): New variable.
10854 (shlib-lds-flags): New variable.
10855 (build-shlib, build-moduile, build-module-asneeded): Use it.
10856 ($(common-objpfx)libc.so): Use $(shlib-lds).
10857 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10858 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10860 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10861 DT_FLAGS/DT_FLAGS_1 with zero flags.
10863 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10864 linker script munging.
10866 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10868 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10870 * crypt/sha512.c (sha512_process_block): Perform total addition using
10871 128-bit if possible.
10872 (__sha512_finish_ctx): Likewise.
10873 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10875 * crypt/sha256.c (SWAP64): Define.
10876 (sha256_process_block): Perform total addition using 64-bit if
10878 (__sha256_finish_ctx): Likewise.
10880 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10882 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10883 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10884 * nscd/hstcache.c (cache_addhst): Likewise.
10885 * nscd/grpcache.c (cache_addgr): Likewise.
10886 * nscd/aicache.c (addhstaiX): Likewise
10887 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10889 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10891 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10892 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10893 * nscd/hstcache.c (cache_addhst): Likewise.
10894 * nscd/grpcache.c (cache_addgr): Likewise.
10895 * nscd/aicache.c (addhstaiX): Likewise
10897 2011-07-01 Andreas Schwab <schwab@redhat.com>
10899 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10900 domain only when needed.
10902 2011-06-30 Andreas Schwab <schwab@redhat.com>
10904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10905 is always restored.
10907 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10909 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10910 are re-adding the entry.
10911 * nscd/servicescache.c (cache_addserv): Likewise.
10913 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10915 * sysdeps/generic/dl-irel.h: fix protection against multiple
10917 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10919 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10922 * malloc/memusage.sh: Fix quoting in message.
10923 * debug/xtrace.sh: Likewise.
10925 * configure.in: Remove support for --experimental-malloc option, make
10927 * config.make.in: Likewise.
10928 * malloc/Makefile: Likewise.
10930 2011-06-27 Andreas Schwab <schwab@redhat.com>
10932 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10933 two-byte characters.
10935 2011-06-27 Roland McGrath <roland@hack.frob.com>
10937 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10938 AC_CACHE_CHECK invocation.
10939 * configure: Regenerated.
10941 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10943 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10946 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10947 bit from old_res_options.
10949 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10951 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10952 value type for setfct.
10954 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10957 __gettimeofday instead of gettimeofday.
10959 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10961 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10963 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10965 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10967 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10970 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10973 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10974 strcpy-sse2-unaligned strncpy-sse2-unaligned
10975 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10976 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10977 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10978 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10979 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10980 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10981 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10982 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10983 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10984 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10985 (STRCPY): Support SSE2 and SSSE3 versions.
10987 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10990 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10991 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10992 kernels which artificially limit size of requests.
10994 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10997 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10998 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10999 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11000 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11001 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11002 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11003 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11004 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11006 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11007 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11008 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11009 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11010 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11012 Enable unaligned load optimization for Intel Core i3, i5 and i7
11014 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11016 (index_Fast_Unaligned_Load): Define.
11017 (HAS_FAST_UNALIGNED_LOAD): Define.
11019 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11021 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11023 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11026 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11027 until it is clear that the information is realy needed.
11028 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11030 2011-06-22 Andreas Schwab <schwab@redhat.com>
11032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11034 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11037 /sys/devices/system/cpu/online if it is usable.
11039 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11040 reading the information from the /proc filesystem to once a second.
11042 2011-06-21 Andreas Jaeger <aj@suse.de>
11044 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11045 NULL after inclusion of kernel headers.
11047 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11049 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11050 calls to internal_setent.
11053 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11054 addresses using gethostbyname4_r ignore IPv4 addresses.
11056 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11057 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11059 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11061 2011-06-20 David S. Miller <davem@davemloft.net>
11063 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11065 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11067 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11068 (elf_irel): Use it.
11069 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11070 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11071 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11072 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11073 * sysdeps/x86_64/dl-irel.h: Likewise.
11075 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11076 * elf/dl-sym.c: Likewise.
11078 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11080 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11081 need to dereference resplen2.
11083 2011-06-14 Andreas Schwab <schwab@redhat.com>
11085 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11087 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11089 * Makeconfig: Define vardbdir and inst_vardbdir.
11090 * nss/Makefile: Add rules to install db-Makefile.
11092 * nss/nss_db/db-XXX.c: Cleanup.
11094 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11095 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11097 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11098 * nss/makedb.c: Implement -g option to specify that value strings
11099 are generated and should not be added to table iterated over for
11101 * nss/nss_db/db-initgroups.c: New file.
11103 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11106 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11107 (internal_getgrouplist): Adjust to name change.
11108 Update use_initgroups_entry if this is not the first call.
11109 * nss/databases.def: Add initgroups entry.
11111 * nss/makedb.c (compute_tables): Check result of multiple hash table
11112 sizes to minimize maximum chain length.
11114 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11116 * Versions.def: Add entry for libnss_db.
11117 * shlib-versions: Likewise.
11118 * nss/Makefile: Add rules to build libnss_db.
11119 * nss/Versions: Add libnss_db information. Organize libnss_files
11121 * nss/db-Makefile: Add gshadow support. Change rules for the new
11122 makedb progra. Some minor improvements to generate smaller files.
11123 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11125 * nss/makedb.c: ...here.
11126 Improve database format to be smaller and require less memory at
11128 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11130 * nss/nss_db/db-netgrp.c: Likewise.
11131 * nss/nss_db/db-open.c: Likewise.
11132 * nss/nss_files/flies-XXX.x: Adjust comments.
11133 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11134 * nss/nss_files/files-grp.c: Likewise.
11135 * nss/nss_files/files-hosts.c: Likewise.
11136 * nss/nss_files/files-network.c: Likewise.
11137 * nss/nss_files/files-proto.c: Likewise.
11138 * nss/nss_files/files-pwd.c: Likewise.
11139 * nss/nss_files/files-rpc.c: Likewise.
11140 * nss/nss_files/files-service.c: Likewise.
11141 * nss/nss_files/files-sgrp.c: Likewise.
11142 * nss/nss_files/files-spwd.c: Likewise.
11143 * nss/nss_db/db-alias.c: Removed.
11144 * nss/nss_db/dummy-db.h: Removed.
11146 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11148 * nss/makedb.c: Rewritten to not use database library.
11149 * nss/Makefile: Update to build new makedb program.
11151 2011-06-14 Andreas Jaeger <aj@suse.de>
11153 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11154 memset declaration.
11156 2011-06-10 Andreas Schwab <schwab@redhat.com>
11158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11161 2011-06-10 Roland McGrath <roland@hack.frob.com>
11163 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11164 * elf/Makefile ($(objpfx)ld.so): Likewise.
11166 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11167 Don't list ld.so twice in dependencies.
11169 * posix/bug-regex31.c: Include <stdlib.h>.
11171 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11173 * nis/nss_compat/compat-spwd.c
11174 (getspent_next_nss_netgr): Remove unused variable.
11175 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11177 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11178 nonmembers" output to use the right array.
11180 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11182 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11184 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11185 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11186 * catgets/gencat.c (read_input_file): Likewise.
11187 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11189 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11190 variable definition inside #if's controlling its use.
11192 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11194 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11196 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11198 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11201 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11203 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11204 * configure: Regenerated.
11206 * Makerules: Revert last change.
11207 * elf/Makefile: Likewise.
11209 2011-06-09 Roland McGrath <roland@hack.frob.com>
11211 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11212 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11213 (reloc-link): Likewise.
11215 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11217 * elf/Makefile: Add rules to build pldd.
11218 * elf/pldd.c: New file.
11219 * elf/pldd-xx.c: New file.
11221 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11223 * version.h: Update for 2.15 development version.
11225 2011-06-07 David S. Miller <davem@davemloft.net>
11227 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11229 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11230 elf_machine_lazy_rel): Likewise.
11231 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11233 elf_machine_lazy_rel): Likewise.
11234 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11235 dl_hwcap via passed in argument.
11236 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11239 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11241 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11243 2011-06-06 Roland McGrath <roland@hack.frob.com>
11246 * manual/fdl-1.1.texi: New file, verbatim from:
11247 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11248 * manual/lgpl-2.1.texi: New file, verbatim from:
11249 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11250 * manual/Makefile (licenses): New variable, list those new file names.
11252 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11254 * manual/fdl.texi: File removed.
11255 * manual/lesser.texi: File removed.
11256 * manual/libc.texinfo (Copying, Documentation License):
11257 Use new @include file names, put @appendix directive before @include.
11259 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11262 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11263 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11264 (mq_open): Add __NTH.
11266 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11269 Assume Intel Core i3/i5/i7 processor if AVX is available.
11271 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11273 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11276 2011-05-31 Andreas Schwab <schwab@redhat.com>
11278 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11279 memory. Use alloca_account. Fix memory leak when retrying.
11281 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11283 * version.h (RELEASE): Bump for 2.14 release.
11284 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11286 * config.make.in (RANLIB): Remove entry.
11288 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11290 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11291 (libc.pot): Work around missing support for .ksh extension in xgettext.
11294 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11295 if both request failed.
11296 (send_dg): In case of server errors clear resplen or *resplen2.
11299 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11300 when there are multiple maps.
11301 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11302 (_dl_fini): Remove test here.
11304 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11306 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11309 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11310 bit from old_res_options.
11311 (gaih_inet): Likewise.
11314 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11317 * resolv/res_init.c (res_setoptions): Make the code more compact.
11320 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11324 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11326 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11329 * malloc/malloc.h: Declare malloc hook variables as volatile.
11331 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11335 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11336 raise in the comment.
11337 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11338 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11339 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11341 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11344 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11345 grow the buffers more if it already has to be sufficient.
11346 (build_wcs_upper_buffer): Likewise.
11347 * posix/regexec.c (check_matching): Likewise.
11348 (clean_state_log_if_needed): Likewise.
11349 (extend_buffers): Don't enlarge buffers beyond size of the input
11351 Patches mostly by Emil Wojak <emil@wojak.eu>.
11352 * posix/bug-regex32.c: New file.
11353 * posix/Makefile (tests): Add bug-regex32.
11355 * locale/findlocale.c (_nl_find_locale): Return right away if
11356 _nl_explode_name failed.
11357 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11359 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11361 * debug/xtrace.sh: Unify messages.
11362 * malloc/memusage.sh: Likewise.
11365 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11366 time symbol from vDSO. Substitute with vsyscall if not available.
11367 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11370 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11371 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11372 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11373 Add sendmmsg and internal_sendmmsg.
11374 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11375 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11376 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11378 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11379 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11380 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11382 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11385 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11386 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11388 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11392 * iconvdata/Makefile (tests): Add bug-iconv9.
11393 * iconvdata/bug-iconv9.c: New file.
11395 2011-05-27 Andreas Schwab <schwab@redhat.com>
11398 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11400 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11403 (struct user_regs_struct): Change intcs field back to cs.
11405 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11407 * po/ja.po: Update from translation team.
11409 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11412 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11415 2011-05-20 Andreas Schwab <schwab@redhat.com>
11417 * stdlib/longlong.h: Update from GCC.
11419 2011-05-23 Andreas Schwab <schwab@redhat.com>
11421 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11423 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11424 Add parameter name.
11425 (__sysconf): Pass it down.
11427 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11430 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11432 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11433 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11434 add in in __libc_use_alloca calls. Adjust callers.
11435 (glob): Use malloc in some situations.
11437 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11438 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11441 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11443 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11444 and CLOCK_BOOTTIME_ALARM.
11447 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11450 * string/_strerror.c (__strerror_r): Print negative errors as signed
11454 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11455 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11456 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11458 * configure.in: Fix typo in redirection and correct removal of test
11459 files in two cases.
11462 * locale/setlocale.c (new_composite_name): Fix test to check for
11463 identical name of all categories.
11466 * libio/filedoalloc.c (local_isatty): New function.
11467 (_IO_file_doallocate): Use local_isatty.
11468 * stdio-common/perror.c (perror): In case a new stream is used
11469 forward the stream error.
11470 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11473 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11478 * include/alloca.h (extend_alloca_account): Define.
11481 * posix/regex.h: Fix comments with documentation of user-accessible
11482 fields after compilation and describe correct free'ing of pattern
11483 after re_compile_pattern.
11484 Patch by Reuben Thomas <rrt@sc3d.org>.
11486 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11488 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11489 and -mno-altivec to prevent the compiler from using Altivec and/or
11490 VSX instructions when the corresponding registers are not available.
11492 2011-05-19 Andreas Schwab <schwab@redhat.com>
11494 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11496 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11498 * libio/freopen.c (freopen): Use __dup2, not dup2.
11499 * libio/freopen64.c (freopen64): Likewise.
11501 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11504 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11505 * math/Makefile (tests): Add test-powl.
11506 (CFLAGS-test-powl.c): Define.
11507 * math/test-powl.c: New file.
11509 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11511 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11513 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11516 * iconvdata/gb18030.c: Update to GB18020-2005.
11518 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11520 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11521 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11522 Patch by Aharon Robbins <arnold@skeeve.com>.
11525 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11529 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11530 through underflows.
11533 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11534 point to strings before performing equality test for error_one_per_line
11538 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11542 (struct user_fpregs_struct): Avoid __uint*_t types.
11545 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11546 symbol info. Use it instead of calling _dl_addr locally.
11547 (lock_and_info): New function.
11548 (tr_freehook): Call lock_and_info and pass symbol info as additional
11549 parameter to tr_where.
11550 (tr_mallochook): Likewise.
11551 (tr_reallochook): Likewise.
11552 (tr_memalignhook): Likewise.
11554 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11555 used and couldn't be at all thread-safe.
11557 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11559 * libio/freopen.c (freopen): Don't close old file descriptor
11560 before the new one is opened. Instead dup the new file descriptor
11561 to the old one after the new stream is created.
11562 * libio/freopen64.c (freopen64): Likewise.
11563 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11564 * libio/fileops.c (_IO_new_file_close_it): Handle new
11565 _IO_FLAGS2_NOCLOSE flag.
11566 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11567 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11568 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11569 _IO_FLAGS2_NOCLOSE flag.
11570 * include/unistd.h: Add hidden_proto for dup3.
11571 Define __have_dup3.
11572 * io/dup3.c: Define hidden symbol.
11573 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11576 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11577 when an incomplete long option is used.
11578 * posix/tst-getopt_long1.c: New file.
11579 * posix/Makefile (tests): Add tst-getopt_long1.
11582 * scripts/config.guess: Update from autoconf-2.68.
11583 * scripts/config.sub: Likewise.
11586 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11588 (has_cpuclock): ...this. New function.
11589 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11590 macro here based on has_cpuclock code.
11593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11594 First byte (not low byte) is now always NUL.
11595 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11598 Use non-cancelable interfaces.
11601 * locale/iso-639.def: Add entry for Sorani.
11604 * include/stdlib.h: Move include protection to the right place.
11605 Define abort_msg_s. Declare __abort_msg with it.
11606 * stdlib/abort.c (__abort_msg): Adjust type.
11607 * assert/assert.c (__assert_fail_base): New function. Majority
11608 of code from __assert_fail. Allocate memory for __abort_msg with
11610 (__assert_fail): Now call __assert_fail_base.
11611 * assert/assert-perr.c: Remove bulk of implementation. Use
11612 __assert_fail_base.
11613 * include/assert.hL Declare __assert_fail_base.
11614 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11616 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11618 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11622 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11623 until all modules are registered in the DTV.
11624 * elf/Makefile: Add rules to build and run tst-tls19.
11625 * elf/tst-tls19.c: New file.
11626 * elf/tst-tls19mod1.c: New file.
11627 * elf/tst-tls19mod2.c: New file.
11628 * elf/tst-tls19mod3.c: New file.
11629 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11632 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11636 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11637 two-byte sequence errors.
11638 * iconvdata/Makefile (tests): Add bug-iconv8.
11639 * iconvdata/bug-iconv8.c: New file.
11642 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11645 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11648 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11649 (dummy_getcfa): New function.
11650 (init): Get _Unwind_GetCFA address, use dummy if not found.
11651 (backtrace_helper): In recursion check, also check whether CFA changes.
11652 (__backtrace): Completely initialize arg.
11654 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11655 storing incomplete byte sequence in state object. Avoid testing for
11656 guaranteed too small input if we know there is enough data available.
11658 2011-05-11 Andreas Schwab <schwab@redhat.com>
11660 * Makeconfig (+link-pie): Indent.
11661 * Rules (binaries-pie): Define if $(have-fpie) and
11663 (binaries-shared): Also filter out $(binaries-pie).
11664 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11665 * nscd/Makefile (others-pie): Add nscd.
11666 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11667 ($(objpfx)nscd): Remove command override.
11668 * login/Makefile (others-pie): Add pt_chown.
11669 ($(objpfx)pt_chown): Remove command override.
11670 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11671 remove command overrides.
11673 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11675 * libio/tst_putwc.c: Fix error messages.
11678 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11679 currently writing and seek to current position when not.
11680 * libio/Makefile (tests): Add bug-fclose1.
11681 * libio/bug-fclose1.c: New file.
11683 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11686 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11687 don't set DF_1_NODELETE here.
11688 (do_lookup_x): When entering new entry test for copy relocation
11689 and if necessary set DF_1_NODELETE flag.
11690 * elf/tst-unique4.cc: New file.
11691 * elf/tst-unique4.h: New file.
11692 * elf/tst-unique4lib.cc: New file.
11693 * elf/Makefile: Add rules to build and run tst-unique4.
11694 Patch by Piotr Bury <pbury@goahead.com>.
11696 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11699 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11702 * misc/mntent_r.c (addmntent): Flush the stream after the output
11705 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11706 (is_trusted_path_normalize): Skip initial colon. Append slash
11707 to empty buffer. Duplicate is_trusted_path code but allow
11708 constructed patch to be prefix.
11709 (is_dst): Allow $ORIGIN followed by /.
11710 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11711 Correct testing of result of is_trusted_path_normalize
11712 (decompose_rpath): Fix warning.
11714 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11717 * grp/initgroups.c (internal_getgrouplist): When we found the service
11718 list through the initgroups entry in nsswitch.conf do not always
11719 continue on a successful lookup. Don't always use the
11720 __nss_group_database value if it is set.
11721 * nss/nsswitch.conf (initgroups): Change action for successful db
11722 lookup to continue for compatibility.
11724 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11727 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11729 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11731 * iconvdata/tst-tables.sh: Likewise.
11732 * iconvdata/cp770.c: New file.
11733 * iconvdata/cp771.c: New file.
11734 * iconvdata/cp772.c: New file.
11735 * iconvdata/cp773.c: New file.
11736 * iconvdata/cp774.c: New file.
11737 * iconvdata/testdata/CP770: New file.
11738 * iconvdata/testdata/CP770..UTF8: New file.
11739 * iconvdata/testdata/CP771: New file.
11740 * iconvdata/testdata/CP771..UTF8: New file.
11741 * iconvdata/testdata/CP772: New file.
11742 * iconvdata/testdata/CP772..UTF8: New file.
11743 * iconvdata/testdata/CP773: New file.
11744 * iconvdata/testdata/CP773..UTF8: New file.
11745 * iconvdata/testdata/CP774: New file.
11746 * iconvdata/testdata/CP774..UTF8: New file.
11748 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11750 * iconvdata/gen-8bit-gap.sh: Likewise.
11751 * iconvdata/gen-8bit.sh: Likewise.
11753 * locale/iso-639.def: Add ary entry.
11756 * locale/C-translit.h.in: Add U20A1 transliteration.
11759 * locale/iso-639.def: Add wae entry.
11760 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11763 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11767 * locale/C-translit.h.in: Add entry for U20B9.
11768 Patch by pravin.d.s@gmail.com.
11770 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11773 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11774 ENAMETOOLONG use generic getcwd.
11775 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11776 in rtld. Use *stat64.
11777 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11778 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11779 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11780 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11781 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11782 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11783 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11784 __fstatat64 macros.
11785 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11786 * dirent/rewinddir.c: Add libc_hidden_def.
11787 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11788 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11790 * include/dirent.h (__alloc_dir): Add flags parameter.
11791 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11792 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11794 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11795 from fdopendir if O_CLOEXEC is already set.
11797 2011-03-15 Alan Modra <amodra@gmail.com>
11799 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11800 l_tls_firstbyte_offset non-zero. Save padding offset in
11801 l_tls_firstbyte_offset for later use.
11802 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11803 freeing static tls block.
11805 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11807 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11808 where #ifdef was intended. The intent is to prevent ARG_MAX from
11809 being defined by the kernel headers.
11811 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11814 * resolv/resolv.h: Define RES_NOTLDQUERY.
11815 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11816 no-tld-query and set RES_NOTLDQUERY.
11817 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11818 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11819 modern BIND to search name as TLD unless forbidden.
11821 2011-05-07 Petr Baudis <pasky@suse.cz>
11822 Ulrich Drepper <drepper@gmail.com>
11825 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11826 (is_trusted_path): ...to here.
11827 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11828 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11829 using is_trusted_path_normalize() in setuid scripts.
11831 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11833 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11834 __BEGIN/__END_DECLS.
11836 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11839 NSS_STATUS_NOTFOUND if no record was found.
11841 2011-05-05 Andreas Schwab <schwab@redhat.com>
11843 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11844 (headers-not-in-tirpc): Remove rpc/netdb.h
11845 * resolv/netdb.h: Revert last change.
11847 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11849 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11850 circular dependency between libgcc.a and libc.a.
11852 2011-05-05 Andreas Schwab <schwab@redhat.com>
11854 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11855 * nis/Makefile: Don't install rpcsvc/*.
11856 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11857 instead of <rpc/types.h>.
11858 (MAXHOSTNAMELEN): Define.
11860 2011-05-03 Andreas Schwab <schwab@redhat.com>
11862 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11864 2011-04-28 Maciej Babinski <mbabinski@google.com>
11867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11868 gethostbyname4_r when IPv6 results are possible.
11870 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11873 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11874 _PC_PIPE_BUF handling.
11876 2011-04-30 Bruno Haible <bruno@clisp.org>
11879 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11880 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11882 * inet/getnameinfo.c (getnameinfo): Likewise.
11884 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11886 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11887 to groups setting in database lookup.
11888 * nss/nsswitch.conf: Add initgroups entry.
11890 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11893 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11895 Patch by Eric Blake <eblake@redhat.com>.
11897 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11899 * sunrpc/Makefile (need-export-routines): Add svc_run.
11900 (routines): Remove svc_run.
11901 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11902 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11903 * sunrpc/svc_run.c (svc_run): Likewise.
11904 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11906 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11908 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11909 problem in reallocation in last patch.
11911 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11913 * sunrpc/Makefile: Move inclusion of Rules.
11915 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11917 * nss/nss_files/files-initgroups.c: New file.
11918 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11919 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11920 _nss_files_initgroups_dyn.
11922 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11924 * elf/elf.h (R_ARM_IRELATIVE): Define.
11926 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11928 * po/ru.po: Update from translation team.
11930 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11932 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11935 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11938 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11939 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11942 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11944 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11946 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11948 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11952 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11955 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11957 * stdlib/bug-getcontext.c: New file.
11958 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11960 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11962 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11963 instructions into .machine "z9-109".
11964 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11965 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11967 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11969 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11970 between environment variables and auxiliary vector.
11972 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11974 * Makefile: Add rules to build linkobj/libc.so.
11975 * include/libc-symbols.h: Define libc_hidden_nolink.
11976 * include/rpc/auth.h: Mark functions which are to be hidden.
11977 * include/rpc/auth_des.h: Likewise.
11978 * include/rpc/auth_unix.h: Likewise.
11979 * include/rpc/clnt.h: Likewise.
11980 * include/rpc/des_crypt.h: Likewise.
11981 * include/rpc/key_prot.h: Likewise.
11982 * include/rpc/pmap_clnt.h: Likewise.
11983 * include/rpc/pmap_prot.h: Likewise.
11984 * include/rpc/pmap_rmt.h: Likewise.
11985 * include/rpc/rpc_msg.h: Likewise.
11986 * include/rpc/svc.h: Likewise.
11987 * include/rpc/svc_auth.h: Likewise.
11988 * include/rpc/xdr.h: Likewise.
11989 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11990 * nss/Makefile: Likewise.
11991 * sunrpc/Makefile: Don't install headers. Build library with normal
11992 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11993 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11994 for the compat linking library. Remove use of INTDEF/INTUSE.
11995 * sunrpc/auth_none.c: Likewise.
11996 * sunrpc/auth_unix.c: Likewise.
11997 * sunrpc/authdes_prot.c: Likewise.
11998 * sunrpc/authuxprot.c: Likewise.
11999 * sunrpc/clnt_gen.c: Likewise.
12000 * sunrpc/clnt_perr.c: Likewise.
12001 * sunrpc/clnt_raw.c: Likewise.
12002 * sunrpc/clnt_simp.c: Likewise.
12003 * sunrpc/clnt_tcp.c: Likewise.
12004 * sunrpc/clnt_udp.c: Likewise.
12005 * sunrpc/clnt_unix.c: Likewise.
12006 * sunrpc/des_crypt.c: Likewise.
12007 * sunrpc/des_soft.c: Likewise.
12008 * sunrpc/get_myaddr.c: Likewise.
12009 * sunrpc/key_call.c: Likewise.
12010 * sunrpc/key_prot.c: Likewise.
12011 * sunrpc/netname.c: Likewise.
12012 * sunrpc/pm_getmaps.c: Likewise.
12013 * sunrpc/pm_getport.c: Likewise.
12014 * sunrpc/pmap_clnt.c: Likewise.
12015 * sunrpc/pmap_prot.c: Likewise.
12016 * sunrpc/pmap_prot2.c: Likewise.
12017 * sunrpc/pmap_rmt.c: Likewise.
12018 * sunrpc/publickey.c: Likewise.
12019 * sunrpc/rpc_cmsg.c: Likewise.
12020 * sunrpc/rpc_common.c: Likewise.
12021 * sunrpc/rpc_dtable.c: Likewise.
12022 * sunrpc/rpc_prot.c: Likewise.
12023 * sunrpc/rpc_thread.c: Likewise.
12024 * sunrpc/rtime.c: Likewise.
12025 * sunrpc/svc.c: Likewise.
12026 * sunrpc/svc_auth.c: Likewise.
12027 * sunrpc/svc_authux.c: Likewise.
12028 * sunrpc/svc_raw.c: Likewise.
12029 * sunrpc/svc_run.c: Likewise.
12030 * sunrpc/svc_simple.c: Likewise.
12031 * sunrpc/svc_tcp.c: Likewise.
12032 * sunrpc/svc_udp.c: Likewise.
12033 * sunrpc/svc_unix.c: Likewise.
12034 * sunrpc/svcauth_des.c: Likewise.
12035 * sunrpc/xcrypt.c: Likewise.
12036 * sunrpc/xdr.c: Likewise.
12037 * sunrpc/xdr_array.c: Likewise.
12038 * sunrpc/xdr_float.c: Likewise.
12039 * sunrpc/xdr_intXX_t.c: Likewise.
12040 * sunrpc/xdr_mem.c: Likewise.
12041 * sunrpc/xdr_rec.c: Likewise.
12042 * sunrpc/xdr_ref.c: Likewise.
12043 * sunrpc/xdr_sizeof.c: Likewise.
12044 * sunrpc/xdr_stdio.c: Likewise.
12046 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12049 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12050 * sysdeps/ia64/dl-tls.h: Likewise.
12051 * sysdeps/powerpc/dl-tls.h: Likewise.
12052 * sysdeps/s390/dl-tls.h: Likewise.
12053 * sysdeps/sh/dl-tls.h: Likewise.
12054 * sysdeps/sparc/dl-tls.h: Likewise.
12055 * sysdeps/x86_64/dl-tls.h: Likewise.
12056 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12058 2011-03-14 Andreas Schwab <schwab@redhat.com>
12060 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12061 rpath element also skip the following colon.
12062 (expand_dynamic_string_token): Add is_path parameter and pass
12063 down to DL_DST_REQUIRED and _dl_dst_substitute.
12064 (decompose_rpath): Call expand_dynamic_string_token with
12065 non-zero is_path. Ignore empty rpaths.
12066 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12069 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12074 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12077 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12078 Patch by Filipe David Manana <fdmanana@apache.org>.
12080 2011-04-07 Andreas Schwab <schwab@redhat.com>
12082 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12083 Maintain aligned stack.
12084 (CHECK_RSP): Remove unused macro.
12086 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12088 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12089 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12091 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12093 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12095 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12097 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12100 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12101 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12102 * sysdeps/x86_64/memmove.c: New file.
12103 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12104 (memcpy): Renamed to ...
12105 (__new_memcpy): This.
12106 (memcpy): Provide GLIBC_2_14 memcpy.
12107 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12108 (memcpy): Provide GLIBC_2_2_5 memcpy.
12110 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12113 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12115 2011-03-30 Andreas Schwab <schwab@redhat.com>
12117 * misc/syncfs.c: New file.
12118 * misc/Makefile (routines): Add syncfs.
12119 * posix/unistd.h: Declare syncfs.
12120 * sysdeps/unix/syscalls.list: Add syncfs.
12122 2011-04-01 Andreas Schwab <schwab@redhat.com>
12124 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12131 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12134 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12136 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12137 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12138 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12142 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12144 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12145 sync_file_range.c with -fexceptions.
12146 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12147 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12148 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12149 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12150 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12151 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12152 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12153 sync_file_range as cancellation point
12154 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12155 now a wrapper around __call_sync_file_range with cancellation handling.
12156 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12157 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12158 function name to __call_sync_file_range.
12159 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12160 Add call_sync_file_range.
12162 2011-04-01 Andreas Schwab <schwab@redhat.com>
12164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12167 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12169 * iconv/iconv.h: Fix typo in comment.
12170 * io/fcntl.h: Likewise.
12171 * libio/stdio.h: Likewise.
12172 * posix/spawn.h: Likewise.
12173 * posix/unistd.h: Likewise.
12174 * stdlib/stdlib.h: Likewise.
12175 * time/time.h: Likewise.
12176 * wcsmbs/wchar.h: Likewise.
12178 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12179 open_by_handle): Add.
12180 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12181 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12182 Augment a few comments.
12183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12187 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12188 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12191 * io/fcntl.h (AT_EMPTY_PATH): Define.
12193 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12195 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12196 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12197 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12199 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12200 * Versions.def: Add GLIBC_2.14.
12201 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12204 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12206 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12208 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12210 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12213 * string/test-strncmp.c (do_page_test): New function.
12214 (check2): Likewise.
12215 (test_main): Call check2.
12216 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12218 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12221 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12222 Handle cache information in CPU leaf 4.
12223 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12225 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12228 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12229 character representation.
12230 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12232 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12234 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12235 END(__isnan) to END(__isnanf) to match function entry point/label
12236 EALIGN(__isnanf,...).
12238 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12240 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12242 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12245 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12246 copy from the symbol referenced in the relocation to initialize the
12248 Patch by Piotr Bury <pbury@goahead.com>.
12249 * elf/Makefile: Add rules to build and tst-unique3.
12250 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12251 * elf/tst-unique3.cc: New file.
12252 * elf/tst-unique3.h: New file.
12253 * elf/tst-unique3lib.cc: New file.
12254 * elf/tst-unique3lib2.cc: New file.
12256 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12258 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12260 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12261 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12264 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12266 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12267 to-be-loaded object along a path to loader is ld.so.
12269 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12270 Ulrich Drepper <drepper@gmail.com>
12272 * sysdeps/x86_64/memset.S: After aligning destination, code
12273 branches to different locations depending on the value of
12274 misalignment, when multiarch is enabled. Fix this.
12276 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12278 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12279 Set _x86_64_preferred_memory_instruction for AMD processsors.
12280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12281 Set bit_Prefer_SSE_for_memop for AMD processors.
12283 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12285 * libio/fmemopen.c (fmemopen): Optimize a bit.
12287 2011-03-03 Andreas Schwab <schwab@redhat.com>
12289 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12291 2011-03-03 Roland McGrath <roland@redhat.com>
12293 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12295 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12297 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12298 __bzero_ultra1 instead of __memset_ultra1.
12300 2011-02-23 Andreas Schwab <schwab@redhat.com>
12301 Ulrich Drepper <drepper@gmail.com>
12304 * include/link.h (struct link_map): Add l_orig_initfini.
12305 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12306 returning unsuccessfully.
12307 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12308 close of a file loaded at startup, restore the original l_initfini
12310 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12311 list, store the pointer.
12312 * elf/Makefile ($(objpfx)noload-mem): New rule.
12313 (noload-ENV): Define.
12314 (tests): Add $(objpfx)noload-mem.
12315 * elf/noload.c: Include <memcheck.h>.
12316 (main): Call mtrace. Close all opened handles.
12318 2011-02-17 Andreas Schwab <schwab@redhat.com>
12321 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12322 dependencies are missing.
12324 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12326 Fix __if_freereq crash: Unlike the generic version which uses free,
12328 * sysdeps/mach/hurd/ifreq.h: New file.
12330 2011-01-27 Petr Baudis <pasky@suse.cz>
12331 Ulrich Drepper <drepper@gmail.com>
12334 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12335 to extend_alloca().
12336 * stdio-common/bug23.c: New file.
12337 * stdio-common/Makefile (tests): Add bug23.
12339 2010-09-28 Andreas Schwab <schwab@redhat.com>
12340 Ulrich Drepper <drepper@gmail.com>
12343 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12344 before performing relro protection. At old place add assertion
12345 to make sure nothing changed.
12347 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12348 Glauber de Oliveira Costa <glommer@gmail.com>
12350 * elf/elf.h: Add new ARM TLS relocs.
12352 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12355 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12357 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12359 * sysdeps/wordsize-64/tst-writev.c: New file.
12361 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12363 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12364 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12365 insns in _dl_start to prevent a TOC reference before relocs are
12368 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12371 * Makeconfig: Remove RANLIB definition.
12372 * Makerules: Don't use RANLIB.
12373 * aclocal.m4: Remove ranlib test.
12374 * configure.in: No need to check for ranlib.
12375 * elf/rtld-Rules: Don't use RANLIB.
12377 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12379 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12381 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12382 inclusion protection macro.
12384 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12385 SIGRTMIN and SIGRTMAX and print information in that case only when
12386 SIGRTMIN is defined.
12388 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12390 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12391 arginfo fn returning -1.
12393 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12394 and thousands string is zero terminated.
12396 2011-02-03 Andreas Schwab <schwab@redhat.com>
12398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12399 sysdeps/unix/sysv/linux/bits/socket.h.
12401 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12403 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12404 (__CPU_COUNT): Remove old macros.
12405 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12406 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12407 (__CPU_ALLOC, __CPU_FREE): Add macros.
12408 (__sched_cpualloc, __sched_cpufree): Add declarations.
12410 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12412 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12413 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12414 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12415 (readdhstai): Return value of addhstaiX call.
12416 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12417 (addgrbyX): Return value returned by cache_addgr.
12418 (readdgrbyname): Return value returned by addgrbyX.
12419 (readdgrbygid): Likewise.
12420 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12421 (addpwbyX): Return value returned by cache_addpw.
12422 (readdpwbyname): Return value returned by addhstbyX.
12423 (readdpwbyuid): Likewise.
12424 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12425 (addservbyX): Return value returned by cache_addserv.
12426 (readdservbyname): Return value returned by addservbyX:
12427 (readdservbyport): Likewise.
12428 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12429 (addhstbyX): Return value returned by cache_addhst.
12430 (readdhstbyname): Return value returned by addhstbyX.
12431 (readdhstbyaddr): Likewise.
12432 (readdhstbynamev6): Likewise.
12433 (readdhstbyaddrv6): Likewise.
12434 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12435 (readdinitgroups): Return value returned by addinitgroupsX.
12436 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12437 (prune_cache): Keep track of timeout value of re-added entries.
12438 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12439 * nscd/nscd.h: Adjust prototypes of readd* functions.
12441 2011-02-04 Roland McGrath <roland@redhat.com>
12443 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12444 (nis_stats): Likewise.
12445 * nis/nis_modify.c (nis_modify): Likewise.
12446 * nis/nis_remove.c (nis_remove): Likewise.
12447 * nis/nis_add.c (nis_add): Likewise.
12449 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12451 * posix/fnmatch_loop.c: Add some consts.
12453 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12455 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12458 * config.make.in (config-cflags-novzeroupper): Define.
12459 * configure.in: Substitute libc_cv_cc_novzeroupper.
12460 * elf/Makefile (AVX-CFLAGS): Define.
12461 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12462 (CFLAGS-tst-auditmod4a.c): Likewise.
12463 (CFLAGS-tst-auditmod4b.c): Likewise.
12464 (CFLAGS-tst-auditmod6b.c): Likewise.
12465 (CFLAGS-tst-auditmod6c.c): Likewise.
12466 (CFLAGS-tst-auditmod7b.c): Likewise.
12467 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12469 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12471 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12472 function to the callback.
12473 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12475 2011-02-02 Andreas Schwab <schwab@redhat.com>
12477 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12480 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12483 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12485 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12487 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12490 * elf/Makefile: Add rules to build and run new test.
12491 * elf/tst-initorder.c: New file.
12492 * elf/tst-initorder.exp: New file.
12493 * elf/tst-initordera1.c: New file.
12494 * elf/tst-initordera2.c: New file.
12495 * elf/tst-initordera3.c: New file.
12496 * elf/tst-initordera4.c: New file.
12497 * elf/tst-initorderb1.c: New file.
12498 * elf/tst-initorderb2.c: New file.
12499 * elf/tst-order-a1.c: New file.
12500 * elf/tst-order-a2.c: New file.
12501 * elf/tst-order-a3.c: New file.
12502 * elf/tst-order-a4.c: New file.
12503 * elf/tst-order-b1.c: New file.
12504 * elf/tst-order-b2.c: New file.
12505 * elf/tst-order-main.c: New file.
12506 New test case by George Gensure <werkt0@gmail.com>.
12508 2010-10-01 Andreas Schwab <schwab@redhat.com>
12510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12511 decoding ACE if AI_CANONIDN.
12513 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12515 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12517 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12519 * version.h (RELEASE): Bump for 2.13 release.
12520 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12522 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12524 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12526 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12528 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12529 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12530 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12533 * posix/getconf.c: Update copyright year.
12534 * catgets/gencat.c: Likewise.
12535 * csu/version.c: Likewise.
12536 * debug/catchsegv.sh: Likewise.
12537 * debug/xtrace.sh: Likewise.
12538 * elf/ldconfig.c: Likewise.
12539 * elf/ldd.bash.in: Likewise.
12540 * elf/sprof.c (print_version): Likewise.
12541 * iconv/iconv_prog.c: Likewise.
12542 * iconv/iconvconfig.c: Likewise.
12543 * locale/programs/locale.c: Likewise.
12544 * locale/programs/localedef.c: Likewise.
12545 * malloc/memusage.sh: Likewise.
12546 * malloc/mtrace.pl: Likewise.
12547 * nscd/nscd.c (print_version): Likewise.
12548 * nss/getent.c: Likewise.
12550 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12551 PF_CAIF, and PF_ALG.
12552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12554 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12556 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12557 (modules-names): Use them.
12558 (ifunc-test-modules, ifunc-pie-tests): Define.
12559 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12560 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12561 (test-extras): Likewise.
12562 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12563 $(compile-command.c).
12564 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12565 (all-built-dso): Define.
12566 (check-textrel.out, check-execstack.out): Depend on it.
12568 * configure.in: Don't override --enable-multi-arch.
12570 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12573 * nscd/hstcache.c (tryagain): Define.
12574 (cache_addhst): Return tryagain not notfound for temporary errors.
12575 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12578 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12581 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12582 to make the syscall.
12583 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12586 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12587 and fall back to matching as normal character if the string ends before
12588 the matching ']' is found. This is what POSIX requires.
12589 * posix/testfnm.c: Adjust test result.
12590 * posix/globtest.sh: Adjust test result. Add new test.
12591 * posix/tst-fnmatch.input: Likewise.
12592 * posix/tst-fnmatch2.c: Add new test.
12594 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12596 * elf/Makefile (check-execstack): Revert last change. Depend on
12598 (check-execstack.h): New target.
12599 (generated): Add check-execstack.h.
12600 * elf/check-execstack.c: Include "check-execstack.h".
12601 (main): Revert last change.
12602 (handle_file): Return zero if GNU_STACK is absent and
12603 DEFAULT_STACK_PERMS doesn't include PF_X.
12605 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12607 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12608 in child fails because the descriptor is already closed.
12609 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12610 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12611 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12614 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12618 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12619 temporary buffer used to handle multi lookups locally.
12620 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12622 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12624 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12627 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12629 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12630 alignment for SSE2.
12632 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12635 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12636 characters. When rounding increased number of integer digits recompute
12638 * stdio-common/tst-grouping.c: New file.
12639 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12641 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12643 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12644 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12646 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12648 * bits/select.h: Likewise.
12650 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12652 * po/ja.po: Update from translation team.
12654 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12657 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12658 implementation just like for lxstat, fxstatat, et al.
12660 2010-12-27 Jim Meyering <meyering@redhat.com>
12663 * posix/regexec.c (build_trtable): Return failure indication upon
12664 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12666 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12669 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12670 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12671 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12672 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12675 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12678 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12679 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12681 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12683 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12684 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12685 script has SORT_BY_INIT_PRIORITY.
12686 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12687 NO_CTORS_DTORS_SECTIONS is defined.
12688 * elf/soinit.c: Likewise.
12689 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12690 NO_CTORS_DTORS_SECTIONS is defined.
12691 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12692 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12693 * sysdeps/sh/init-first.c: Likewise.
12694 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12696 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12698 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12699 always use the slow path.
12701 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12703 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12704 similar rule which adds the sysdep directories to the header search in
12705 order to pick up the correct platform stackinfo.h.
12706 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12707 perform test if it is, otherwise return successfully without testing.
12708 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12709 DEFAULT_STACK_PERMS define in stackinfo.h.
12710 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12711 defined in stackinfo.h.
12712 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12713 DEFAULT_STACK_PERMS defined in stackinfo.h.
12714 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12715 * sysdeps/ia64/stackinfo.h: Likewise.
12716 * sysdeps/s390/stackinfo.h: Likewise.
12717 * sysdeps/sh/stackinfo.h: Likewise.
12718 * sysdeps/sparc/stackinfo.h: Likewise.
12719 * sysdeps/x86_64/stackinfo.h: Likewise.
12720 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12721 PF_X for powerpc64. Retain PF_X for powerpc32.
12723 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12725 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12727 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12728 GETDENTS_64BIT_ALIGNED.
12730 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12732 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12734 2010-12-10 Andreas Schwab <schwab@redhat.com>
12736 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12739 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12740 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12742 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12743 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12745 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12748 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12751 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12753 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12755 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12757 * po/it.po: Update from translation team.
12759 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12764 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12766 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12768 2010-11-24 Andreas Schwab <schwab@redhat.com>
12770 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12772 (gaih_getanswer_slice): Likewise.
12774 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12778 2010-05-31 Petr Baudis <pasky@suse.cz>
12781 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12782 silently even in the chroot mode.
12784 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12786 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12787 last patch a bit. Pretty printing
12789 2010-05-31 Petr Baudis <pasky@suse.cz>
12792 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12793 initialization of skip_initgroups_dyn.
12795 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12797 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12798 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12800 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12802 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12804 2010-11-11 Andreas Schwab <schwab@redhat.com>
12806 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12807 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12808 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12809 ($(objpfx)tst-fnmatch-mem): New rule.
12810 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12811 * posix/tst-fnmatch.c (main): Call mtrace.
12813 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12816 Support Intel processor model 6 and model 0x2c.
12818 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12820 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12823 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12826 * string/test-strncasecmp.c (check_result): New function.
12827 (do_one_test): Use it.
12828 (check1): New function.
12829 (test_main): Use it.
12830 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12831 Support strcasecmp and strncasecmp.
12833 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12836 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12837 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12839 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12841 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12845 * sysdeps/x86_64/multiarch/bzero.S: New file.
12846 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12847 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12848 * sysdeps/x86_64/multiarch/memset.S: New file.
12849 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12851 Set bit_Prefer_SSE_for_memop for Intel processors.
12852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12854 (index_Prefer_SSE_for_memop): Define.
12855 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12857 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12859 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12860 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12862 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12865 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12866 (__x86_64_raw_data_cache_size_half): Likewise.
12867 (__x86_64_raw_shared_cache_size): Likewise.
12868 (__x86_64_raw_shared_cache_size_half): Likewise.
12870 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12871 (__x86_64_raw_data_cache_size_half): Likewise.
12872 (__x86_64_raw_shared_cache_size): Likewise.
12873 (__x86_64_raw_shared_cache_size_half): Likewise.
12874 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12875 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12876 and __x86_64_raw_shared_cache_size_half. Round
12877 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12878 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12879 to multiple of 256 bytes.
12881 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12884 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12885 of inacessible symlinks. Verify result of symlink before returning it.
12886 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12887 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12889 2010-10-28 Erich Ritz <erichritz@gmail.com>
12891 * math/math.h (isinf): Fix typo in comment.
12893 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12895 * po/da.po: Update from translation team.
12897 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12899 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12900 is added to the list.
12902 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12903 Ulrich Drepper <drepper@gmail.com>
12905 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12906 the global list here. Move code to...
12907 (_dl_add_to_namespace_list): ...here. New function.
12908 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12909 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12910 * elf/dl-load.c (lose): Don't remove the element from the list.
12911 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12912 (_dl_map_object): Likewise.
12914 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12917 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12918 into all bytes of SSE register.
12919 Patch by Richard Li <richardpku@gmail.com>.
12921 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12924 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12927 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12929 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12930 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12931 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12932 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12937 2010-10-22 Andreas Schwab <schwab@redhat.com>
12939 * include/dlfcn.h (__RTLD_SECURE): Define.
12940 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12941 mode & __RTLD_SECURE instead.
12942 (open_path): Rename preloaded parameter to secure.
12943 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12944 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12945 * elf/dl-deps.c (openaux): Likewise.
12946 * elf/rtld.c (struct map_args): Remove is_preloaded.
12947 (map_doit): Don't use it.
12948 (dl_main): Likewise.
12949 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12950 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12952 2010-09-09 Andreas Schwab <schwab@redhat.com>
12954 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12955 (sysd-rules-targets): Remove duplicates.
12956 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12957 rtld-%.$o dependency.
12959 2010-10-18 Andreas Schwab <schwab@redhat.com>
12961 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12962 _dl_map_object do it.
12964 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12966 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12967 fast fma builtins, define the macros in the C99 standard.
12968 (FP_FAST_FMAF): Likewise.
12969 (FP_FAST_FMAL): Likewise.
12970 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12972 * bits/mathdef.h: Update copyright year.
12973 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12975 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12977 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12978 builtins, define the macros in the C99 standard.
12979 (FP_FAST_FMAF): Likewise.
12980 (FP_FAST_FMAL): Likewise.
12981 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12983 (FP_FAST_FMAF): Likewise.
12985 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12988 * math/libm-test.inc (fma_test): Some new testcases.
12989 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12990 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12991 y and infinite z. Do multiplication by C already in long double.
12992 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12994 y and infinite z. Do bitwise or of inexact bit into u.d.
12995 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12996 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12997 * sysdeps/i386/fpu/s_fma.S: Removed.
12998 * sysdeps/i386/fpu/s_fmal.S: Removed.
13000 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13003 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13005 computation is not scheduled after fetestexcept. Fix value
13006 of minimum denormal long double.
13008 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13011 * math/libm-test.inc (fma_test): Add some more tests.
13012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13015 2010-10-15 Andreas Schwab <schwab@redhat.com>
13017 * scripts/data/localplt-s390-linux-gnu.data: New file.
13018 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13020 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13023 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13024 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13026 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13028 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13030 if one of x and y is very large and the other is subnormal.
13031 * sysdeps/s390/fpu/s_fmaf.c: New file.
13032 * sysdeps/s390/fpu/s_fma.c: New file.
13033 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13034 * sysdeps/powerpc/fpu/s_fma.S: New file.
13035 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13036 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13037 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13039 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13042 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13044 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13045 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13046 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13047 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13048 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13049 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13052 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13055 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13056 * posix/bug-regex31.input: Add test case.
13058 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13060 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13061 * posix/bug-regex31.input: New file.
13064 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13065 (parse_sub_exp): Fix last change, use postorder.
13067 * posix/bug-regex31.c: New file.
13068 * posix/Makefile: Add rules to build and run bug-regex31.
13070 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13073 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13076 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13077 to have entries in sys_siglist.
13080 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13083 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13086 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13087 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13088 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13089 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13090 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13091 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13092 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13093 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13094 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13095 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13096 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13097 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13098 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13099 * math/ftestexcept.c (fetestexcept): Likewise.
13100 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13101 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13102 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13103 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13104 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13105 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13106 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13108 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13111 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13114 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13116 * string/bug-strstr1.c: New file.
13117 * string/Makefile: Add rules to build and run bug-strstr1.
13119 2010-10-05 Eric Blake <eblake@redhat.com>
13122 * string/str-two-way.h (two_way_long_needle): Always clear memory
13123 when skipping input due to the shift table.
13125 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13128 * malloc/mcheck.c: Handle large requests.
13131 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13132 for strncmp and strncasecmp.
13133 * string/stratcliff.c: Add tests for strcmp and strncmp.
13134 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13136 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13138 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13141 2010-09-30 Andreas Jaeger <aj@suse.de>
13143 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13144 (CGROUP_SUPER_MAGIC): Define.
13145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13146 Handle btrfs and cgroup file systems.
13147 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13150 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13152 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13153 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13155 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13158 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13159 trying to locate the ELF header.
13161 2010-09-27 Andreas Schwab <schwab@redhat.com>
13164 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13165 Mask out sign-bit copies when constructing f_fsid.
13167 2010-09-24 Petr Baudis <pasky@suse.cz>
13169 * debug/stack_chk_fail_local.c: Add missing licence exception.
13170 * debug/warning-nop.c: Likewise.
13172 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13175 implementing getdents64 using getdents syscall, set d_type if
13176 __ASSUME_GETDENTS32_D_TYPE.
13178 2010-09-16 Andreas Schwab <schwab@redhat.com>
13180 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13181 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13183 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13186 * posix/unistd.h: Undo change of feature selection for ftruncate from
13189 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13191 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13194 2010-09-20 Andreas Schwab <schwab@redhat.com>
13196 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13198 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13200 2010-09-14 Andreas Schwab <schwab@redhat.com>
13202 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13203 variables after CHECK_SP call.
13204 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13206 2010-09-13 Andreas Schwab <schwab@redhat.com>
13207 Ulrich Drepper <drepper@redhat.com>
13209 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13210 re-relocationg ld.so.
13211 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13212 _dl_init_paths call.
13213 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13216 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13218 * resolv/res_init.c (__res_vinit): Count the default server we added.
13220 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13221 Ulrich Drepper <drepper@redhat.com>
13224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13225 (____longjmp_chk): Use %ebx for saving value across system call.
13228 2010-09-06 Andreas Schwab <schwab@redhat.com>
13230 * manual/Makefile: Don't mix pattern rules with normal rules.
13232 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13234 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13236 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13237 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13238 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13239 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13243 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13246 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13247 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13249 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13251 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13252 * sysdeps/x86_64/addmul_1.S: Likewise.
13253 * sysdeps/x86_64/lshift.S: Likewise.
13254 * sysdeps/x86_64/mul_1.S: Likewise.
13255 * sysdeps/x86_64/rshift.S: Likewise.
13256 * sysdeps/x86_64/sub_n.S: Likewise.
13257 * sysdeps/x86_64/submul_1.S: Likewise.
13259 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13261 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13262 Define __sched_param instead of SCHED_* and sched_param when
13263 <bits/sched.h> is included with __need_schedparam defined.
13264 * bits/sched.h [__need_schedparam]
13265 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13266 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13267 (__defined_schedparam): Define to 1.
13268 (__sched_param): New structure, identical to sched_param.
13269 (__need_schedparam): Undefine.
13271 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13274 (epoll_create1): Declare.
13276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13278 2010-08-31 Andreas Schwab <schwab@redhat.com>
13281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13282 shifting retval into place.
13284 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13286 * nis/rpcsvc/nis.h: Update copyright notice.
13287 * nis/rpcsvc/nis.x: Likewise.
13288 * nis/rpcsvc/nis_callback.h: Likewise.
13289 * nis/rpcsvc/nis_callback.x: Likewise.
13290 * nis/rpcsvc/nis_object.x: Likewise.
13291 * nis/rpcsvc/nis_tags.h: Likewise.
13292 * nis/rpcsvc/yp.h: Likewise.
13293 * nis/rpcsvc/yp.x: Likewise.
13294 * nis/rpcsvc/ypupd.h: Likewise.
13295 * nis/yp_xdr.c: Likewise.
13296 * nis/ypupdate_xdr.c: Likewise.
13298 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13299 mainly the body of pmap_getport. Add parameters to specify timeouts.
13300 (pmap_getport): Use __libc_rpc_getport.
13301 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13302 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13303 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13305 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13310 2010-08-27 Roland McGrath <roland@redhat.com>
13312 * sysdeps/i386/i686/multiarch/Makefile
13313 (CFLAGS-varshift.c): New variable.
13315 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13317 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13318 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13322 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13324 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13326 * sysdeps/x86_64/strlen.S: Unroll the loop.
13327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13328 strlen-sse2 strlen-sse2-bsf.
13329 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13330 __strlen_no_bsf if bit_Slow_BSF is set.
13331 (__strlen_sse42): Removed.
13332 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13333 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13335 2010-08-25 Roland McGrath <roland@redhat.com>
13337 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13338 * sysdeps/x86_64/multiarch/varshift.c: New file.
13339 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13340 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13341 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13342 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13344 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13347 strlen-sse2 strlen-sse2-bsf.
13348 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13349 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13350 (__strlen_sse2): Removed.
13351 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13352 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13354 bit_Slow_BSF for Atom.
13355 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13356 (index_Slow_BSF): Define.
13357 (HAS_SLOW_BSF): Define.
13359 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13362 * resolv/res_init.c (__res_vinit): When no server address at all
13363 is given default to loopback.
13365 2010-08-24 Roland McGrath <roland@redhat.com>
13367 * configure.in: Remove config-name.h generation.
13368 * configure: Regenerated.
13369 * config-name.in: File removed.
13370 * scripts/config-uname.sh: New file.
13371 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13372 ($(objdir)config-name.h): New target.
13374 * sunrpc/rpc_parse.h: Avoid nested comment.
13376 2010-08-24 Richard Henderson <rth@redhat.com>
13377 Ulrich Drepper <drepper@redhat.com>
13378 H.J. Lu <hongjiu.lu@intel.com>
13380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13382 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13383 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13384 _mm_alignr_epi8 with _mm_loadu_si128.
13385 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13386 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13387 (__m128i_shift_right): Removed.
13388 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13389 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13390 * sysdeps/x86_64/multiarch/varshift.h: New file.
13391 * sysdeps/x86_64/multiarch/varshift.S: New file.
13393 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13395 * configure.in: Move assembler checks to before sysdep dir checking.
13397 2010-08-20 Petr Baudis <pasky@suse.cz>
13399 * LICENSES: Sync the sunrpc license.
13401 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13403 * sunrpc/auth_des.c: Update copyright notice once again.
13404 * sunrpc/auth_none.c: Likewise.
13405 * sunrpc/auth_unix.c: Likewise.
13406 * sunrpc/authdes_prot.c: Likewise.
13407 * sunrpc/authuxprot.c: Likewise.
13408 * sunrpc/bindrsvprt.c: Likewise.
13409 * sunrpc/clnt_gen.c: Likewise.
13410 * sunrpc/clnt_perr.c: Likewise.
13411 * sunrpc/clnt_raw.c: Likewise.
13412 * sunrpc/clnt_simp.c: Likewise.
13413 * sunrpc/clnt_tcp.c: Likewise.
13414 * sunrpc/clnt_udp.c: Likewise.
13415 * sunrpc/clnt_unix.c: Likewise.
13416 * sunrpc/des_crypt.c: Likewise.
13417 * sunrpc/des_soft.c: Likewise.
13418 * sunrpc/get_myaddr.c: Likewise.
13419 * sunrpc/getrpcport.c: Likewise.
13420 * sunrpc/key_call.c: Likewise.
13421 * sunrpc/key_prot.c: Likewise.
13422 * sunrpc/openchild.c: Likewise.
13423 * sunrpc/pm_getmaps.c: Likewise.
13424 * sunrpc/pm_getport.c: Likewise.
13425 * sunrpc/pmap_clnt.c: Likewise.
13426 * sunrpc/pmap_prot.c: Likewise.
13427 * sunrpc/pmap_prot2.c: Likewise.
13428 * sunrpc/pmap_rmt.c: Likewise.
13429 * sunrpc/rpc/auth.h: Likewise.
13430 * sunrpc/rpc/auth_unix.h: Likewise.
13431 * sunrpc/rpc/clnt.h: Likewise.
13432 * sunrpc/rpc/des_crypt.h: Likewise.
13433 * sunrpc/rpc/key_prot.h: Likewise.
13434 * sunrpc/rpc/netdb.h: Likewise.
13435 * sunrpc/rpc/pmap_clnt.h: Likewise.
13436 * sunrpc/rpc/pmap_prot.h: Likewise.
13437 * sunrpc/rpc/pmap_rmt.h: Likewise.
13438 * sunrpc/rpc/rpc.h: Likewise.
13439 * sunrpc/rpc/rpc_des.h: Likewise.
13440 * sunrpc/rpc/rpc_msg.h: Likewise.
13441 * sunrpc/rpc/svc.h: Likewise.
13442 * sunrpc/rpc/svc_auth.h: Likewise.
13443 * sunrpc/rpc/types.h: Likewise.
13444 * sunrpc/rpc/xdr.h: Likewise.
13445 * sunrpc/rpc_clntout.c: Likewise.
13446 * sunrpc/rpc_cmsg.c: Likewise.
13447 * sunrpc/rpc_common.c: Likewise.
13448 * sunrpc/rpc_cout.c: Likewise.
13449 * sunrpc/rpc_dtable.c: Likewise.
13450 * sunrpc/rpc_hout.c: Likewise.
13451 * sunrpc/rpc_main.c: Likewise.
13452 * sunrpc/rpc_parse.c: Likewise.
13453 * sunrpc/rpc_parse.h: Likewise.
13454 * sunrpc/rpc_prot.c: Likewise.
13455 * sunrpc/rpc_sample.c: Likewise.
13456 * sunrpc/rpc_scan.c: Likewise.
13457 * sunrpc/rpc_scan.h: Likewise.
13458 * sunrpc/rpc_svcout.c: Likewise.
13459 * sunrpc/rpc_tblout.c: Likewise.
13460 * sunrpc/rpc_util.c: Likewise.
13461 * sunrpc/rpc_util.h: Likewise.
13462 * sunrpc/rpcinfo.c: Likewise.
13463 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13464 * sunrpc/rpcsvc/key_prot.x: Likewise.
13465 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13466 * sunrpc/rpcsvc/mount.x: Likewise.
13467 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13468 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13469 * sunrpc/rpcsvc/rex.x: Likewise.
13470 * sunrpc/rpcsvc/rstat.x: Likewise.
13471 * sunrpc/rpcsvc/rusers.x: Likewise.
13472 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13473 * sunrpc/rpcsvc/spray.x: Likewise.
13474 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13475 * sunrpc/rtime.c: Likewise.
13476 * sunrpc/svc.c: Likewise.
13477 * sunrpc/svc_auth.c: Likewise.
13478 * sunrpc/svc_authux.c: Likewise.
13479 * sunrpc/svc_raw.c: Likewise.
13480 * sunrpc/svc_run.c: Likewise.
13481 * sunrpc/svc_simple.c: Likewise.
13482 * sunrpc/svc_tcp.c: Likewise.
13483 * sunrpc/svc_udp.c: Likewise.
13484 * sunrpc/svc_unix.c: Likewise.
13485 * sunrpc/svcauth_des.c: Likewise.
13486 * sunrpc/xcrypt.c: Likewise.
13487 * sunrpc/xdr.c: Likewise.
13488 * sunrpc/xdr_array.c: Likewise.
13489 * sunrpc/xdr_float.c: Likewise.
13490 * sunrpc/xdr_mem.c: Likewise.
13491 * sunrpc/xdr_rec.c: Likewise.
13492 * sunrpc/xdr_ref.c: Likewise.
13493 * sunrpc/xdr_sizeof.c: Likewise.
13494 * sunrpc/xdr_stdio.c: Likewise.
13496 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13499 2010-08-19 Andreas Schwab <schwab@redhat.com>
13501 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13503 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13505 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13506 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13507 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13508 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13509 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13510 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13511 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13512 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13513 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13514 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13515 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13516 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13517 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13518 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13520 2010-07-26 Anton Blanchard <anton@samba.org>
13522 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13523 * malloc/arena.c (heap_trim): Likewise.
13525 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13527 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13530 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13532 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13534 * sysdeps/i386/elf/Makefile: New file.
13536 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13538 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13539 from fanotify_init.
13540 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13541 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13543 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13545 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13547 * sysdeps/multiarch/strcmp.S: Likewise.
13549 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13551 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13552 strncase_l-nonascii.
13553 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13554 Add strncase_l-ssse3.
13555 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13556 * sysdeps/x86_64/strcmp.S: Likewise.
13557 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13558 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13559 * sysdeps/x86_64/strncase.S: New file.
13560 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13561 * sysdeps/x86_64/strncase_l.S: New file.
13562 * string/Makefile (strop-tests): Add strncasecmp.
13563 * string/test-strncasecmp.c: New file.
13565 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13568 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13569 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13571 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13573 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13575 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13577 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13578 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13579 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13581 2010-05-01 Alan Modra <amodra@gmail.com>
13583 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13584 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13585 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13586 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13587 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13588 tidying. Don't tail-call __sigjmp_save for static lib.
13589 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13591 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13592 (CALL_MCOUNT): Add eh info, and nop after bl.
13593 (TAIL_CALL_SYSCALL_ERROR): New macro.
13594 (PSEUDO_RET): Use it.
13595 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13596 Correct save location of integer regs and cr.
13597 (_dl_profile_resolve): Correct cr save location. Delete nops
13598 after bl when SHARED. Reduce cfi size a little by better
13599 placement of cfi directives.
13600 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13601 make a stack frame. Instead use parm save area as a temp.
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13603 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13605 Don't make a stack frame for parent, use parm save area.
13606 Increase child stack frame to 112 bytes. Don't save unused reg,
13607 and adjust reg usage. Set up cfi on error recovery and
13608 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13610 (__makecontext): Add dummy nop after jump to exit.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13612 Use correct parm save area and cr save, reduce stack frame.
13613 Correct cfi for possible PSEUDO_RET frame setup.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13615 Branch to local label emitted by PSEUDO_RET rather than
13618 2010-08-12 Andreas Schwab <schwab@redhat.com>
13621 * locale/programs/locale.c (print_assignment): New function.
13622 (show_locale_vars): Use it.
13624 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13626 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13628 (struct statfs64): Likewise.
13629 (_STATFS_F_FLAGS): Define.
13630 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13631 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13632 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13633 (ST_VALID): Define locally.
13634 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13635 __statvfs_getflags, use the provided value.
13636 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13637 __ASSUME_STATFS_F_FLAGS.
13639 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13641 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13642 Add sys/fanotify.h.
13643 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13644 fanotify_mask for GLIBC_2.13.
13645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13646 fanotify_init and fanotify_mark.
13647 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13648 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13650 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13652 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13653 prlimit64 for GLIBC_2.13.
13654 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13659 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13660 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13661 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13662 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13664 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13667 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13668 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13670 * nss/Makefile: Add rules to build and run tst-nss-test1.
13671 * shlib-versions: Add entry for libnss_test1.
13672 * nss/nss_test1.c: New file.
13673 * nss/tst-nss-test1.c: New file.
13675 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13676 (__nss_configure_lookup): Set appropriate entry in
13677 __nss_configure_lookup to true.
13678 * nss/nsswitch.h: Define enum with indeces of databases in
13679 databases and __nss_database_custom arrays. Declare
13680 __nss_database_custom.
13681 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13682 to avoid using nscd when custom rules are installed.
13683 * nss/getXXbyYY_r.c: Likewise.
13684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13686 * nss/nss_files/files-parse.c: Whitespace fixes.
13688 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13691 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13692 * posix/fnmatch_loop.c: Likewise.
13694 2010-07-17 Andi Kleen <ak@linux.intel.com>
13696 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13697 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13698 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13699 * Versions.def [GLIBC_2.13]: Add.
13701 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13703 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13704 Also fail if tpwd after pwuid call is NULL.
13706 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13708 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13709 when converting to ms.
13711 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13713 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13714 EOPNOTSUPP errors with ENOTTY.
13715 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13716 EOPNOTSUPP errors with ENOTTY.
13718 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13720 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13721 Add strcasecmp_l-ssse3.
13722 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13724 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13725 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13726 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13728 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13730 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13732 * string/Makefile (strop-tests): Add strcasecmp.
13733 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13734 strcasecmp_l-nonascii.
13735 (gen-as-const-headers): Add locale-defines.sym.
13736 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13737 * sysdeps/x86_64/strcasecmp.S: New file.
13738 * sysdeps/x86_64/strcasecmp_l.S: New file.
13739 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13740 * sysdeps/x86_64/locale-defines.sym: New file.
13741 * string/test-strcasecmp.c: New file.
13743 * string/test-strcasestr.c: Test both ends of the range of characters.
13744 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13746 2010-07-29 Roland McGrath <roland@redhat.com>
13749 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13751 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13753 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13756 2010-07-27 Andreas Schwab <schwab@redhat.com>
13758 * manual/memory.texi (Malloc Tunable Parameters): Document
13761 2010-07-26 Roland McGrath <roland@redhat.com>
13764 * configure.in (-fgnu89-inline check): Set and substitute
13765 gnu89_inline, not libc_cv_gnu89_inline.
13766 * configure: Regenerated.
13767 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13769 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13771 * string/test-strnlen.c: New file.
13772 * string/Makefile (strop-tests): Add strnlen.
13773 * string/tester.c (test_strnlen): Add a few more test cases.
13774 * string/tst-strlen.c: Better error reporting.
13776 * sysdeps/x86_64/strnlen.S: New file.
13778 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13780 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13781 lower-latency instructions.
13783 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13785 * string/test-strcasestr.c: New file.
13786 * string/test-strstr.c: New file.
13787 * string/Makefile (strop-tests): Add strstr and strcasestr.
13788 * string/str-two-way.h: Don't undefine MAX.
13789 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13791 2010-07-21 Andreas Schwab <schwab@redhat.com>
13793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13794 strcasestr-nonascii.
13795 (CFLAGS-strcasestr-nonascii.c): Define.
13796 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13797 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13798 Remove unused attribute.
13800 2010-07-20 Roland McGrath <roland@redhat.com>
13802 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13803 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13804 ld.so.cache was broken. With it, there is no way to disable dsocaps
13805 like LD_HWCAP_MASK can disable hwcaps.
13807 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13809 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13811 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13813 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13814 call in strcasestr.
13815 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13816 __strcasestr_sse42_nonascii.
13817 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13818 strcasestr-nonascii.c.
13819 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13821 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13823 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13824 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13825 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13826 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13828 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13833 2010-07-06 Andreas Schwab <schwab@redhat.com>
13836 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13839 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13841 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13842 _PC_PIPE_BUF using F_GETPIPE_SZ.
13844 2010-07-05 Roland McGrath <roland@redhat.com>
13846 * manual/arith.texi (Rounding Functions): Fix rint description
13847 implicit in round description.
13849 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13851 * elf/Makefile: Fix linking for a few tests to make recent linker
13854 2010-06-30 Andreas Schwab <schwab@redhat.com>
13856 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13857 $(common-objpfx)libc_nonshared.a.
13859 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13861 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13862 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13863 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13864 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13865 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13866 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13867 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13868 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13883 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13884 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13885 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13886 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13887 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13888 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13889 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13890 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13891 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13892 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13893 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13894 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13910 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13912 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13913 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13914 * string/memmove.c (memmove): Renamed to ...
13915 (MEMMOVE): ...this. Default to memmove.
13916 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13917 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13920 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13921 mempcpy-ssse3-back memmove-ssse3-back.
13922 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13923 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13924 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13925 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13926 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13927 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13928 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13929 * sysdeps/x86_64/multiarch/memmove.c: New file.
13930 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13931 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13932 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13933 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13934 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13935 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13937 (index_Fast_Copy_Backward): Define.
13938 (HAS_ARCH_FEATURE): Define.
13939 (HAS_FAST_REP_STRING): Define.
13940 (HAS_FAST_COPY_BACKWARD): Define.
13942 2010-06-21 Andreas Schwab <schwab@redhat.com>
13944 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13945 Restore proper fallback handling.
13947 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13950 * posix/group_member.c (__group_member): Correct checking loop.
13952 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13953 OOM in getpwuid_r correctly. Return error number when the caller
13954 should return, otherwise -1.
13955 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13956 call returning > 0 value.
13957 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13959 2010-06-07 Andreas Schwab <schwab@redhat.com>
13961 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13962 libc_nonshared.a from targets in modules-names.
13964 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13966 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13969 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13971 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13972 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13973 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13976 2010-06-02 Andreas Schwab <schwab@redhat.com>
13978 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13980 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13982 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13984 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13989 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13991 2010-06-14 Roland McGrath <roland@redhat.com>
13993 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13995 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13997 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13998 __REDIRECT followed by __THROW.
13999 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14000 * posix/getopt.h (getopt): Likewise.
14002 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14004 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14005 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14006 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14008 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14009 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14011 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14013 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14015 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14019 Properly check family and model.
14021 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14023 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14025 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14027 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14029 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14031 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14034 2010-05-19 Andreas Schwab <schwab@redhat.com>
14036 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14039 2010-05-21 Andreas Schwab <schwab@redhat.com>
14041 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14042 and internal_recvmmsg.
14043 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14044 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14045 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14046 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14048 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14049 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14050 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14052 2010-05-20 Andreas Schwab <schwab@redhat.com>
14054 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14056 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14058 POWER7 optimizations.
14059 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14060 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14062 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14064 * version.h: Update for 2.13 development version.
14066 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14068 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14069 exceptions. Return 0.
14071 2010-05-07 Roland McGrath <roland@redhat.com>
14073 * elf/ldconfig.c (main): Add a const.
14075 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14077 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14078 (args_options): Add no-idn option.
14079 (ahosts_keys_int): Add idn_flags to ai_flags.
14080 (parse_option): Handle 'i' option to clear idn_flags.
14082 * malloc/malloc.c (_int_free): Possible race in the most recently
14083 added check. Only act on the data if no current modification
14086 See ChangeLog.17 for earlier changes.