1 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3 * elf/elf.h (R_X86_64_RELATIVE64): New.
4 (R_X86_64_NUM): Updated.
5 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9 tst-quad1pie tst-quad2pie
10 (modules-names): Add tst-quadmod1 tst-quadmod2.
11 ($(objpfx)tst-quad1): New dependency.
12 ($(objpfx)tst-quad2): Likewise.
13 ($(objpfx)tst-quad1pie): Likewise.
14 ($(objpfx)tst-quad2pie): Likewise.
15 * sysdeps/x86_64/tst-quad1.c: New file.
16 * sysdeps/x86_64/tst-quad1pie.c: New file.
17 * sysdeps/x86_64/tst-quad2.c: Likewise.
18 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
27 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28 * streams/stropts.h (t_scalar_t): Define type.
30 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31 (_PATH_PRESERVE): Set to "/var/lib".
32 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38 if __dir_mkfile succeeded.
40 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41 checking for _hurd_dtablesize. Unlock it right after having
42 finished _hurd_dtable allocation.
44 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47 * sysdeps/mach/hurd/configure: Regenerated.
48 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50 * sysdeps/gnu/configure.in: ... this new file.
51 * sysdeps/unix/sysv/linux/configure: Regenerated.
52 * sysdeps/gnu/configure: New generated file.
54 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
55 for Linux: use nsec instead of usec, as well as:
56 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57 members of type struct timespec.
58 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
60 (struct stat64): Likewise.
61 (_STATBUF_ST_NSEC): New macro.
62 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65 __strtoul_internal rather than strtoul.
67 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
69 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
74 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75 which preserves existing values.
76 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
78 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
80 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
81 TIMEOUT values. Return EINVAL for NFDS values either negative or
82 greater than FD_SETSIZE.
84 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
86 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
87 allocated, call __vm_protect to finish enabling the existing space, and
88 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
89 allocate the remainder.
91 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
93 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
94 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
96 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
98 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
99 sysdeps/mach/hurd/readlink.c.
101 * posix/tst-sysconf.c (posix_options): Only use
102 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
103 _POSIX_SYNCHRONIZED_IO when they are defined
104 * sysdeps/mach/hurd/bits/posix_opt.h:
105 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
106 (_XOPEN_REALTIME): Undefine macro.
107 (_XOPEN_REALTIME_THREADS): Undefine macro.
108 (_XOPEN_SHM): Undefine macro.
109 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
111 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
113 (_POSIX_ASYNC_IO): Undefine macro.
114 (_POSIX_PRIORITIZED_IO): Undefine macro.
115 (_POSIX_SPIN_LOCKS): Define macro to -1.
117 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
118 SA_NODEFER, SA_RESETHAND.
119 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
120 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
125 * elf/Makefile (pldd-modules): Define unconditionally.
127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
129 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
131 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
133 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
134 Return ENOENT when name is empty.
135 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
137 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
139 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
141 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
143 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
145 Fix mlock in all cases except non-readable pages.
146 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
147 instead of VM_PROT_ALL as parameter to __vm_wire function.
149 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
150 (__mkdir): When path is `/', just fail with EEXIST.
151 * sysdeps/mach/hurd/mkdirat.c: Likewise.
153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
155 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
156 <sys/uio.h> (for writev).
157 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
158 and <sys/param.h> (for MIN).
160 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
162 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
163 REQUESTED_TIME. Properly set the remaining time and return EINTR
166 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
168 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
169 Depend on against $(link-rpcuserlibs).
171 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
173 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
174 (__libc_stack_end): Do not use attribute_relro.
175 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
176 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
177 to libthread-provided value.
178 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
181 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
184 * bits/libc-lock.h (__libc_once_get): New macro.
185 * sysdeps/mach/bits/libc-lock.h: Likewise.
186 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
188 instead of using implementation details.
190 * libio/fileops.c: Unconditionally include <kernel-features.h>.
191 * libio/freopen.c: Likewise.
192 * libio/freopen64.c: Likewise.
193 * misc/syslog.c: Likewise.
194 * nscd/connections.c: Likewise.
195 * nscd/netgroupcache.c: Likewise.
196 * sysdeps/posix/getcwd.c: Likewise.
198 2012-05-10 Roland McGrath <roland@hack.frob.com>
200 * math/w_ilogbf.c: Add #include <limits.h>.
202 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
204 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
205 path instead of returning without unlocking.
207 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
208 immediate-write ioctls.
209 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
213 * sysdeps/mach/hurd/i386/init-first.c (init): Use
214 __builtin_frame_address instead of making assumptions about the
215 location of the return address relative to DATA. Force early load of
217 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
218 __builtin_frame_address.
221 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
222 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
223 implement dup3 and do some further code clean-ups.
224 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
225 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
227 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
229 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
231 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
232 HURD_CRITICAL_END around holding _hurd_dtable_lock.
233 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
234 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
235 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
238 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
239 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
240 when handler == SIG_ERR, not when handler != SIG_ERR.
242 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
244 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
245 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
248 accept4 for GNU Hurd.
249 * include/sys/socket.h (__libc_accept4): New prototype.
250 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
251 to implement __libc_accept4.
252 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
254 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
256 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
257 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
258 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
263 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
265 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
267 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
268 assertion on O_CLOEXEC flag.
269 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
270 * hurd/intern-fd.c: Likewise.
271 * hurd/port2fd.c: Likewise.
273 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
276 * bits/in.h (IPV6_PKTINFO): Define new macro.
277 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
279 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
285 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
286 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
287 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
289 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
290 * math/libm-test.inc (logb_test) : Additional logb tests.
292 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
293 Andreas Jaeger <aj@suse.de>
295 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
296 * configure: Regenerated.
297 * config.h.in (LINK_OBSOLETE_RPC): New macro.
298 * config.make.in (link-obsolete-rpc): New substituted variable.
299 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
300 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
301 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
302 (shared-only-routines): Don't set it under [link-obsolete-rpc],
303 so that libc.a contains the symbols.
304 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
305 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
306 * sunrpc/auth_none.c: Likewise.
307 * sunrpc/auth_unix.c: Likewise.
308 * sunrpc/authdes_prot.c: Likewise.
309 * sunrpc/authuxprot.c: Likewise.
310 * sunrpc/clnt_gen.c: Likewise.
311 * sunrpc/clnt_perr.c: Likewise.
312 * sunrpc/clnt_raw.c: Likewise.
313 * sunrpc/clnt_simp.c: Likewise.
314 * sunrpc/clnt_tcp.c: Likewise.
315 * sunrpc/clnt_udp.c: Likewise.
316 * sunrpc/clnt_unix.c: Likewise.
317 * sunrpc/des_crypt.c: Likewise.
318 * sunrpc/des_soft.c: Likewise.
319 * sunrpc/get_myaddr.c: Likewise.
320 * sunrpc/key_call.c: Likewise.
321 * sunrpc/key_prot.c: Likewise.
322 * sunrpc/netname.c: Likewise.
323 * sunrpc/pm_getmaps.c: Likewise.
324 * sunrpc/pm_getport.c: Likewise.
325 * sunrpc/pmap_clnt.c: Likewise.
326 * sunrpc/pmap_prot.c: Likewise.
327 * sunrpc/pmap_prot2.c: Likewise.
328 * sunrpc/pmap_rmt.c: Likewise.
329 * sunrpc/publickey.c: Likewise.
330 * sunrpc/rpc_cmsg.c: Likewise.
331 * sunrpc/rpc_common.c: Likewise.
332 * sunrpc/rpc_dtable.c: Likewise.
333 * sunrpc/rpc_prot.c: Likewise.
334 * sunrpc/rpc_thread.c: Likewise.
335 * sunrpc/rtime.c: Likewise.
336 * sunrpc/svc.c: Likewise.
337 * sunrpc/svc_auth.c: Likewise.
338 * sunrpc/svc_raw.c: Likewise.
339 * sunrpc/svc_run.c: Likewise.
340 * sunrpc/svc_tcp.c: Likewise.
341 * sunrpc/svc_udp.c: Likewise.
342 * sunrpc/svc_unix.c: Likewise.
343 * sunrpc/svcauth_des.c: Likewise.
344 * sunrpc/xcrypt.c: Likewise.
345 * sunrpc/xdr.c: Likewise.
346 * sunrpc/xdr_array.c: Likewise.
347 * sunrpc/xdr_float.c: Likewise.
348 * sunrpc/xdr_intXX_t.c: Likewise.
349 * sunrpc/xdr_mem.c: Likewise.
350 * sunrpc/xdr_rec.c: Likewise.
351 * sunrpc/xdr_ref.c: Likewise.
352 * sunrpc/xdr_sizeof.c: Likewise.
353 * sunrpc/xdr_stdio.c: Likewise.
355 2012-05-10 Roland McGrath <roland@hack.frob.com>
357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
358 change. Update copyright years.
360 2012-05-10 Joseph Myers <joseph@codesourcery.com>
362 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
364 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
365 Joseph Myers <joseph@codesourcery.com>
366 Paul Pluzhnikov <ppluzhnikov@google.com>
369 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
371 [cross-compiling] (extra-libs): Likewise.
372 [cross-compiling] (extra-libs-others): Likewise.
373 [cross-compiling] (librpcsvc-routines): Likewise.
374 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
375 [cross-compiling] (omit-deps): Likewise.
376 (sunrpc-CPPFLAGS): New variable.
377 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
378 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
379 (cross-rpcgen-objs): New variable.
380 (extra-objs): Append $(cross-rpcgen-objs).
381 ($(cross-rpcgen-objs)): New rule.
382 ($(objpfx)cross-rpcgen): Likewise.
383 (rpcgen-cmd): Define to use $(built-program-file). Expand
385 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
386 ($(objpfx)x%.stmp): Likewise.
387 * sunrpc/proto.h [IS_IN_build] (_): Define.
388 [IS_IN_build] (_libc_intl_domainname): Likewise.
390 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
393 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
394 and R_X86_64_TPOFF64.
396 2012-05-10 Joseph Myers <joseph@codesourcery.com>
398 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
399 sysdeps/unix/sysv/syscalls.list.
402 * sysdeps/unix/sysv/syscalls.list: Remove file.
404 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
407 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
408 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
409 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
410 (__LC_IDENTIFICATION): Make these macros useful in #if
411 expressions, as required by C99.
413 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
415 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
416 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
419 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
421 * stdlib/longlong.h: Updated from GCC.
423 2012-05-09 Andreas Jaeger <aj@suse.de>
425 * nscd/nscd.c (run_modes): Make named enum, reorder so that
426 default is first entry.
427 (run_mode): Set type.
428 (main): Remove informal message about syslog.
432 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
439 (nearbyint): Likewise.
440 (nearbyintf): Likewise.
442 2012-05-09 Andreas Jaeger <aj@suse.de>
443 Pedro Alves <palves@redhat.com>
445 * nscd/nscd.c (run_mode): Use enum.
446 (main): Cleanup coding style issue.
448 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
449 Andreas Jaeger <aj@suse.de>
451 * nscd/nscd.c (go_background): Replaced with...
452 (run_mode): ... this.
453 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
454 (options): Add -F --foreground.
455 (main): Implement it.
456 (parse_opt): Parse it.
458 2012-05-09 Andreas Jaeger <aj@suse.de>
461 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
462 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
463 -Wconversion warning.
464 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
467 2012-05-09 Joseph Myers <joseph@codesourcery.com>
469 * conform/data/locale.h-data (NULL): Use macro-constant. Require
471 (LC_ALL): Use macro-int-constant.
472 (LC_COLLATE): Likewise.
473 (LC_CTYPE): Likewise.
474 (LC_MESSAGES): Likewise.
475 (LC_MONETARY): Likewise.
476 (LC_NUMERIC): Likewise.
478 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
479 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
481 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
483 [C99-based standards] (float_t): Expect type.
484 [C99-based standards] (double_t): Expect type.
485 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
487 [C99-based standards] (HUGE_VALL): Likewise.
488 [C99-based standards] (INFINITY): Likewise.
489 [C99-based standards] (NAN): Likewise.
490 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
491 [C99-based standards] (FP_NAN): Likewise.
492 [C99-based standards] (FP_NORMAL): Likewise.
493 [C99-based standards] (FP_SUBNORMAL): Likewise.
494 [C99-based standards] (FP_ZERO): Likewise.
495 [C99-based standards] (FP_FAST_FMA): Use
496 optional-macro-int-constant. Specify type. Require == 1.
497 [C99-based standards] (FP_FAST_FMAF): Likewise.
498 [C99-based standards] (FP_FAST_FMAL): Likewise.
499 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
500 [C99-based standards] (FP_ILOGBNAN): Likewise.
501 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
503 [C99-based standards] (MATH_ERREXCEPT): Likewise.
504 [C99-based standards] (math_errhandling): Specify type.
505 [ISO99 || ISO11] (signgam): Do not allow.
506 [non-C99-based standards] (copysignf): Do not allow.
507 [non-C99-based standards] (exp2f): Likewise.
508 [non-C99-based standards] (log2f): Likewise.
509 [non-C99-based standards] (modff): Allow.
510 [non-C99-based standards] (erff): Do not allow.
511 [non-C99-based standards] (erfcf): Likewise.
512 [non-C99-based standards] (gammaf): Likewise.
513 [non-C99-based standards] (hypotf): Likewise.
514 [non-C99-based standards] (j0f): Likewise.
515 [non-C99-based standards] (j1f): Likewise.
516 [non-C99-based standards] (jnf): Likewise.
517 [non-C99-based standards] (lgammaf): Likewise.
518 [non-C99-based standards] (tgammaf): Likewise.
519 [non-C99-based standards] (y0f): Likewise.
520 [non-C99-based standards] (y1f): Likewise.
521 [non-C99-based standards] (ynf): Likewise.
522 [non-C99-based standards] (isnanf): Likewise.
523 [non-C99-based standards] (acoshf): Likewise.
524 [non-C99-based standards] (asinhf): Likewise.
525 [non-C99-based standards] (atanhf): Likewise.
526 [non-C99-based standards] (cbrtf): Likewise.
527 [non-C99-based standards] (expm1f): Likewise.
528 [non-C99-based standards] (ilogbf): Likewise.
529 [non-C99-based standards] (log1pf): Likewise.
530 [non-C99-based standards] (logbf): Likewise.
531 [non-C99-based standards] (nextafterf): Likewise.
532 [non-C99-based standards] (remainderf): Likewise.
533 [non-C99-based standards] (rintf): Likewise.
534 [non-C99-based standards] (scalbf): Likewise.
535 [non-C99-based standards] (copysignl): Likewise.
536 [non-C99-based standards] (exp2l): Likewise.
537 [non-C99-based standards] (log2l): Likewise.
538 [non-C99-based standards] (modfl): Allow.
539 [non-C99-based standards] (erfl): Do not allow.
540 [non-C99-based standards] (erfcl): Likewise.
541 [non-C99-based standards] (gammal): Likewise.
542 [non-C99-based standards] (hypotl): Likewise.
543 [non-C99-based standards] (j0l): Likewise.
544 [non-C99-based standards] (j1l): Likewise.
545 [non-C99-based standards] (jnl): Likewise.
546 [non-C99-based standards] (lgammal): Likewise.
547 [non-C99-based standards] (tgammal): Likewise.
548 [non-C99-based standards] (y0l): Likewise.
549 [non-C99-based standards] (y1l): Likewise.
550 [non-C99-based standards] (ynl): Likewise.
551 [non-C99-based standards] (isnanl): Likewise.
552 [non-C99-based standards] (acoshl): Likewise.
553 [non-C99-based standards] (asinhl): Likewise.
554 [non-C99-based standards] (atanhl): Likewise.
555 [non-C99-based standards] (cbrtl): Likewise.
556 [non-C99-based standards] (expm1l): Likewise.
557 [non-C99-based standards] (ilogbl): Likewise.
558 [non-C99-based standards] (log1pl): Likewise.
559 [non-C99-based standards] (logbl): Likewise.
560 [non-C99-based standards] (nextafterl): Likewise.
561 [non-C99-based standards] (remainderl): Likewise.
562 [non-C99-based standards] (rintl): Likewise.
563 [non-C99-based standards] (scalbl): Likewise.
564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
565 [non-C99-based standards] (FP_*): Do not allow.
566 [C99-based standards] (FP_*): Change to
567 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
568 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
570 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
572 [X/Open-based standards] (SIG_HOLD): Likewise.
574 (SIGABRT): Use macro-int-constant. Specify type. Require
581 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
582 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
583 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
584 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
585 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
586 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
587 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
588 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
589 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
590 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
591 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
592 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
593 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
594 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
595 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
596 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
597 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
598 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
599 [X/Open-based standards] (SIGTRAP): Likewise.
600 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
601 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
602 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
603 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
604 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
607 2012-05-08 Ian Wienand <ianw@vmware.com>
610 * time/tzset.c (__tzset_parse_tz): Update default rules for
611 daylight time changes in the Energy Policy Act of 2005.
613 2012-05-09 Andreas Jaeger <aj@suse.de>
616 * elf/ldconfig.c (parse_conf): Change string to make clear that
617 ldconfig only issued a warning if ld.so.conf does not exist.
619 2012-05-08 David S. Miller <davem@davemloft.net>
621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
622 movxtod instead of popping the value on the stack.
624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
626 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
628 * config.h.in: Add HAVE_ARM_PCS_VFP.
630 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
633 * include/features.h: Warn if user requests __FORTIFY_SOURCE
634 checking but the checks are disabled for any reason.
636 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
638 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
639 and ELF64_R_TYPE with ELFW(R_TYPE).
641 2012-05-08 Joseph Myers <joseph@codesourcery.com>
643 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
646 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
647 (settimeofday): Likewise.
649 2012-05-08 Mike Frysinger <vapier@gentoo.org>
651 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
652 a struct th_u2 inside the union, and move tu_block/tu_code into
653 a new th_u3 union of tu_block/tu_code inside of that. Move
654 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
655 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
656 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
657 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
658 (th_stuff): Change to th_u1.tu_stuff.
660 (th_msg): Change to th_u1.th_u2.tu_data.
662 2012-05-07 David S. Miller <davem@davemloft.net>
664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
667 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
668 (SETUP_PIC_REG): Use it.
669 (SETUP_PIC_REG_LEAF): Use it.
671 2012-05-07 Joseph Myers <joseph@codesourcery.com>
675 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
677 (EXPL_FINITE): Likewise.
679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
680 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
682 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
684 (EXPL_FINITE): Likewise.
686 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
687 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
689 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
690 test of -max_value argument for long double.
691 * sysdeps/i386/fpu/libm-test-ulps: Update.
692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
694 2012-05-06 David S. Miller <davem@davemloft.net>
696 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
697 quad soft-float symbols whose references which are compiler
699 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
701 2012-05-06 Joseph Myers <joseph@codesourcery.com>
705 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
707 (EXPL_FINITE): Likewise.
711 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
712 Adjust comments for base varying.
713 (__expl_finite): Change alias to EXPL_FINITE.
714 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
716 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
717 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
718 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
719 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
720 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
722 (EXPL_FINITE): Likewise.
726 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
727 Adjust comments for base varying.
728 (__expl_finite): Change alias to EXPL_FINITE.
729 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
734 * math/libm-test.inc (check_float_internal): Correct ulp
735 calculation for subnormal expected results.
737 2012-05-06 Andreas Jaeger <aj@suse.de>
739 * Makeconfig (+math-flags): New, set to -frounding-math.
740 (+cflags): Add +math-flags so that all of glibc gets compiled with
743 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
745 2012-05-05 Joseph Myers <joseph@codesourcery.com>
747 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
753 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
754 (__ieee754_expl): Allow for and saturate large arguments.
755 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
756 (u_threshold): Likewise.
757 (__exp): Call __ieee754_exp before checking for overflow and
759 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
760 (u_threshold): Likewise.
761 (__expf): Call __ieee754_expf before checking for overflow and
763 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
764 (u_threshold): Likewise.
765 (__expl): Call __ieee754_expl before checking for overflow and
767 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
768 (__ieee754_expl): Allow for and saturate large arguments.
769 * math/libm-test.inc (exp_test): Add another test. Do not allow
770 missing overflow exception on overflow.
771 (expm1_test): Do not allow missing overflow exception on overflow.
773 * sysdeps/i386/fpu/e_expl.c: Move to ...
774 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
775 rather than using inline asm.
776 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
777 * sysdeps/x86_64/fpu/e_expl.S: Copy from
778 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
780 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
787 2012-05-04 Joseph Myers <joseph@codesourcery.com>
789 * sysdeps/unix/syscalls.list (adjtime): Add entry from
790 sysdeps/unix/common/syscalls.list.
793 (ftruncate): Likewise.
794 (getrusage): Likewise.
795 (gettimeofday): Likewise.
797 (setregid): Likewise.
798 (setreuid): Likewise.
799 (sigaction): Likewise.
800 (truncate): Likewise.
802 * sysdeps/unix/common/syscalls.list: Remove file.
803 * sysdeps/unix/bsd/Implies: Don't include unix/common.
804 * sysdeps/unix/sysv/linux/Implies: Likewise.
806 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
808 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
810 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
814 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
817 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
820 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
823 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
826 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
829 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
832 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
836 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
840 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
843 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
847 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
851 2012-05-04 Joseph Myers <joseph@codesourcery.com>
853 * sysdeps/unix/common/bits/dirent.h: Remove file.
854 * sysdeps/unix/common/bits/fcntl.h: Likewise.
856 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
857 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
858 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
859 * sysdeps/unix/bsd/isatty.c: Likewise.
860 * sysdeps/unix/bsd/tcdrain.c: Likewise.
861 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
862 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
864 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
867 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
868 long double comparison inaccuracies.
869 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
872 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
874 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
875 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
877 2012-05-04 Joseph Myers <joseph@codesourcery.com>
880 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
881 nonzero digits before rounding a hex value.
882 * stdlib/tst-strtod.c (tests): Add another test.
884 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
886 * sysdeps/s390/fpu/libm-test-ulps: Update.
888 2012-05-03 Andreas Jaeger <aj@suse.de>
890 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
891 does not get optimized out.
892 (malloc_opt_barrier): New.
894 2012-05-03 Andreas Jaeger <aj@suse.de>
895 Roland McGrath <roland@hack.frob.com>
897 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
898 intermediate file deletion.
899 (generated): Add .symlist files.
901 2012-05-03 Joseph Myers <joseph@codesourcery.com>
904 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
905 Redirect under this condition.
906 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
907 [__USE_GNU] (__dprintf_chk): Not under this condition.
908 [__USE_GNU] (__vdprintf_chk): Likewise.
909 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
910 under this condition.
911 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
912 [__USE_XOPEN2K8] (dprintf): Define under this condition.
913 [__USE_XOPEN2K8] (vdprintf): Likewise.
914 [__USE_GNU] (__dprintf_chk): Not under this condition.
915 [__USE_GNU] (__vdprintf_chk): Likewise.
916 [__USE_GNU] (dprintf): Likewise.
917 [__USE_GNU] (vdprintf): Likewise.
919 2012-05-03 Roland McGrath <roland@hack.frob.com>
921 * elf/Makefile (common-generated): Set this instead of generated for
922 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
923 $(all-built-dso)-derived lists.
925 2012-05-03 Andreas Jaeger <aj@suse.de>
927 * sysdeps/i386/fpu/libm-test-ulps: Update.
931 * scripts/gen-FAQ.pl: Likewise.
932 * manual/install.texi (Installation): Point to online location of
934 * Makefile (files-for-dist): Remove FAQ.
937 2012-05-02 Allan McRae <allan@archlinux.org>
939 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
940 (LDFLAGS-reldepmod5.so): Likewise.
941 (LDFLAGS-reldep6mod1.so): Likewise.
942 (LDFLAGS-reldep6mod4.so): Likewise.
943 (LDFLAGS-reldep8mod3.so): Likewise.
944 (LDFLAGS-unload4mod1.so): Likewise.
945 (LDFLAGS-unload4mod2.so): Likewise.
946 (LDFLAGS-tst-initorder): Likewise.
947 (LDFLAGS-tst-initordera2.so): Likewise.
948 (LDFLAGS-tst-initordera3.so): Likewise.
949 (LDFLAGS-tst-initordera4.so): Likewise.
950 (LDFLAGS-tst-initorderb2.so): Likewise.
951 (LDFLAGS-noload): Likewise.
952 (LDFLAGS-next): Likewise.
953 (LDFLAGS-order2mod1.so): Likewise.
954 (LDFLAGS-order2mod2.so): Likewise.
955 (LDFLAGS-tst-initorder2): Likewise.
956 (LDFLAGS-tst-initorder2a.so): Likewise.
957 (LDFLAGS-tst-initorder2b.so): Likewise.
958 (LDFLAGS-tst-initorder2c.so): Likewise.
959 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
961 2012-05-02 David S. Miller <davem@davemloft.net>
963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
965 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
968 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
970 2012-05-02 Andreas Jaeger <aj@suse.de>
972 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
973 since we manipulate rounding mode.
974 (CPPFLAGS-test-idouble.c): Likewise.
975 (CPPFLAGS-test-ifloat.c): Likewise.
976 (CFLAGS-test-ldouble.c): Likewise.
977 (CFLAGS-test-double.c): Likewise.
978 (CFLAGS-test-float.c): Likewise.
979 (CFLAGS-test-misc.c): Likewise.
980 (CFLAGS-test-test-fenv.c): Likewise.
982 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
987 comparisons to determine direction to adjust input.
989 2012-05-01 Roland McGrath <roland@hack.frob.com>
991 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
992 output to the target.
994 * scripts/localplt.awk: New file.
995 * elf/Makefile ($(objpfx)check-localplt): Target removed.
996 (check-localplt-CFLAGS): Variable removed.
997 ($(all-built-dso:=.jmprel)): New static pattern rule.
998 (generated): Add those targets.
999 (localplt-built-dso): New variable.
1000 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1002 * elf/check-localplt.c: File removed.
1004 * scripts/check-execstack.awk: New file.
1005 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1006 (check-execstack-CFLAGS): Variable removed.
1007 ($(objpfx)check-execstack.h): Target removed.
1008 ($(objpfx)execstack-default): New target.
1009 (generated): Add that instead of check-execstack.h.
1010 ($(all-built-dso:=.phdr)): New static pattern rule.
1011 (generated): Add those targets.
1012 * elf/check-execstack.c: File removed.
1014 * scripts/check-textrel.awk: New file.
1015 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1016 (check-textrel-CFLAGS): Variable removed.
1017 (all-built-dso): Use := to define.o
1018 ($(all-built-dso:=.dyn)): New static pattern rule.
1019 (generated): Add those targets.
1020 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1021 * config.make.in (READELF): New substituted variable.
1022 * elf/check-textrel.c: File removed.
1024 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1026 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1028 * conform/data/ctype.h-data [C99-based standards] (isblank):
1030 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1031 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1033 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1034 Specify type. Require positive value.
1037 [ISO || POSIX] (EILSEQ): Do not expect.
1038 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1039 Specify type. Require positive value.
1040 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1041 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1042 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1043 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1044 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1045 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1046 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1047 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1048 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1049 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1050 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1051 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1052 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1053 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1054 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1055 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1056 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1057 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1058 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1059 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1060 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1061 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1062 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1063 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1064 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1065 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1066 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1067 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1068 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1069 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1070 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1071 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1072 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1073 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1074 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1075 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1076 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1077 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1078 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1079 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1080 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1081 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1082 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1083 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1084 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1085 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1086 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1087 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1088 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1089 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1090 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1091 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1092 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1093 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1098 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1114 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1115 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1116 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1118 (FLT_ROUNDS): Expect as macro, not constant.
1119 (FLT_MANT_DIG): Use macro-int-constant.
1120 (DBL_MANT_DIG): Likewise.
1121 (LDBL_MANT_DIG): Likewise.
1122 (FLT_DIG): Likewise.
1123 (DBL_DIG): Likewise.
1124 (LDBL_DIG): Likewise.
1125 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1126 (DBL_MIN_EXP): Likewise.
1127 (LDBL_MIN_EXP): Likewise.
1128 (FLT_MAX_EXP): Use macro-int-constant.
1129 (DBL_MAX_EXP): Likewise.
1130 (LDBL_MAX_EXP): Likewise.
1131 (FLT_MAX_10_EXP): Likewise.
1132 (DBL_MAX_10_EXP): Likewise.
1133 (LDBL_MAX_10_EXP): Likewise.
1134 (FLT_MAX): Use macro-constant.
1135 (DBL_MAX): Likewise.
1136 (LDBL_MAX): Likewise.
1137 (FLT_EPSILON): Use macro-constant. Give upper bound.
1138 (DBL_EPSILON): Likewise.
1139 (LDBL_EPSILON): Likewise.
1140 (FLT_MIN): Likewise.
1141 (DBL_MIN): Likewise.
1142 (LDBL_MIN): Likewise.
1143 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1144 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1145 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1146 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1147 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1148 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1149 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1150 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1151 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1152 [ISO11] (FLT_TRUE_MIN): Likewise.
1153 [ISO11] (LDBL_TRUE_MIN): Likewise.
1154 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1155 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1156 (SCHAR_MIN): Use macro-int-constant. Specify type.
1157 (SCHAR_MAX): Likewise.
1158 (UCHAR_MAX): Likewise.
1159 (CHAR_MIN): Likewise.
1160 (CHAR_MAX): Likewise.
1161 (MB_LEN_MAX): Use macro-int-constant.
1162 (SHRT_MIN): Use macro-int-constant. Specify type.
1163 (SHRT_MAX): Likewise.
1164 (USHRT_MAX): Likewise.
1165 (INT_MAX): Likewise.
1166 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1168 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1170 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1172 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1173 bound negative. Suffix upper bound with "L".
1174 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1176 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1178 [C99-based standards] (LLONG_MAX): Likewise.
1179 [C99-based standards] (ULLONG_MAX): Likewise.
1180 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1182 [ISO11] (max_align_t): Require type.
1183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1185 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1186 from $CFLAGS, without defining away __attribute__ calls.
1187 (checknamespace): Use $CFLAGS_namespace.
1189 * conform/conformtest.pl (@keywords): Only include C99 keywords
1190 for standards based on C99 or C11.
1192 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1194 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1197 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1198 usability of symbols in #if.
1200 * conform/conformtest.pl: If macro or constant types start
1201 "promoted:", expect the symbol to be of the following type
1202 promoted by the integer promotions.
1204 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1205 in one place. Also handle "macro-constant".
1207 * conform/conformtest.pl: Only accept expected macro values with
1208 "==". Parse all "macro" lines in one place.
1209 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1211 * conform/conformtest.pl: Handle braced types on "constant" lines
1212 instead of handling "typed-constant".
1213 * conform/data/signal.h-data: Use "constant" instead of
1216 * conform/conformtest.pl: Handle "optional-" at start of lines in
1217 one place rather than duplicating several cases. Handle each
1218 format of "macro" line with initial "optional-".
1220 * conform/conformtest.pl: Only accept expected constant or
1221 optional-constant values with "==". Parse all "constant" lines in
1222 one place. Parse all "optional-constant" lines in one place.
1223 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1224 * conform/data/fmtmsg.h-data: Likewise.
1225 * conform/data/netinet/in.h-data: Likewise.
1226 * conform/data/tar.h-data: Likewise.
1227 * conform/data/limits.h-data: Use "==" form on "constant" and
1228 "optional-constant" lines.
1230 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1231 Use -std=c99 for XOPEN2K.
1232 (@knownproblems): Remove.
1233 (newtoken): Don't check %isknown.
1235 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1236 Do not expect macro.
1237 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1249 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1250 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1267 [XPG3] (acosh): Likewise.
1268 [XPG3] (asinh): Likewise.
1269 [XPG3] (atanh): Likewise.
1270 [XPG3] (cbrt): Likewise.
1271 [XPG3] (expm1): Likewise.
1272 [XPG3] (ilogb): Likewise.
1273 [XPG3] (log1p): Likewise.
1274 [XPG3] (logb): Likewise.
1275 [XPG3] (nextafter): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1278 [XPG3] (remainder): Likewise.
1279 [XPG3] (rint): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1287 [UNIX98 || XOPEN2K] (scalb): Expect.
1288 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1289 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1426 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1427 _XOPEN_SOURCE_EXTENDED for XPG4.
1429 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1431 * Makeconfig (localtime): Remove variable.
1432 (inst_localtime-file): Likewise.
1434 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1455 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1459 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1460 comparisons to determine direction to adjust input.
1461 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1462 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1465 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1467 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1469 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1470 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1472 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1474 * math/libm-test.inc (nexttoward_test): Add more tests.
1476 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1480 in version GLIBC_2.1, not GLIBC_2.0.
1481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1484 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1487 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1489 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1490 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1491 * math/libm-test.inc (acos_test): Add more tests.
1492 (asin_test): Likewise.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1497 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1499 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1500 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1501 * math/libm-test.inc (acos_test_tonearest): New function.
1502 (acos_test_towardzero): Likewise.
1503 (acos_test_downward): Likewise.
1504 (acos_test_upward): Likewise.
1505 (asin_test_tonearest): Likewise.
1506 (asin_test_towardzero): Likewise.
1507 (asin_test_downward): Likewise.
1508 (asin_test_upward): Likewise.
1509 (main): Call the new functions.
1510 * sysdeps/i386/fpu/libm-test-ulps: Update.
1511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1515 * math/e_exp10.c: Include <float.h>.
1516 (__ieee754_exp10): Handle underflow here rather than multiplying
1517 large negative argument by M_LN10.
1518 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1520 * math/e_exp10l.c: Include <float.h>.
1521 (__ieee754_exp10l): Handle underflow here rather than multiplying
1522 large negative argument by M_LN10l.
1523 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1524 spurious overflow exception on underflow.
1526 2012-04-29 Marek Polacek <polacek@redhat.com>
1528 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1529 (__fortify_function): New macro.
1530 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1531 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1532 __extern_always_inline.
1533 * libio/bits/stdio2.h: Likewise.
1534 * libio/bits/stdio.h: Likewise.
1535 * string/string.h: Likewise.
1536 * string/bits/string3.h: Likewise.
1537 * include/stdio.h: Likewise.
1538 * stdlib/bits/stdlib.h: Likewise.
1539 * stdlib/stdlib.h: Likewise.
1540 * rt/bits/mqueue2.h: Likewise.
1541 * rt/mqueue.h: Likewise.
1542 * posix/bits/unistd.h: Likewise.
1543 * posix/unistd.h: Likewise.
1544 * io/bits/poll2.h: Likewise.
1545 * io/bits/fcntl2.h: Likewise.
1546 * io/fcntl.h: Likewise.
1547 * io/sys/poll.h: Likewise.
1548 * misc/bits/syslog.h: Likewise.
1549 * misc/bits/syslog-ldbl.h: Likewise.
1550 * misc/sys/syslog.h: Likewise.
1551 * socket/bits/socket2.h: Likewise.
1552 * socket/sys/socket.h: Likewise.
1553 * debug/tst-chk1.c: Likewise.
1554 * wcsmbs/bits/wchar2.h: Likewise.
1555 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1556 * wcsmbs/wchar.h: Likewise.
1558 2012-04-29 Andreas Jaeger <aj@suse.de>
1560 * Makerules (tests): Remove enable-check-abi protection.
1561 (check-abi-warn): Remove.
1562 (check-abi-%): Remove check-abi-warn usage.
1564 * configure.in: Remove check-abi configure option.
1565 * configure: Regenerated.
1566 * config.make.in (enable-check-abi): Remove.
1568 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1571 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1572 double functions to double *_finite functions.
1575 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1576 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1578 * stdio-common/Makefile (tests): Add tst-sprintf3.
1579 * stdio-common/tst-sprintf3.c: New file.
1581 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1582 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1584 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1586 * conform/conformtest.pl: Remove duplicate typed-constant
1589 2012-04-28 David S. Miller <davem@davemloft.net>
1591 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1592 (check-abi-%): Remove AWK script prerequisite and explicit
1594 (check-abi): Rewrite to just diff the symlist with the abilist.
1595 (config-tls, config-abi-config): Delete, no longer used.
1596 (update-abi-%): Remove AWK script and explicit abilist directory.
1597 (update-abi): Rewrite to simply compare and conditionally copy the
1598 symlist and the sysdep abilist file. Remove update-abi-config
1600 * abilist/ld.abilist: Remove.
1601 * abilist/libBrokenLocale.abilist: Remove.
1602 * abilist/libanl.abilist: Remove.
1603 * abilist/libcrypt.abilist: Remove.
1604 * abilist/libdl.abilist: Remove.
1605 * abilist/librt.abilist: Remove.
1606 * abilist/libthread_db.abilist: Remove.
1607 * abilist/libutil.abilist: Remove.
1608 * scripts/extract-abilist.awk: Remove.
1609 * scripts/merge-abilist.awk: Remove.
1610 * sysdeps/generic/libcidn.abilist: New file.
1611 * sysdeps/generic/libnss_compat.abilist: New file.
1612 * sysdeps/generic/libnss_db.abilist: New file.
1613 * sysdeps/generic/libnss_dns.abilist: New file.
1614 * sysdeps/generic/libnss_files.abilist: New file.
1615 * sysdeps/generic/libnss_hesiod.abilist: New file.
1616 * sysdeps/generic/libnss_nis.abilist: New file.
1617 * sysdeps/generic/libnss_nisplus.abilist: New file.
1618 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1619 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1620 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1622 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1623 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1624 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1625 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1626 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1627 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1628 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1629 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1630 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1632 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1633 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1634 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1635 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1637 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1638 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1639 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1640 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1641 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1642 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1644 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1645 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1646 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1648 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1751 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1752 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1753 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1755 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1756 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1757 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1758 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1759 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1760 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1761 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1762 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1763 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1764 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1816 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1818 * conform/conformtest.pl: Fix typo in handling typed-constant from
1821 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1823 * README: Cut down references to pre-2.6 Linux kernels and
1824 Linuxthreads. Update lists of configurations in libc and ports
1825 and sort alphabetically. Say "or newer" with Linux kernel version
1828 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1830 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1833 * math/libm-test.inc (logb_test_downward): New test to expose
1834 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1837 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1840 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1842 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1843 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1845 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1847 * sysdeps/unix/i386/brk.S: Remove file.
1848 * sysdeps/unix/i386/dl-brk.S: Likewise.
1849 * sysdeps/unix/i386/pipe.S: Likewise.
1850 * sysdeps/unix/i386/sigreturn.S: Likewise.
1851 * sysdeps/unix/i386/syscall.S: Likewise.
1852 * sysdeps/unix/i386/vfork.S: Likewise.
1853 * sysdeps/unix/i386/wait.S: Likewise.
1855 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1856 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1858 * configure.in (arm*-none*): Do not allow without
1859 --enable-hacker-mode.
1860 (netbsd*): Remove case setting base_os.
1861 (386bsd*): Likewise.
1862 (freebsd*): Likewise.
1866 (ultrix*): Likewise.
1867 (newsos*): Likewise.
1877 (solaris[2-9]*): Likewise.
1879 * configure: Regenerated.
1881 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1884 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1885 overflow or cancellation in calculating denominator.
1886 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1888 down expression to avoid unexpected rounding in newer GCCs.
1889 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1891 2012-04-26 David S. Miller <davem@davemloft.net>
1893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1894 long-double compat symbols.
1895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1909 2012-04-25 David S. Miller <davem@davemloft.net>
1911 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1912 HWCAP_* values only after the memory barriers have been defined.
1913 (atomic_full_barrier): Define.
1914 (atomic_read_barrier): Define.
1915 (atomic_write_barrier): Define.
1917 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1919 * shlib-versions: Add libgcc_s version information.
1920 * sysdeps/generic/libgcc_s.h: Remove.
1921 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1923 * sysdeps/gnu/unwind-resume.c: Likewise.
1924 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1926 2012-04-25 David S. Miller <davem@davemloft.net>
1928 * sysdeps/unix/sparc/brk.S: Delete.
1929 * sysdeps/unix/sparc/dl-brk.S: Delete.
1930 * sysdeps/unix/sparc/pipe.S: Delete.
1931 * sysdeps/unix/sparc/sysdep.S: Delete.
1932 * sysdeps/unix/sparc/sysdep.h: Delete.
1933 * sysdeps/unix/sparc/vfork.S: Delete.
1934 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1935 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1937 ret_ERRVAL, r0, r1, MOVE): Define.
1938 (JUMPTARGET): Remove.
1939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1940 sysdeps/unix/sparc/sysdep.h
1941 (ENTRY, END): Remove.
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1944 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1946 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1947 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1950 * timezone/README: Update upstream location and email address for
1952 * timezone/zdump.c: Update from tzcode 2012b.
1953 * timezone/zic.c: Likewise.
1955 * configure.in (libc_cv_as_needed): Remove test.
1956 * configure: Regenerated.
1957 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1958 conditional definition.
1959 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1960 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1961 * config.make.in (have-as-needed): Remove variable.
1963 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1964 Paul Pluzhnikov <ppluzhnikov@google.com>
1966 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1969 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1971 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1972 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1973 * sysdeps/sh/strlen.S: Likewise.
1975 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1977 * sysdeps/unix/fork.S: Remove file.
1978 * sysdeps/unix/i386/fork.S: Likewise.
1979 * sysdeps/unix/sparc/fork.S: Likewise.
1981 * sysdeps/unix/system.c: Remove file.
1982 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1984 * sysdeps/unix/getegid.S: Remove file.
1985 * sysdeps/unix/geteuid.S: Likewise.
1987 2012-04-24 Roland McGrath <roland@hack.frob.com>
1989 * scripts/check-localplt.awk: New file.
1990 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1992 * scripts/data/localplt-generic.data: Add a comment.
1994 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1995 NODE when __dir_mkfile failed.
1996 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1997 Reported by Ludovic Courtès <ludo@gnu.org>.
1999 2012-04-24 Andreas Jaeger <aj@suse.de>
2001 * Makerules (common-clean): Also remove gen-as-const-headers
2004 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2006 * Makerules (native-compile): Do not change working directory for
2007 build. Use $(OUTPUT_OPTION) in command.
2008 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2010 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2014 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2015 * math/libm-test.inc (floor_test): Add more tests.
2016 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2018 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2020 * sysdeps/unix/getdents.c: Remove file.
2021 * sysdeps/unix/sysv/getdents.c: Likewise.
2022 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2024 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2025 sysdeps/unix/mman/syscalls.list.
2027 (mprotect): Likewise.
2030 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2031 * sysdeps/unix/mman/syscalls.list: Remove.
2032 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2034 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2035 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2036 * configure: Regenerated.
2037 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2039 * config.make.in (libgcc_s_suffix): Remove variable.
2041 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2043 * sysdeps/unix/sysv/gethostname.c: Move to ...
2044 * sysdeps/posix/gethostname.c: ... here.
2046 * sysdeps/unix/execve.S: Remove file.
2048 * sysdeps/unix/_exit.S: Remove file.
2050 2012-04-23 Andreas Jaeger <aj@suse.de>
2053 * manual/Makefile: Remove make dist support, there's no
2054 need for a stand-alone documentation tar ball.
2055 (TEXI2DVI): Define always, it's not in Makeconfig.
2059 (glibc-doc-$(edition).tar): Removed
2063 (ETAGS): Remove, it's in Makeconfig.
2064 (move-if-change): Remove, it's in Makeconfig.
2066 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2069 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2070 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2071 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2072 (strtod_l, strtof_l, strtold_l): Remove __wur.
2073 It is not necessarily an error to ignore strtol's return value.
2074 One can reliably look at the stored endptr to decide whether
2075 the number had valid syntax.
2077 2012-04-21 Andreas Jaeger <aj@suse.de>
2080 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2082 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2084 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2085 * sysdeps/unix/sysv/Versions: Remove file.
2087 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2092 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2095 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2096 version from __vm86.
2098 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2100 * sysdeps/unix/common/lxstat.c: Remove file.
2101 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2103 * sysdeps/unix/sysv/Makefile: Remove file.
2105 * sysdeps/unix/sysv/direct.h: Remove file.
2107 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2108 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2109 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2110 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2111 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2112 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2113 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2115 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2117 * sysdeps/unix/xmknod.c: Remove file.
2118 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2120 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2122 * sysdeps/unix/sysv/i386/time.S: Remove file.
2124 * sysdeps/unix/fxstat.c: Remove file.
2125 * sysdeps/unix/xstat.c: Likewise.
2126 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2128 * sysdeps/unix/sysv/sigaction.c: Remove file.
2130 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2131 (sysdep_headers): Remove variable.
2132 [termio.h not in sysdep_headers] (generated): Likewise.
2133 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2134 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2135 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2136 * sysdeps/unix/sysv/tcflow.c: Likewise.
2137 * sysdeps/unix/sysv/tcflush.c: Likewise.
2138 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2139 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2140 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2141 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2142 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2144 * sysdeps/unix/siglist.c: Remove file.
2146 * sysdeps/unix/getppid.S: Remove file.
2148 * sysdeps/unix/mkdir.c: Remove file.
2149 * sysdeps/unix/rmdir.c: Likewise.
2151 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2153 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2155 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2156 errlist-compat value.
2158 2012-04-18 David S. Miller <davem@davemloft.net>
2160 * sysdeps/generic/memcopy.h (reg_char): Delete.
2161 * debug/strcat_chk.c: Use char, not reg_char.
2162 * debug/strcpy_chk.c: Likewise.
2163 * debug/strncat_chk.c: Likewise.
2164 * debug/strncpy_chk.c: Likewise.
2165 * string/memchr.c: Likewise.
2166 * string/memrchr.c: Likewise.
2167 * string/rawmemchr.c: Likewise.
2168 * string/strcat.c: Likewise.
2169 * string/strchr.c: Likewise.
2170 * string/strchrnul.c: Likewise.
2171 * string/strcmp.c: Likewise.
2172 * string/strcpy.c: Likewise.
2173 * string/strncat.c: Likewise.
2174 * string/strncmp.c: Likewise.
2175 * string/strncpy.c: Likewise.
2177 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2179 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2180 __builtin_memcopy is called when src and dest ranges are known to not
2183 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2185 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2186 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2187 fwd_align_merge macro call.
2188 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2189 bwd_align_merge macro call.
2190 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2192 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2195 bwd_align_merge macros.
2196 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2197 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2198 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2200 2012-04-18 David S. Miller <davem@davemloft.net>
2202 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2204 2012-04-18 Andreas Jaeger <aj@suse.de>
2207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2208 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2209 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2211 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2212 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2213 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2215 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2216 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2217 Adjust for changed ldbl-128 files.
2219 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2220 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2221 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2223 2012-04-17 David S. Miller <davem@davemloft.net>
2225 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2227 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2229 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2230 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2231 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2232 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2233 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2234 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2236 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2240 * math/libm-test.inc: Add ilogb errno and exception tests.
2241 * math/w_ilogb.c: New file: ilogb wrapper.
2242 * math/w_ilogbf.c: New file: ilogbf wrapper.
2243 * math/w_ilogbl.c: New file: ilogbl wrapper.
2244 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2245 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2246 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2247 exception being thrown with 0.0 as argument.
2248 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2249 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2250 exception being thrown with 0.0 as argument.
2251 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2252 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2253 exception being thrown with 0.0 as argument.
2254 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2255 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2256 exception being thrown with 0.0 as argument.
2257 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2258 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2259 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2260 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2261 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2262 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2263 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2264 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2265 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2267 2012-04-17 Petr Baudis <pasky@ucw.cz>
2269 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2272 2012-04-16 Marek Polacek <polacek@redhat.com>
2274 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2276 2012-04-16 Marek Polacek <polacek@redhat.com>
2278 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2279 operands of fdivp instruction.
2281 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2283 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2284 * elf/tst-auditmod3b.c: Likewise.
2285 * elf/tst-auditmod4b.c: Likewise.
2286 * elf/tst-auditmod5b.c: Likewise.
2287 * elf/tst-auditmod6b.c: Likewise.
2288 * elf/tst-auditmod6c.c: Likewise.
2289 * elf/tst-auditmod7b.c: Likewise.
2290 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2291 * sysdeps/x86_64/preconfigure.in: Likewise.
2292 * sysdeps/x86_64/preconfigure: Regenerated.
2294 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2296 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2299 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2302 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2304 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2307 * locale/iso-639.def: Fix gl language name. Spotted by
2310 2012-04-12 Roland McGrath <roland@hack.frob.com>
2313 * libio/libio.h (__io_write_fn): Update comment.
2315 2012-04-12 Petr Baudis <pasky@ucw.cz>
2318 * stdio.texi (Hook Functions): The user provided writer function
2319 is not allowed to return -1.
2321 2012-04-11 David S. Miller <davem@davemloft.net>
2323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2325 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2327 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2328 Add a leading slash to rtkaio.
2330 2012-04-11 Jim Meyering <meyering@redhat.com>
2333 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2334 It is not necessarily an error to ignore fwrite's return
2335 value. One can reliably use ferror to test for errors after
2338 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2340 * bits/types.h (__snseconds_t): New type.
2341 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2343 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2345 (__SNSECONDS_T_TYPE): Likewise.
2346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2347 (__SNSECONDS_T_TYPE): Likewise.
2348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2349 (__SNSECONDS_T_TYPE): Likewise.
2351 2012-04-10 Andreas Jaeger <aj@suse.de>
2354 * manual/time.texi (Processor Time): Return type of times is
2355 elapsed real time since an arbitrary point in the past.
2356 (CPU Time): Move CLK_TCK from here...
2357 (Processor Time): ...to here. Correct description.
2358 * manual/conf.texi (Constants for Sysconf): Correct description of
2361 2012-04-10 David S. Miller <davem@davemloft.net>
2364 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2365 where the is a gap between DT_REL(A) and DT_JMPREL.
2367 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2369 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2370 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2371 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2373 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2375 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2376 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2377 (dl_main): Handle --inhibit-cache.
2378 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2380 * elf/dl-load.c (_dl_map_object): Use it.
2381 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2383 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2386 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2387 (__ieee754_powl): Saturate large exponents rather than testing for
2388 overflow of y*log2(x).
2389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2390 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2394 * math/s_ctan.c: Include <float.h>.
2395 (__ctan): Avoid internal overflow or cancellation in calculating
2397 * math/s_ctanf.c: Likewise.
2398 * math/s_ctanl.c: Likewise.
2399 * math/s_ctanh.c: Likewise.
2400 * math/s_ctanhf.c: Likewise.
2401 * math/s_ctanhl.c: Likewise.
2402 * math/libm-test.inc (ctan_test): Add more tests.
2403 (ctanh_test): Likewise.
2404 * sysdeps/i386/fpu/libm-test-ulps: Update.
2405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2407 2012-04-09 Andreas Jaeger <aj@suse.de>
2410 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2411 is an optional BSD extension.
2414 * manual/stdio.texi (Opening Streams): Document additional fopen
2417 2012-04-09 Roland McGrath <roland@hack.frob.com>
2419 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2420 %eax without telling the compiler.
2422 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2425 * manual/install.texi: Use sourceware.org.
2427 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2430 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2431 (__ieee754_pow): Generate overflow and underflow using huge*huge
2432 and tiny*tiny rather than just returning constant infinity or zero
2433 for large exponents.
2434 * math/libm-test.inc (pow_test): Require overflow exceptions for
2435 applicable cases of large exponents.
2438 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2439 (__ieee754_pow): Use iterative multiplication algorithm only for
2440 integer exponents with absolute value below 1024. Check for odd
2441 integer exponents when using algorithm for real exponents.
2442 * math/libm-test.inc (pow_test): Add more tests.
2443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2445 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2448 * math/libm-test.inc (exp_test): Do not allow overflow exception
2451 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2454 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2455 instead of __kernel_standard_f.
2457 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2459 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2460 * sysdeps/x86_64/memset_chk.S: Likewise.
2462 2012-04-08 Andreas Jaeger <aj@suse.de>
2465 * manual/startup.texi (Environment Access): Describe return value
2466 for putenv and setenv.
2469 * manual/filesys.texi (Directory Entries): Add description for
2473 * manual/filesys.texi (Directory Entries): Clarify that it's file
2474 system not operating system in the description of DT_UNKNOWN.
2477 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2479 2012-04-08 Stephen Compall <s11@member.fsf.org>
2482 * manual/llio.texi (Opening and Closing Files): Add cross
2483 reference to explain mode argument.
2485 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2487 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2488 * sysdeps/x86_64/memset_chk.S: Likewise.
2490 2012-04-07 David S. Miller <davem@davemloft.net>
2492 * elf/elf.h (R_SPARC_WDISP10): Define.
2493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2496 R_SPARC_SIZE64 and R_SPARC_H34.
2498 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2500 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2501 conditions and remove no longer applicable assertion.
2503 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2505 * bits/byteswap.h: Include <features.h>.
2506 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2507 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2509 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2511 * bits/byteswap.h (__bswap_16): Removed.
2512 Include <bits/byteswap-16.h> to get __bswap_16.
2513 * sysdeps/i386/bits/byteswap.h: Likewise.
2514 * sysdeps/s390/bits/byteswap.h: Likewise.
2515 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2516 * bits/byteswap-16.h: New file.
2517 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2518 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2519 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2520 * string/Makefile (headers): Add bits/byteswap-16.h.
2522 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2525 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2527 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2528 * nss/tst-nss-static.c: New.
2530 2012-04-06 Robert Millan <rmh@gnu.org>
2533 * manual/llio.texi (File Position Primitive): lseek
2534 refers to WHENCE when it really means OFFSET.
2536 2012-04-06 Andreas Jaeger <aj@suse.de>
2538 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2539 strncmp declarations.
2541 * abilist/libc.abilist: Add __poll and __ppoll.
2543 2012-04-05 David S. Miller <davem@davemloft.net>
2545 * scripts/check-local-headers.sh: Accept a host triplet in the
2546 path matched by the exclude regexp.
2548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2550 * sysdeps/powerpc/powerpc32/dl-machine.h
2551 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2552 * sysdeps/s390/s390-32/dl-machine.h
2553 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2554 * sysdeps/sparc/sparc32/dl-machine.h
2555 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2556 * sysdeps/sparc/sparc64/dl-machine.h
2557 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2559 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2561 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2562 undefined symbol errors.
2564 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2567 2012-04-05 Michael Matz <matz@suse.de>
2570 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2572 2012-04-05 Andreas Jaeger <aj@suse.de>
2575 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2578 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2580 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2581 which ROUND is no valid rounding mode.
2583 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2585 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2587 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2589 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2591 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2592 an exception using FPU order intentionally.
2594 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2596 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2597 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2598 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2599 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2601 2012-04-05 Simon Josefsson <simon@josefsson.org>
2604 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2605 EINVAL when BUFLEN is too smal.
2607 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2610 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2611 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2613 2012-04-03 Andreas Jaeger <aj@suse.de>
2616 * manual/setjmp.texi (System V contexts): Fix sentence.
2619 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2620 New macro for this case.
2621 [!__GNUC__] (__bswap_64): New inline function for this case.
2622 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2623 * bits/byteswap.h: Likewise.
2624 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2625 ull, guard with __GLIBC_HAVE_LONG_LONG.
2627 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2628 __GLIBC_HAVE_LONG_LONG.
2630 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2631 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2633 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2636 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2637 inptr and inend, rather than using last_ch.
2639 2012-04-02 David S. Miller <davem@davemloft.net>
2641 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2642 * stdio-common/printf-parse.h (read_int): Change return type to
2643 'int', return -1 on INT_MAX overflow.
2644 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2645 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2646 overflows INT_MAX. Check for overflow of in-format-string precision
2647 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2648 SIZE_MAX not INT_MAX for integer overflow test.
2649 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2650 skip the construct in the format string but do not record anything.
2651 * stdio-common/bug22.c: Adjust to test both width/prevision
2652 INT_MAX overflow as well as total length INT_MAX overflow. Check
2653 explicitly for proper errno values.
2655 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2657 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2659 * string/test-strcmp.c [! WIDE]: Likewise.
2660 * time/tst-mktime2.c: Likewise for INT_MAX.
2661 * string/test-string.h: #include <sys/param.h> for MIN.
2663 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2664 * sysdeps/i386/init-first.c (init): Likewise.
2665 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2666 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2667 * sysdeps/sh/init-first.c (init): Likewise.
2669 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2671 * po/ru.po: Update from translation team.
2672 * po/vi.po: Likewise.
2674 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2676 * resolv/nss_dns/dns-host.c: Merge copyright years.
2678 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2681 Optimize memcpy with prefetch if
2682 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2683 src, dst pointers have unequal 16 byte alignments.
2685 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2688 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2689 from a CNAME entry and return the minimum ttl for the query.
2690 (gaih_getanswer_slice): Likewise.
2692 2012-03-30 Jeff Law <law@redhat.com>
2694 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2696 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2697 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2699 * resolv/nss_dns/dns-host.c: Update copyright year.
2701 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2703 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2704 requests to save a system call. Fix check that all bytes are sent.
2706 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2707 comments for sendmmsg.
2709 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2712 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2713 with only 1 character between 0x0041 and 0x01b0.
2714 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2715 * wcsmbs/tst-mbsnrtowcs.c: New file.
2717 2012-03-29 David S. Miller <davem@davemloft.net>
2719 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2720 small copies by hand.
2722 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2725 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2726 _nss_compat_initgroups_dyn): Fall back to malloc/free
2727 for large group memberships.
2729 2012-03-28 David S. Miller <davem@davemloft.net>
2731 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2732 that branches into memcpy.
2733 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2736 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2739 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2741 * sysdeps/sparc/mempcpy.S: New file.
2743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2744 the IFUNC routine in the libc case.
2745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2747 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2748 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2749 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2750 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2751 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2752 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2753 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2754 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2756 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2757 loop to 256 bytes instead of 64 bytes and fix test signedness.
2759 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2760 * sysdeps/sparc/sparc32/Makefile: rather than here...
2761 * sysdeps/sparc/sparc64/Makefile: and here.
2763 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2765 * malloc/mallocbug.c: Avoid warnings about unused variables.
2767 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2770 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2771 in the right place. Discard and retry query if response is
2772 larger than input buffer size.
2774 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2779 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2780 x for large integer exponent.
2781 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2782 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2783 sign of result as needed afterwards.
2784 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2785 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2786 result for underflowing pow the same as for overflow.
2787 (__kernel_standard_l): Handle powl overflow and underflow here
2788 rather than calling __kernel_standard.
2789 * math/libm-test.inc (pow_test): Add more tests.
2804 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2805 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2806 (__kernel_standard_l): New function.
2807 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2809 * math/w_acosl.c (__acosl): Likewise.
2810 * math/w_asinl.c (__asinl): Likewise.
2811 * math/w_atan2l.c (__atan2l): Likewise.
2812 * math/w_atanhl.c (__atanhl): Likewise.
2813 * math/w_coshl.c (__coshl): Likewise.
2814 * math/w_exp10l.c (__exp10l): Likewise.
2815 * math/w_exp2l.c (__exp2l): Likewise.
2816 * math/w_fmodl.c (__fmodl): Likewise.
2817 * math/w_hypotl.c (__hypotl): Likewise.
2818 * math/w_j0l.c (__j0l, __y0l): Likewise.
2819 * math/w_j1l.c (__j1l, __y1l): Likewise.
2820 * math/w_jnl.c (__jnl, __ynl): Likewise.
2821 * math/w_lgammal.c (__lgammal): Likewise.
2822 * math/w_log10l.c (__log10l): Likewise.
2823 * math/w_log2l.c (__log2l): Likewise.
2824 * math/w_logl.c (__logl): Likewise.
2825 * math/w_powl.c (__powl): Likewise.
2826 * math/w_remainderl.c (__remainderl): Likewise.
2827 * math/w_scalbl.c (sysv_scalbl): Likewise.
2828 * math/w_sinhl.c (__sinhl): Likewise.
2829 * math/w_sqrtl.c (__sqrtl): Likewise.
2830 * math/w_tgammal.c (__tgammal): Likewise.
2831 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2832 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2833 * math/libm-test.inc (acos_test): Add more tests.
2834 (acosh_test): Likewise.
2835 (asin_test): Likewise.
2836 (atanh_test): Likewise.
2837 (exp_test): Likewise.
2838 (exp10_test): Likewise.
2839 (exp2_test): Likewise.
2840 (expm1_test): Likewise.
2841 (lgamma_test): Likewise.
2842 (log_test): Likewise.
2843 (log10_test): Likewise.
2844 (log1p_test): Likewise.
2845 (log2_test): Likewise.
2846 (pow_test): Do not allow some spurious overflow exceptions.
2847 (sqrt_test): Add more tests.
2848 (tgamma_test): Likewise.
2849 (y0_test): Likewise.
2850 (y1_test): Likewise.
2851 (yn_test): Likewise.
2853 2012-03-27 Anton Blanchard <anton@samba.org>
2855 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2857 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2858 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2861 2012-03-27 David S. Miller <davem@davemloft.net>
2863 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2865 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2868 2012-03-27 Andreas Jaeger <aj@suse.de>
2870 * sysdeps/x86_64/elf/configure.in: Moved to ...
2871 * sysdeps/x86_64/configure.in: ... here.
2872 * sysdeps/x86_64/elf/start.S: Moved to ...
2873 * sysdeps/x86_64/start.S: ... here.
2874 * sysdeps/x86_64/elf/configure: Delete.
2876 * sysdeps/x86_64/configure.in: Merge contents from
2877 sysdeps/i386/configure.in (without i686 check).
2879 * sysdeps/i386/elf/Versions: Merge into ...
2880 * sysdeps/i386/Versions: ... this.
2881 * sysdeps/i386/elf/Versions: Delete file.
2882 * sysdeps/i386/elf/start.S: Moved to ...
2883 * sysdeps/i386/start.S: ...here.
2884 * sysdeps/i386/elf/configure.in: Merge into...
2885 * sysdeps/i386/configure.in: ...here.
2886 * sysdeps/i386/elf/configure.in: Delete file.
2887 * sysdeps/i386/elf/configure: Delete file.
2889 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2890 * debug/backtracesyms.c: ... here.
2891 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2892 * debug/backtracesymsfd.c: ... here.
2893 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2894 * sysdeps/generic/ifunc-sel.h: ... here.
2896 * sysdeps/unix/i386/start.c: Delete file.
2897 * sysdeps/unix/sparc/start.c: Delete file.
2898 * sysdeps/unix/start.c: Delete file.
2900 * sysdeps/sh/elf/configure.in: Moved to ...
2901 * sysdeps/sh/configure.in: ... here.
2902 * sysdeps/sh/elf/start.S: Moved to ...
2903 * sysdeps/sh/start.S: ... here.
2904 * sysdeps/sh/elf/configure: Delete file.
2906 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2907 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2908 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2909 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2910 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2911 * sysdeps/powerpc/powerpc64/start.S: here.
2912 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2913 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2914 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2915 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2916 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2918 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2919 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2920 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2921 * sysdeps/powerpc/powerpc32/start.S: ... here.
2922 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2923 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2924 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2926 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2927 * sysdeps/powerpc/ifunc-sel.h: ... here.
2928 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2929 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2931 * sysdeps/sparc/elf/configure.in: Moved to ...
2932 * sysdeps/sparc/configure.in: ... here.
2933 * sysdeps/sparc/elf/configure: Delete file.
2934 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2935 * sysdeps/sparc/sparc32/start.S: ... here.
2936 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2937 * sysdeps/sparc/sparc64/start.S: ... here.
2938 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2939 * sysdeps/sparc/sparc32/Makefile: ... this.
2940 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2941 * sysdeps/sparc/sparc64/Makefile: ... this.
2943 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2944 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2945 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2946 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2947 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2948 * sysdeps/s390/s390-32/setjmp.S: ... here.
2949 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2950 * sysdeps/s390/s390-32/configure.in: ... here.
2951 * sysdeps/s390/s390-32/elf/configure: Delete file.
2952 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2953 * sysdeps/s390/s390-32/start.S: ... here.
2955 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2956 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2957 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2958 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2959 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2960 * sysdeps/s390/s390-64/setjmp.S: ... here.
2961 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2962 * sysdeps/s390/s390-64/configure.in: ... here
2963 * sysdeps/s390/s390-64/elf/configure: Delete file.
2964 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2965 * sysdeps/s390/s390-64/start.S: ... here.
2966 * sysdeps/s390/s390-64/elf/configure: Delete.
2968 * configure.in: Remove support for elf directories in sysdeps.
2970 * configure: Regenerated.
2971 * sysdeps/i386/configure: Regenerated.
2972 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2973 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2974 * sysdeps/s390/s390-32/configure: Regenerated.
2975 * sysdeps/s390/s390-64/configure: Regenerated.
2976 * sysdeps/sh/configure: Regenerated.
2977 * sysdeps/sparc/configure: Regenerated.
2978 * sysdeps/x86_64/configure: Regenerated.
2980 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2984 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2985 denormal result into account.
2987 2012-03-25 Roland McGrath <roland@hack.frob.com>
2989 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2990 Reported by Allan McRae <allan@archlinux.org>.
2992 2012-03-23 Jeff Law <law@redhat.com>
2994 * nss/getnssent.c (__nss_getent): Fix typo.
2996 2012-03-23 David S. Miller <davem@davemloft.net>
2998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3000 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3002 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3003 to pad to uint64_t for each field.
3004 (dl_tls_index): Replace unsigned long with uint64_t.
3006 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3007 Paul Pluzhnikov <ppluzhnikov@google.com>
3010 * grp/Makefile (otherlibs): Don't set it.
3011 * inet/Makefile (otherlibs): Likewise.
3012 * login/Makefile (otherlibs): Likewise.
3013 * nscd/Makefile (otherlibs): Likewise.
3014 * posix/Makefile (otherlibs): Likewise.
3015 * pwd/Makefile (otherlibs): Likewise.
3016 * rt/Makefile (otherlibs): Likewise.
3017 * sunrpc/Makefile (otherlibs): Likewise.
3018 * nss/Makefile (otherlibs): Likewise.
3019 Add libnss_files to routines and static-only-routines.
3020 ($(objpfx)getent): Remove rule.
3021 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3022 static-only-routines.
3024 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3027 * math/s_cexp.c: Include <float.h>.
3028 (__cexp): Handle exp result overflowing not necessarily
3029 overflowing both real and imaginary parts of result.
3030 * math/s_cexpf.c: Likewise.
3031 * math/s_cexpl.c: Likewise.
3032 * math/libm-test.inc (cexp_test): Add more tests.
3033 * sysdeps/i386/fpu/libm-test-ulps: Update.
3034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3036 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3038 * include/link.h (ELFW): New macro.
3039 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3040 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3042 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3044 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3047 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3049 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3051 (struct La_x32_retval): Likewise.
3053 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3055 * sysdeps/x86_64/preconfigure.in: New file.
3056 * sysdeps/x86_64/preconfigure: New generated file.
3058 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3061 * math/e_exp2l.c: Include <float.h>.
3062 (__ieee754_exp2l): Handle overflow and underflow cases
3063 separately. Only pass fractional part of argument to
3065 * math/libm-test.inc (exp2_test): Add more tests.
3067 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3068 negating x to take absolute value.
3069 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3071 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3072 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3074 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3075 computing low part if x was negated.
3076 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3078 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3080 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3082 (pltexit): Cast int_retval to ptrdiff_t.
3083 * elf/tst-auditmod3b.c: Likewise.
3084 * elf/tst-auditmod4b.c: Likewise.
3085 * elf/tst-auditmod5b.c: Likewise.
3086 * elf/tst-auditmod6b.c: Likewise.
3087 * elf/tst-auditmod6c.c: Likewise.
3088 * elf/tst-auditmod7b.c: Likewise.
3090 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3091 and x32_gnu_pltexit.
3093 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3095 (La_x32_regs): New macro.
3096 (La_x32_retval): Likewise.
3097 (la_x32_gnu_pltenter): New function prototype.
3098 (la_x32_gnu_pltexit): Likewise.
3100 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3107 * configure.in (libc_cv_cc_nofma): Check for option to disable
3108 generation of FMA instructions.
3109 * configure: Regenerate.
3110 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3111 * sysdeps/ieee754/dbl-64/Makefile: New file.
3112 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3113 Remove brandred-fma4.
3114 (CFLAGS-brandred-fma4.c): Remove.
3115 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3116 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3121 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3123 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3124 LLONG_MAX != LONG_MAX.
3125 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3126 (_fitoa_word): Likewise.
3127 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3128 LLONG_MAX != LONG_MAX.
3129 * stdio-common/_itowa.h: Include <_itoa.h>.
3130 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3131 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3132 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3133 only if not defined.
3134 (_ITOA_WORD_TYPE): Likewise.
3135 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3136 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3138 2012-03-21 David S. Miller <davem@davemloft.net>
3140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3142 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3144 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3145 of x86_64 when setting libc_cv_slibdir, libdir and
3147 * sysdeps/unix/sysv/linux/configure: Regenerated.
3149 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3151 * manual/lang.texi (Old Varargs): Remove section.
3152 (How Variadic): Update menu.
3153 (va_start): Do not mention varargs.h.
3155 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3156 Joseph Myers <joseph@codesourcery.com>
3158 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3160 * configure: Regenerated.
3162 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3164 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3165 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3168 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3171 * Makefile (files-for-dist): Remove NOTES.
3172 (NOTES): Remove rule.
3173 * README: Don't refer to NOTES.
3174 * manual/creature.texi: Don't include macros.texi.
3175 * manual/intro.texi (creature.texi): Remove comment referring to
3178 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3179 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3180 * configure: Regenerated.
3181 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3183 (libc_cv_as_i686): Likewise.
3184 (libc_cv_cc_avx): Likewise.
3185 (libc_cv_cc_sse2avx): Likewise.
3186 (libc_cv_cc_fma4): Likewise.
3187 (libc_cv_cc_novzeroupper): Likewise.
3188 * sysdeps/i386/configure: Regenerated.
3191 * sysdeps/i386/fpu/s_cexp.S: Remove.
3192 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3193 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3194 * math/libm-test.inc (cexp_test): Add more tests.
3195 * sysdeps/i386/fpu/libm-test-ulps: Update.
3196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3198 2012-03-21 Allan McRae <allan@archlinux.org>
3200 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3202 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3205 * math/w_exp2.c: Do not include <float.h>.
3206 (o_threshold, u_threshold): Remove.
3207 (__exp2): Calculate result before checking finiteness and calling
3209 * math/w_exp2f.c: Likewise.
3210 * math/w_exp2l.c: Likewise.
3211 * math/libm-test.inc (exp2_test): Require overflow exception for
3215 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3216 range of signed 64-bit integers before using fistpll. Remove
3217 checks for whether integers fit in mantissa bits.
3218 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3219 the range of signed 32-bit integers before using fistpl. Remove
3220 checks for whether integers fit in mantissa bits.
3221 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3222 (__ieee754_powl): Test for y outside the range of signed 64-bit
3223 integers before using fistpll. Reduce 64-bit values to 63-bit
3225 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3226 divide-by-zero is raised for zero to large negative powers.
3227 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3228 (__ieee754_powl): Test for y outside the range of signed 64-bit
3229 integers before using fistpll. Reduce 64-bit values to 63-bit
3231 * math/libm-test.inc (pow_test): Add more tests.
3233 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3235 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3236 <stdio-common/_itoa.h>.
3237 * debug/segfault.c: Likewise.
3238 * elf/dl-cache.c: Likewise.
3239 * elf/dl-minimal.c: Likewise.
3240 * elf/dl-misc.c: Likewise.
3241 * elf/dl-sysdep.c: Likewise.
3242 * elf/dl-version.c: Likewise.
3243 * elf/rtld.c: Likewise.
3244 * hurd/hurdsock.c: Likewise.
3245 * hurd/lookup-retry.c: Likewise.
3246 * malloc/malloc.c: Likewise.
3247 * malloc/mtrace.c: Likewise.
3248 * nscd/nscd_getgr_r.c: Likewise.
3249 * nscd/nscd_getpw_r.c: Likewise.
3250 * nscd/nscd_getserv_r.c: Likewise.
3251 * posix/getopt_init.c: Likewise.
3252 * posix/wordexp.c: Likewise.
3253 * stdio-common/_itoa.c: Likewise.
3254 * stdio-common/printf_fphex.c: Likewise.
3255 * stdio-common/vfprintf.c: Likewise.
3256 * string/_strerror.c: Likewise.
3257 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3258 * sysdeps/i386/i686/hp-timing.h: Likewise.
3259 * sysdeps/mach/_strerror.c: Likewise.
3260 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3261 * sysdeps/mach/hurd/sethostid.c: Likewise.
3262 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3263 * sysdeps/mach/xpg-strerror.c: Likewise.
3264 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3265 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3266 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3267 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3268 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3269 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3270 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3271 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3272 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3273 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3274 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3275 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3276 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3277 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3278 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3279 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3280 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3282 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3283 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3284 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3286 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3288 * stdio-common/_itoa.h: Moved to ...
3289 * sysdeps/generic/_itoa.h: Here.
3291 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3293 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3294 instead of "_itoa.h" and "_itowa.h".
3295 * stdio-common/vfprintf.: Likewise.
3297 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3299 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3301 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3302 (__signbit): Likwise.
3306 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3308 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3311 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3313 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3314 OVERFLOW_EXCEPTION_OK.
3315 * math/libm-test.inc ("Philosophy"): Update comment about
3317 (OVERFLOW_EXCEPTION): Define.
3318 (OVERFLOW_EXCEPTION_OK): Likewise.
3319 (INVALID_EXCEPTION_OK): Renumber.
3320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3321 (IGNORE_ZERO_INF_SIGN): Likewise.
3322 (test_exceptions): Handle FE_OVERFLOW.
3323 (exp10_test): Expect overflow exceptions.
3324 (exp2_test): Likewise.
3325 (expm1_test): Likewise.
3326 (nextafter_test): Likewise.
3327 (pow_test): Likewise.
3328 (scalbn_test): Likewise.
3329 (scalbln_test): Likewise.
3331 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3333 * sysdeps/x86_64/bits/atomic.h
3334 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3336 (atomic_exchange_acq): Likewise.
3337 (__arch_exchange_and_add_body): Likewise.
3338 (__arch_add_body): Likewise.
3339 (atomic_add_negative): Likewise.
3340 (atomic_add_zero): Likewise.
3342 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3344 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3345 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3347 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3349 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3350 Check __x86_64__ instead of __WORDSIZE.
3352 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3354 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3356 2012-03-19 David S. Miller <davem@davemloft.net>
3358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3360 * sysdeps/sparc/fpu/fenv_private.h: New file.
3361 * sysdeps/sparc/fpu/math_private.h: Use it.
3362 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3364 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3365 (libc_feholdexcept_setroundl): Remove.
3366 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3368 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3369 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3371 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3373 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3374 int64_t instead of long int.
3375 (INSERT_WORDS64): Likwise.
3377 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3379 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3380 _Unwind_GetCFA return to _Unwind_Ptr first.
3382 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3385 * math/s_clog.c: Include <float.h>.
3386 (__clog): Scale large or subnormal inputs.
3387 * math/s_clogf.c: Likewise.
3388 * math/s_clogl.c: Likewise.
3389 * math/s_clog10.c: Include <float.h>.
3390 (M_LOG10_2): Define.
3391 (__clog10): Scale large or subnormal inputs.
3392 * math/s_clog10f.c: Likewise.
3393 * math/s_clog10l.c: Likewise.
3394 * math/libm-test.inc (clog_test): Add more tests.
3395 (clog10_test): Likewise.
3396 * sysdeps/i386/fpu/libm-test-ulps: Update.
3397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3400 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3402 * math/libm-test.inc (atan2_test): Add another test.
3404 * Makerules (common-objdir-compile): Remove.
3405 * sysdeps/unix/Makefile (config-generated): Do not add
3406 $(unix-generated) to variable.
3407 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3408 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3410 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3412 [generic bits/local_lim.h] (before-compile): Do not append to
3414 [generic bits/local_lim.h] (common-generated): Likewise.
3415 [generic sys/param.h] (before-compile): Do not append to variable.
3416 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3417 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3418 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3419 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3421 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3422 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3423 [generic sys/param.h] ($(addprefix
3424 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3425 [generic sys/param.h] (common-generated): Do not append to
3427 [generic sys/param.h] (sysdep_headers): Likewise.
3428 [generic bits/errno.h] (before-compile): Do not append to
3430 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3432 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3433 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3434 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3435 [generic bits/errno.h] (common-generated): Do not append to
3437 [generic bits/ioctls.h] (before-compile): Do not append to
3439 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3441 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3442 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3443 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3445 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3446 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3447 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3448 [generic bits/ioctls.h] (common-generated): Do not append to
3450 [generic sys/syscall.h] (syscall.h): Remove variable.
3451 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3453 [generic sys/syscall.h] (before-compile): Do not append to
3455 [generic sys/syscall.h] (common-generated): Likewise.
3456 * sysdeps/unix/errnos-tmpl.c: Remove file.
3457 * sysdeps/unix/errnos.awk: Likewise.
3458 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3459 * sysdeps/unix/ioctls.awk: Likewise.
3460 * sysdeps/unix/mk-local_lim.c: Likewise.
3461 * sysdeps/unix/snarf-ioctls: Likewise.
3463 2012-03-19 Richard Henderson <rth@twiddle.net>
3465 * sysdeps/i386/fpu/fenv_private.h: New file.
3466 * sysdeps/i386/fpu/math_private.h: Use it.
3467 (math_opt_barrier, math_force_eval): Remove.
3468 (libc_feholdexcept_setround_53bit): Remove.
3469 (libc_feupdateenv_53bit): Remove.
3470 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3471 (math_opt_barrier, math_force_eval): Remove.
3472 (libc_feholdexcept): Remove.
3473 (libc_feholdexcept_setround): Remove.
3474 (libc_fetestexcept, libc_fesetenv): Remove.
3475 (libc_feupdateenv_test): Remove.
3476 (libc_feupdateenv, libc_feholdsetround): Remove.
3477 (libc_feresetround): Remove.
3479 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3480 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3482 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3483 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3484 (libc_feupdateenv_testl): New.
3485 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3486 (libc_feupdateenv_testf): New.
3487 (libc_feupdateenv): Use libc_feupdateenv_test.
3488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3491 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3492 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3493 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3494 (libc_feresetround_noex): New.
3495 (libc_feresetround_noexf): New.
3496 (libc_feresetround_noexl): New.
3497 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3498 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3499 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3500 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3505 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3506 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3507 SET_RESTORE_ROUND_NOEX.
3508 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3509 SET_RESTORE_ROUND_NOEXF.
3510 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3511 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3512 (libc_feholdsetroundf): New.
3513 (libc_feresetround, libc_feresetroundf): New.
3515 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3516 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3517 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3519 * sysdeps/generic/math_private.h: Include <fenv.h>.
3520 (default_libc_feholdexcept): New.
3521 (default_libc_feholdexcept_setround): New.
3522 (default_libc_fesetenv, default_libc_feupdateenv): New.
3523 (libc_feholdexcept): Only define if undefined.
3524 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3525 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3526 (libc_feholdexcept_setroundl): Likewise.
3527 (libc_feholdexcept_setround_53bit): Likewise.
3528 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3529 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3530 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3531 (libc_feupdateenv_53bit): Likewise.
3532 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3533 (libc_feholdexcept): Convert from macro to inline function.
3534 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3535 (libc_fesetenv, libc_feupdateenv): Likewise.
3537 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3538 not previously defined.
3539 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3540 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3541 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3542 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3543 * sysdeps/ieee754/flt-32/math_private.h: New file.
3544 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3545 math_private.h below SET_FLOAT_WORD.
3546 (__isnan, __isinf_ns, __finite): Remove.
3547 (__isnanf, __isinf_nsf, __finitef): Remove.
3549 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3553 2012-03-17 David S. Miller <davem@davemloft.net>
3556 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3559 2012-03-16 David S. Miller <davem@davemloft.net>
3561 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3565 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3567 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3568 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3569 sysdep_routines when subdir is sysvipc.
3570 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3573 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3575 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3577 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3580 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3582 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3583 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3584 (__lround): Renamed to ...
3585 (__llround): This. Replace long int with long long int.
3586 Define lround functions as aliases of llround functions.
3587 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3589 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3591 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3592 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3593 adresses to uintptr_t. Replace "long int" and "unsigned long
3594 int" with "greg_t" on va_arg.
3596 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3598 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3599 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3601 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3602 Move e_machine check before EI_CLASS check. Handle x32
3603 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3604 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3605 SKIP_EM_IA_64 and include
3606 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3608 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3609 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3610 (add_system_dir): New macro.
3612 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3613 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3615 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3626 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3628 * math/w_j0f.c (j0f): Likewise.
3630 * math/w_j0l.c (__j0l): Likewise.
3632 * math/w_j1.c (j1): Likewise.
3634 * math/w_j1f.c (j1f): Likewise.
3636 * math/w_j1l.c (__j1l): Likewise.
3638 * math/w_jn.c (jn): Likewise.
3640 * math/w_jnf.c (jnf): Likewise.
3642 * math/w_jnl.c (__jnl): Likewise.
3644 * math/libm-test.inc (j0_test): Add more tests.
3645 (j1_test): Likewise.
3646 (jn_test): Likewise. Add trailing semicolon to existing test.
3647 (y0_test): Likewise.
3648 (y1_test): Likewise.
3649 * sysdeps/i386/fpu/libm-test-ulps: Update.
3650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3654 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3655 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3656 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3657 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3658 (__tanl): Set errno for infinite argument.
3659 * sysdeps/i386/fpu/mptan.c: Remove.
3660 * sysdeps/i386/fpu/s_tan.S: Likewise.
3661 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3662 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3663 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3664 * math/libm-test.inc (tan_test): Add more tests and enable more
3665 tests for double and long double.
3666 * sysdeps/i386/fpu/libm-test-ulps: Update.
3667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3669 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3671 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3672 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3674 2012-03-16 Roland McGrath <roland@hack.frob.com>
3676 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3677 * configure.in: Use it for both main tree and add-ons.
3678 * configure: Regenerated.
3680 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3682 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3684 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3686 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3690 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3691 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3696 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3699 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3700 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3701 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3702 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3703 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3704 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3705 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3706 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3707 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3708 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3709 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3710 * math/libm-test.inc (cos_test): Add more tests and enable more
3711 tests for long double.
3712 (sin_test): Likewise.
3713 (sincos_test): Likewise.
3714 * sysdeps/i386/fpu/libm-test-ulps: Update.
3715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3717 2012-03-16 David S. Miller <davem@davemloft.net>
3719 * sysdeps/sparc/fpu/math_private.h: New file.
3721 2012-03-15 David S. Miller <davem@davemloft.net>
3723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3737 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3738 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3740 * sysdeps/sparc/sparc-ifunc.h: New file.
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3786 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3788 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3792 2012-03-15 Andreas Jaeger <aj@suse.de>
3795 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3796 ieee754/flt-32 implementation for sin, cos and sincos.
3797 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3798 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3799 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3800 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3801 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3802 ieee754/flt-32 implementation for tan.
3804 * math/libm-test.inc (cos_test): Enable some large input tests for
3806 (sin_test): Likewise.
3807 (sincos_test): Likewise.
3808 (tan_test): Add tests for large input.
3810 * sysdeps/i386/fpu/libm-test-ulps: Update.
3812 2012-03-15 Andreas Jaeger <aj@suse.de>
3815 * math/libm-test.inc (cos_test): Add more test cases.
3816 (sin_test): Likewise.
3817 (sincos_test): Likewise.
3819 2012-03-15 Andreas Jaeger <aj@suse.de>
3822 * math/libm-test.inc (cos_test): Add a test case for large input
3824 (sin_test): Likewise.
3825 (sincos_test): Likewise.
3827 2012-03-15 Andreas Jaeger <aj@suse.de>,
3828 Joseph Myers <joseph@codesourcery.com>
3831 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3832 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3833 * sysdeps/i386/fpu/branred.c: Likewise.
3834 * sysdeps/i386/fpu/dosincos.c: Likewise.
3835 * sysdeps/i386/fpu/mpa.c: Likewise.
3836 * sysdeps/i386/fpu/s_cos.S: Likewise.
3837 * sysdeps/i386/fpu/s_sin.S: Likewise.
3838 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3839 * sysdeps/i386/fpu/sincos32.c: Likewise.
3841 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3843 (libc_feupdateenv_53bit): Define.
3844 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3846 (libc_feupdateenv_53bit): Define.
3848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3849 53 bit (without extend i386 double precision).
3851 * math/libm-test.inc (sincos_test): Add tests for large input.
3855 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3857 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3861 2012-03-15 David S. Miller <davem@davemloft.net>
3863 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3864 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3865 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3866 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3891 fmin/fmax sysdep routines.
3892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3894 2012-03-14 David S. Miller <davem@davemloft.net>
3896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3968 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3973 * sysdeps/sparc/configure.in: New file.
3974 * sysdeps/sparc/configure: Generate.
3975 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3976 * configure: Regenerate.
3977 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3978 * config.make.in (have-as-vis3): New.
3979 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3980 available use -Av9d instead of -Av9a.
3981 * sysdeps/sparc/sparc64/Makefile: Likewise.
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3991 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3997 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3998 fzeros/fnegs to load 0x80000000 into a float register instead of
4000 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4002 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4006 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4007 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4008 ($(inst_includedir)/bits/syscall.h): Remove rule.
4009 ($(objpfx)bits/syscall.d): Include instead of
4010 $(objpfx)syscall-list.d.
4011 (generated): Change syscall-list.h and syscall-list.d to
4012 bits/syscall.h and bits/syscall.d.
4014 2012-03-14 Roland McGrath <roland@hack.frob.com>
4017 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4019 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4022 * math/s_csqrt.c: Include <float.h>.
4023 (__csqrt): Scale large or subnormal inputs.
4024 * math/s_csqrtf.c: Likewise.
4025 * math/s_csqrtl.c: Likewise.
4026 * math/libm-test.inc (csqrt_test): Add more tests.
4027 * sysdeps/i386/fpu/libm-test-ulps: Update.
4028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4031 * math/libm-test.inc (hypot_test): Add more tests.
4033 2012-03-13 David S. Miller <davem@davemloft.net>
4036 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4037 double-precision for the calculation instead of scaling.
4039 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4041 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4042 manipulate bits before adding and subtracting TWO52[sx].
4043 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4044 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4046 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4048 2012-03-13 David S. Miller <davem@davemloft.net>
4050 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4051 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4053 rtld-global-offsets.h
4054 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4056 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4059 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4061 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4062 'err' in the ifdef scope in which it is actually used.
4064 * nss/nss_db/db-init.c: Include string.h
4066 2012-03-12 David S. Miller <davem@davemloft.net>
4068 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4069 masking out of the most significant byte of random value used.
4070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4071 Fix coding style in previous change.
4073 * sysdeps/unix/sysv/linux/kernel-features.h
4074 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4075 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4077 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4080 2012-03-11 David S. Miller <davem@davemloft.net>
4082 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4083 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4084 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4085 for 'resultvar' otherwise things get truncated on 64-bit.
4087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4088 Fix masking out of the most significant byte of random value used.
4090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4092 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4096 2012-03-09 David S. Miller <davem@davemloft.net>
4098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4099 variables with appropriate CPP guards.
4100 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4101 frame pointer, not the stack pointer. Correct layout comments. Fix test
4102 on resulting framesize and the management of the outregs buffer for pltexit.
4103 Preserve floating point return values across _dl_call_pltexit call.
4104 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4105 framesize and the management of the outregs buffer for pltexit.
4106 Preserve floating point return values across _dl_call_pltexit
4108 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4109 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4110 (print_exit): Fix format string for return register value.
4112 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4114 * sunrpc/Makefile (others): Add rpcgen.
4115 ($(objpfx)rpcgen): Remove special build rule and dependency on
4117 * sunrpc/rpcgen.c: New file.
4119 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4122 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4123 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4124 * sysdeps/i386/crti.S: Likewise.
4125 * sysdeps/i386/crtn.S: Likewise.
4126 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4127 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4128 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4129 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4130 * sysdeps/sh/crti.S: Likewise.
4131 * sysdeps/sh/crtn.S: Likewise.
4132 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4135 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4137 * locale/programs/locfile-kw.gperf: Likewise.
4138 * locale/programs/charmap-kw.h: Regenerated.
4139 * locale/programs/locfile-kw.h: Likewise.
4142 * intl/plural.y: Replace FSF snail mail address with URL.
4143 * intl/plural.c: Regenerated.
4145 2012-03-09 Richard Henderson <rth@twiddle.net>
4147 * include/math_private.h: Remove file.
4148 * math/math_private.h: Move file ...
4149 * sysdeps/generic/math_private.h: ... here.
4151 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4152 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4153 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4155 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4156 and <math_private.h>.
4157 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4158 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4159 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4160 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4161 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4245 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4246 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4247 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4248 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4250 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4251 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4252 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4253 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4254 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4256 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4257 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4258 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4259 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4260 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4261 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4262 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4263 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4264 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4265 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4266 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4267 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4268 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4269 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4270 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4271 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4272 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4273 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4274 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4275 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4276 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4277 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4278 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4279 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4280 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4281 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4282 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4283 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4284 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4285 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4286 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4287 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4288 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4289 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4290 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4291 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4292 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4293 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4294 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4295 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4296 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4297 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4298 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4299 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4300 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4301 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4302 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4303 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4304 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4305 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4306 * sysdeps/ieee754/k_standard.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4422 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4426 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4427 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4429 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4434 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4439 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4455 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4456 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4457 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4467 * sysdeps/ieee754/s_lib_version.c: Likewise.
4468 * sysdeps/ieee754/s_matherr.c: Likewise.
4469 * sysdeps/ieee754/s_signgam.c: Likewise.
4470 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4471 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4472 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4473 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4474 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4475 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4476 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4477 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4478 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4479 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4480 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4481 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4482 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4483 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4484 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4485 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4486 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4487 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4488 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4492 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4494 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4495 * sunrpc/rpc_main.c: Likewise.
4496 * sunrpc/rpc_svcout.c: Likewise.
4498 2012-03-09 David S. Miller <davem@davemloft.net>
4500 * include/math_private.h: New file.
4502 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4504 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4505 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4506 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4507 from <bits/socket_type.h>.
4508 (enum __socket_type): Don't define here.
4509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4514 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4517 * Makerules ($(inst_includedir)/%.h): New rule.
4518 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4519 (install-others): Remove variable setting.
4520 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4522 2012-03-08 Richard Henderson <rth@twiddle.net>
4524 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4525 from macro to inline function; merge with the
4526 !__LIBC_INTERNAL_MATH_INLINES version.
4527 (__ieee754_sqrtf): Likewise.
4529 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4531 (__rintf, __floor, __floorf): Likewise.
4533 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4534 macro to inline function.
4535 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4537 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4538 not <math/math_private.h>.
4540 2012-03-08 David S. Miller <davem@davemloft.net>
4542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4544 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4546 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4548 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4550 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4551 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4553 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4555 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4556 be defined individually, they must be defined as a block. Define
4557 S for printing a string instead of hidint the different by using a
4558 macro for adding the 'l'.
4559 * stdio-common/tst-fphex-wide.c: Adjust.
4561 2012-03-07 Marek Polacek <polacek@redhat.com>
4563 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4565 2012-03-08 Marek Polacek <polacek@redhat.com>
4568 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4569 * stdio-common/tst-fphex.c: Define a few macros to make the
4570 test reusable. Use them.
4571 * stdio-common/tst-fphex-wide.c: New file.
4573 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4576 * manual/macros.texi (gnusystems): New macro.
4577 (nongnusystems): Likewise.
4578 (gnulinuxhurdsystems): Likewise.
4579 (gnuhurdsystems): Likewise..
4580 (gnulinuxsystems): Likewise.
4581 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4582 variants of the GNU system, not "GNU system".
4583 * manual/conf.texi: Likewise.
4584 * manual/errno.texi: Likewise. Update example of errno macro
4586 * manual/filesys.texi: Likewise.
4587 (getumask): Document as specific to GNU/Hurd.
4588 * manual/install.texi: Likewise. Reword some references to
4590 * manual/intro.texi: Likewise.
4591 * manual/io.texi: Likewise.
4592 (File Name Portability): Detail which constraints are inapplicable
4593 to all GNU systems and which are only inapplicable to GNU/Hurd.
4594 * manual/job.texi: Likewise.
4595 * manual/llio.texi: Likewise.
4596 (O_NOCTTY): Document as present on GNU/Linux.
4597 * manual/maint.texi: Likewise.
4598 * manual/memory.texi: Likewise.
4599 * manual/pattern.texi: Likewise.
4600 * manual/pipe.texi: Likewise.
4601 * manual/process.texi: Likewise.
4602 * manual/resource.texi: Likewise.
4603 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4605 * manual/setjmp.texi: Likewise.
4606 * manual/signal.texi: Likewise.
4607 * manual/startup.texi: Likewise.
4608 * manual/stdio.texi: Likewise.
4609 * manual/terminal.texi: Likewise.
4610 (ONLCR): Document as POSIX.
4611 (OXTABS): Document availability on GNU/Linux as XTABS.
4612 (ONOEOT): Document availability separately from other bits.
4613 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4614 * manual/time.texi: Likewise.
4615 * manual/users.texi: Likewise.
4616 * INSTALL: Regenerated.
4617 * sysdeps/gnu/errlist.c: Regenerated.
4619 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4620 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4621 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4623 * configure: Regenerated.
4625 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4627 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4628 default includes instead of AC_HEADER_CHECK.
4629 * sysdeps/i386/configure: Regenerated.
4632 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4633 * math/s_cacoshf.c (__cacoshf): Likewise.
4634 * math/s_cacoshl.c (__cacoshl): Likewise.
4635 * math/s_casinh.c (__casinh): Set signs of result from argument.
4636 * math/s_casinhf.c (__casinhf): Likewise.
4637 * math/s_casinhl.c (__casinhl): Likewise.
4638 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4639 (casinh_test): Add more tests.
4640 * sysdeps/i386/fpu/libm-test-ulps: Update.
4641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4643 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4645 * po/zh_TW.po: Update from translation team.
4647 * login/Makefile (distribute): Remove variable.
4648 * catgets/Makefile: Likewise.
4649 * mach/Makefile: Likewise.
4650 * malloc/Makefile: Likewise.
4651 * misc/Makefile: Likewise.
4652 * iconv/Makefile: Likewise.
4653 * nscd/Makefile: Likewise.
4654 * hurd/Makefile: Likewise.
4655 * manual/Makefile: Likewise.
4656 * locale/Makefile: Likewise.
4657 * intl/Makefile: Likewise.
4658 * conform/Makefile: Likewise.
4659 * nss/Makefile: Likewise.
4660 * time/Makefile: Likewise.
4661 * soft-fp/Makefile: Likewise.
4662 * dirent/Makefile: Likewise.
4663 * gmon/Makefile: Likewise.
4664 * po/Makefile: Likewise.
4665 * rt/Makefile: Likewise.
4666 * socket/Makefile: Likewise.
4667 * math/Makefile: Likewise.
4668 * signal/Makefile: Likewise.
4669 * debug/Makefile: Likewise.
4670 * elf/Makefile: Likewise.
4671 * timezone/Makefile: Likewise.
4672 * stdlib/Makefile: Likewise.
4673 * iconvdata/Makefile: Likewise.
4674 * sunrpc/Makefile: Likewise.
4675 * io/Makefile: Likewise.
4676 * argp/Makefile: Likewise.
4677 * inet/Makefile: Likewise.
4678 * hesiod/Makefile: Likewise.
4679 * grp/Makefile: Likewise.
4680 * csu/Makefile: Likewise.
4681 * wctype/Makefile: Likewise.
4682 * crypt/Makefile: Likewise.
4683 * libio/Makefile: Likewise.
4684 * string/Makefile: Likewise.
4685 * nis/Makefile: Likewise.
4686 * resolv/Makefile: Likewise.
4687 * stdio-common/Makefile: Likewise.
4688 * wcsmbs/Makefile: Likewise.
4689 * dlfcn/Makefile: Likewise.
4690 * posix/Makefile: Likewise.
4693 * timezone/Makefile: Don't install timezone files, just the programs
4696 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4698 * nss/databases.def: Add missing gshadow entry.
4700 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4702 2012-03-06 Marek Polacek <polacek@redhat.com>
4705 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4706 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4707 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4708 * stdio-common/tst-long-dbl-fphex.c: New file.
4710 2012-03-06 David S. Miller <davem@davemloft.net>
4712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4713 (set_obp_int): New function.
4714 (get_obp_int): New function.
4715 (__get_clockfreq_via_dev_openprom): Likewise.
4716 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4717 Avoid unused variable warnings on 'val' and use builtin_expect.
4718 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4720 (INLINE_CLONE_SYSCALL): Likewise.
4722 2012-03-05 David S. Miller <davem@davemloft.net>
4724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4726 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4734 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4737 Replace gettimeofday with __vdso_gettimeofday.
4739 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4740 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4741 __vdso_clock_gettime and __vdso_getcpu.
4743 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4744 time with __vdso_time.
4746 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4748 * manual/lang.texi (size_t): Note types to which size_t may be
4749 equivalent with the GNU C Library, but do not describe when
4750 differences between them are significant.
4752 2012-03-05 Andreas Jaeger <aj@suse.de>
4754 * sysdeps/i386/fpu/libm-test-ulps: Update.
4756 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4759 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4760 (__ieee754_pow): Save and restore rounding mode and use
4761 round-to-nearest for main computations.
4762 * math/libm-test.inc (pow_test_tonearest): New function.
4763 (pow_test_towardzero): Likewise.
4764 (pow_test_downward): Likewise.
4765 (pow_test_upward): Likewise.
4766 (main): Call the new functions.
4767 * sysdeps/i386/fpu/libm-test-ulps: Update.
4768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4771 * math/libm-test.inc (cosh_test_tonearest): New function.
4772 (cosh_test_towardzero): Likewise.
4773 (cosh_test_downward): Likewise.
4774 (cosh_test_upward): Likewise.
4775 (sinh_test_tonearest): Likewise.
4776 (sinh_test_towardzero): Likewise.
4777 (sinh_test_downward): Likewise.
4778 (sinh_test_upward): Likewise.
4779 (main): Call the new functions.
4780 * sysdeps/i386/fpu/libm-test-ulps: Update.
4781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4783 2012-03-05 Tom de Vries <tom@codesourcery.com>
4785 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4786 default stack guard is set in last bytes.
4787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4789 2012-03-05 Kees Cook <keescook@chromium.org>
4791 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4794 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4795 possibly allocate from heap instead of stack.
4796 * stdio-common/bug-vfprintf-nargs.c: New file.
4797 * stdio-common/Makefile (tests): Add nargs overflow test.
4799 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4803 2012-03-03 Marek Polacek <polacek@redhat.com>
4805 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4806 * math/math_private.h: Likewise.
4807 * stdlib/tst-strtod.c: Likewise.
4808 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4809 * sysdeps/x86_64/bits/atomic.h: Likewise.
4811 2012-03-02 David S. Miller <davem@davemloft.net>
4813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4817 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4818 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4819 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4822 2012-03-02 Roland McGrath <roland@hack.frob.com>
4825 * manual/examples/README: New file, says the example source files
4826 can be used under GPL>=2.
4827 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4828 line containing just "*/".
4829 * manual/examples/add.c: Add copyright header (GPL>=2).
4830 * manual/examples/argp-ex1.c: Likewise.
4831 * manual/examples/argp-ex2.c: Likewise.
4832 * manual/examples/argp-ex3.c: Likewise.
4833 * manual/examples/argp-ex4.c: Likewise.
4834 * manual/examples/atexit.c: Likewise.
4835 * manual/examples/db.c: Likewise.
4836 * manual/examples/dir.c: Likewise.
4837 * manual/examples/dir2.c: Likewise.
4838 * manual/examples/execinfo.c: Likewise.
4839 * manual/examples/filecli.c: Likewise.
4840 * manual/examples/filesrv.c: Likewise.
4841 * manual/examples/fmtmsgexpl.c: Likewise.
4842 * manual/examples/genpass.c: Likewise.
4843 * manual/examples/inetcli.c: Likewise.
4844 * manual/examples/inetsrv.c: Likewise.
4845 * manual/examples/isockad.c: Likewise.
4846 * manual/examples/longopt.c: Likewise.
4847 * manual/examples/memopen.c: Likewise.
4848 * manual/examples/memstrm.c: Likewise.
4849 * manual/examples/mkfsock.c: Likewise.
4850 * manual/examples/mkisock.c: Likewise.
4851 * manual/examples/mygetpass.c: Likewise.
4852 * manual/examples/pipe.c: Likewise.
4853 * manual/examples/popen.c: Likewise.
4854 * manual/examples/rprintf.c: Likewise.
4855 * manual/examples/search.c: Likewise.
4856 * manual/examples/select.c: Likewise.
4857 * manual/examples/setjmp.c: Likewise.
4858 * manual/examples/sigh1.c: Likewise.
4859 * manual/examples/sigusr.c: Likewise.
4860 * manual/examples/stpcpy.c: Likewise.
4861 * manual/examples/strdupa.c: Likewise.
4862 * manual/examples/strftim.c: Likewise.
4863 * manual/examples/strncat.c: Likewise.
4864 * manual/examples/subopt.c: Likewise.
4865 * manual/examples/swapcontext.c: Likewise.
4866 * manual/examples/termios.c: Likewise.
4867 * manual/examples/testopt.c: Likewise.
4868 * manual/examples/testpass.c: Likewise.
4869 * manual/examples/timeval_subtract.c: Likewise.
4872 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4874 * manual/timeval_subtract.c.texi: ... here, new file.
4876 2012-03-02 David S. Miller <davem@davemloft.net>
4878 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4880 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4883 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4884 (__sin): Save and restore rounding mode and use round-to-nearest
4885 for all computations.
4886 (__cos): Save and restore rounding mode and use round-to-nearest
4887 for all computations.
4888 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4890 (tan): Save and restore rounding mode and use round-to-nearest for
4892 * math/libm-test.inc (cos_test_tonearest): New function.
4893 (cos_test_towardzero): Likewise.
4894 (cos_test_downward): Likewise.
4895 (cos_test_upward): Likewise.
4896 (sin_test_tonearest): Likewise.
4897 (sin_test_towardzero): Likewise.
4898 (sin_test_downward): Likewise.
4899 (sin_test_upward): Likewise.
4900 (tan_test_tonearest): Likewise.
4901 (tan_test_towardzero): Likewise.
4902 (tan_test_downward): Likewise.
4903 (tan_test_upward): Likewise.
4904 (main): Call the new functions.
4905 * sysdeps/i386/fpu/libm-test-ulps: Update.
4906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4910 small n, then large n, before computing and testing k+n.
4911 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4916 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4917 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4918 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4919 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4921 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4923 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4924 * math/libm-test.inc (scalbn_test): Add more tests.
4925 (scalbln_test): Likewise.
4927 * manual/filesys.texi (mode_t): Describe constraints on size and
4928 signedness, not exact equivalence to a particular type.
4930 (ino64_t): Likewise.
4932 (nlink_t): Likewise.
4933 (blkcnt_t): Likewise.
4934 (blkcnt64_t): Likewise.
4935 * manual/llio.texi (off_t): Likewise.
4938 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4939 (__ieee754_exp): Save and restore rounding mode and use
4940 round-to-nearest for all computations.
4941 * math/libm-test.inc (exp_test_tonearest): New function.
4942 (exp_test_towardzero): Likewise.
4943 (exp_test_downward): Likewise.
4944 (exp_test_upward): Likewise.
4945 (main): Call the new functions.
4946 * sysdeps/i386/fpu/libm-test-ulps: Update.
4947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4949 2012-03-01 Chris Demetriou <cgd@google.com>
4951 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4952 have predictable order.
4954 2012-03-01 David S. Miller <davem@davemloft.net>
4956 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4958 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4959 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4960 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4961 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4963 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4964 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4965 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4967 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4968 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4969 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4970 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4971 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4975 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4976 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4977 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4979 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4980 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4981 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4982 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4983 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4986 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4987 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4988 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4989 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4992 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4995 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4996 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4997 * sysdeps/sparc/elf/configure: Regenerated.
4999 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5001 * configure.in (AS, LD): Require binutils 2.20 or later.
5002 * configure: Regenerated.
5003 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5004 as required minimum version.
5005 * INSTALL: Regenerated.
5009 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5010 before squaring exponent.
5011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5012 bottom long double and 27 bits of top long double before squaring
5014 * math/libm-test.inc (erfc_test): Add more tests.
5015 * sysdeps/i386/fpu/libm-test-ulps: Update.
5016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5019 2012-03-01 Kai Tietz <ktietz@redhat.com>
5021 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5022 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5023 containing bit-fields.
5024 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5025 * soft-fp/single.h (_FP_UNION_S): Likewise.
5026 * soft-fp/double.h (_FP_UNION_D): Likewise.
5028 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5032 not include ../strcmp.S.
5033 [USE_AS_STRNCASECMP_L]: Likewise.
5034 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5035 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5036 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5037 (__strncasecmp_l_ia32): Define as alias to
5038 __strncasecmp_l_nonascii.
5041 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5042 * sysdeps/i386/fpu/libm-test-ulps: Update.
5043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5045 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5048 2012-02-29 Jeff Law <law@redhat.com>
5050 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5053 2012-02-29 Marek Polacek <polacek@redhat.com>
5056 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5057 * elf/Makefile: Add rules to run tst-unused-dep.out.
5059 2012-02-28 David S. Miller <davem@davemloft.net>
5061 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5062 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5064 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5065 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5066 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5068 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5070 * math/libm-test.inc (llround_test): Move one test from
5071 lround_test. Use TEST_f_L in moved test.
5072 (lround_test): Move misplaced test to llround_test. Add testcase
5075 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5077 * sysdeps/x86_64/fpu/e_expf.S: New file.
5078 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5080 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5083 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5084 of remain_len that may cause incomplete multi-byte character and
5086 * posix/bug-regex33.c: New file.
5087 * posix/Makefile (tests): Add bug-regex33.
5089 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5091 * manual/macros.texi: New file.
5092 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5093 * manual/libc.texinfo: Include macros.texi.
5094 * manual/creatute.texi: Likewise.
5095 * manual/install.texi: Likewise.
5096 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5097 @glibcadj{} in references to the GNU C Library.
5098 * manual/charset.texi: Likewise.
5099 * manual/conf.texi: Likewise.
5100 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5101 when not using those macros.
5102 * manual/creature.texi: Likewise.
5103 * manual/crypt.texi: Likewise.
5104 * manual/errno.texi: Likewise.
5105 * manual/filesys.texi: Likewise.
5106 * manual/header.texi: Likewise.
5107 * manual/install.texi: Likewise.
5108 * manual/intro.texi: Likewise.
5109 * manual/io.texi: Likewise.
5110 * manual/job.texi: Likewise.
5111 * manual/lang.texi: Likewise.
5112 * manual/libc.texiinfo: Likewise.
5113 * manual/llio.texi: Likewise.
5114 * manual/locale.texi: Likewise.
5115 * manual/maint.texi: Likewise.
5116 * manual/math.texi: Likewise.
5117 * manual/memory.texi: Likewise.
5118 * manual/message.texi: Likewise.
5119 * manual/nss.texi: Likewise.
5120 * manual/pattern.texi: Likewise.
5121 * manual/process.texi: Likewise.
5122 * manual/resource.texi: Likewise.
5123 * manual/search.texi: Likewise.
5124 * manual/setjmp.texi: Likewise.
5125 * manual/signal.texi: Likewise.
5126 * manual/socket.texi: Likewise.
5127 * manual/startup.texi: Likewise.
5128 * manual/stdio.texi: Likewise.
5129 * manual/string.texi: Likewise.
5130 * manual/sysinfo.texi: Likewise.
5131 * manual/syslog.texi: Likewise.
5132 * manual/terminal.texi: Likewise.
5133 * manual/time.texi: Likewise.
5134 * manual/users.texi: Likewise.
5135 * INSTALL: Regenerated.
5136 * NOTES: Regenerated.
5137 * sysdeps/gnu/errlist.c: Regenerated.
5139 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5141 * include/dirent.h: Include <dirstream.h> before
5144 2012-02-28 David S. Miller <davem@davemloft.net>
5146 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5147 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5148 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5149 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5151 2012-02-27 David S. Miller <davem@davemloft.net>
5153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5155 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5156 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5159 frame pointer instead of stack pointer relative arg slot.
5160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5161 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5162 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5164 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5167 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5169 2012-02-27 David S. Miller <davem@davemloft.net>
5171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5175 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5176 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5177 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5178 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5180 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5182 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5183 later. Allow versions 5-9.
5184 * configure: Regenerated.
5185 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5186 required minimum version and 4.6 as recommended version. Do not
5187 mention bugs in GCC 2.7 and 2.8.
5188 * INSTALL: Regenerated.
5190 2012-02-27 David S. Miller <davem@davemloft.net>
5192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5196 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5197 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5198 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5199 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5201 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5202 manipulate bits before adding and subtracting TWO112[sx].
5203 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5205 2012-02-27 Roland McGrath <roland@hack.frob.com>
5208 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5209 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5210 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5211 being in POSIX, because they are in 1003.1-2008.
5213 * rt/tst-aio.c: Include <fcntl.h>.
5214 * rt/tst-aio7.c: Likewise.
5215 * rt/tst-aio64.c: Likewise.
5217 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5219 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5221 * manual/install.texi (--with-headers): Describe headers as
5222 interface headers, not private headers.
5223 (Specific advice for GNU/Linux systems): Describe use of headers
5224 from "make headers_install", not private headers from older
5226 * INSTALL: Regenerated.
5227 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5229 * sysdeps/unix/sysv/linux/configure: Regenerated.
5231 * manual/llio.texi (fclean): Remove documentation.
5233 * manual/Makefile (libc-texi-generated): New variable. Include
5235 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5236 $(libc-texi-generated), not duplicated list of files.
5237 (version.texi, stamp-version): New rules.
5238 (realclean): Remove $(libc-texi-generated), not individual files
5239 from that list. Do not remove dir-add.texinfo.
5240 * manual/libc.texinfo: Comment out uses of edition numbers and
5241 references to printed manual. Remove last-updated dates.
5242 (EDITION): Comment out.
5244 (VERSION, UPDATED): Remove.
5245 (version.texi): Include.
5247 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5249 * sysdeps/posix/spawni.c: Include <signal.h>.
5250 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5251 * sysdeps/pthread/aio_fsync.c: Likewise.
5253 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5255 * conform/Makefile (tests): Run only when not cross-compiling and
5256 when fast-check is not defined.
5258 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5259 * conform/data/limits.h-data: Fixes for POSIX2008.
5260 * conform/run-conformtest.sh: Run all tests.
5261 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5263 * include/bits/dlfcn.h: Likewise.
5264 * include/langinfo.h: Likewise.
5265 * include/monetary.h: Likewise.
5266 * include/sys/poll.h: Likewise.
5268 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5270 * posix/spawn.h: Define __need_sigset_t.
5271 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5272 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5273 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5274 to get sigevent_t only.
5275 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5278 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5279 process_vm_writev only for __USE_GNU.
5280 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5282 * conform/Makefile: For now ignore errors from run-conformtest.
5283 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5284 POSIX to avoid namespace pollution. Don't prepend headers.
5285 * conform/data/aio.h-data: Fixes for POSIX testing.
5286 * conform/data/fcntl.h-data: Likewise.
5287 * conform/data/glob.h-data: Likewise.
5288 * conform/data/grp.h-data: Likewise.
5289 * conform/data/pthread.h-data: Likewise.
5290 * conform/data/pwd.h-data: Likewise.
5291 * conform/data/signal.h-data: Likewise.
5292 * conform/data/spawn.h-data: Likewise.
5293 * conform/data/stdio.h-data: Likewise.
5294 * conform/data/stdlib.h-data: Likewise.
5295 * conform/data/stropts.h-data: Likewise.
5296 * conform/data/sys/mman.h-data: Likewise.
5297 * conform/data/sys/stat.h-data: Likewise.
5298 * conform/data/sys/types.h-data: Likewise.
5299 * conform/data/sys/wait.h-data: Likewise.
5300 * conform/data/time.h-data: Likewise.
5301 * conform/data/unistd.h-data: Likewise.
5302 * conform/data/utime.h-data: Likewise.
5304 * io/sys/stat.h: fchmod was always in POSIX.
5305 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5306 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5307 * rt/aio.h: Define __need_timespec before including <time.h>.
5308 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5309 struct. Add forward declaration of pthread_attr_t and use it in
5311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5313 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5314 always remove CLK_TCK definition.
5316 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5318 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5320 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5322 * conform/run-conformtest.sh: New file.
5323 * conform/Makefile: Run run-conformtest for tests.
5324 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5327 * conform/data/uchar.h-data: New file.
5328 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5329 * conform/data/arpa/inet.h-data: Likewise.
5330 * conform/data/assert.h-data: Likewise.
5331 * conform/data/complex.h-data: Likewise.
5332 * conform/data/cpio.h-data: Likewise.
5333 * conform/data/ctype.h-data: Likewise.
5334 * conform/data/dirent.h-data: Likewise.
5335 * conform/data/dlfcn.h-data: Likewise.
5336 * conform/data/errno.h-data: Likewise.
5337 * conform/data/fcntl.h-data: Likewise.
5338 * conform/data/float.h-data: Likewise.
5339 * conform/data/fmtmsg.h-data: Likewise.
5340 * conform/data/fnmatch.h-data: Likewise.
5341 * conform/data/ftw.h-data: Likewise.
5342 * conform/data/glob.h-data: Likewise.
5343 * conform/data/grp.h-data: Likewise.
5344 * conform/data/iconv.h-data: Likewise.
5345 * conform/data/inttypes.h-data: Likewise.
5346 * conform/data/langinfo.h-data: Likewise.
5347 * conform/data/libgen.h-data: Likewise.
5348 * conform/data/limits.h-data: Likewise.
5349 * conform/data/locale.h-data: Likewise.
5350 * conform/data/math.h-data: Likewise.
5351 * conform/data/monetary.h-data: Likewise.
5352 * conform/data/mqueue.h-data: Likewise.
5353 * conform/data/ndbm.h-data: Likewise.
5354 * conform/data/net/if.h-data: Likewise.
5355 * conform/data/netdb.h-data: Likewise.
5356 * conform/data/netinet/in.h-data: Likewise.
5357 * conform/data/nl_types.h-data: Likewise.
5358 * conform/data/poll.h-data: Likewise.
5359 * conform/data/pthread.h-data: Likewise.
5360 * conform/data/pwd.h-data: Likewise.
5361 * conform/data/regex.h-data: Likewise.
5362 * conform/data/sched.h-data: Likewise.
5363 * conform/data/search.h-data: Likewise.
5364 * conform/data/semaphore.h-data: Likewise.
5365 * conform/data/setjmp.h-data: Likewise.
5366 * conform/data/signal.h-data: Likewise.
5367 * conform/data/spawn.h-data: Likewise.
5368 * conform/data/stdarg.h-data: Likewise.
5369 * conform/data/stdio.h-data: Likewise.
5370 * conform/data/stdlib.h-data: Likewise.
5371 * conform/data/string.h-data: Likewise.
5372 * conform/data/strings.h-data: Likewise.
5373 * conform/data/stropts.h-data: Likewise.
5374 * conform/data/sys/ipc.h-data: Likewise.
5375 * conform/data/sys/mman.h-data: Likewise.
5376 * conform/data/sys/msg.h-data: Likewise.
5377 * conform/data/sys/resource.h-data: Likewise.
5378 * conform/data/sys/select.h-data: Likewise.
5379 * conform/data/sys/sem.h-data: Likewise.
5380 * conform/data/sys/shm.h-data: Likewise.
5381 * conform/data/sys/socket.h-data: Likewise.
5382 * conform/data/sys/stat.h-data: Likewise.
5383 * conform/data/sys/statvfs.h-data: Likewise.
5384 * conform/data/sys/time.h-data: Likewise.
5385 * conform/data/sys/timeb.h-data: Likewise.
5386 * conform/data/sys/times.h-data: Likewise.
5387 * conform/data/sys/types.h-data: Likewise.
5388 * conform/data/sys/uio.h-data: Likewise.
5389 * conform/data/sys/un.h-data: Likewise.
5390 * conform/data/sys/utsname.h-data: Likewise.
5391 * conform/data/sys/wait.h-data: Likewise.
5392 * conform/data/syslog.h-data: Likewise.
5393 * conform/data/tar.h-data: Likewise.
5394 * conform/data/termios.h-data: Likewise.
5395 * conform/data/utime.h-data: Likewise.
5396 * conform/data/utmpx.h-data: Likewise.
5397 * conform/data/varargs.h-data: Likewise.
5398 * conform/data/wchar.h-data: Likewise.
5399 * conform/data/wctype.h-data: Likewise.
5400 * conform/data/wordexp.h-data: Likewise.
5402 * include/stropts.h: New file.
5403 * include/uchar.h: New file.
5404 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5405 * include/assert.h: Likewise.
5406 * include/ctype.h: Likewise.
5407 * include/dirent.h: Likewise.
5408 * include/dlfcn.h: Likewise.
5409 * include/fcntl.h: Likewise.
5410 * include/fnmatch.h: Likewise.
5411 * include/glob.h: Likewise.
5412 * include/grp.h: Likewise.
5413 * include/libio.h: Likewise.
5414 * include/locale.h: Likewise.
5415 * include/math.h: Likewise.
5416 * include/net/if.h: Likewise.
5417 * include/netdb.h: Likewise.
5418 * include/netinet/in.h: Likewise.
5419 * include/pthread.h: Likewise.
5420 * include/pwd.h: Likewise.
5421 * include/regex.h: Likewise.
5422 * include/sched.h: Likewise.
5423 * include/search.h: Likewise.
5424 * include/setjmp.h: Likewise.
5425 * include/signal.h: Likewise.
5426 * include/stdio.h: Likewise.
5427 * include/stdlib.h: Likewise.
5428 * include/string.h: Likewise.
5429 * include/sys/cdefs.h: Likewise.
5430 * include/sys/mman.h: Likewise.
5431 * include/sys/msg.h: Likewise.
5432 * include/sys/resource.h: Likewise.
5433 * include/sys/select.h: Likewise.
5434 * include/sys/socket.h: Likewise.
5435 * include/sys/stat.h: Likewise.
5436 * include/sys/statvfs.h: Likewise.
5437 * include/sys/time.h: Likewise.
5438 * include/sys/times.h: Likewise.
5439 * include/sys/uio.h: Likewise.
5440 * include/sys/utsname.h: Likewise.
5441 * include/sys/wait.h: Likewise.
5442 * include/termios.h: Likewise.
5443 * include/time.h: Likewise.
5444 * include/ulimit.h: Likewise.
5445 * include/unistd.h: Likewise.
5446 * include/utime.h: Likewise.
5447 * include/wchar.h: Likewise.
5448 * include/wctype.h: Likewise.
5449 * include/wordexp.h: Likewise.
5451 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5453 * time/time.h: TIME_UTC must be a macro.
5454 Make timespec_get available for ISO C11 only as well.
5456 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5458 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5459 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5461 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5463 * configure.in: Use -o not -a in test for unsupported multi-arch.
5465 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5467 * manual/texinfo.tex: Update to version 2012-01-19.16.
5469 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5471 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5473 2012-02-24 Roland McGrath <roland@hack.frob.com>
5476 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5477 * manual/fdl-1.3.texi: New file.
5478 * manual/fdl-1.1.texi: File removed.
5481 * manual/libc.texinfo (FDL_VERSION): New @set.
5482 Use it for mention of FDL in cover text.
5483 (Documentation License): Use it in @include file name.
5485 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5486 Roland McGrath <roland@hack.frob.com>
5489 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5490 not LONG_LONG_MAX and LONG_LONG_MIN.
5491 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5492 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5494 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5496 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5500 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5501 manipulate bits before adding and subtracting TWO23[sx].
5502 * math/libm-test.inc (nearbyint_test): Add more tests.
5504 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5507 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5508 bits before adding and subtracting TWO23[sx].
5509 * math/libm-test.inc (rint_test): Add more tests.
5510 (rint_test_tonearest): Likewise.
5511 (rint_test_towardzero): Likewise.
5512 (rint_test_downward): Likewise.
5513 (rint_test_upward: Likewise.
5515 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5518 * include/stdc-predef.h: New file. Extracted from features.h.
5519 * include/features.h: Include stdc-predef.h.
5520 * Makefile (headers): Add stdc-predef.h.
5521 * CONFORMANCE (Compiler limitations): Update.
5523 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5525 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5527 2012-02-21 David S. Miller <davem@davemloft.net>
5529 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5532 2012-02-20 David S. Miller <davem@davemloft.net>
5534 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5535 using a normal save/restore sequence, rather than allocating a
5536 dummy stack frame just to store a frame pointer and restore.
5537 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5539 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5541 * manual/install.texi: Fix stray word in line-wrapped comment.
5543 2012-02-20 David S. Miller <davem@davemloft.net>
5545 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5546 both binutils and gcc support GOTDATA.
5548 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5549 "rd %pc" in the PIC register setup sequences.
5551 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5552 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5553 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5554 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5555 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5557 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5560 (SYSCALL_ERROR_HANDLER): Likewise.
5561 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5562 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5563 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5564 (SYSCALL_ERROR_HANDLER): Likewise.
5566 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5567 (HAVE_GCC_GOTDATA): New.
5568 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5569 relocation support in both binutils and gcc.
5570 * sysdeps/sparc/elf/configure: Regenerate.
5572 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5573 * sysdeps/sparc/sparc32/elf/configure: Delete.
5574 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5575 * sysdeps/sparc/sparc64/elf/configure: Delete.
5576 * sysdeps/sparc/elf/configure.in: New file.
5577 * sysdeps/sparc/elf/configure: Generate.
5579 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5580 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5581 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5582 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5583 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5585 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5587 * manual/install.texi: Do not mention specific glibc version
5589 * manual/libc.texinfo (VERSION, UPDATED): Update.
5590 (@copying): Use @copyright{} and range of years.
5592 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5595 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5596 [crti.S not in sysdirs] (generated): Do not append.
5597 [crti.S not in sysdirs] (omit-deps): Likewise.
5598 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5599 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5600 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5601 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5602 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5604 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5605 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5606 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5607 * csu/defs.awk: Remove file.
5608 * sysdeps/generic/initfini.c: Likewise.
5609 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5611 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5614 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5616 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5617 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5618 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5621 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5623 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5624 (__EPOLL_PACKED): Define to empty if not defined by
5626 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5630 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5632 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5633 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5634 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5635 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5637 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5641 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5643 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5645 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5646 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5647 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5652 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5653 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5655 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5657 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5658 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5660 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5662 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5665 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5667 * math/w_acos.c: Use non-signaling floating-point comparisons.
5668 * math/w_acosf.c: Likewise.
5669 * math/w_acosh.c: Likewise.
5670 * math/w_acoshf.c: Likewise.
5671 * math/w_acoshl.c: Likewise.
5672 * math/w_acosl.c: Likewise.
5673 * math/w_asin.c: Likewise.
5674 * math/w_asinf.c: Likewise.
5675 * math/w_asinl.c: Likewise.
5676 * math/w_atanh.c: Likewise.
5677 * math/w_atanhf.c: Likewise.
5678 * math/w_atanhl.c: Likewise.
5679 * math/w_exp2.c: Likewise.
5680 * math/w_exp2f.c: Likewise.
5681 * math/w_exp2l.c: Likewise.
5682 * math/w_j0.c: Likewise.
5683 * math/w_j0f.c: Likewise.
5684 * math/w_j0l.c: Likewise.
5685 * math/w_j1.c: Likewise.
5686 * math/w_j1f.c: Likewise.
5687 * math/w_j1l.c: Likewise.
5688 * math/w_jn.c: Likewise.
5689 * math/w_jnf.c: Likewise.
5690 * math/w_log.c: Likewise.
5691 * math/w_log10.c: Likewise.
5692 * math/w_log10f.c: Likewise.
5693 * math/w_log10l.c: Likewise.
5694 * math/w_log2.c: Likewise.
5695 * math/w_log2f.c: Likewise.
5696 * math/w_log2l.c: Likewise.
5697 * math/w_logf.c: Likewise.
5698 * math/w_logl.c: Likewise.
5699 * math/w_sqrt.c: Likewise.
5700 * math/w_sqrtf.c: Likewise.
5701 * math/w_sqrtl.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5703 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5704 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5705 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5706 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5708 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5711 * manual/string.texi (strnlen): Use correct parameter name in
5712 equivalent expression.
5714 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5717 * manual/users.texi (seteuid): Consistently use neweuid for
5720 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5723 * manual/nss.texi (Services in the NSS configuration): Correct
5724 list of services in example configuration file.
5726 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5729 * manual/arith.texi: Remove statements about negative zero
5730 behaving identically to zero.
5732 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5735 * manual/install.texi: Do not document upgrading from libc5.
5737 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5740 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5742 2012-02-18 David S. Miller <davem@davemloft.net>
5744 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5745 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5746 %o7 across the call.
5747 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5752 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5753 * sysdeps/sparc/crtn.S: Likewise.
5755 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5757 * aout/Makefile: Remove.
5759 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5762 * manual/examples/argp-ex1.c (main): Format definition in GNU
5764 * manual/examples/argp-ex2.c (main): Likewise.
5765 * manual/examples/argp-ex3.c (main): Likewise.
5766 * manual/examples/argp-ex4.c (main): Likewise.
5767 * manual/examples/longopt.c (main): Use new-style prototype
5769 * manual/examples/strncat.c (main): Specify return type and use
5770 (void) for arguments.
5771 * manual/examples/subopt.c (main): Use char **argv argument.
5773 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5776 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5779 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5782 * manual/string.texi (strchr): Change when strchrnul is
5785 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5788 * manual/locale.texi (setlocale): Document LOCPATH.
5790 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5793 * manual/process.texi (execle): Move @dots{} before last argument.
5795 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5798 * manual/charset.texi (Generic Charset Conversion): Fix typo
5799 (LC_TYPE -> LC_CTYPE).
5801 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5804 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5805 (scalbnf): Likewise.
5806 (scalbnl): Likewise.
5807 (scalbln): Likewise.
5808 (scalblnf): Likewise.
5809 (scalblnl): Likewise.
5810 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5814 * manual/filesys.texi (telldir): Use braces around return type.
5815 * manual/llio.texi (mmap): Add space after comma.
5817 * manual/math.texi (jn): Use @var{} on parameter names.
5823 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5825 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5827 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5828 (sched_get_priority_max): Likewise.
5829 * manual/signal.texi (sigvec): Add space after comma.
5830 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5832 (if_indextoname): Likewise.
5833 (if_freenameindex): Likewise.
5834 (sendto): Use ',' instead of '.' in prototype.
5835 * manual/startup.texi (syscall): Use @dots{} instead of literal
5837 * manual/stdio.texi (__fpending): Separate initial words of
5838 paragraph from @deftypefun line.
5839 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5841 (vsyslog): Use @var{} on parameter names.
5842 * manual/terminal.texi (stty): Use @var{} on parameter names.
5843 * manual/users.texi (getutmp): Use @var{} on parameter names.
5844 (getutmpx): Likewise.
5846 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5849 * manual/stdio.texi (fopen): Fix typos in description of
5852 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5855 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5856 get clock_id definition.
5858 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5861 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5862 (madvise): Cast every argument to void on its own.
5864 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5867 * manual/startup.texi (Exit Status): Fix typo.
5869 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5872 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5873 * manual/examples/argp-ex2.c: Likewise.
5874 * manual/examples/argp-ex3.c: Likewise.
5876 2012-02-16 Richard Henderson <rth@redhat.com>
5878 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5879 * sysdeps/s390/s390-32/initfini.c: Remove.
5880 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5881 * sysdeps/s390/s390-64/initfini.c: Remove.
5883 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5885 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5886 compiler output for sysdeps/generic/initfini.c.
5887 * sysdeps/sh/elf/initfini.c: Remove file.
5889 2012-02-16 David S. Miller <davem@davemloft.net>
5892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5894 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5895 * sysdeps/sparc/crti.S: New file.
5896 * sysdeps/sparc/crtn.S: New file.
5897 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5898 * sysdeps/sparc/sparc64/Makefile: Likewise.
5900 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5903 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5905 2012-02-15 Roland McGrath <roland@hack.frob.com>
5908 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5910 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5911 (write, read, close): Likewise.
5912 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5914 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5916 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5917 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5918 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5919 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5921 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5925 2012-02-14 Marek Polacek <polacek@redhat.com>
5927 * sysdeps/x86_64/crti.S: New file.
5928 * sysdeps/x86_64/crtn.S: New file.
5929 * sysdeps/x86_64/elf/initfini.c: Remove file.
5931 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5933 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5934 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5935 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5936 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5938 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5942 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5944 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5945 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5946 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5947 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5949 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5953 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5955 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5956 __feraiseexcept instead of feraiseexcept.
5958 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5959 nanosleep invocations.
5960 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5961 strings, and add error checking for a nanosleep invocations.
5963 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5965 Replace FSF snail mail address with URLs, as per GNU coding standards.
5966 Most of the snail mail addresses were wrong anyway, and omitting
5967 them makes the source code easier to maintain. Almost all of the
5968 changes are to license notices and to locale LC_IDENTIFICATION
5969 addresses, except for this one:
5970 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5971 not its snail mail address.
5973 2012-02-09 Richard Henderson <rth@twiddle.net>
5975 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5976 of kernel-features.h.
5978 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5980 2012-02-08 Marek Polacek <polacek@redhat.com>
5982 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5983 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5984 * sysdeps/gnu/_G_config.h: Likewise.
5985 * sysdeps/generic/_G_config.h: Likewise.
5987 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5989 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993 * sysdeps/powerpc/powerpc32/crti.S: New file.
5994 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5995 * sysdeps/powerpc/powerpc64/crti.S: New file.
5996 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5998 * Makeconfig (have-initfini): Don't set.
5999 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6000 * configure.in (nopic_initfini): Don't substitute.
6001 * config.h.in (HAVE_INITFINI): Don't #undef.
6002 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6003 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6005 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6007 Support crti.S and crtn.S provided directly by architectures.
6008 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6009 [crti.S in sysdirs] (omit-deps): Likewise.
6010 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6011 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6012 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6013 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6014 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6015 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6016 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6017 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6018 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6019 compiler output for sysdeps/generic/initfini.c.
6020 * sysdeps/i386/elf/Makefile: Remove file.
6021 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6023 2012-02-07 Marek Polacek <polacek@redhat.com>
6025 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6026 * sysdeps/gnu/_G_config.h: Likewise.
6027 * sysdeps/mach/hurd/_G_config.h: Likewise.
6029 2012-02-07 Marek Polacek <polacek@redhat.com>
6031 * math/Makefile (tests): Add tst-CMPLX2.
6032 * math/tst-CMPLX2.c: New file.
6034 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6036 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6038 * math/libm-test.inc (jn_test): Add missing L suffix.
6040 2012-02-06 Marek Polacek <polacek@redhat.com>
6042 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6043 * sysdeps/i386/fpu/e_powf.S: Likewise.
6044 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6045 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6046 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6047 * sysdeps/i386/fpu/e_pow.S: Likewise.
6048 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6049 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6050 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6051 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6052 * sysdeps/i386/fpu/e_log2.S: Likewise.
6053 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6054 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6055 * sysdeps/i386/fpu/e_powl.S: Likewise.
6056 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6057 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6058 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6059 * sysdeps/i386/fpu/e_logl.S: Likewise.
6060 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6061 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6062 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6063 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6064 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6065 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6066 * sysdeps/i386/fpu/e_log.S: Likewise.
6067 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6068 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6069 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6070 * sysdeps/i386/fpu/e_logf.S: Likewise.
6071 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6072 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6073 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6074 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6075 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6076 * sysdeps/i386/fpu/e_log10.S: Likewise.
6077 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6078 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6079 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6080 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6081 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6082 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6083 * sysdeps/i386/asm-syntax.h: Likewise.
6084 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6085 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6086 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6087 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6088 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6089 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6090 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6091 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6092 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6093 * sysdeps/powerpc/sysdep.h: Likewise.
6094 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6095 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6097 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6100 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6102 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6104 * sysdeps/i386/sysdep.h: Include <features.h>.
6105 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6108 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6110 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6112 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6115 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6117 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6118 (SETUP_PIC_REG): Use GET_PC_THUNK.
6119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6122 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6124 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6125 for non-PIC compilation.
6126 (SETUP_PIC_REG): Add .p2align directive.
6127 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6128 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6129 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6131 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6132 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6133 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6135 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6136 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6137 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6138 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6139 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6140 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6141 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6142 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6143 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6144 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6145 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6146 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6147 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6149 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6150 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6151 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6153 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6155 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6156 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6157 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6158 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6159 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6160 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6161 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6162 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6163 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6164 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6165 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6166 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6167 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6169 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6171 * math/tst-CMPLX.c: Include <stdio.h>.
6173 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6175 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6177 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6178 * sysdeps/sparc/bits/mathdef.h: Likewise.
6180 2012-01-31 Marek Polacek <polacek@redhat.com>
6182 * libio/libio.h: Don't define _PARAMS.
6183 * locale/programs/config.h: Don't define PARAMS.
6184 * stdlib/strtol_l.c: Likewise.
6185 (__strtol_l): Remove PARAMS from the prototype.
6187 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6189 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6190 names. Just use the correct names. Remove unnecessary wrapper
6192 * malloc/arena.c: Likewise.
6193 * malloc/hooks.c: Likewise.
6195 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6196 ARENA_TEST says not to. Simplify test for creation of a new arena.
6197 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6199 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6201 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6203 (update_get_addr): New function.
6204 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6205 GET_ADDR_MODULE parameter.
6207 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6209 * crypt/cert.c: Remove __STDC__ conditionals.
6210 * crypt/crypt-entry.c: Likewise.
6211 * crypt/crypt_util.c: Likewise.
6212 * libio/filedoalloc.c: Likewise.
6213 * libio/fileops.c: Likewise.
6214 * libio/genops.c: Likewise.
6215 * libio/iofclose.c: Likewise.
6216 * libio/iofdopen.c: Likewise.
6217 * libio/iofopen.c: Likewise.
6218 * libio/iofopen64.c: Likewise.
6219 * libio/iogetdelim.c: Likewise.
6220 * libio/iopopen.c: Likewise.
6221 * libio/obprintf.c: Likewise.
6222 * libio/oldfileops.c: Likewise.
6223 * libio/oldiofclose.c: Likewise.
6224 * libio/oldiofdopen.c: Likewise.
6225 * libio/oldiofopen.c: Likewise.
6226 * libio/oldiopopen.c: Likewise.
6227 * libio/wfiledoalloc.c: Likewise.
6228 * libio/wgenops.c: Likewise.
6229 * locale/programs/xmalloc.c: Likewise.
6230 * misc/syslog.c: Likewise.
6231 * stdio-common/xbug.c: Likewise.
6232 * string/memchr.c: Likewise.
6233 * string/memcmp.c: Likewise.
6234 * string/memrchr.c: Likewise.
6235 * string/rawmemchr.c: Likewise.
6236 * sysdeps/posix/getcwd.c: Likewise.
6237 * time/strftime_l.c: Likewise.
6239 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6241 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6242 * config.make.in (config-cflags-sse2avx): Define.
6243 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6246 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6248 * scripts/config.guess: Update from upstream config git repository.
6249 * scripts/config.sub: Likewise.
6251 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6253 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6255 (R_TILEPRO_*, R_TILEGX_*): New macros.
6257 * scripts/firstversions.awk: Fix bug in version range handling.
6259 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6261 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6263 * include/sys/epoll.h: New file.
6264 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6267 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6269 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6270 Avoid unnecessary __WORDSIZE == 64 test.
6271 (fmaxf): Use VEX format if possible.
6276 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6277 * math/math_private.h: Remove libc_fegetround* and
6279 * sysdeps/i386/configure.in: Check for -msse2avx.
6280 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6281 also if SSE2AVX is defined.
6282 Remove libc_fegetround* and libc_fesetround*.
6283 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6284 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6288 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6293 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6295 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6297 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6299 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6301 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6304 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6306 * Makeconfig (libm): Define.
6307 * elf/Makefile: Add rules to build and run tst-relsort1.
6308 * elf/tst-relsort1.c: New file.
6309 * elf/tst-relsort1mod1.c: New file.
6310 * elf/tst-relsort1mod2.c: New file.
6312 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6314 * math/s_ldexp.c: Remove __STDC__ conditionals.
6315 * math/s_ldexpf.c: Likewise.
6316 * math/s_ldexpl.c: Likewise.
6317 * math/s_nextafter.c: Likewise.
6318 * math/s_nexttowardf.c: Likewise.
6319 * math/s_significand.c: Likewise.
6320 * math/s_significandf.c: Likewise.
6321 * math/s_significandl.c: Likewise.
6322 * math/w_jnl.c: Likewise.
6323 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6324 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6325 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6326 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6327 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6330 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6331 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6332 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6333 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6335 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6336 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6337 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6338 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6340 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6342 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6343 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6344 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6345 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6347 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6348 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6349 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6350 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6351 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6352 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6353 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6354 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6355 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6356 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6357 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6358 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6359 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6360 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6361 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6362 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6363 * sysdeps/ieee754/k_standard.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6425 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6430 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6438 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6439 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6443 * sysdeps/ieee754/s_matherr.c: Likewise.
6444 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6445 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6449 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6451 * crypt/md5.h: Remove __STDC__ conditionals.
6452 * libio/libioP.h: Likewise.
6453 * locale/programs/config.h: Likewise.
6454 * sysdeps/generic/sysdep.h: Likewise.
6455 * sysdeps/i386/asm-syntax.h: Likewise.
6456 * sysdeps/s390/asm-syntax.h: Likewise.
6457 * sysdeps/unix/sysdep.h: Likewise.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6461 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6463 * libio/libio.h: Remove __STDC__ conditionals.
6464 * malloc/obstack.h: Likewise.
6465 * math/complex.h: Likewise.
6466 * math/math.h: Likewise.
6467 * sysdeps/generic/_G_config.h: Likewise.
6468 * sysdeps/gnu/_G_config.h: Likewise.
6469 * sysdeps/mach/hurd/_G_config.h: Likewise.
6470 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6471 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6472 * sysdeps/sparc/bits/mathdef.h: Likewise.
6474 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6477 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6478 Clean up HAS_* macros.
6479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6480 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6484 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6485 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6486 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6487 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6488 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6490 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6492 * elf/tst-unique3.cc (gets): Remove declaration.
6493 * elf/tst-unique3lib.cc (gets): Likewise.
6494 * elf/tst-unique3lib2.cc (gets): Likewise.
6495 * elf/tst-unique4.cc (gets): Likewise.
6497 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6499 * include/stdio.h: Add C++ protection. Add gets declarations and
6501 * debug/tst-chk1.c: Don't declare gets here.
6502 * stdio-common/tst-gets.c: Likewise.
6504 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6506 * posix/glob: Remove directory.
6508 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6510 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6512 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6514 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6515 of the non-standard EPFNOSUPPORT.
6517 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6519 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6520 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6521 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6523 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6525 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6527 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6529 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6531 * nscd/grpcache.c (cache_addgr): Likewise.
6532 * nscd/hstcache.c (cache_addhst): Likewise.
6533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6534 * nscd/pwdcache.c (cache_addpw): Likewise.
6535 * nscd/servicescache.c (cache_addserv): Likewise.
6537 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6539 * malloc/malloc.c: Various cleanups.
6540 * malloc/hooks.c: Likewise.
6542 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6543 * stdlib/bug-fmtmsg1.c: New file.
6545 * stdlib/fmtmsg.c (init): Add missing unlock.
6546 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6548 2012-01-12 Marek Polacek <polacek@redhat.com>
6550 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6553 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6555 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6556 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6557 macro to ensure uniqueness of label name.
6558 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6559 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6561 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6563 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6565 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6566 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6567 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6570 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6572 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6574 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6575 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6576 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6578 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6580 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6581 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6582 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6585 * math/bits/math-finite.h: Add ldexp support.
6587 2012-01-10 Marek Polacek <polacek@redhat.com>
6589 * locale/programs/localedef.h (show_archive_content): Add noreturn
6592 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6594 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6596 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6598 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6600 * io/Makefile (headers): Add bits/poll2.h.
6602 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6605 typo #include statement.
6607 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6609 * include/sys/cdefs.h: Define __attribute_alloc_size.
6610 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6611 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6612 * elf/pldd.c: Likewise.
6613 * iconv/iconv_charmap.c: Likewise.
6614 * iconv/iconvconfig.c: Likewise.
6615 * iconv/strtab.c: Likewise.
6616 * locale/programs/locale.c: Likewise.
6617 * locale/programs/localedef.h: Likewise.
6618 * locale/programs/simple-hash.c: Likewise.
6619 * nscd/nscd.h: Likewise.
6620 * nss/makedb.c: Likewise.
6621 * sysdeps/generic/ldconfig.h: Likewise.
6622 * locale/programs/localedef.c: Remove xmalloc prototype.
6623 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6625 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6627 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6630 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6632 * math/Makefile (tests): Add tst-CMPLX.
6633 * math/tst-CMPLX.c: New file.
6635 * math/complex.h (CMPLXL): Fix typo.
6637 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6638 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6640 * debug/tst-chk1.c: Add poll and ppoll tests.
6641 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6642 * include/sys/poll.h: Add hidden proto for ppoll.
6643 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6644 * sysdeps/mach/hurd/ppoll.c: Likewise.
6645 * io/ppoll.c: Likewise.
6646 * debug/poll_chk.c: New file.
6647 * debug/ppoll_chk.c: New file.
6648 * include/bits/poll2.h: New file.
6649 * io/bits/poll2.h: New file.
6652 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6654 * configure.in: static is always set to yes. Remove.
6655 * config.make.in: Don't set build-static.
6656 * Makeconfig: Remove use of build-static.
6657 * dlfcn/Makefile: Likewise.
6658 * elf/Makefile: Likewise.
6659 * math/Makefile: Likewise.
6660 * misc/Makefile: Likewise.
6661 * nptl/Makefile: Likewise.
6662 * sysdeps/mach/hurd/Makefile: Likewise.
6664 * configure.in: PWD_P is not used anymore.
6665 * config.make.in: Remove PWD_P entry.
6667 * configure.in: Remove last remnants of RANLIB.
6668 No need to check for signed size_t anymore.
6669 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6671 Remove __builtin_expect test because we require at least gcc 3.4.
6672 * aclocal.m4: Likewise.
6674 * wcsmbs/mbrtoc16.c: Implement using towc function.
6675 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6676 * wcsmbs/wcsmbsload.c: Likewise.
6677 * iconv/gconv_simple.c: Likewise.
6678 * iconv/gconv_int.h: Likewise.
6679 * iconv/gconv_builtin.h: Likewise.
6680 * iconv/iconv_prog.c: Remove CHAR16 handling.
6682 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6684 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6686 * configure.in: Remove --with-elf and --enable-bounded options.
6687 Dont set base_machine for ia64. More non-ELF conditions removed.
6688 Remove testing and setting of leading underscore information.
6689 * config.make.in (build-bounded): Set to no.
6690 * config.h.in: Remove NO_UNDERSCORES entry.
6691 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6693 * csu/start.c: Remove !NO_UNDERSCORE code.
6694 * locale/localeinfo.h: Likewise.
6695 * sysdeps/generic/machine-gmon.h: Likewise.
6696 * sysdeps/generic/sysdep.h: Likewise.
6697 * sysdeps/i386/sysdep.h: Likewise.
6698 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6699 * sysdeps/mach/sysdep.h: Likewise.
6700 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6702 * sysdeps/sh/sysdep.h: Likewise.
6703 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6704 * sysdeps/unix/i386/sysdep.S: Likewise.
6705 * sysdeps/unix/sparc/start.c: Likewise.
6706 * sysdeps/unix/sparc/sysdep.S: Likewise.
6707 * sysdeps/unix/sparc/sysdep.h: Likewise.
6708 * sysdeps/unix/start.c: Likewise.
6709 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6710 * sysdeps/x86_64/sysdep.h: Likewise.
6712 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6715 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6717 * argp/argp-fmtstream.h: Use const instead __const.
6718 * argp/argp.h: Likewise.
6719 * assert/assert.h: Likewise.
6720 * bits/fenv.h: Likewise.
6721 * bits/sched.h: Likewise.
6722 * bits/sigset.h: Likewise.
6723 * bits/sigthread.h: Likewise.
6724 * catgets/nl_types.h: Likewise.
6725 * conform/data/pthread.h-data: Likewise.
6726 * crypt/crypt-private.h: Likewise.
6727 * crypt/crypt.h: Likewise.
6728 * crypt/crypt_util.c: Likewise.
6729 * ctype/ctype.h: Likewise.
6730 * debug/execinfo.h: Likewise.
6731 * debug/mbsnrtowcs_chk.c: Likewise.
6732 * debug/mbsrtowcs_chk.c: Likewise.
6733 * debug/wcsnrtombs_chk.c: Likewise.
6734 * debug/wcsrtombs_chk.c: Likewise.
6735 * debug/wcstombs_chk.c: Likewise.
6736 * dirent/dirent.h: Likewise.
6737 * dlfcn/dlfcn.h: Likewise.
6738 * elf/neededtest4.c: Likewise.
6739 * grp/grp.h: Likewise.
6740 * gshadow/gshadow.h: Likewise.
6741 * iconv/gconv.h: Likewise.
6742 * iconv/gconv_int.h: Likewise.
6743 * iconv/gconv_simple.c: Likewise.
6744 * iconv/iconv.h: Likewise.
6745 * iconv/loop.c: Likewise.
6746 * iconv/skeleton.c: Likewise.
6747 * include/aio.h: Likewise.
6748 * include/aliases.h: Likewise.
6749 * include/argz.h: Likewise.
6750 * include/arpa/inet.h: Likewise.
6751 * include/assert.h: Likewise.
6752 * include/dirent.h: Likewise.
6753 * include/dlfcn.h: Likewise.
6754 * include/execinfo.h: Likewise.
6755 * include/fcntl.h: Likewise.
6756 * include/fenv.h: Likewise.
6757 * include/glob.h: Likewise.
6758 * include/grp.h: Likewise.
6759 * include/libintl.h: Likewise.
6760 * include/mntent.h: Likewise.
6761 * include/netdb.h: Likewise.
6762 * include/pwd.h: Likewise.
6763 * include/rpc/netdb.h: Likewise.
6764 * include/sched.h: Likewise.
6765 * include/search.h: Likewise.
6766 * include/shadow.h: Likewise.
6767 * include/signal.h: Likewise.
6768 * include/stdio.h: Likewise.
6769 * include/stdlib.h: Likewise.
6770 * include/string.h: Likewise.
6771 * include/sys/socket.h: Likewise.
6772 * include/sys/stat.h: Likewise.
6773 * include/sys/statfs.h: Likewise.
6774 * include/sys/statvfs.h: Likewise.
6775 * include/sys/syslog.h: Likewise.
6776 * include/sys/time.h: Likewise.
6777 * include/sys/uio.h: Likewise.
6778 * include/time.h: Likewise.
6779 * include/unistd.h: Likewise.
6780 * include/utmp.h: Likewise.
6781 * include/wchar.h: Likewise.
6782 * include/wctype.h: Likewise.
6783 * inet/aliases.h: Likewise.
6784 * inet/arpa/inet.h: Likewise.
6785 * inet/netinet/ether.h: Likewise.
6786 * inet/netinet/in.h: Likewise.
6787 * intl/libintl.h: Likewise.
6788 * io/bits/fcntl2.h: Likewise.
6789 * io/fcntl.h: Likewise.
6790 * io/ftw.h: Likewise.
6791 * io/sys/poll.h: Likewise.
6792 * io/sys/stat.h: Likewise.
6793 * io/sys/statfs.h: Likewise.
6794 * io/sys/statvfs.h: Likewise.
6795 * io/utime.h: Likewise.
6796 * libio/bits/stdio.h: Likewise.
6797 * libio/bits/stdio2.h: Likewise.
6798 * libio/libio.h: Likewise.
6799 * libio/libioP.h: Likewise.
6800 * libio/stdio.h: Likewise.
6801 * locale/lc-ctype.c: Likewise.
6802 * locale/locale.h: Likewise.
6803 * login/utmp.h: Likewise.
6804 * malloc/arena.c: Likewise.
6805 * malloc/malloc.c: Likewise.
6806 * malloc/malloc.h: Likewise.
6807 * malloc/mcheck.c: Likewise.
6808 * malloc/mtrace.c: Likewise.
6809 * math/bits/mathcalls.h: Likewise.
6810 * math/fenv.h: Likewise.
6811 * math/math_private.h: Likewise.
6812 * misc/bits/error.h: Likewise.
6813 * misc/bits/syslog.h: Likewise.
6814 * misc/err.h: Likewise.
6815 * misc/error.h: Likewise.
6816 * misc/fstab.h: Likewise.
6817 * misc/mntent.h: Likewise.
6818 * misc/regexp.h: Likewise.
6819 * misc/search.h: Likewise.
6820 * misc/sgtty.h: Likewise.
6821 * misc/sys/mman.h: Likewise.
6822 * misc/sys/syslog.h: Likewise.
6823 * misc/sys/uio.h: Likewise.
6824 * misc/sys/xattr.h: Likewise.
6825 * misc/ttyent.h: Likewise.
6826 * nis/rpcsvc/ypclnt.h: Likewise.
6827 * nss/nss.h: Likewise.
6828 * posix/bits/unistd.h: Likewise.
6829 * posix/fnmatch.h: Likewise.
6830 * posix/glob.h: Likewise.
6831 * posix/sched.h: Likewise.
6832 * posix/spawn.h: Likewise.
6833 * posix/sys/wait.h: Likewise.
6834 * posix/unistd.h: Likewise.
6835 * posix/wordexp.h: Likewise.
6836 * pwd/pwd.h: Likewise.
6837 * resolv/netdb.h: Likewise.
6838 * resource/sys/resource.h: Likewise.
6839 * rt/aio.h: Likewise.
6840 * rt/bits/mqueue2.h: Likewise.
6841 * rt/mqueue.h: Likewise.
6842 * shadow/shadow.h: Likewise.
6843 * signal/signal.h: Likewise.
6844 * socket/send.c: Likewise.
6845 * socket/sendto.c: Likewise.
6846 * socket/sys/socket.h: Likewise.
6847 * stdio-common/printf.h: Likewise.
6848 * stdlib/bits/stdlib.h: Likewise.
6849 * stdlib/fmtmsg.h: Likewise.
6850 * stdlib/monetary.h: Likewise.
6851 * stdlib/stdlib.h: Likewise.
6852 * stdlib/ucontext.h: Likewise.
6853 * streams/stropts.h: Likewise.
6854 * string/argz.h: Likewise.
6855 * string/bits/string2.h: Likewise.
6856 * string/string.h: Likewise.
6857 * string/strings.h: Likewise.
6858 * sunrpc/rpc/auth.h: Likewise.
6859 * sunrpc/rpc/auth_des.h: Likewise.
6860 * sunrpc/rpc/clnt.h: Likewise.
6861 * sunrpc/rpc/netdb.h: Likewise.
6862 * sunrpc/rpc/pmap_clnt.h: Likewise.
6863 * sunrpc/rpc/xdr.h: Likewise.
6864 * sysdeps/generic/inttypes.h: Likewise.
6865 * sysdeps/generic/net/if.h: Likewise.
6866 * sysdeps/generic/sys/swap.h: Likewise.
6867 * sysdeps/gnu/net/if.h: Likewise.
6868 * sysdeps/gnu/utmpx.h: Likewise.
6869 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6870 * sysdeps/i386/i486/bits/string.h: Likewise.
6871 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6872 * sysdeps/s390/bits/string.h: Likewise.
6873 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6874 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6875 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6876 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6877 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6878 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6879 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6880 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6881 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6882 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6883 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6884 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6885 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6886 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6887 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6888 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6889 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6892 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6893 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6894 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6895 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6896 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6897 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6898 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6901 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6903 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6904 * sysvipc/sys/ipc.h: Likewise.
6905 * sysvipc/sys/msg.h: Likewise.
6906 * sysvipc/sys/sem.h: Likewise.
6907 * sysvipc/sys/shm.h: Likewise.
6908 * termios/termios.h: Likewise.
6909 * time/sys/time.h: Likewise.
6910 * time/time.h: Likewise.
6911 * wcsmbs/bits/wchar2.h: Likewise.
6912 * wcsmbs/uchar.h: Likewise.
6913 * wcsmbs/wchar.h: Likewise.
6914 * wctype/wctype.h: Likewise.
6917 * Makeconfig: Remove all but ELF support including AIX support.
6918 * Makerules: Likewise.
6919 * config.h.in: Likewise.
6920 * config.make.in: Likewise.
6921 * configure: Likewise.
6922 * configure.in: Likewise.
6923 * csu/Makefile: Likewise.
6924 * csu/version.c: Likewise.
6925 * debug/Makefile: Likewise.
6926 * dlfcn/Makefile: Likewise.
6927 * elf/Makefile: Likewise.
6928 * extra-lib.mk: Likewise.
6929 * iconv/Makefile: Likewise.
6930 * include/libc-symbols.h: Likewise.
6931 * include/shlib-compat.h: Likewise.
6932 * resolv/Makefile: Likewise.
6933 * resolv/res_libc.c: Likewise.
6934 * rt/Makefile: Likewise.
6935 * sysdeps/i386/asm-syntax.h: Likewise.
6936 * sysdeps/i386/sysdep.h: Likewise.
6937 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6938 * sysdeps/mach/sysdep.h: Likewise.
6939 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6940 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6941 * sysdeps/s390/asm-syntax.h: Likewise.
6942 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6943 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6944 * sysdeps/sh/sysdep.h: Likewise.
6945 * sysdeps/unix/sparc/sysdep.h: Likewise.
6946 * sysdeps/wordsize-32/divdi3.c: Likewise.
6947 * sysdeps/x86_64/sysdep.h: Likewise.
6949 * argp/Versions: Remove _argp_unlock_xxx.
6952 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6953 * abilist/libBrokenLocale.abilist: Likewise.
6954 * abilist/libanl.abilist: Likewise.
6955 * abilist/libc.abilist: Likewise.
6956 * abilist/libcrypt.abilist: Likewise.
6957 * abilist/libdl.abilist: Likewise.
6958 * abilist/libm.abilist: Likewise.
6959 * abilist/libnsl.abilist: Likewise.
6960 * abilist/libpthread.abilist: Likewise.
6961 * abilist/libresolv.abilist: Likewise.
6962 * abilist/librt.abilist: Likewise.
6963 * abilist/libthread_db.abilist: Likewise.
6964 * abilist/libutil.abilist: Likewise.
6965 * abilist/libnss_db.abilist: New file.
6967 * scripts/abilist.awk: Add support for indirect functions.
6969 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6971 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6973 * shlib-versions: Remove entries for ports architectures.
6975 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6977 * elf/stackguard-macros.h: Remove support for IA-64.
6978 * elf/tst-auditmod1.c: Likewise.
6979 * sysdeps/generic/ldsodefs.h: Likewise.
6981 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6982 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6986 * configure.in: Remove --enable-omitfp support.
6988 * config.make.in: Likewise.
6989 * Makeconfig: Likewise.
6990 * manual/install.texi: Likewise.
6992 In case anyone cares, the IA-64 architecture could move to ports.
6993 * sysdeps/ia64/*: Removed.
6994 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6995 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6998 * configure.in: Remove entries for unsupported architectures.
7001 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7002 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7004 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7005 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7006 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7007 fall back to using wcrtomb.
7008 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7009 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7011 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7012 * wcsmbs/tst-c16c32-1.c: New file.
7014 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7017 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7019 * elf/tst-unique3.cc: Add explicit declaration of gets.
7020 * elf/tst-unique3lib.cc: Likewise.
7021 * elf/tst-unique3lib2.cc: Likewise.
7022 * elf/tst-unique4.cc: Likewise.
7024 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7026 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7029 * assert/assert.h (static_assert): Don't define for C++.
7030 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7031 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7033 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7035 * iconv/loop.c (single loop): Fix assertion in storing of
7038 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7040 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7042 * posix/getconf.c: Update copyright year.
7043 * nss/getent.c: Likewise.
7044 * nss/makedb.c: Likewise.
7045 * iconv/iconvconfig.c: Likewise.
7046 * iconv/iconv_prog.c: Likewise.
7047 * elf/ldconfig.c: Likewise.
7048 * elf/pldd.c: Likewise.
7049 * elf/sotruss.ksh: Likewise.
7050 * catgets/gencat.c: Likewise.
7051 * csu/version.c: Likewise.
7052 * elf/ldd.bash.in: Likewise.
7053 * elf/sprof.c (print_version): Likewise.
7054 * locale/programs/locale.c: Likewise.
7055 * locale/programs/localedef.c: Likewise.
7056 * login/programs/pt_chown.c: Likewise.
7057 * nscd/nscd.c (print_version): Likewise.
7058 * debug/xtrace.sh: Likewise.
7059 * malloc/memusage.sh: Likewise.
7060 * malloc/mtrace.pl: Likewise.
7061 * debug/catchsegv.sh: Likewise.
7063 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7065 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7068 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7071 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7072 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7074 * iconv/gconv_int.h: Likewise.
7075 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7076 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7077 from libc for GLIBC_2.16.
7078 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7079 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7080 * wcsmbs/uchar.h: Really define mbstate_t.
7081 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7082 * wcsmbs/c16rtomb.c: New file.
7083 * wcsmbs/mbrtoc16.c: New file.
7084 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7086 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7087 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7089 * wcsmbs/wchar.h: Add missing __restrict.
7091 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7094 * time/Makefile (routines): Add timespec_get.
7095 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7096 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7097 timespec for ISO C11.
7098 * time/timespec_get.c: New file.
7099 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7100 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7103 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7104 * stdlib/stdlib.h: Declare aligned_alloc.
7105 * Versions.def: Add GLIBC_2.16 for libc.
7106 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7109 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7112 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7116 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7119 * assert/assert.h (static_assert): Define.
7121 * version.h: Update for 2.16 development version.
7124 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7127 * version.h (RELEASE): Bump for 2.15 release.
7128 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7130 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7131 Patch by Marek Polacek <mpolacek@redhat.com>.
7133 * bits/byteswap.h: Protect long long constants with __extension__.
7134 * sysdeps/i386/bits/byteswap.h: Likewise.
7135 * sysdeps/ia64/bits/byteswap.h: Likewise.
7136 * sysdeps/s390/bits/byteswap.h: Likewise.
7137 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7139 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7144 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7146 2011-12-23 Marek Polacek <polacek@redhat.com>
7148 * elf/dl-addr.c (determine_info): Add inline keyword.
7149 * elf/tst-auditmod4b.c (check_avx): Likewise.
7150 * elf/tst-auditmod6b.c (check_avx): Likewise.
7151 * elf/tst-auditmod6c.c (check_avx): Likewise.
7152 * elf/tst-auditmod7b.c (check_avx): Likewise.
7154 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7156 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7159 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7162 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7163 processing for last bytes.
7165 2011-08-06 Bruno Haible <bruno@clisp.org>
7168 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7169 U+0385, not to U+1FEE.
7172 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7173 entry for U+00A5 U+0301.
7175 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7178 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7179 buffer for the output is too small.
7181 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7185 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7186 SSE flags if possible.
7188 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7191 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7192 processing for last bytes.
7194 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7196 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7197 (syscall-list-default-options, syscall-list-default-condition)
7198 (syscall-list-includes): Define.
7199 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7200 list of ABIs and options and #if conditions for each ABI. Do not
7201 handle common syscalls between ABIs specially.
7202 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7204 (syscall-list-variants, syscall-list-32bit-options)
7205 (syscall-list-32bit-condition, syscall-list-64bit-options)
7206 (syscall-list-64bit-condition): Define.
7207 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7208 (syscall-list-variants, syscall-list-32bit-options)
7209 (syscall-list-32bit-condition, syscall-list-64bit-options)
7210 (syscall-list-64bit-condition): Define.
7211 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7213 (syscall-list-variants, syscall-list-32bit-options)
7214 (syscall-list-32bit-condition, syscall-list-64bit-options)
7215 (syscall-list-64bit-condition): Define.
7216 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7218 (syscall-list-variants, syscall-list-32bit-options)
7219 (syscall-list-32bit-condition, syscall-list-64bit-options)
7220 (syscall-list-64bit-condition): Define.
7222 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7224 * locale/iso-639.def: Add brx entry.
7227 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7228 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7230 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7231 __feraiseexcept_renamed.
7233 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7236 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7237 EPOLLET with unsigned values.
7238 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7239 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7241 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7242 to large cancellation.
7243 * math/s_cacoshf.c: Likewise.
7244 * math/s_cacoshl.c: Likewise.
7246 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7250 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7251 * math/s_cacoshf.c: Likewise.
7252 * math/s_cacoshl.c: Likewise.
7254 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7257 * iconv/gconv.h: Define __GCONV_SWAP.
7258 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7259 * iconvdata/utf-16.c: Likewise.
7260 * iconvdata/utf-32.c: Likewise.
7262 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7266 numerator after shifting it by one limb.
7268 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7270 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7271 under [__USE_EXTERN_INLINES].
7273 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7276 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7278 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7280 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7281 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7283 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7284 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7285 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7286 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7287 for strncasecmp/strncasecmp_l compilation.
7288 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7289 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7291 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7294 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7297 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7300 * time/tzfile.c (__tzfile_read): Check values from file header.
7302 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7304 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7305 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7306 * powerpc/powerpc32/dl-start.S: Likewise.
7307 * powerpc/powerpc32/elf/start.S: Likewise.
7308 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7309 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7310 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7311 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7312 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7313 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7314 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7315 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7316 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7317 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7318 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7319 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7320 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7321 * powerpc/powerpc32/memset.S: Likewise.
7322 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7323 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7324 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7325 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7326 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7327 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7328 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7329 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7330 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7331 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7332 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7333 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7334 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7336 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7338 * math/libm-test.inc: Added more nearbyint tests.
7339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7340 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7342 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7344 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7346 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7349 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7351 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7352 Add wcscpy-ssse3 wcscpy-c.
7353 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7354 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7355 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7356 * sysdeps/x86_64/wcschr.S: New file.
7357 * sysdeps/x86_64/wcsrchr.S: New file.
7358 * string/test-strcmp.c: Remove checking of wcscmp function for
7360 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7361 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7362 wcsrchr-sse2 wcsrchr-c.
7363 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7364 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7365 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7366 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7367 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7368 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7369 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7370 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7371 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7372 * wcsmbc/wcschr.c (WCSCHR): New macro.
7374 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7376 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7377 * wcsmbs/test-wcsrchr.c: New file.
7378 * string/test-strrchr.c: Add wcsrchr support.
7380 * wcsmbs/test-wcscpy.c: New file.
7381 * string/test-strcpy.c: Add wcscpy support.
7384 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7386 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7389 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7392 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7394 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7396 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7397 Minor optimizations.
7399 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7400 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7401 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7403 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7405 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7406 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7407 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7408 for gcc to avoid warnings.
7409 * inet/Makefile (tests): Add tst-checks.
7410 * inet/tst-checks.c: New file.
7412 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7415 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7418 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7419 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7421 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7423 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7425 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7428 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7430 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7432 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7433 conditional on GCC version.
7434 (__arch_compare_and_exchange_val_8_acq)
7435 (__arch_compare_and_exchange_val_16_acq)
7436 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7437 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7438 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7440 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7442 * sysdeps/sh/backtrace.c: New file.
7444 2011-12-02 Andreas Schwab <schwab@redhat.com>
7446 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7449 2011-12-01 Andreas Schwab <schwab@redhat.com>
7451 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7452 falling back to utime.
7454 2011-11-30 Andreas Schwab <schwab@redhat.com>
7456 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7457 expectations for float.
7459 2011-11-29 Andreas Schwab <schwab@redhat.com>
7461 * locale/weight.h (findidx): Add parameter len.
7462 * locale/weightwc.h (findidx): Likewise.
7463 * posix/fnmatch_loop.c (FCT): Adjust caller.
7464 * posix/regcomp.c (build_equiv_class): Likewise.
7465 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7466 * posix/regexec.c (check_node_accept_bytes): Likewise.
7467 * string/strcoll_l.c (STRCOLL): Likewise.
7468 * string/strxfrm_l.c (STRXFRM): Likewise.
7470 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7472 * Makefile.in: Remove CVSOPT handling.
7473 * configure.in: Remove use of AC_REVISION.
7474 * iconvdata/Makefile (distribute): No need to filter out CVS.
7475 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7478 2011-11-16 Andreas Schwab <schwab@redhat.com>
7480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7481 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7482 [USE_AS_STRNCASECMP_L]: Likewise.
7483 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7484 NO_TLS_DIRECT_SEG_REFS.
7485 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7486 Fix argument offsets for non-PIC.
7487 [USE_AS_STRNCASECMP_L]: Likewise.
7488 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7489 NO_TLS_DIRECT_SEG_REFS.
7491 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7493 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7495 * locale/loadlocale.c (_nl_load_locale): Likewise.
7497 2011-11-15 Andreas Schwab <schwab@redhat.com>
7499 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7500 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7501 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7502 (SYSCALL_GETTIME): Set errno on error.
7504 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7505 count references to noai6ai_cached.
7507 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7509 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7511 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7512 FD_CLOEXEC for /proc/self/maps.
7514 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7515 FD_CLOEXEC for /proc/meminfo.
7517 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7520 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7521 FD_CLOEXEC for given file.
7523 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7525 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7526 FD_CLOEXEC for /etc/hosts.
7527 (_gethtent): Likewise.
7529 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7531 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7532 cancellation and set FD_CLOEXEC for /etc/netgroup.
7534 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7535 reading /etc/publickey.
7537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7538 allow cancellation when reading /etc/group.
7540 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7542 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7544 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7545 when using data file.
7547 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7549 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7550 (write_nis_obj): Use "c" and "e" in fopen.
7552 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7554 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7556 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7558 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7560 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7563 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7565 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7567 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7569 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7570 file parsing and set FD_CLOEXEC.
7572 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7574 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7576 2011-11-14 Andreas Schwab <schwab@redhat.com>
7578 * malloc/arena.c (arena_get2): Don't call reused_arena when
7579 _int_new_arena failed.
7581 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7583 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7584 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7585 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7586 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7587 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7588 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7589 to compile strcasecmp and strncasecmp.
7590 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7591 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7595 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7597 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7598 locale-defines.sym to gen-as-const-headers.
7599 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7600 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7602 to compile strcasecmp and strncasecmp.
7603 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7604 strcasecmp_l and strncasecmp_l.
7605 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7606 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7607 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7608 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7609 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7610 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7611 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7612 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7613 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7614 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7615 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7617 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7619 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7620 result of SYSDEP_GETTIME_CPU to retval.
7621 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7622 parameter list to macro. Remove trailing semicolon. Adjust users.
7624 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7627 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7629 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7631 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7632 from unused variable.
7634 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7636 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7639 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7642 * sunrpc/rpc_prot.c (rejected): Fix case value.
7644 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7645 unsigned long long int to avoid warnings in shift.
7647 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7649 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7652 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7653 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7654 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7656 * nis/nis_table.c (nis_list): Use variable of correct type for
7657 result of __follow_path call.
7659 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7661 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7662 of math functions ceil, trunc, floor, round, and sqrt, when
7663 avaliable on the platform.
7664 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7666 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7667 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7668 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7670 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7672 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7673 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7675 2011-11-11 Roland McGrath <roland@hack.frob.com>
7677 * include/unistd.h: Fix __readlink return type.
7678 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7680 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7682 * stdlib/ucontext.h: Undo last change for makecontext.
7684 2011-11-11 Andreas Schwab <schwab@redhat.com>
7686 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7688 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7689 * setjmp/setjmp.h: Mark functions as non-leaf.
7690 * setjmp/bits/setjmp2.h: Likewise.
7691 * stdlib/ucontext.h: Likewise.
7693 2011-11-10 Andreas Schwab <schwab@redhat.com>
7695 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7696 (reused_arena): Don't check arena limit.
7697 (arena_get2): Atomically check arena limit.
7699 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7701 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7702 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7707 2011-11-07 Andreas Schwab <schwab@redhat.com>
7709 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7710 handler when locking.
7712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7713 Fix size of allocated buffer.
7715 2011-11-04 Andreas Schwab <schwab@redhat.com>
7718 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7719 declarations for long double functions.
7720 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7722 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7724 2011-11-03 Andreas Schwab <schwab@redhat.com>
7726 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7729 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7732 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7734 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7736 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7738 * include/alloca.h (stackinfo_alloca_round): Define.
7739 (extend_alloca): Use it.
7740 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7741 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7744 * scripts/check-local-headers.sh: Ignore libaudit.h.
7746 * nscd/Makefile (extra-objs): Make recursively expanded.
7748 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7750 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7753 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7754 * posix/tst-rfc3484-2.c: Likewise.
7755 * posix/tst-rfc3484-3.c: Likewise.
7757 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7759 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7761 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7762 process_vm_writev from libc using GLIBC_2.15 version.
7764 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7766 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7768 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7771 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7774 * nss/getent.c (initgroups_keys): Show error message in case no group
7777 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7778 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7779 __bump_nl_timestamp.
7780 * nscd/connections (nscd_init): When host database is served open
7781 netlink socket and request notification about configuration changes.
7782 (main_loop_poll): Track netlink file descriptor and bump timestamp
7783 in case data becomes available.
7784 (main_loop_epoll): Likewise.
7785 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7786 (database_pers_head): Add extra_data fileds.
7787 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7788 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7789 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7791 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7792 in6ai data, call __free_in6ai.
7793 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7795 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7796 interface information. Reuse previous data if netlink timestamp
7798 (__bump_nl_timestamp): New function.
7799 (__free_in6ai): New function.
7801 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7803 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7804 close_not_cancel_no_status here.
7805 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7807 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7810 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7813 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7814 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7815 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7817 2011-07-03 Andreas Jaeger <aj@suse.de>
7820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7821 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7822 * math/libm-test.inc (sin_test): Add test case.
7824 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7827 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7828 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7830 * elf/chroot_canon.c (chroot_canon): Cleanups.
7832 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7835 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7836 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7838 * string/test-strchr.c: Make usable for strchrnul testing.
7839 * string/test-strchrnul.c: New file.
7840 * string/Makefile (strop-tests): Add strchrnul.
7842 * po/it.po: Update from translation team.
7843 * po/es.po: Likewise.
7845 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7847 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7848 the three constants needed as parameters. Drop the others.
7849 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7850 __m128i_strloadu_tolower.
7851 Create and initialize variable zero and use it in all the places
7852 where _mm_setzero_si128 was used.
7854 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7855 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7856 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7859 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7860 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7861 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7862 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7863 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7864 __mpranred, __mptan.
7865 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7866 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7867 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7868 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7872 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7873 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7875 2011-10-28 Andreas Schwab <schwab@redhat.com>
7877 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7879 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7882 wide char related routines to wcsmbs subdir.
7884 2011-10-27 Andreas Schwab <schwab@redhat.com>
7887 * misc/sys/cdefs.h (__THROWNL): Define.
7888 * posix/unistd.h: Use __THREADNL instead of __THREAD
7889 for memory synchronization functions.
7891 2011-10-26 Roland McGrath <roland@hack.frob.com>
7894 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7896 * manual/stdio.texi (Obstack Streams): Node removed.
7898 2011-10-26 Andreas Schwab <schwab@redhat.com>
7900 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7901 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7902 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7904 * math/math_private.h (math_force_eval): Allow non-addressable
7906 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7908 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7910 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7913 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7914 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7915 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7916 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7917 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7918 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7919 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7920 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7922 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7923 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7924 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7925 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7926 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7927 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7928 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7929 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7930 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7931 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7932 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7933 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7934 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7935 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7936 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7937 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7938 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7939 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7940 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7942 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7943 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7946 place. Use VEX encoding when compiling for AVX.
7948 2011-10-25 Andreas Schwab <schwab@redhat.com>
7950 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7951 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7953 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7955 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7957 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7958 useless if() expression.
7959 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7960 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7969 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7970 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7971 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7972 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7973 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7974 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7976 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7977 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7979 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7981 2011-10-25 Andreas Schwab <schwab@redhat.com>
7983 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7985 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7987 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7989 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7990 .text section. Avoid duplicate constants.
7991 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7999 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8000 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8001 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8003 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8006 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8008 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8014 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8015 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8016 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8017 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8018 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8020 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8021 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8031 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8033 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8035 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8037 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8039 * sysdeps/x86_64/dla.h: Move to ...
8040 * sysdeps/x86_64/fpu/dla.h: ...here.
8041 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8042 situations. Use __builtin_fma only for gcc 4.6 and up.
8044 * config.make.in: Add have-mfma4 entry.
8045 * configure.in: Substitute libc_cv_cc_fma4.
8046 * math/Makefile (dbl-only-routines): Add sincostab.
8047 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8048 Use __sincostab not sincos.
8049 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8056 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8057 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8058 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8059 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8061 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8062 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8064 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8065 define aliases when function name is a macro.
8066 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8067 sysdeps/ieee754/dbl-64/sincos.tbl.
8068 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8069 fma4-enabled routines.
8070 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8071 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8072 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8073 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8074 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8075 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8076 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8077 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8078 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8079 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8080 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8081 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8082 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8083 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8084 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8085 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8086 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8087 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8088 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8089 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8090 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8091 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8093 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8094 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8096 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8097 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8098 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8099 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8101 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8112 2011-10-24 Andreas Schwab <schwab@redhat.com>
8114 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8116 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8118 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8120 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8122 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8124 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8125 Remove unused variable magic_bits.
8126 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8128 * string/strnlen.c: Define and use STRNLEN macro.
8129 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8130 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8131 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8132 * wcsmbs/wcslen.c: Define and use WCSLEN.
8133 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8134 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8135 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8136 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8137 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8138 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8139 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8141 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8144 strnlen-sse2-no-bsf.
8145 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8147 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8148 Add strnlen support.
8149 (USE_AS_STRNLEN): New macro.
8150 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8151 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8152 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8153 * sysdeps/x86_64/wcslen.S: New file.
8155 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8157 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8158 XMM-moves are used for copying on small sizes.
8160 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8162 * wcsmbs/Makefile (strop-tests): Add wcschr.
8163 * wcsmbs/test-wcschr.c: New file.
8164 * string/test-strchr.c: Update.
8168 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8170 * wcsmbs/Makefile (strop-tests): Add wcslen.
8171 * wcsmbs/test-wcslen.c: New file.
8172 * string/test-strlen.c: Update.
8176 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8178 * po/it.po: Update from translation team.
8180 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8182 * sysdeps/x86_64/wcscmp.S: Update.
8183 Fix wrong comparison semantics.
8184 wcscmp shall use signed comparison not unsigned.
8185 Don't use substraction to avoid overflow bug.
8186 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8187 * wcsmbc/wcscmp.c: Likewise.
8188 * string/test-strcmp.c: Likewise.
8189 Add new tests to check cases with negative values.
8191 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8193 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8194 * sysdeps/x86_64/dla.h: ...here. New file.
8195 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8196 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8205 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8208 __ynl_finite aliases.
8210 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8214 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8216 [DLA_FMA] (EMULV): Use DLA_FMA.
8217 [DLA_FMA] (MUL12): Use EMULV.
8218 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8219 that are not needed.
8220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8228 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8230 * math/s_nan.c: Undef __nan.
8231 * math/s_nanf.c: Undef __nanf.
8232 * math/s_nanl.c: Undef __nanl.
8233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8236 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8238 * math/s_catan.c: Add branch predictions.
8239 * math/s_catanf.c: Likewise.
8240 * math/s_catanh.c: Likewise.
8241 * math/s_catanhf.c: Likewise.
8242 * math/s_catanhl.c: Likewise.
8243 * math/s_catanl.c: Likewise.
8244 * math/s_cexp.c: Likewise.
8245 * math/s_cexpf.c: Likewise.
8246 * math/s_cexpl.c: Likewise.
8247 * math/s_clog.c: Likewise.
8248 * math/s_clog10.c: Likewise.
8249 * math/s_clog10f.c: Likewise.
8250 * math/s_clog10l.c: Likewise.
8251 * math/s_clogf.c: Likewise.
8252 * math/s_clogl.c: Likewise.
8253 * math/s_csqrt.c: Likewise.
8254 * math/s_csqrtf.c: Likewise.
8255 * math/s_csqrtl.c: Likewise.
8256 * math/s_ctanf.c: Likewise.
8257 * math/s_ctanh.c: Likewise.
8258 * math/s_ctanhf.c: Likewise.
8259 * math/s_ctanhl.c: Likewise.
8260 * math/s_ctanl.c: Likewise.
8262 * math/math_private.h: Define __nan, __nanf, __nanl.
8263 * math/s_cacosh.c: Include <math_private.h>.
8264 * math/s_cacoshl.c: Likewise.
8265 * math/s_casinh.c: Likewise.
8266 * math/s_casinhf.c: Likewise.
8267 * math/s_casinhl.c: Likewise.
8268 * math/s_ccos.c: Rely entire on ccosh.
8269 * math/s_ccosf.c: Rely entire on ccoshf.
8270 * math/s_ccosl.c: Rely entirely on ccoshl.
8271 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8272 Remove tests for FE_INVALID.
8273 * math/s_ccoshf.c: Likewise.
8274 * math/s_ccoshl.c: Likewise.
8275 * math/s_csin.c: Likewise.
8276 * math/s_csinf.c: Likewise.
8277 * math/s_csinh.c Likewise.
8278 * math/s_csinhf.c: Likewise.
8279 * math/s_csinhl.c: Likewise.
8280 * math/s_csinl.c: Likewise.
8281 * math/s_ctan.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8283 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8284 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8286 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8289 compilation problems.
8291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8294 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8296 * sysdeps/i386/configure.in: Test for -mfma4 option.
8297 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8298 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8299 COMMON_CPUID_INDEX_80000001.
8300 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8301 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8302 use it if FMA3 is not supported.
8303 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8305 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8306 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8308 2011-10-20 Andreas Schwab <schwab@redhat.com>
8311 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8312 it would create a cycle with a link time dependency.
8314 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8316 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8318 * string/Makefile (strop-tests): Add rawmemchr.
8319 * string/test-rawmemchr.c: New file.
8321 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8322 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8323 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8324 when compiling str{,n}casecmp and when AVX is available. Hook up
8325 new optimized code in initializers.
8327 2011-10-19 Andreas Schwab <schwab@redhat.com>
8329 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8330 __feraiseexcept instead of feraiseexcept.
8332 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8334 * math/math_private.h: Define defaults for libc_fetestexcept and
8336 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8337 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8339 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8340 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8341 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8342 libc_fetestexcept and libc_feupdateenv.
8344 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8345 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8346 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8347 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8348 libc_feholdexcept_setround.
8350 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8351 Add s_nearbyint-c and s_nearbyintf-c.
8352 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8355 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8356 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8357 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8359 * math/math_private.h: Define defaults for libc_fegetround,
8360 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8361 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8362 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8363 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8364 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8366 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8367 Remove comments and hacks for old compiler versions.
8368 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8369 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8372 2011-10-18 Andreas Schwab <schwab@redhat.com>
8374 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8375 (__feraiseexcept_renamed): Add __NTH.
8376 (feraiseexcept): Add __NTH. Rename local variables to fix
8377 namespace violations.
8379 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8381 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8383 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8385 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8386 recently added interfaces.
8387 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8389 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8390 about macro parameter expansion.
8392 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8393 __NO_MATH_INLINES is defined. Cleanups.
8395 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8396 and __floorf is target has SSE4.1.
8397 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8398 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8399 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8400 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8402 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8406 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8408 2011-10-17 Andreas Schwab <schwab@redhat.com>
8410 * misc/sys/cdefs.h: Fix last change.
8412 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8415 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8417 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8419 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8421 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8424 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8425 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8426 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8427 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8428 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8429 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8430 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8431 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8432 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8433 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8434 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8435 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8436 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8437 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8438 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8439 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8440 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8442 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8443 ceil, ceilf, floor, floorf.
8445 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8446 Perform IRELATIVE relocations last.
8448 * elf/do-rel.h: Add another parameter nrelative, replacing the
8449 local variable with the same name. Change name of the function
8450 to end in Rel or Rela (uppercase).
8451 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8452 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8453 elf_dynamic_do_##reloc function.
8455 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8457 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8458 is sufficient, at least on modern CPUs.
8460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8462 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8465 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8467 * math/bits/math-finite.h: Add entries for exp.
8468 * math/e_expl.c: Add __*_finite alias.
8469 * sysdeps/i386/fpu/e_exp.S: Likewise.
8470 * sysdeps/i386/fpu/e_expf.S: Likewise.
8471 * sysdeps/i386/fpu/e_expl.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8473 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8474 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8477 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8478 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8480 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8481 is sufficient, at least on modern CPUs.
8483 * ctype/ctype-info.c (__ctype_init): Define.
8484 * include/ctype.h (__ctype_init): Declare.
8485 (__ctype_b_loc): The variable is always initialized.
8486 (__ctype_toupper_loc): Likewise.
8487 (__ctype_tolower_loc): Likewise.
8488 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8489 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8491 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8493 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8495 * configure.in: Also look in $cxxmachine/include for C++ system
8498 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8500 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8501 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8502 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8503 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8504 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8505 (USE_AS_WMEMCMP): New macro.
8507 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8508 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8509 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8510 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8512 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8513 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8514 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8515 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8516 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8518 (USE_AS_WMEMCMP): New macro.
8519 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8520 * sysdeps/string/test-memcmp.c: Update.
8523 * wcsmbs/wmemcmp.c: Update.
8524 (WMEMCMP): New macro.
8527 2011-10-12 Andreas Jaeger <aj@suse.de>
8530 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8532 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8534 * libio/iofwide.c (do_length): Avoid warning.
8536 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8538 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8540 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8542 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8543 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8544 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8545 * sysdeps/i386/i686/fpu/e_log.S: New file.
8546 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8547 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8549 * ctype/ctype.h: Add support for inlined isXXX functions when
8552 2011-10-14 Andreas Schwab <schwab@redhat.com>
8554 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8556 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8558 2011-10-13 Roland McGrath <roland@hack.frob.com>
8561 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8563 2011-10-13 Andreas Schwab <schwab@redhat.com>
8565 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8566 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8569 * sysdeps/x86_64/memrchr.S: Check for zero size.
8571 * string/stratcliff.c: Add memrchr tests.
8573 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8576 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8577 rawmemchr-sse2 rawmemchr-sse2-bsf.
8578 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8579 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8580 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8581 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8582 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8583 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8584 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8585 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8586 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8587 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8588 * string/memrchr.c (MEMRCHR): New macro.
8590 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8592 Add integration with gcc's -ffinite-math-only and optimize wrapper
8594 * Versions.def: Define GLIBC_2.15 version for libm.
8595 * math/Makefile (headers): Add bits/math-finite.h.
8596 * math/bits/math-finite.h: New file.
8597 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8598 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8599 * math/e_acoshl.c: Add __*_finite alias.
8600 * math/e_acosl.c: Likewise.
8601 * math/e_asinl.c: Likewise.
8602 * math/e_atan2l.c: Likewise.
8603 * math/e_atanhl.c: Likewise.
8604 * math/e_coshl.c: Likewise.
8605 * math/e_exp10.c: Likewise.
8606 * math/e_exp10f.c: Likewise.
8607 * math/e_exp10l.c: Likewise.
8608 * math/e_exp2l.c: Likewise.
8609 * math/e_fmodl.c: Likewise.
8610 * math/e_gammal_r.c: Likewise.
8611 * math/e_hypotl.c: Likewise.
8612 * math/e_j0l.c: Likewise.
8613 * math/e_j1l.c: Likewise.
8614 * math/e_jnl.c: Likewise.
8615 * math/e_lgammal_r.c: Likewise.
8616 * math/e_log10l.c: Likewise.
8617 * math/e_log2l.c: Likewise.
8618 * math/e_logl.c: Likewise.
8619 * math/e_powl.c: Likewise.
8620 * math/e_sinhl.c: Likewise.
8621 * math/e_sqrtl.c: Likewise.
8622 * math/e_scalb.c: Completely rewritten and optimized.
8623 * math/e_scalbf.c: Likewise.
8624 * math/e_scalbl.c: Likewise.
8625 * math/w_acos.c: Likewise.
8626 * math/w_acosf.c: Likewise.
8627 * math/w_acosl.c: Likewise.
8628 * math/w_acosh.c: Likewise.
8629 * math/w_acoshf.c: Likewise.
8630 * math/w_acoshl.c: Likewise.
8631 * math/w_asin.c: Likewise.
8632 * math/w_asinf.c: Likewise.
8633 * math/w_asinl.c: Likewise.
8634 * math/w_atan2.c: Likewise.
8635 * math/w_atan2f.c: Likewise.
8636 * math/w_atan2l.c: Likewise.
8637 * math/w_atanh.c: Likewise.
8638 * math/w_atanhf.c: Likewise.
8639 * math/w_atanhl.c: Likewise.
8640 * math/w_exp10.c: Likewise.
8641 * math/w_exp10f.c: Likewise.
8642 * math/w_exp10l.c: Likewise.
8643 * math/w_fmod.c: Likewise.
8644 * math/w_fmodf.c: Likewise.
8645 * math/w_fmodl.c: Likewise.
8646 * math/w_j0.c: Likewise.
8647 * math/w_j0f.c: Likewise.
8648 * math/w_j0l.c: Likewise.
8649 * math/w_j1.c: Likewise.
8650 * math/w_j1f.c: Likewise.
8651 * math/w_j1l.c: Likewise.
8652 * math/w_jn.c: Likewise.
8653 * math/w_jnf.c: Likewise.
8654 * math/w_log.c: Likewise.
8655 * math/w_logf.c: Likewise.
8656 * math/w_logl.c: Likewise.
8657 * math/w_log10.c: Likewise.
8658 * math/w_log10f.c: Likewise.
8659 * math/w_log10l.c: Likewise.
8660 * math/w_log2.c: Likewise.
8661 * math/w_log2f.c: Likewise.
8662 * math/w_log2l.c: Likewise.
8663 * math/w_pow.c: Likewise.
8664 * math/w_powf.c: Likewise.
8665 * math/w_powl.c: Likewise.
8666 * math/w_remainder.c: Likewise.
8667 * math/w_remainderf.c: Likewise.
8668 * math/w_remainderl.c: Likewise.
8669 * math/w_scalb.c: Likewise.
8670 * math/w_scalbf.c: Likewise.
8671 * math/w_scalbl.c: Likewise.
8672 * math/w_sqrt.c: Likewise.
8673 * math/w_sqrtf.c: Likewise.
8674 * math/w_sqrtl.c: Likewise.
8675 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8676 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8678 * math/math_private.h: Declare __kernel_standard_f.
8679 * math/w_cosh.c: Remove cruft and optimize a bit.
8680 * math/w_coshf.c: Likewise.
8681 * math/w_coshl.c: Likewise.
8682 * math/w_exp2.c: Likewise.
8683 * math/w_exp2f.c: Likewise.
8684 * math/w_exp2l.c: Likewise.
8685 * math/w_hypot.c: Likewise.
8686 * math/w_hypotf.c: Likewise.
8687 * math/w_hypotl.c: Likewise.
8688 * math/w_lgamma.c: Likewise.
8689 * math/w_lgamma_r.c: Likewise.
8690 * math/w_lgammaf.c: Likewise.
8691 * math/w_lgammaf_r.c: Likewise.
8692 * math/w_lgammal.c: Likewise.
8693 * math/w_lgammal_r.c: Likewise.
8694 * math/w_sinh.c: Likewise.
8695 * math/w_sinhf.c: Likewise.
8696 * math/w_sinhl.c: Likewise.
8697 * math/w_tgamma.c: Likewise.
8698 * math/w_tgammaf.c: Likewise.
8699 * math/w_tgammal.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8702 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8703 Minor optimizations. Pretty printing. Remove cruft.
8704 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8705 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8706 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8707 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8708 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8709 * sysdeps/i386/fpu/e_asin.S: Likewise.
8710 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8711 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8712 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8713 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8715 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8716 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8717 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8718 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8719 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8720 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8721 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8722 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8723 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8724 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8725 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8726 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8727 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8728 * sysdeps/i386/fpu/e_log.S: Likewise.
8729 * sysdeps/i386/fpu/e_log10.S: Likewise.
8730 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8731 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8732 * sysdeps/i386/fpu/e_log2.S: Likewise.
8733 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8734 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8735 * sysdeps/i386/fpu/e_logf.S: Likewise.
8736 * sysdeps/i386/fpu/e_logl.S: Likewise.
8737 * sysdeps/i386/fpu/e_pow.S: Likewise.
8738 * sysdeps/i386/fpu/e_powf.S: Likewise.
8739 * sysdeps/i386/fpu/e_powl.S: Likewise.
8740 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8741 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8742 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8743 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8744 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8745 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8746 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8747 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8748 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8770 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8771 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8772 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8773 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8774 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8775 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8776 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8777 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8778 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8779 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8780 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8781 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8782 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8783 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8784 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8785 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8786 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8787 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8788 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8789 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8790 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8837 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8840 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8841 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8842 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8843 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8844 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8845 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8846 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8847 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8848 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8849 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8850 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8851 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8852 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8854 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8855 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8856 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8857 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8858 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8859 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8860 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8861 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8862 (__isnanf): Likewise.
8863 (__isinf_ns): Likewise.
8864 (__isinf_nsf): Likewise.
8865 (__finite): Likewise.
8866 (__finitef): Likewise.
8867 (__ieee754_sqrt): Define as macro.
8868 (__ieee754_sqrtf): Define as macro.
8869 (__ieee754_sqrtl): Define as macro.
8870 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8872 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8873 __FINITE_MATH_ONLY__ consistent.
8874 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8876 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8878 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8881 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8883 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8885 * po/ja.po: Update from translation team.
8887 2011-10-08 Roland McGrath <roland@hack.frob.com>
8889 * locale/programs/locarchive.c (prepare_address_space): New function.
8890 (create_archive, enlarge_archive, open_archive): Use it.
8892 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8893 inside [SHARED], where it is used.
8895 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8897 * nss/getent.c (netgroup_keys): Remove unused variable.
8898 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8900 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8902 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8903 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8905 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8906 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8907 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8908 * math/Makefile (libm-calls): Add s_isinf_ns.
8909 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8910 * math/multc3.c: Likewise.
8911 * math/s_casin.c: Likewise.
8912 * math/s_casinf.c: Likewise.
8913 * math/s_casinl.c: Likewise.
8914 * math/s_ccos.c: Likewise.
8915 * math/s_ccosf.c: Likewise.
8916 * math/s_ccosl.c: Likewise.
8917 * math/s_ctan.c: Likewise.
8918 * math/s_ctanf.c: Likewise.
8919 * math/s_ctanh.c: Likewise.
8920 * math/s_ctanhf.c: Likewise.
8921 * math/s_ctanhl.c: Likewise.
8922 * math/s_ctanl.c: Likewise.
8923 * math/w_fmod.c: Likewise.
8924 * math/w_fmodf.c: Likewise.
8925 * math/w_fmodl.c: Likewise.
8926 * math/w_remainder.c: Likewise.
8927 * math/w_remainderf.c: Likewise.
8928 * math/w_remainderl.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8930 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8933 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8934 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8935 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8936 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8938 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8940 * stdio-common/printf_fphex.c: Likewise.
8941 * stdio-common/printf_size.c: Likewise.
8943 * math/e_exp10.c: Include math_private.h using <...> not "...".
8944 * math/e_exp10f.c: Likewise.
8945 * math/e_exp10l.c: Likewise.
8946 * math/e_exp2l.c: Likewise.
8947 * math/e_j0l.c: Likewise.
8948 * math/e_j1l.c: Likewise.
8949 * math/e_jnl.c: Likewise.
8950 * math/e_lgammal_r.c: Likewise.
8951 * math/e_rem_pio2l.c: Likewise.
8952 * math/e_scalb.c: Likewise.
8953 * math/e_scalbf.c: Likewise.
8954 * math/e_scalbl.c: Likewise.
8955 * math/k_cosl.c: Likewise.
8956 * math/k_sinl.c: Likewise.
8957 * math/k_tanl.c: Likewise.
8958 * math/s_cacoshf.c: Likewise.
8959 * math/s_catan.c: Likewise.
8960 * math/s_catanf.c: Likewise.
8961 * math/s_catanh.c: Likewise.
8962 * math/s_catanhf.c: Likewise.
8963 * math/s_catanhl.c: Likewise.
8964 * math/s_catanl.c: Likewise.
8965 * math/s_ccosh.c: Likewise.
8966 * math/s_ccoshf.c: Likewise.
8967 * math/s_ccoshl.c: Likewise.
8968 * math/s_cexp.c: Likewise.
8969 * math/s_cexpf.c: Likewise.
8970 * math/s_cexpl.c: Likewise.
8971 * math/s_clog.c: Likewise.
8972 * math/s_clog10.c: Likewise.
8973 * math/s_clog10f.c: Likewise.
8974 * math/s_clog10l.c: Likewise.
8975 * math/s_clogf.c: Likewise.
8976 * math/s_clogl.c: Likewise.
8977 * math/s_csin.c: Likewise.
8978 * math/s_csinf.c: Likewise.
8979 * math/s_csinh.c: Likewise.
8980 * math/s_csinhf.c: Likewise.
8981 * math/s_csinhl.c: Likewise.
8982 * math/s_csinl.c: Likewise.
8983 * math/s_csqrt.c: Likewise.
8984 * math/s_csqrtf.c: Likewise.
8985 * math/s_csqrtl.c: Likewise.
8986 * math/s_ctan.c: Likewise.
8987 * math/s_ctanf.c: Likewise.
8988 * math/s_ctanh.c: Likewise.
8989 * math/s_ctanhf.c: Likewise.
8990 * math/s_ctanhl.c: Likewise.
8991 * math/s_ctanl.c: Likewise.
8992 * math/s_ldexp.c: Likewise.
8993 * math/s_ldexpf.c: Likewise.
8994 * math/s_ldexpl.c: Likewise.
8995 * math/s_significand.c: Likewise.
8996 * math/s_significandf.c: Likewise.
8997 * math/s_significandl.c: Likewise.
8998 * math/w_acos.c: Likewise.
8999 * math/w_acosf.c: Likewise.
9000 * math/w_acosh.c: Likewise.
9001 * math/w_acoshf.c: Likewise.
9002 * math/w_acoshl.c: Likewise.
9003 * math/w_acosl.c: Likewise.
9004 * math/w_asin.c: Likewise.
9005 * math/w_asinf.c: Likewise.
9006 * math/w_asinl.c: Likewise.
9007 * math/w_atan2.c: Likewise.
9008 * math/w_atan2f.c: Likewise.
9009 * math/w_atan2l.c: Likewise.
9010 * math/w_atanh.c: Likewise.
9011 * math/w_atanhf.c: Likewise.
9012 * math/w_atanhl.c: Likewise.
9013 * math/w_cosh.c: Likewise.
9014 * math/w_coshf.c: Likewise.
9015 * math/w_coshl.c: Likewise.
9016 * math/w_dremf.c: Likewise.
9017 * math/w_exp10.c: Likewise.
9018 * math/w_exp10f.c: Likewise.
9019 * math/w_exp10l.c: Likewise.
9020 * math/w_exp2.c: Likewise.
9021 * math/w_exp2f.c: Likewise.
9022 * math/w_fmod.c: Likewise.
9023 * math/w_fmodf.c: Likewise.
9024 * math/w_fmodl.c: Likewise.
9025 * math/w_hypot.c: Likewise.
9026 * math/w_hypotf.c: Likewise.
9027 * math/w_hypotl.c: Likewise.
9028 * math/w_j0.c: Likewise.
9029 * math/w_j0f.c: Likewise.
9030 * math/w_j0l.c: Likewise.
9031 * math/w_j1.c: Likewise.
9032 * math/w_j1f.c: Likewise.
9033 * math/w_j1l.c: Likewise.
9034 * math/w_jn.c: Likewise.
9035 * math/w_jnf.c: Likewise.
9036 * math/w_jnl.c: Likewise.
9037 * math/w_lgamma.c: Likewise.
9038 * math/w_lgamma_r.c: Likewise.
9039 * math/w_lgammaf.c: Likewise.
9040 * math/w_lgammaf_r.c: Likewise.
9041 * math/w_lgammal.c: Likewise.
9042 * math/w_lgammal_r.c: Likewise.
9043 * math/w_log.c: Likewise.
9044 * math/w_log10.c: Likewise.
9045 * math/w_log10f.c: Likewise.
9046 * math/w_log10l.c: Likewise.
9047 * math/w_log2.c: Likewise.
9048 * math/w_log2f.c: Likewise.
9049 * math/w_log2l.c: Likewise.
9050 * math/w_logf.c: Likewise.
9051 * math/w_logl.c: Likewise.
9052 * math/w_pow.c: Likewise.
9053 * math/w_powf.c: Likewise.
9054 * math/w_powl.c: Likewise.
9055 * math/w_remainder.c: Likewise.
9056 * math/w_remainderf.c: Likewise.
9057 * math/w_remainderl.c: Likewise.
9058 * math/w_scalb.c: Likewise.
9059 * math/w_scalbf.c: Likewise.
9060 * math/w_scalbl.c: Likewise.
9061 * math/w_sinh.c: Likewise.
9062 * math/w_sinhf.c: Likewise.
9063 * math/w_sinhl.c: Likewise.
9064 * math/w_sqrt.c: Likewise.
9065 * math/w_sqrtf.c: Likewise.
9066 * math/w_sqrtl.c: Likewise.
9067 * math/w_tgamma.c: Likewise.
9068 * math/w_tgammaf.c: Likewise.
9069 * math/w_tgammal.c: Likewise.
9071 * po/ja.po: Update from translation team.
9073 2011-09-29 Andreas Jaeger <aj@suse.de>
9076 * sunrpc/netname.c (netname2host): Fix logic.
9080 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9082 * math/w_remainder.c (__remainder): Likewise.
9083 * math/w_remainderf.c (__remainderf): Likewise.
9084 * math/libm-test.inc (remainder_test): Add test cases.
9086 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9088 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9091 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9093 * string/test-memcmp.c: Avoid unncessary #defines.
9094 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9096 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9098 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9099 Use new sse2 version for core i3 - i7 as it's faster
9101 (bit_Prefer_PMINUB_for_stringop): New.
9102 * sysdeps/x86_64/rawmemchr.S: Update.
9103 Replace with faster SSE2 version.
9104 * sysdeps/x86_64/memrchr.S: New file.
9105 * sysdeps/x86_64/memchr.S: Update.
9106 Replace with faster SSE2 version.
9108 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9110 * elf/dl-load.c (lose): Add cast to avoid warning.
9112 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9114 * po/ca.po: Update from translation team.
9116 * inet/getnetgrent_r.c: Hook up nscd.
9117 * nscd/Makefile (routines): Add nscd_netgroup.
9118 (nscd-modules): Add netgroupcache.
9119 (CFLAGS-netgroupcache.c): Define.
9120 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9121 (cache_search): Add const to second parameter.
9122 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9124 (dbs): Add netgrdb entry.
9125 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9126 (verify_persistent_db): Handle netgrdb.
9127 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9128 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9130 (netgroup_response_header): Define.
9131 (innetgroup_response_header): Define.
9132 (datahead): Add netgroup_response_header and innetgroup_response_header
9134 * nscd/nscd.conf: Add entries for netgroup cache.
9135 * nscd/nscd.h (dbtype): Add netgrdb.
9136 (_PATH_NSCD_NETGROUP_DB): Define.
9137 (netgroup_iov_disabled): Declare.
9138 (xmalloc, xcalloc, xrealloc): Move declarations here.
9139 (cache_search): Adjust prototype.
9140 Add netgroup-related prototypes.
9141 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9142 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9143 (__nscd_innetgr): Declare.
9144 * nscd/selinux.c (perms): Use access_vector_t as element type and
9145 add netgroup-related initializers.
9146 * nscd/netgroupcache.c: New file.
9147 * nscd/nscd_netgroup.c: New file.
9148 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9149 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9150 For four parameters use innetgr.
9151 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9152 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9153 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9154 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9156 * nscd/connections.c (register_traced_file): Don't register file
9157 for disabled databases.
9159 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9161 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9163 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9164 from tree and freeing node.
9166 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9168 * nss/nsswitch.c (__nss_database_lookup): Handle
9169 nss_parse_service_list out of memory case.
9171 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9173 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9176 2011-10-04 Andreas Schwab <schwab@redhat.com>
9178 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9179 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9181 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9182 elf_machine_rela, elf_machine_lazy_rel.
9183 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9184 (ELF_DYNAMIC_DO_REL): Likewise.
9185 (ELF_DYNAMIC_DO_RELA): Likewise.
9186 (ELF_DYNAMIC_RELOCATE): Likewise.
9187 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9188 to ELF_DYNAMIC_DO_REL.
9189 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9190 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9191 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9193 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9194 skip_ifunc, don't call ifunc function if non-zero.
9195 (elf_machine_rela): Likewise.
9196 (elf_machine_lazy_rel): Likewise.
9197 (elf_machine_lazy_rela): Likewise.
9198 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9199 (elf_machine_lazy_rel): Likewise.
9200 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9202 (elf_machine_lazy_rel): Likewise.
9203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9205 (elf_machine_lazy_rel): Likewise.
9206 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9207 (elf_machine_lazy_rel): Likewise.
9208 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9209 (elf_machine_lazy_rel): Likewise.
9210 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9211 (elf_machine_lazy_rel): Likewise.
9212 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9213 (elf_machine_lazy_rel): Likewise.
9214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9215 (elf_machine_lazy_rel): Likewise.
9216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9217 (elf_machine_lazy_rel): Likewise.
9219 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9221 * nss/nss_files/files-init.c (_nss_files_init): Use static
9222 initialization for all the *_traced_file variables.
9224 2011-09-28 Andreas Schwab <schwab@redhat.com>
9226 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9228 2011-09-27 Roland McGrath <roland@hack.frob.com>
9231 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9233 2011-09-27 Andreas Schwab <schwab@redhat.com>
9235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9236 Reread the line before reparsing it.
9238 2011-09-26 Andreas Schwab <schwab@redhat.com>
9240 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9242 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9243 Maxim Kuvyrkov <maxim@codesourcery.com>
9244 Joseph Myers <joseph@codesourcery.com>
9246 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9247 if needed for __stack_chk_guard.
9249 2011-09-19 Roland McGrath <roland@hack.frob.com>
9251 * sysdeps/posix/spawni.c (script_execute): Always define it.
9252 It will be optimized away if unused.
9253 (maybe_script_execute): New function.
9254 (__spawni): Call it.
9256 * Makerules: Don't include tls.make.
9257 (config-tls): Always set to thread.
9258 * tls.make.c: File removed.
9260 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9262 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9263 * config.make.in (CPPFLAGS-config): New substituted variable.
9265 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9267 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9270 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9271 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9273 2011-09-15 Roland McGrath <roland@hack.frob.com>
9275 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9276 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9278 (CALL_FAIL): Likewise.
9279 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9280 (CALL_FAIL): Macro removed.
9281 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9283 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9285 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9286 for __FINITE_MATH_ONLY__ == 1.
9288 2011-09-15 Andreas Schwab <schwab@redhat.com>
9290 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9291 __ieee754_sqrt instead of sqrt.
9292 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9293 __ieee754_sqrtf instead of sqrtf.
9294 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9295 __floorf instead of floorf.
9296 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9297 __floorf, __truncf instead of floorf, truncf.
9299 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9301 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9303 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9304 __extern_always_inline.
9305 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9308 2011-09-14 Andreas Schwab <schwab@redhat.com>
9310 * elf/rtld.c (dl_main): Also relocate in dependency order when
9311 doing symbol dependency testing.
9313 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9316 Always define `refsym'.
9318 2011-09-13 Andreas Schwab <schwab@redhat.com>
9320 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9321 (__FD_ELT): Renamed from __FDELT.
9322 * misc/bits/select2.h (__FD_ELT): Likewise.
9323 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9324 __FD_MASK instead of __FDELT, __FDMASK.
9325 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9327 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9330 * elf/Makefile (gen-ldd): Fix pattern.
9332 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9333 (init_tls): Likewise.
9335 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9339 2011-09-12 Andreas Schwab <schwab@redhat.com>
9341 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9342 `struct cmsghdr *' instead of `void *'.
9343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9346 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9348 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9350 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9353 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9355 * configure.in: Remove --with-tls option.
9356 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9357 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9358 out in case it is missing.
9359 * sysdeps/ia64/elf/configure.in: Likewise.
9360 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9361 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9362 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9363 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9364 * sysdeps/sh/elf/configure.in: Likewise.
9365 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9366 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9367 * sysdeps/x86_64/elf/configure.in: Likewise.
9368 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9369 * sysdeps/mach/hurd/tls.h: Likewise.
9372 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9375 * configure.in: Fix use of AC_INIT.
9377 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9379 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9381 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9383 * malloc/hooks.c: Likewise.
9386 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9387 variables statically.
9388 (narenas): Initialize.
9389 (list_lock): Initialize.
9390 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9391 initializtion of main_arena and list_lock. Small cleanups.
9392 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9393 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9394 Add initializers to main_arena and mp_.
9395 (malloc_state): Remove pagesize member. Change all users to use
9398 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9399 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9400 is always initialized.
9402 * malloc/malloc.c: Removed unused configurations and dead code.
9403 * malloc/arena.c: Likewise.
9404 * malloc/hooks.c: Likewise.
9405 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9407 * include/tls.h: Removed. USE___THREAD must always be defined.
9408 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9409 * elf/dl-libc.c: Likewise.
9410 * elf/dl-tsd.c: Likewise.
9411 * include/errno.h: Likewise.
9412 * include/netdb.h: Likewise.
9413 * include/resolv.h: Likewise.
9414 * inet/herrno-loc.c: Likewise.
9415 * inet/herrno.c: Likewise.
9416 * malloc/arena.c: Likewise.
9417 * malloc/hooks.c: Likewise.
9418 * malloc/malloc.c: Likewise.
9419 * resolv/res-state.c: Likewise.
9420 * resolv/res_libc.c: Likewise.
9421 * sysdeps/i386/dl-machine.h: Likewise.
9422 * sysdeps/ia64/dl-machine.h: Likewise.
9423 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9424 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9425 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9426 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9427 * sysdeps/sh/dl-machine.h: Likewise.
9428 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9429 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9430 * sysdeps/unix/i386/sysdep.S: Likewise.
9431 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9432 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9434 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9436 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9437 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9441 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9442 * sysdeps/x86_64/dl-machine.h: Likewise.
9443 * tls.make.c: Likewise.
9445 * configure.in: Remove --with-__thread option. Make tests for
9446 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9447 tls_model attribute fail if no support is available. Remove
9449 * Makeconfig: Adjust for dropped configure option. All features are
9451 * Makerules: Likewise.
9452 * Versions.def: Likewise.
9453 * argp/argp-fmtstream.c: Likewise.
9454 * argp/argp-fmtstream.h: Likewise.
9455 * argp/argp-help.c: Likewise.
9456 * assert/assert.c: Likewise.
9457 * config.h.in: Likewise.
9458 * config.make.in: Likewise.
9459 * configure: Likewise.
9460 * configure.in: Likewise.
9461 * csu/Versions: Likewise.
9462 * csu/init.c: Likewise.
9463 * elf/tst-audit2.c: Likewise.
9464 * elf/tst-tls10.c: Likewise.
9465 * elf/tst-tls10.h: Likewise.
9466 * elf/tst-tls11.c: Likewise.
9467 * elf/tst-tls12.c: Likewise.
9468 * elf/tst-tls14.c: Likewise.
9469 * elf/tst-tlsmod11.c: Likewise.
9470 * elf/tst-tlsmod12.c: Likewise.
9471 * elf/tst-tlsmod13.c: Likewise.
9472 * elf/tst-tlsmod13a.c: Likewise.
9473 * elf/tst-tlsmod14a.c: Likewise.
9474 * elf/tst-tlsmod15b.c: Likewise.
9475 * elf/tst-tlsmod16a.c: Likewise.
9476 * elf/tst-tlsmod16b.c: Likewise.
9477 * elf/tst-tlsmod7.c: Likewise.
9478 * elf/tst-tlsmod8.c: Likewise.
9479 * elf/tst-tlsmod9.c: Likewise.
9480 * gmon/gmon.c: Likewise.
9481 * grp/fgetgrent_r.c: Likewise.
9482 * grp/putgrent.c: Likewise.
9483 * hurd/fopenport.c: Likewise.
9484 * include/libc-symbols.h: Likewise.
9485 * include/tls.h: Likewise.
9486 * intl/gettextP.h: Likewise.
9487 * intl/loadinfo.h: Likewise.
9488 * locale/global-locale.c: Likewise.
9489 * locale/localeinfo.h: Likewise.
9490 * mach/devstream.c: Likewise.
9491 * malloc/arena.c: Likewise.
9492 * malloc/set-freeres.c: Likewise.
9493 * misc/err.c: Likewise.
9494 * misc/getttyent.c: Likewise.
9495 * misc/mntent_r.c: Likewise.
9496 * posix/getopt.c: Likewise.
9497 * posix/wordexp.c: Likewise.
9498 * pwd/fgetpwent_r.c: Likewise.
9499 * resolv/Versions: Likewise.
9500 * resolv/res_hconf.c: Likewise.
9501 * shadow/fgetspent_r.c: Likewise.
9502 * shadow/putspent.c: Likewise.
9503 * stdio-common/printf_fphex.c: Likewise.
9504 * stdio-common/tmpfile.c: Likewise.
9505 * stdlib/abort.c: Likewise.
9506 * stdlib/fmtmsg.c: Likewise.
9507 * sunrpc/auth_unix.c: Likewise.
9508 * sunrpc/clnt_perr.c: Likewise.
9509 * sunrpc/clnt_tcp.c: Likewise.
9510 * sunrpc/clnt_udp.c: Likewise.
9511 * sunrpc/clnt_unix.c: Likewise.
9512 * sunrpc/openchild.c: Likewise.
9513 * sunrpc/svc_simple.c: Likewise.
9514 * sunrpc/svc_tcp.c: Likewise.
9515 * sunrpc/svc_udp.c: Likewise.
9516 * sunrpc/svc_unix.c: Likewise.
9517 * sunrpc/xdr.c: Likewise.
9518 * sunrpc/xdr_array.c: Likewise.
9519 * sunrpc/xdr_rec.c: Likewise.
9520 * sunrpc/xdr_ref.c: Likewise.
9521 * sunrpc/xdr_stdio.c: Likewise.
9523 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9525 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9527 2011-07-03 Andreas Jaeger <aj@suse.de>
9529 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9530 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9531 regenerate with gen-libm-tests.pl.
9533 2010-05-12 Petr Baudis <pasky@suse.cz>
9536 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9537 around j0() zero points by switching to j1().
9538 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9543 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9545 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9547 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9550 Patch in part by Pavel Roskin <proski@gnu.org>.
9553 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9555 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9556 Free memory block if necessary.
9559 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9560 be NULL. Don't lock in this case.
9562 2011-09-09 Roland McGrath <roland@hack.frob.com>
9564 * elf/elf.h (ELFOSABI_GNU): New macro.
9565 (ELFOSABI_LINUX): Define to that.
9567 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9569 * string/strncat.c (strncat): Undef the symbol in case it has been
9570 defined in bits/string.h.
9572 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9574 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9576 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9579 2011-08-17 Andreas Jaeger <aj@suse.de>
9581 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9583 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9584 Ian Lance Taylor <iant@google.com>
9586 * math/libm-test.inc (lround_test): New testcase.
9587 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9589 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9591 * Makefile: Remove support for automatic cvs check-ins.
9592 * Makerules: Likewise.
9593 * config.make.in: Likewise.
9594 * configure.in: Likewise.
9595 * intl/Makefile: Likewise.
9596 * locale/Makefile: Likewise.
9597 * po/Makefile: Likewise.
9598 * posix/Makefile: Likewise.
9599 * sysdeps/gnu/Makefile: Likewise.
9600 * sysdeps/mach/hurd/Makefile: Likewise.
9601 * sysdeps/sparc/sparc32/Makefile: Likewise.
9604 * posix/Makefile (bug-regex32-ENV): Define.
9605 Patch by John Stanley <jpsinthemix@verizon.net>.
9607 * misc/Makefile (headers): Add bits/select2.h.
9608 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9609 * misc/bits/select2.h: New file.
9610 * include/bits/select2.h: New file.
9611 * debug/Makefile (routines): Add fdelt_chk.
9612 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9613 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9615 * debug/fdelt_chk.c: New file.
9617 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9618 * wcsmbs/test-wmemcmp.c: Likewise.
9619 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9620 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9622 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9624 * string/Makefile (strop-tests): Add memcmp.
9625 * string/test-wmemcmp.c: New file.
9626 * string/test-memcmp.c: Add wmemcmp support.
9628 2011-09-08 Roland McGrath <roland@hack.frob.com>
9631 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9634 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9635 garbage value in a __mach_port_mod_refs call in the cases of the
9636 task-self and thread-self ports.
9638 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9640 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9642 2011-09-08 Andreas Schwab <schwab@redhat.com>
9644 * elf/dl-load.c (lose): Check for non-null L.
9646 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9648 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9650 * elf/dl-libc.c (dlerror_run): Pass back error code from
9654 * elf/dl-load.c (lose): Free l_origin if it is valid.
9656 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9659 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9660 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9662 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9663 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9665 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9667 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9668 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9669 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9670 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9671 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9672 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9673 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9674 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9675 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9676 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9678 2011-08-15 Alan Modra <amodra@gmail.com>
9681 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9682 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9683 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9684 ppc_mcount to static-only-routines.
9685 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9687 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9688 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9690 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9692 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9693 for finite and infinity parameters.
9695 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9698 and add nop instructions for throughput optimization.
9699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9701 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9703 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9704 aligned copy for power7 with vector-scalar instructions.
9705 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9707 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9712 2011-09-07 Andreas Schwab <schwab@redhat.com>
9715 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9718 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9720 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9721 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9722 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9723 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9726 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9728 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9729 Forgot to demangle the pointer.
9731 * sysdeps/i386/sysdep.h: Define atom_text_section.
9732 * sysdeps/x86_64/sysdep.h: Likewise.
9733 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9734 section with atom_text_section.
9735 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9736 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9737 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9739 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9741 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9743 already be defined. Change to take two parameters and don't assign
9744 result to variable. Adjust all users.
9745 Define INTERNAL_GETTIME if not already defined.
9746 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9749 HAVE_CLOCK_GETTIME_VSYSCALL.
9750 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9753 gettimeofday vsyscall, just use time.
9755 2011-09-06 Andreas Schwab <schwab@redhat.com>
9757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9760 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9762 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9766 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9768 syscall if possible.
9770 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9772 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9773 e_ident. Don't pass to find_mapsXX.
9774 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9776 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9779 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9780 * sysdeps/x86_64/multiarch/strchr.S: Update.
9781 Check bit_slow_BSF bit.
9782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9783 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9784 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9786 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9789 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9792 (__spawni): Change last parameter to be flag. Test
9793 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9794 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9795 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9796 * posix/spawni.c: Likewise.
9797 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9798 * posix/spawnp.c: Likewise. Change normal version to use
9799 SPAWN_XFLAGS_USE_PATH.
9800 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9801 SPAWN_XFLAGS_TRY_SHELL.
9804 * posix/glob.h: Remove gcc 1.x support.
9807 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9809 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9812 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9814 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9815 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9816 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9817 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9818 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9819 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9821 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9823 * sysdeps/x86_64/wcscmp.S: New file.
9825 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9826 wcscmp-c wcscmp-sse2
9827 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9828 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9829 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9830 * wcsmbs/wcscmp.c: Allow renaming.
9832 2011-09-05 David S. Miller <davem@davemloft.net>
9834 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9835 stack slot, rather than the struct return pointer slot.
9836 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9837 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9839 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9841 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9843 * po/ja.po: Update from translation team.
9846 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9847 kernel in 64-bit binaries.
9849 2011-09-01 David S. Miller <davem@davemloft.net>
9851 * elf/elf.h (HWCAP_SPARC_*): Move to..
9852 * sysdeps/sparc/sysdep.h: this new file and add new values.
9853 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9854 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9855 _DL_HWCAP_COUNT to 24.
9856 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9858 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9859 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9860 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9862 instead of magic constants.
9863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9865 2011-08-31 David S. Miller <davem@davemloft.net>
9867 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9869 Reimplement to do errno handling inline.
9870 (SYSCALL_ERROR_HANDLER): New macro.
9871 (__SYSCALL_STRING): Do not do errno handling in asm.
9872 (__CLONE_SYSCALL_STRING): Delete.
9873 (__INTERNAL_SYSCALL_STRING): Delete.
9874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9875 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9876 (PSEUDO): Reimplement to do errno handling inline.
9877 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9878 (SYSCALL_ERROR_HANDLER): New macro.
9879 (__SYSCALL_STRING): Do not do errno handling in asm.
9880 (__CLONE_SYSCALL_STRING): Delete.
9881 (__INTERNAL_SYSCALL_STRING): Delete.
9882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9883 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9885 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9886 (inline_syscall*): Add 'err' argument.
9887 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9888 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9889 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9890 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9892 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9893 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9895 2011-08-30 Andreas Schwab <schwab@redhat.com>
9897 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9899 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9901 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9904 2011-08-24 David S. Miller <davem@davemloft.net>
9906 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9908 2011-08-24 Andreas Schwab <schwab@redhat.com>
9910 * elf/Makefile: Add rules to build and run unload8 test.
9911 * elf/unload8.c: New file.
9912 * elf/unload8mod1.c: New file.
9913 * elf/unload8mod1x.c: New file.
9914 * elf/unload8mod2.c: New file.
9915 * elf/unload8mod3.c: New file.
9917 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9920 2011-08-23 David S. Miller <davem@davemloft.net>
9922 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9923 subtract stack bias.
9924 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9925 %sp not %fp in calculations.
9926 (_JMPBUF_UNWINDS_ADJ): Likewise.
9928 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9929 (aio_suspend): Call it to force an exception region around the
9930 AIO_MISC_WAIT() invocation.
9932 2011-08-23 Andreas Schwab <schwab@redhat.com>
9934 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9937 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9939 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9941 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9943 (Elf64_FuncDesc): Remove.
9945 2011-08-22 David S. Miller <davem@davemloft.net>
9947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9948 sigaltstack check, add missing cfi directives.
9949 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9950 missing cfi directives, and sigaltstack handling.
9952 2011-08-16 Andreas Schwab <schwab@redhat.com>
9955 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9956 object is seen twice.
9957 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9959 * elf/Makefile (distribute): Add tst-initorder2.c.
9960 (tests): Add tst-initorder2.
9961 (modules-names): Add tst-initorder2a tst-initorder2b
9962 tst-initorder2c tst-initorder2d. Add rules to build them.
9963 ($(objpfx)tst-initorder2.out): New rule.
9964 * elf/tst-initorder2.c: New file.
9965 * elf/tst-initorder2.exp: New file.
9967 2011-08-22 Andreas Schwab <schwab@redhat.com>
9969 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9971 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9972 dependencies back to end of function.
9974 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9977 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9980 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9982 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9983 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9984 of __vdso_gettimeofday.
9985 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9986 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9988 (_libc_vdso_platform_setup): Remove initialization of
9989 __vdso_gettimeofday and __vdso_time.
9991 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9993 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9995 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9998 * elf/dl-open.c (add_to_global): Report additions to the global scope
9999 for LD_DEBUG=scopes.
10000 (dl_open_worker): Also print scope of newly loaded dependencies.
10001 (_dl_show_scope): Indicate if there is no scope.
10004 * stdio-common/Makefile (tests): Add bug24.
10005 * stdio-common/bug24.c: New file.
10007 2011-08-19 Andreas Jaeger <aj@suse.de>
10010 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10011 non-existant file when using close-on-exec mode.
10013 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10016 the very first instruction.
10018 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10019 the CFI state in the end.
10020 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10021 inclusion of dl-trampoline.h.
10022 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10024 2011-08-19 Andreas Schwab <schwab@redhat.com>
10026 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10027 expectations for long double.
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10030 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10032 2011-08-14 David S. Miller <davem@davemloft.net>
10034 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10035 artificual limit depends upon the system page size.
10037 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10039 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10040 * resolv/Makefile: Define CFLAGS-libresolv.
10042 2011-08-17 Andreas Schwab <schwab@redhat.com>
10044 * nss/makedb.c (compute_tables): Make variables used in nested
10047 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10049 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10050 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10051 if buffer was too small.
10053 * elf/pldd.c (main): Attach to all threads in the process.
10054 Rewrite /proc handling to use *at functions.
10056 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10058 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10059 specifies first scope to show.
10060 (dl_open_worker): Update callers. Move printing scope of new
10061 object to before the relocation.
10062 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10063 * sysdeps/generic/ldsodefs.h: Update declaration.
10065 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10066 string for the scope number.
10068 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10070 * nscd/servicescache.c (cache_addserv): Make sure written is always
10073 2011-08-14 Roland McGrath <roland@hack.frob.com>
10075 * sysdeps/i386/i486/bits/atomic.h
10076 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10077 statement expression, so as to suppress "set but not used" warning.
10078 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10080 * string/strncat.c (STRNCAT): Use prototype definition.
10082 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10083 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10085 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10086 (localedef-modules): Add localedef.
10087 (locale-modules): Add locale.
10089 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10090 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10091 to avoid a warning.
10093 2011-08-14 David S. Miller <davem@davemloft.net>
10095 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10096 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10098 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10100 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10101 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10102 * elf/rtld.c (dl_main): Set l_name of vDSO.
10103 Call _dl_show_scope when DL_DEBUG_SCOPES.
10104 (process_dl_debug): Recognize scopes flag and also set it for all.
10105 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10106 Declare _dl_show_scope.
10108 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10109 (do_dlopen): Pass caller_dlopen to dl_open.
10110 (__libc_dlopen_mode): Initialize caller_dlopen.
10112 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10113 of libc. Make tolower call locale-independent. Optimize a bit by
10114 using isdigit instead of isalnum.
10115 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10117 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10119 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10120 was a dependency or dynamically loaded.
10122 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10124 * intl/l10nflist.c: Allow architecture-specific pop function.
10125 * sysdeps/x86_64/l10nflist.c: New file.
10127 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10130 2011-08-10 Andreas Schwab <schwab@redhat.com>
10132 * include/dirent.h: Add libc_hidden_proto for scandirat and
10133 scandirat64. Don't declare __scandirat64.
10134 * dirent/scandirat.c: Add libc_hidden_def.
10135 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10136 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10138 2011-08-10 David S. Miller <davem@davemloft.net>
10140 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10142 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10146 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10148 * Versions.def [libc]: Add GLIBC_2.15.
10149 * dirent/Makefile (routines): Add scandirat and scandirat64.
10150 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10152 * dirent/dirent.h: Declare scandirat and scandirat64.
10153 * dirent/scandirat.c: New file.
10154 * dirent/scandirat64.c: New file.
10155 * sysdeps/wordsize-64/scandirat.c: New file.
10156 * sysdeps/wordsize-64/scandirat64.c: New file.
10157 * dirent/opendir.c: Define opendirat.
10158 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10160 * dirent/scandir64.c: Adjust for scandir.c change.
10161 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10162 __scandirat64, and __scandir_cancel_handler.
10163 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10164 additional parameter and use openat instead of open (outside of ld.so).
10165 Add new __opendir as wrapper around __opendirat.
10166 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10167 here without requiring old scandirat implementation.
10169 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10171 * dirent/scandir.c (cancel_handler): Renamed to
10172 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10173 defined. Adjust users.
10174 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10175 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10177 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10179 * string/test-string.h (IMPL): Use __STRING to expand name and then
10182 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10185 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10187 * string/Makefile: Update.
10188 (strop-tests): Append strncat.
10189 * string/test-wcscmp.c: New file.
10190 New comprehensive test for wcscmp.
10191 * string/test-strcmp.c: Update.
10192 (WIDE): New define.
10194 2011-07-22 Andreas Schwab <schwab@redhat.com>
10196 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10199 2011-07-26 Andreas Schwab <schwab@redhat.com>
10201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10202 encoding to ACE if AI_IDN.
10204 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10207 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10209 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10211 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10212 Fix overflow bug in strncat.
10213 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10215 * string/test-strncat.c: Update.
10216 Add new tests for checking overflow bugs.
10218 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10221 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10222 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10223 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10224 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10225 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10226 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10227 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10228 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10231 (USE_AS_STRCAT): Define.
10232 Add strcat and strncat support.
10233 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10235 2011-07-25 Andreas Schwab <schwab@redhat.com>
10237 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10238 __n bigger than INT_MAX+1.
10239 (__strncmp_g): Likewise.
10241 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10243 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10244 * libio/stido.h: Likewise.
10246 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10251 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10252 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10254 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10258 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10263 (_dl_x86_64_save_sse): Likewise.
10265 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10269 (_dl_x86_64_save_sse): Likewise.
10271 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10273 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10275 2011-07-21 Andreas Schwab <schwab@redhat.com>
10277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10279 (_dl_x86_64_save_sse): Use correct AVX check.
10281 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10284 bug in strncpy/strncat.
10285 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10287 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10289 * string/tester.c (test_strcat): Add tests for different alignments
10290 of source and destination.
10291 (test_strncat): Likewise.
10293 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10296 * posix/glob.c (glob): Check passed in values before using them in
10297 expressions to avoid some overflows.
10298 (glob_in_dir): Likewise.
10301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10302 check for AVX enablement so that we don't crash with old kernels and
10304 * elf/tst-audit4.c: Add same checks here.
10305 * elf/tst-audit6.c: Likewise.
10307 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10309 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10311 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10313 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10315 * po/cs.po: Update from translation team.
10316 * po/bg.po: Likewise.
10318 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10320 * misc/sys/cdefs.h: Add support for const attribute.
10321 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10322 to gnu_dev_{major,minor,makedev} functions.
10324 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10326 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10328 2011-07-20 Andreas Schwab <schwab@redhat.com>
10330 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10333 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10335 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10336 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10337 register in order to avoid conflicts with the soft frame pointer
10338 being held in r11 when necessary.
10339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10340 (INTERNAL_VSYSCALL_NCS): Likewise.
10342 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10344 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10345 * elf/dl-fini.c (_dl_fini): Adjust caller.
10346 * elf/dl-close.c (_dl_close_worker): Likewise.
10347 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10349 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10351 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10352 "aux_cache->nlibs < 0".
10354 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10355 in the reload-count case.
10357 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10360 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10361 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10362 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10363 * sysdeps/x86_64/multiarch/strcat.S: New file.
10364 * sysdeps/x86_64/multiarch/strncat.S: New file.
10365 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10366 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10367 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10368 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10369 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10370 (USE_AS_STRCAT): Define.
10371 Add strcat and strncat support.
10372 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10374 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10375 * string/strncat.c: Update.
10376 (USE_AS_STRNCAT): Define.
10377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10378 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10380 * sysdeps/x86_64/multiarch/init-arch.h
10381 (bit_Prefer_PMINUB_for_stringop): New.
10382 (index_Prefer_PMINUB_for_stringop): Likewise.
10383 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10384 bit_Prefer_PMINUB_for_stringop.
10386 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10388 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10390 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10391 of casting of buffer.
10392 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10393 buffer32 and buffer64.
10394 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10395 writes instead of casting of buffer.
10396 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10398 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10401 2011-07-19 Andreas Schwab <schwab@redhat.com>
10403 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10405 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10407 * nscd/nscd.c (termination_handler): Don't do anything for a database
10408 if it has not yet been initialized.
10410 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10412 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10414 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10416 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10418 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10420 * po/nl.po: Update from translation team.
10421 * po/sv.po: Likewise.
10423 2011-07-16 Roland McGrath <roland@hack.frob.com>
10425 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10426 now disallowed by GCC.
10428 * configure.in (use-default-link): Default to yes if a test -shared
10429 link meets our qualifications.
10430 * configure: Regenerated.
10432 * config.make.in (output-format): New variable.
10433 * configure.in: Check for ld --print-output-format support.
10434 * configure: Regenerated.
10435 * Makerules ($(common-objpfx)format.lds)
10436 [$(output-format) != unknown]: Just use $(output-format),
10437 instead of the linker-script munging.
10439 2011-07-14 Roland McGrath <roland@hack.frob.com>
10441 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10442 of $(common-objpfx)shlib.lds.
10443 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10445 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10446 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10448 * configure.in (-z relro check): Adjust test code to add a large
10449 writable data section after it.
10450 * configure: Regenerated.
10452 2011-07-11 Roland McGrath <roland@hack.frob.com>
10454 * configure.in (-z relro check): Fix test code to make the variable
10456 * configure: Regenerated.
10458 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10460 * nscd/nscd.h (struct traced_file): Define.
10461 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10462 elements. Add traced_files.
10463 (inotify_fd): Declare.
10464 (register_traced_file): Declare.
10465 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10466 (inotify_fd): Export.
10467 (resolv_conf_descr): Remove.
10468 (nscd_init): Move inotify descriptor creation to main.
10469 Don't register files for notification here.
10470 (register_traced_file): New function.
10471 (invalidate_cache): Don't use reset_res to determine whether to call
10472 res_init, go through the list of registered files.
10473 (main_loop_poll): The inotify descriptors are now stored in the
10474 structures for the traced files.
10475 (main_loop_epoll): Likewise
10476 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10477 to __nss_disable_nscd.
10478 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10479 for a database anymore. Check the records for all the registered
10481 * nss/Makefile (libnss_files-routines): Add files-init.
10482 (libnss_db-routines): Add db-init.
10483 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10484 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10485 * nss/nss_db/db-init.c: New file.
10486 * nss/nss_files/files-init.c: New file.
10487 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10488 __nss_lookup_function.
10489 (__nss_lookup_function): Call nss_load_library.
10490 (nss_load_all_libraries): New function.
10491 (__nss_disable_nscd): Take parameter with callback function for files
10492 to register. Set is_nscd. Load all the DSOs for the NSS modules
10493 used for the cached services.
10494 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10495 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10496 options for features to all the files in nscd.
10498 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10500 2011-07-10 Roland McGrath <roland@hack.frob.com>
10502 * csu/elf-init.c (__libc_csu_init): Comment typo.
10504 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10506 * po/pl.po: Update from translation team.
10507 * po/ja.po: Likewise.
10508 * po/ru.po: Likewise.
10509 * po/ko.po: Likewise.
10510 * po/fr.po: Likewise.
10512 2011-07-09 Roland McGrath <roland@hack.frob.com>
10514 * configure.in (.ctors/.dtors header and trailer check):
10515 Use an empirical test on a built program.
10516 * configure: Regenerated.
10518 * configure.in (-z relro check): Use an empirical test on a built DSO.
10519 Detect, but do not require, on ia64.
10520 * configure: Regenerated.
10522 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10523 Update tests that use readelf to use $READELF instead.
10524 * configure: Regenerated.
10526 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10528 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10529 if the result is not used.
10531 2011-07-05 Andreas Jaeger <aj@suse.de>
10534 * stdlib/tst-strtod.c: Add testcase.
10536 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10538 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10539 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10540 The latter has a higher limit. Take additional parameter to pass to
10542 (__pathconf): Pass file to __statfs_link_max.
10543 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10545 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10549 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10550 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10552 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10553 (__statfs_filesize_max): Likewise.
10554 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10556 2011-07-05 Andreas Jaeger <aj@suse.de>
10558 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10560 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10562 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10564 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10567 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10569 * Makefile (strop-tests): Add strncat.
10570 * string/test-strncat.c: New file.
10572 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10574 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10576 2011-06-21 Andreas Jaeger <aj@suse.de>
10578 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10579 Copy rule from iconvdata/Makefile.
10581 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10584 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10585 but no long options are defined, just return 'W'.
10587 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10590 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10592 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10594 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10596 (innetgr): Likewise.
10598 2011-07-05 Roland McGrath <roland@hack.frob.com>
10600 * config.make.in (install_root): Default to $(DESTDIR).
10602 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10604 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10606 2011-07-02 Roland McGrath <roland@hack.frob.com>
10608 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10610 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10611 containing directory rather than embedding absolute directory names.
10613 * scripts/check-local-headers.sh: Rewritten using awk.
10614 Match by word, not by line. Print error messages for matches.
10615 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10617 * Makerules [shlib-lds-flags empty]:
10618 ($(common-objpfx)libc_pic.opts): New target.
10619 ($(common-objpfx)libc_pic.os.clean): New target.
10620 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10622 * config.make.in (OBJCOPY): New variable.
10623 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10624 * configure: Regenerated.
10626 * config.make.in (use-default-link): New variable.
10627 * configure.in (use_default_link): Grok --with-default-link to set it.
10628 * configure: Regenerated.
10629 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10630 (shlib-lds, shlib-lds-flags): Define to empty.
10632 * Makerules (shlib-lds): New variable.
10633 (shlib-lds-flags): New variable.
10634 (build-shlib, build-moduile, build-module-asneeded): Use it.
10635 ($(common-objpfx)libc.so): Use $(shlib-lds).
10636 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10637 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10639 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10640 DT_FLAGS/DT_FLAGS_1 with zero flags.
10642 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10643 linker script munging.
10645 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10647 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10649 * crypt/sha512.c (sha512_process_block): Perform total addition using
10650 128-bit if possible.
10651 (__sha512_finish_ctx): Likewise.
10652 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10654 * crypt/sha256.c (SWAP64): Define.
10655 (sha256_process_block): Perform total addition using 64-bit if
10657 (__sha256_finish_ctx): Likewise.
10659 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10661 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10663 * nscd/hstcache.c (cache_addhst): Likewise.
10664 * nscd/grpcache.c (cache_addgr): Likewise.
10665 * nscd/aicache.c (addhstaiX): Likewise
10666 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10668 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10670 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10672 * nscd/hstcache.c (cache_addhst): Likewise.
10673 * nscd/grpcache.c (cache_addgr): Likewise.
10674 * nscd/aicache.c (addhstaiX): Likewise
10676 2011-07-01 Andreas Schwab <schwab@redhat.com>
10678 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10679 domain only when needed.
10681 2011-06-30 Andreas Schwab <schwab@redhat.com>
10683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10684 is always restored.
10686 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10688 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10689 are re-adding the entry.
10690 * nscd/servicescache.c (cache_addserv): Likewise.
10692 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10694 * sysdeps/generic/dl-irel.h: fix protection against multiple
10696 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10698 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10701 * malloc/memusage.sh: Fix quoting in message.
10702 * debug/xtrace.sh: Likewise.
10704 * configure.in: Remove support for --experimental-malloc option, make
10706 * config.make.in: Likewise.
10707 * malloc/Makefile: Likewise.
10709 2011-06-27 Andreas Schwab <schwab@redhat.com>
10711 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10712 two-byte characters.
10714 2011-06-27 Roland McGrath <roland@hack.frob.com>
10716 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10717 AC_CACHE_CHECK invocation.
10718 * configure: Regenerated.
10720 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10722 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10725 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10726 bit from old_res_options.
10728 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10730 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10731 value type for setfct.
10733 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10736 __gettimeofday instead of gettimeofday.
10738 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10740 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10742 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10744 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10746 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10749 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10752 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10753 strcpy-sse2-unaligned strncpy-sse2-unaligned
10754 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10755 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10756 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10757 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10758 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10761 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10762 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10763 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10764 (STRCPY): Support SSE2 and SSSE3 versions.
10766 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10770 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10771 kernels which artificially limit size of requests.
10773 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10776 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10777 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10778 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10779 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10780 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10781 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10782 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10783 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10785 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10786 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10787 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10788 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10789 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10791 Enable unaligned load optimization for Intel Core i3, i5 and i7
10793 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10795 (index_Fast_Unaligned_Load): Define.
10796 (HAS_FAST_UNALIGNED_LOAD): Define.
10798 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10800 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10802 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10805 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10806 until it is clear that the information is realy needed.
10807 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10809 2011-06-22 Andreas Schwab <schwab@redhat.com>
10811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10813 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10816 /sys/devices/system/cpu/online if it is usable.
10818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10819 reading the information from the /proc filesystem to once a second.
10821 2011-06-21 Andreas Jaeger <aj@suse.de>
10823 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10824 NULL after inclusion of kernel headers.
10826 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10828 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10829 calls to internal_setent.
10832 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10833 addresses using gethostbyname4_r ignore IPv4 addresses.
10835 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10836 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10838 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10840 2011-06-20 David S. Miller <davem@davemloft.net>
10842 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10844 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10846 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10847 (elf_irel): Use it.
10848 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10849 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10850 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10851 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10852 * sysdeps/x86_64/dl-irel.h: Likewise.
10854 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10855 * elf/dl-sym.c: Likewise.
10857 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10859 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10860 need to dereference resplen2.
10862 2011-06-14 Andreas Schwab <schwab@redhat.com>
10864 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10866 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10868 * Makeconfig: Define vardbdir and inst_vardbdir.
10869 * nss/Makefile: Add rules to install db-Makefile.
10871 * nss/nss_db/db-XXX.c: Cleanup.
10873 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10874 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10876 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10877 * nss/makedb.c: Implement -g option to specify that value strings
10878 are generated and should not be added to table iterated over for
10880 * nss/nss_db/db-initgroups.c: New file.
10882 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10885 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10886 (internal_getgrouplist): Adjust to name change.
10887 Update use_initgroups_entry if this is not the first call.
10888 * nss/databases.def: Add initgroups entry.
10890 * nss/makedb.c (compute_tables): Check result of multiple hash table
10891 sizes to minimize maximum chain length.
10893 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10895 * Versions.def: Add entry for libnss_db.
10896 * shlib-versions: Likewise.
10897 * nss/Makefile: Add rules to build libnss_db.
10898 * nss/Versions: Add libnss_db information. Organize libnss_files
10900 * nss/db-Makefile: Add gshadow support. Change rules for the new
10901 makedb progra. Some minor improvements to generate smaller files.
10902 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10904 * nss/makedb.c: ...here.
10905 Improve database format to be smaller and require less memory at
10907 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10909 * nss/nss_db/db-netgrp.c: Likewise.
10910 * nss/nss_db/db-open.c: Likewise.
10911 * nss/nss_files/flies-XXX.x: Adjust comments.
10912 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10913 * nss/nss_files/files-grp.c: Likewise.
10914 * nss/nss_files/files-hosts.c: Likewise.
10915 * nss/nss_files/files-network.c: Likewise.
10916 * nss/nss_files/files-proto.c: Likewise.
10917 * nss/nss_files/files-pwd.c: Likewise.
10918 * nss/nss_files/files-rpc.c: Likewise.
10919 * nss/nss_files/files-service.c: Likewise.
10920 * nss/nss_files/files-sgrp.c: Likewise.
10921 * nss/nss_files/files-spwd.c: Likewise.
10922 * nss/nss_db/db-alias.c: Removed.
10923 * nss/nss_db/dummy-db.h: Removed.
10925 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10927 * nss/makedb.c: Rewritten to not use database library.
10928 * nss/Makefile: Update to build new makedb program.
10930 2011-06-14 Andreas Jaeger <aj@suse.de>
10932 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10933 memset declaration.
10935 2011-06-10 Andreas Schwab <schwab@redhat.com>
10937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10940 2011-06-10 Roland McGrath <roland@hack.frob.com>
10942 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10943 * elf/Makefile ($(objpfx)ld.so): Likewise.
10945 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10946 Don't list ld.so twice in dependencies.
10948 * posix/bug-regex31.c: Include <stdlib.h>.
10950 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10952 * nis/nss_compat/compat-spwd.c
10953 (getspent_next_nss_netgr): Remove unused variable.
10954 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10956 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10957 nonmembers" output to use the right array.
10959 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10961 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10963 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10964 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10965 * catgets/gencat.c (read_input_file): Likewise.
10966 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10968 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10969 variable definition inside #if's controlling its use.
10971 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10973 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10975 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10977 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10980 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10982 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10983 * configure: Regenerated.
10985 * Makerules: Revert last change.
10986 * elf/Makefile: Likewise.
10988 2011-06-09 Roland McGrath <roland@hack.frob.com>
10990 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10991 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10992 (reloc-link): Likewise.
10994 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10996 * elf/Makefile: Add rules to build pldd.
10997 * elf/pldd.c: New file.
10998 * elf/pldd-xx.c: New file.
11000 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11002 * version.h: Update for 2.15 development version.
11004 2011-06-07 David S. Miller <davem@davemloft.net>
11006 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11009 elf_machine_lazy_rel): Likewise.
11010 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11012 elf_machine_lazy_rel): Likewise.
11013 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11014 dl_hwcap via passed in argument.
11015 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11018 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11020 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11022 2011-06-06 Roland McGrath <roland@hack.frob.com>
11025 * manual/fdl-1.1.texi: New file, verbatim from:
11026 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11027 * manual/lgpl-2.1.texi: New file, verbatim from:
11028 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11029 * manual/Makefile (licenses): New variable, list those new file names.
11031 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11033 * manual/fdl.texi: File removed.
11034 * manual/lesser.texi: File removed.
11035 * manual/libc.texinfo (Copying, Documentation License):
11036 Use new @include file names, put @appendix directive before @include.
11038 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11041 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11042 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11043 (mq_open): Add __NTH.
11045 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11048 Assume Intel Core i3/i5/i7 processor if AVX is available.
11050 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11055 2011-05-31 Andreas Schwab <schwab@redhat.com>
11057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11058 memory. Use alloca_account. Fix memory leak when retrying.
11060 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11062 * version.h (RELEASE): Bump for 2.14 release.
11063 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11065 * config.make.in (RANLIB): Remove entry.
11067 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11069 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11070 (libc.pot): Work around missing support for .ksh extension in xgettext.
11073 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11074 if both request failed.
11075 (send_dg): In case of server errors clear resplen or *resplen2.
11078 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11079 when there are multiple maps.
11080 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11081 (_dl_fini): Remove test here.
11083 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11085 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11088 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11089 bit from old_res_options.
11090 (gaih_inet): Likewise.
11093 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11096 * resolv/res_init.c (res_setoptions): Make the code more compact.
11099 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11103 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11105 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11108 * malloc/malloc.h: Declare malloc hook variables as volatile.
11110 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11114 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11115 raise in the comment.
11116 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11118 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11120 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11123 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11124 grow the buffers more if it already has to be sufficient.
11125 (build_wcs_upper_buffer): Likewise.
11126 * posix/regexec.c (check_matching): Likewise.
11127 (clean_state_log_if_needed): Likewise.
11128 (extend_buffers): Don't enlarge buffers beyond size of the input
11130 Patches mostly by Emil Wojak <emil@wojak.eu>.
11131 * posix/bug-regex32.c: New file.
11132 * posix/Makefile (tests): Add bug-regex32.
11134 * locale/findlocale.c (_nl_find_locale): Return right away if
11135 _nl_explode_name failed.
11136 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11138 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11140 * debug/xtrace.sh: Unify messages.
11141 * malloc/memusage.sh: Likewise.
11144 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11145 time symbol from vDSO. Substitute with vsyscall if not available.
11146 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11149 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11150 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11151 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11152 Add sendmmsg and internal_sendmmsg.
11153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11154 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11157 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11158 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11161 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11164 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11165 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11167 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11171 * iconvdata/Makefile (tests): Add bug-iconv9.
11172 * iconvdata/bug-iconv9.c: New file.
11174 2011-05-27 Andreas Schwab <schwab@redhat.com>
11177 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11179 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11181 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11182 (struct user_regs_struct): Change intcs field back to cs.
11184 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11186 * po/ja.po: Update from translation team.
11188 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11191 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11192 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11194 2011-05-20 Andreas Schwab <schwab@redhat.com>
11196 * stdlib/longlong.h: Update from GCC.
11198 2011-05-23 Andreas Schwab <schwab@redhat.com>
11200 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11202 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11203 Add parameter name.
11204 (__sysconf): Pass it down.
11206 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11209 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11211 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11212 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11213 add in in __libc_use_alloca calls. Adjust callers.
11214 (glob): Use malloc in some situations.
11216 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11217 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11220 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11222 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11223 and CLOCK_BOOTTIME_ALARM.
11226 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11229 * string/_strerror.c (__strerror_r): Print negative errors as signed
11233 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11234 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11235 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11237 * configure.in: Fix typo in redirection and correct removal of test
11238 files in two cases.
11241 * locale/setlocale.c (new_composite_name): Fix test to check for
11242 identical name of all categories.
11245 * libio/filedoalloc.c (local_isatty): New function.
11246 (_IO_file_doallocate): Use local_isatty.
11247 * stdio-common/perror.c (perror): In case a new stream is used
11248 forward the stream error.
11249 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11252 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11257 * include/alloca.h (extend_alloca_account): Define.
11260 * posix/regex.h: Fix comments with documentation of user-accessible
11261 fields after compilation and describe correct free'ing of pattern
11262 after re_compile_pattern.
11263 Patch by Reuben Thomas <rrt@sc3d.org>.
11265 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11267 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11268 and -mno-altivec to prevent the compiler from using Altivec and/or
11269 VSX instructions when the corresponding registers are not available.
11271 2011-05-19 Andreas Schwab <schwab@redhat.com>
11273 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11275 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11277 * libio/freopen.c (freopen): Use __dup2, not dup2.
11278 * libio/freopen64.c (freopen64): Likewise.
11280 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11283 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11284 * math/Makefile (tests): Add test-powl.
11285 (CFLAGS-test-powl.c): Define.
11286 * math/test-powl.c: New file.
11288 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11290 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11292 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11295 * iconvdata/gb18030.c: Update to GB18020-2005.
11297 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11299 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11300 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11301 Patch by Aharon Robbins <arnold@skeeve.com>.
11304 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11308 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11309 through underflows.
11312 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11313 point to strings before performing equality test for error_one_per_line
11317 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11321 (struct user_fpregs_struct): Avoid __uint*_t types.
11324 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11325 symbol info. Use it instead of calling _dl_addr locally.
11326 (lock_and_info): New function.
11327 (tr_freehook): Call lock_and_info and pass symbol info as additional
11328 parameter to tr_where.
11329 (tr_mallochook): Likewise.
11330 (tr_reallochook): Likewise.
11331 (tr_memalignhook): Likewise.
11333 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11334 used and couldn't be at all thread-safe.
11336 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11338 * libio/freopen.c (freopen): Don't close old file descriptor
11339 before the new one is opened. Instead dup the new file descriptor
11340 to the old one after the new stream is created.
11341 * libio/freopen64.c (freopen64): Likewise.
11342 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11343 * libio/fileops.c (_IO_new_file_close_it): Handle new
11344 _IO_FLAGS2_NOCLOSE flag.
11345 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11346 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11347 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11348 _IO_FLAGS2_NOCLOSE flag.
11349 * include/unistd.h: Add hidden_proto for dup3.
11350 Define __have_dup3.
11351 * io/dup3.c: Define hidden symbol.
11352 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11355 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11356 when an incomplete long option is used.
11357 * posix/tst-getopt_long1.c: New file.
11358 * posix/Makefile (tests): Add tst-getopt_long1.
11361 * scripts/config.guess: Update from autoconf-2.68.
11362 * scripts/config.sub: Likewise.
11365 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11367 (has_cpuclock): ...this. New function.
11368 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11369 macro here based on has_cpuclock code.
11372 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11373 First byte (not low byte) is now always NUL.
11374 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11377 Use non-cancelable interfaces.
11380 * locale/iso-639.def: Add entry for Sorani.
11383 * include/stdlib.h: Move include protection to the right place.
11384 Define abort_msg_s. Declare __abort_msg with it.
11385 * stdlib/abort.c (__abort_msg): Adjust type.
11386 * assert/assert.c (__assert_fail_base): New function. Majority
11387 of code from __assert_fail. Allocate memory for __abort_msg with
11389 (__assert_fail): Now call __assert_fail_base.
11390 * assert/assert-perr.c: Remove bulk of implementation. Use
11391 __assert_fail_base.
11392 * include/assert.hL Declare __assert_fail_base.
11393 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11395 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11397 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11401 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11402 until all modules are registered in the DTV.
11403 * elf/Makefile: Add rules to build and run tst-tls19.
11404 * elf/tst-tls19.c: New file.
11405 * elf/tst-tls19mod1.c: New file.
11406 * elf/tst-tls19mod2.c: New file.
11407 * elf/tst-tls19mod3.c: New file.
11408 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11411 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11415 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11416 two-byte sequence errors.
11417 * iconvdata/Makefile (tests): Add bug-iconv8.
11418 * iconvdata/bug-iconv8.c: New file.
11421 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11424 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11427 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11428 (dummy_getcfa): New function.
11429 (init): Get _Unwind_GetCFA address, use dummy if not found.
11430 (backtrace_helper): In recursion check, also check whether CFA changes.
11431 (__backtrace): Completely initialize arg.
11433 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11434 storing incomplete byte sequence in state object. Avoid testing for
11435 guaranteed too small input if we know there is enough data available.
11437 2011-05-11 Andreas Schwab <schwab@redhat.com>
11439 * Makeconfig (+link-pie): Indent.
11440 * Rules (binaries-pie): Define if $(have-fpie) and
11442 (binaries-shared): Also filter out $(binaries-pie).
11443 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11444 * nscd/Makefile (others-pie): Add nscd.
11445 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11446 ($(objpfx)nscd): Remove command override.
11447 * login/Makefile (others-pie): Add pt_chown.
11448 ($(objpfx)pt_chown): Remove command override.
11449 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11450 remove command overrides.
11452 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11454 * libio/tst_putwc.c: Fix error messages.
11457 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11458 currently writing and seek to current position when not.
11459 * libio/Makefile (tests): Add bug-fclose1.
11460 * libio/bug-fclose1.c: New file.
11462 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11465 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11466 don't set DF_1_NODELETE here.
11467 (do_lookup_x): When entering new entry test for copy relocation
11468 and if necessary set DF_1_NODELETE flag.
11469 * elf/tst-unique4.cc: New file.
11470 * elf/tst-unique4.h: New file.
11471 * elf/tst-unique4lib.cc: New file.
11472 * elf/Makefile: Add rules to build and run tst-unique4.
11473 Patch by Piotr Bury <pbury@goahead.com>.
11475 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11478 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11481 * misc/mntent_r.c (addmntent): Flush the stream after the output
11484 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11485 (is_trusted_path_normalize): Skip initial colon. Append slash
11486 to empty buffer. Duplicate is_trusted_path code but allow
11487 constructed patch to be prefix.
11488 (is_dst): Allow $ORIGIN followed by /.
11489 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11490 Correct testing of result of is_trusted_path_normalize
11491 (decompose_rpath): Fix warning.
11493 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11496 * grp/initgroups.c (internal_getgrouplist): When we found the service
11497 list through the initgroups entry in nsswitch.conf do not always
11498 continue on a successful lookup. Don't always use the
11499 __nss_group_database value if it is set.
11500 * nss/nsswitch.conf (initgroups): Change action for successful db
11501 lookup to continue for compatibility.
11503 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11506 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11508 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11510 * iconvdata/tst-tables.sh: Likewise.
11511 * iconvdata/cp770.c: New file.
11512 * iconvdata/cp771.c: New file.
11513 * iconvdata/cp772.c: New file.
11514 * iconvdata/cp773.c: New file.
11515 * iconvdata/cp774.c: New file.
11516 * iconvdata/testdata/CP770: New file.
11517 * iconvdata/testdata/CP770..UTF8: New file.
11518 * iconvdata/testdata/CP771: New file.
11519 * iconvdata/testdata/CP771..UTF8: New file.
11520 * iconvdata/testdata/CP772: New file.
11521 * iconvdata/testdata/CP772..UTF8: New file.
11522 * iconvdata/testdata/CP773: New file.
11523 * iconvdata/testdata/CP773..UTF8: New file.
11524 * iconvdata/testdata/CP774: New file.
11525 * iconvdata/testdata/CP774..UTF8: New file.
11527 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11529 * iconvdata/gen-8bit-gap.sh: Likewise.
11530 * iconvdata/gen-8bit.sh: Likewise.
11532 * locale/iso-639.def: Add ary entry.
11535 * locale/C-translit.h.in: Add U20A1 transliteration.
11538 * locale/iso-639.def: Add wae entry.
11539 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11542 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11546 * locale/C-translit.h.in: Add entry for U20B9.
11547 Patch by pravin.d.s@gmail.com.
11549 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11552 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11553 ENAMETOOLONG use generic getcwd.
11554 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11555 in rtld. Use *stat64.
11556 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11557 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11558 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11559 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11560 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11561 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11562 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11563 __fstatat64 macros.
11564 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11565 * dirent/rewinddir.c: Add libc_hidden_def.
11566 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11567 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11569 * include/dirent.h (__alloc_dir): Add flags parameter.
11570 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11571 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11573 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11574 from fdopendir if O_CLOEXEC is already set.
11576 2011-03-15 Alan Modra <amodra@gmail.com>
11578 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11579 l_tls_firstbyte_offset non-zero. Save padding offset in
11580 l_tls_firstbyte_offset for later use.
11581 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11582 freeing static tls block.
11584 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11586 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11587 where #ifdef was intended. The intent is to prevent ARG_MAX from
11588 being defined by the kernel headers.
11590 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11593 * resolv/resolv.h: Define RES_NOTLDQUERY.
11594 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11595 no-tld-query and set RES_NOTLDQUERY.
11596 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11597 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11598 modern BIND to search name as TLD unless forbidden.
11600 2011-05-07 Petr Baudis <pasky@suse.cz>
11601 Ulrich Drepper <drepper@gmail.com>
11604 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11605 (is_trusted_path): ...to here.
11606 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11607 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11608 using is_trusted_path_normalize() in setuid scripts.
11610 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11612 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11613 __BEGIN/__END_DECLS.
11615 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11618 NSS_STATUS_NOTFOUND if no record was found.
11620 2011-05-05 Andreas Schwab <schwab@redhat.com>
11622 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11623 (headers-not-in-tirpc): Remove rpc/netdb.h
11624 * resolv/netdb.h: Revert last change.
11626 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11628 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11629 circular dependency between libgcc.a and libc.a.
11631 2011-05-05 Andreas Schwab <schwab@redhat.com>
11633 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11634 * nis/Makefile: Don't install rpcsvc/*.
11635 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11636 instead of <rpc/types.h>.
11637 (MAXHOSTNAMELEN): Define.
11639 2011-05-03 Andreas Schwab <schwab@redhat.com>
11641 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11643 2011-04-28 Maciej Babinski <mbabinski@google.com>
11646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11647 gethostbyname4_r when IPv6 results are possible.
11649 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11652 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11653 _PC_PIPE_BUF handling.
11655 2011-04-30 Bruno Haible <bruno@clisp.org>
11658 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11659 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11661 * inet/getnameinfo.c (getnameinfo): Likewise.
11663 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11665 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11666 to groups setting in database lookup.
11667 * nss/nsswitch.conf: Add initgroups entry.
11669 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11672 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11674 Patch by Eric Blake <eblake@redhat.com>.
11676 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11678 * sunrpc/Makefile (need-export-routines): Add svc_run.
11679 (routines): Remove svc_run.
11680 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11681 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11682 * sunrpc/svc_run.c (svc_run): Likewise.
11683 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11685 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11687 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11688 problem in reallocation in last patch.
11690 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11692 * sunrpc/Makefile: Move inclusion of Rules.
11694 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11696 * nss/nss_files/files-initgroups.c: New file.
11697 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11698 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11699 _nss_files_initgroups_dyn.
11701 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11703 * elf/elf.h (R_ARM_IRELATIVE): Define.
11705 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11707 * po/ru.po: Update from translation team.
11709 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11711 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11714 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11717 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11718 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11719 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11723 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11725 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11727 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11728 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11729 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11731 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11734 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11736 * stdlib/bug-getcontext.c: New file.
11737 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11739 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11741 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11742 instructions into .machine "z9-109".
11743 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11744 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11746 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11748 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11749 between environment variables and auxiliary vector.
11751 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11753 * Makefile: Add rules to build linkobj/libc.so.
11754 * include/libc-symbols.h: Define libc_hidden_nolink.
11755 * include/rpc/auth.h: Mark functions which are to be hidden.
11756 * include/rpc/auth_des.h: Likewise.
11757 * include/rpc/auth_unix.h: Likewise.
11758 * include/rpc/clnt.h: Likewise.
11759 * include/rpc/des_crypt.h: Likewise.
11760 * include/rpc/key_prot.h: Likewise.
11761 * include/rpc/pmap_clnt.h: Likewise.
11762 * include/rpc/pmap_prot.h: Likewise.
11763 * include/rpc/pmap_rmt.h: Likewise.
11764 * include/rpc/rpc_msg.h: Likewise.
11765 * include/rpc/svc.h: Likewise.
11766 * include/rpc/svc_auth.h: Likewise.
11767 * include/rpc/xdr.h: Likewise.
11768 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11769 * nss/Makefile: Likewise.
11770 * sunrpc/Makefile: Don't install headers. Build library with normal
11771 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11772 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11773 for the compat linking library. Remove use of INTDEF/INTUSE.
11774 * sunrpc/auth_none.c: Likewise.
11775 * sunrpc/auth_unix.c: Likewise.
11776 * sunrpc/authdes_prot.c: Likewise.
11777 * sunrpc/authuxprot.c: Likewise.
11778 * sunrpc/clnt_gen.c: Likewise.
11779 * sunrpc/clnt_perr.c: Likewise.
11780 * sunrpc/clnt_raw.c: Likewise.
11781 * sunrpc/clnt_simp.c: Likewise.
11782 * sunrpc/clnt_tcp.c: Likewise.
11783 * sunrpc/clnt_udp.c: Likewise.
11784 * sunrpc/clnt_unix.c: Likewise.
11785 * sunrpc/des_crypt.c: Likewise.
11786 * sunrpc/des_soft.c: Likewise.
11787 * sunrpc/get_myaddr.c: Likewise.
11788 * sunrpc/key_call.c: Likewise.
11789 * sunrpc/key_prot.c: Likewise.
11790 * sunrpc/netname.c: Likewise.
11791 * sunrpc/pm_getmaps.c: Likewise.
11792 * sunrpc/pm_getport.c: Likewise.
11793 * sunrpc/pmap_clnt.c: Likewise.
11794 * sunrpc/pmap_prot.c: Likewise.
11795 * sunrpc/pmap_prot2.c: Likewise.
11796 * sunrpc/pmap_rmt.c: Likewise.
11797 * sunrpc/publickey.c: Likewise.
11798 * sunrpc/rpc_cmsg.c: Likewise.
11799 * sunrpc/rpc_common.c: Likewise.
11800 * sunrpc/rpc_dtable.c: Likewise.
11801 * sunrpc/rpc_prot.c: Likewise.
11802 * sunrpc/rpc_thread.c: Likewise.
11803 * sunrpc/rtime.c: Likewise.
11804 * sunrpc/svc.c: Likewise.
11805 * sunrpc/svc_auth.c: Likewise.
11806 * sunrpc/svc_authux.c: Likewise.
11807 * sunrpc/svc_raw.c: Likewise.
11808 * sunrpc/svc_run.c: Likewise.
11809 * sunrpc/svc_simple.c: Likewise.
11810 * sunrpc/svc_tcp.c: Likewise.
11811 * sunrpc/svc_udp.c: Likewise.
11812 * sunrpc/svc_unix.c: Likewise.
11813 * sunrpc/svcauth_des.c: Likewise.
11814 * sunrpc/xcrypt.c: Likewise.
11815 * sunrpc/xdr.c: Likewise.
11816 * sunrpc/xdr_array.c: Likewise.
11817 * sunrpc/xdr_float.c: Likewise.
11818 * sunrpc/xdr_intXX_t.c: Likewise.
11819 * sunrpc/xdr_mem.c: Likewise.
11820 * sunrpc/xdr_rec.c: Likewise.
11821 * sunrpc/xdr_ref.c: Likewise.
11822 * sunrpc/xdr_sizeof.c: Likewise.
11823 * sunrpc/xdr_stdio.c: Likewise.
11825 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11828 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11829 * sysdeps/ia64/dl-tls.h: Likewise.
11830 * sysdeps/powerpc/dl-tls.h: Likewise.
11831 * sysdeps/s390/dl-tls.h: Likewise.
11832 * sysdeps/sh/dl-tls.h: Likewise.
11833 * sysdeps/sparc/dl-tls.h: Likewise.
11834 * sysdeps/x86_64/dl-tls.h: Likewise.
11835 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11837 2011-03-14 Andreas Schwab <schwab@redhat.com>
11839 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11840 rpath element also skip the following colon.
11841 (expand_dynamic_string_token): Add is_path parameter and pass
11842 down to DL_DST_REQUIRED and _dl_dst_substitute.
11843 (decompose_rpath): Call expand_dynamic_string_token with
11844 non-zero is_path. Ignore empty rpaths.
11845 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11848 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11853 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11856 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11857 Patch by Filipe David Manana <fdmanana@apache.org>.
11859 2011-04-07 Andreas Schwab <schwab@redhat.com>
11861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11862 Maintain aligned stack.
11863 (CHECK_RSP): Remove unused macro.
11865 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11867 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11868 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11870 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11872 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11874 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11876 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11879 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11880 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11881 * sysdeps/x86_64/memmove.c: New file.
11882 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11883 (memcpy): Renamed to ...
11884 (__new_memcpy): This.
11885 (memcpy): Provide GLIBC_2_14 memcpy.
11886 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11887 (memcpy): Provide GLIBC_2_2_5 memcpy.
11889 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11892 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11894 2011-03-30 Andreas Schwab <schwab@redhat.com>
11896 * misc/syncfs.c: New file.
11897 * misc/Makefile (routines): Add syncfs.
11898 * posix/unistd.h: Declare syncfs.
11899 * sysdeps/unix/syscalls.list: Add syncfs.
11901 2011-04-01 Andreas Schwab <schwab@redhat.com>
11903 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11908 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11910 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11913 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11917 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11923 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11924 sync_file_range.c with -fexceptions.
11925 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11926 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11927 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11928 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11929 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11930 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11932 sync_file_range as cancellation point
11933 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11934 now a wrapper around __call_sync_file_range with cancellation handling.
11935 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11936 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11937 function name to __call_sync_file_range.
11938 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11939 Add call_sync_file_range.
11941 2011-04-01 Andreas Schwab <schwab@redhat.com>
11943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11946 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11948 * iconv/iconv.h: Fix typo in comment.
11949 * io/fcntl.h: Likewise.
11950 * libio/stdio.h: Likewise.
11951 * posix/spawn.h: Likewise.
11952 * posix/unistd.h: Likewise.
11953 * stdlib/stdlib.h: Likewise.
11954 * time/time.h: Likewise.
11955 * wcsmbs/wchar.h: Likewise.
11957 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11958 open_by_handle): Add.
11959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11960 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11961 Augment a few comments.
11962 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11964 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11967 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11970 * io/fcntl.h (AT_EMPTY_PATH): Define.
11972 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11974 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11975 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11976 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11978 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11979 * Versions.def: Add GLIBC_2.14.
11980 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11983 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11985 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11987 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11989 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11992 * string/test-strncmp.c (do_page_test): New function.
11993 (check2): Likewise.
11994 (test_main): Call check2.
11995 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11997 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12000 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12001 Handle cache information in CPU leaf 4.
12002 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12004 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12007 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12008 character representation.
12009 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12011 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12013 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12014 END(__isnan) to END(__isnanf) to match function entry point/label
12015 EALIGN(__isnanf,...).
12017 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12019 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12021 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12024 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12025 copy from the symbol referenced in the relocation to initialize the
12027 Patch by Piotr Bury <pbury@goahead.com>.
12028 * elf/Makefile: Add rules to build and tst-unique3.
12029 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12030 * elf/tst-unique3.cc: New file.
12031 * elf/tst-unique3.h: New file.
12032 * elf/tst-unique3lib.cc: New file.
12033 * elf/tst-unique3lib2.cc: New file.
12035 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12037 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12039 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12040 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12043 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12045 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12046 to-be-loaded object along a path to loader is ld.so.
12048 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12049 Ulrich Drepper <drepper@gmail.com>
12051 * sysdeps/x86_64/memset.S: After aligning destination, code
12052 branches to different locations depending on the value of
12053 misalignment, when multiarch is enabled. Fix this.
12055 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12057 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12058 Set _x86_64_preferred_memory_instruction for AMD processsors.
12059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12060 Set bit_Prefer_SSE_for_memop for AMD processors.
12062 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12064 * libio/fmemopen.c (fmemopen): Optimize a bit.
12066 2011-03-03 Andreas Schwab <schwab@redhat.com>
12068 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12070 2011-03-03 Roland McGrath <roland@redhat.com>
12072 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12074 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12076 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12077 __bzero_ultra1 instead of __memset_ultra1.
12079 2011-02-23 Andreas Schwab <schwab@redhat.com>
12080 Ulrich Drepper <drepper@gmail.com>
12083 * include/link.h (struct link_map): Add l_orig_initfini.
12084 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12085 returning unsuccessfully.
12086 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12087 close of a file loaded at startup, restore the original l_initfini
12089 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12090 list, store the pointer.
12091 * elf/Makefile ($(objpfx)noload-mem): New rule.
12092 (noload-ENV): Define.
12093 (tests): Add $(objpfx)noload-mem.
12094 * elf/noload.c: Include <memcheck.h>.
12095 (main): Call mtrace. Close all opened handles.
12097 2011-02-17 Andreas Schwab <schwab@redhat.com>
12100 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12101 dependencies are missing.
12103 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12105 Fix __if_freereq crash: Unlike the generic version which uses free,
12107 * sysdeps/mach/hurd/ifreq.h: New file.
12109 2011-01-27 Petr Baudis <pasky@suse.cz>
12110 Ulrich Drepper <drepper@gmail.com>
12113 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12114 to extend_alloca().
12115 * stdio-common/bug23.c: New file.
12116 * stdio-common/Makefile (tests): Add bug23.
12118 2010-09-28 Andreas Schwab <schwab@redhat.com>
12119 Ulrich Drepper <drepper@gmail.com>
12122 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12123 before performing relro protection. At old place add assertion
12124 to make sure nothing changed.
12126 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12127 Glauber de Oliveira Costa <glommer@gmail.com>
12129 * elf/elf.h: Add new ARM TLS relocs.
12131 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12134 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12136 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12138 * sysdeps/wordsize-64/tst-writev.c: New file.
12140 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12142 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12143 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12144 insns in _dl_start to prevent a TOC reference before relocs are
12147 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12150 * Makeconfig: Remove RANLIB definition.
12151 * Makerules: Don't use RANLIB.
12152 * aclocal.m4: Remove ranlib test.
12153 * configure.in: No need to check for ranlib.
12154 * elf/rtld-Rules: Don't use RANLIB.
12156 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12158 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12160 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12161 inclusion protection macro.
12163 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12164 SIGRTMIN and SIGRTMAX and print information in that case only when
12165 SIGRTMIN is defined.
12167 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12169 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12170 arginfo fn returning -1.
12172 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12173 and thousands string is zero terminated.
12175 2011-02-03 Andreas Schwab <schwab@redhat.com>
12177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12178 sysdeps/unix/sysv/linux/bits/socket.h.
12180 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12182 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12183 (__CPU_COUNT): Remove old macros.
12184 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12185 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12186 (__CPU_ALLOC, __CPU_FREE): Add macros.
12187 (__sched_cpualloc, __sched_cpufree): Add declarations.
12189 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12191 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12192 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12193 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12194 (readdhstai): Return value of addhstaiX call.
12195 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12196 (addgrbyX): Return value returned by cache_addgr.
12197 (readdgrbyname): Return value returned by addgrbyX.
12198 (readdgrbygid): Likewise.
12199 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12200 (addpwbyX): Return value returned by cache_addpw.
12201 (readdpwbyname): Return value returned by addhstbyX.
12202 (readdpwbyuid): Likewise.
12203 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12204 (addservbyX): Return value returned by cache_addserv.
12205 (readdservbyname): Return value returned by addservbyX:
12206 (readdservbyport): Likewise.
12207 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12208 (addhstbyX): Return value returned by cache_addhst.
12209 (readdhstbyname): Return value returned by addhstbyX.
12210 (readdhstbyaddr): Likewise.
12211 (readdhstbynamev6): Likewise.
12212 (readdhstbyaddrv6): Likewise.
12213 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12214 (readdinitgroups): Return value returned by addinitgroupsX.
12215 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12216 (prune_cache): Keep track of timeout value of re-added entries.
12217 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12218 * nscd/nscd.h: Adjust prototypes of readd* functions.
12220 2011-02-04 Roland McGrath <roland@redhat.com>
12222 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12223 (nis_stats): Likewise.
12224 * nis/nis_modify.c (nis_modify): Likewise.
12225 * nis/nis_remove.c (nis_remove): Likewise.
12226 * nis/nis_add.c (nis_add): Likewise.
12228 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12230 * posix/fnmatch_loop.c: Add some consts.
12232 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12234 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12237 * config.make.in (config-cflags-novzeroupper): Define.
12238 * configure.in: Substitute libc_cv_cc_novzeroupper.
12239 * elf/Makefile (AVX-CFLAGS): Define.
12240 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12241 (CFLAGS-tst-auditmod4a.c): Likewise.
12242 (CFLAGS-tst-auditmod4b.c): Likewise.
12243 (CFLAGS-tst-auditmod6b.c): Likewise.
12244 (CFLAGS-tst-auditmod6c.c): Likewise.
12245 (CFLAGS-tst-auditmod7b.c): Likewise.
12246 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12248 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12250 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12251 function to the callback.
12252 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12254 2011-02-02 Andreas Schwab <schwab@redhat.com>
12256 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12259 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12262 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12264 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12266 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12269 * elf/Makefile: Add rules to build and run new test.
12270 * elf/tst-initorder.c: New file.
12271 * elf/tst-initorder.exp: New file.
12272 * elf/tst-initordera1.c: New file.
12273 * elf/tst-initordera2.c: New file.
12274 * elf/tst-initordera3.c: New file.
12275 * elf/tst-initordera4.c: New file.
12276 * elf/tst-initorderb1.c: New file.
12277 * elf/tst-initorderb2.c: New file.
12278 * elf/tst-order-a1.c: New file.
12279 * elf/tst-order-a2.c: New file.
12280 * elf/tst-order-a3.c: New file.
12281 * elf/tst-order-a4.c: New file.
12282 * elf/tst-order-b1.c: New file.
12283 * elf/tst-order-b2.c: New file.
12284 * elf/tst-order-main.c: New file.
12285 New test case by George Gensure <werkt0@gmail.com>.
12287 2010-10-01 Andreas Schwab <schwab@redhat.com>
12289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12290 decoding ACE if AI_CANONIDN.
12292 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12294 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12296 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12298 * version.h (RELEASE): Bump for 2.13 release.
12299 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12301 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12303 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12305 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12306 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12307 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12308 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12309 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12312 * posix/getconf.c: Update copyright year.
12313 * catgets/gencat.c: Likewise.
12314 * csu/version.c: Likewise.
12315 * debug/catchsegv.sh: Likewise.
12316 * debug/xtrace.sh: Likewise.
12317 * elf/ldconfig.c: Likewise.
12318 * elf/ldd.bash.in: Likewise.
12319 * elf/sprof.c (print_version): Likewise.
12320 * iconv/iconv_prog.c: Likewise.
12321 * iconv/iconvconfig.c: Likewise.
12322 * locale/programs/locale.c: Likewise.
12323 * locale/programs/localedef.c: Likewise.
12324 * malloc/memusage.sh: Likewise.
12325 * malloc/mtrace.pl: Likewise.
12326 * nscd/nscd.c (print_version): Likewise.
12327 * nss/getent.c: Likewise.
12329 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12330 PF_CAIF, and PF_ALG.
12331 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12333 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12335 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12336 (modules-names): Use them.
12337 (ifunc-test-modules, ifunc-pie-tests): Define.
12338 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12339 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12340 (test-extras): Likewise.
12341 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12342 $(compile-command.c).
12343 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12344 (all-built-dso): Define.
12345 (check-textrel.out, check-execstack.out): Depend on it.
12347 * configure.in: Don't override --enable-multi-arch.
12349 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12352 * nscd/hstcache.c (tryagain): Define.
12353 (cache_addhst): Return tryagain not notfound for temporary errors.
12354 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12357 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12360 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12361 to make the syscall.
12362 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12365 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12366 and fall back to matching as normal character if the string ends before
12367 the matching ']' is found. This is what POSIX requires.
12368 * posix/testfnm.c: Adjust test result.
12369 * posix/globtest.sh: Adjust test result. Add new test.
12370 * posix/tst-fnmatch.input: Likewise.
12371 * posix/tst-fnmatch2.c: Add new test.
12373 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12375 * elf/Makefile (check-execstack): Revert last change. Depend on
12377 (check-execstack.h): New target.
12378 (generated): Add check-execstack.h.
12379 * elf/check-execstack.c: Include "check-execstack.h".
12380 (main): Revert last change.
12381 (handle_file): Return zero if GNU_STACK is absent and
12382 DEFAULT_STACK_PERMS doesn't include PF_X.
12384 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12386 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12387 in child fails because the descriptor is already closed.
12388 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12389 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12390 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12393 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12397 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12398 temporary buffer used to handle multi lookups locally.
12399 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12401 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12403 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12406 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12408 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12409 alignment for SSE2.
12411 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12414 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12415 characters. When rounding increased number of integer digits recompute
12417 * stdio-common/tst-grouping.c: New file.
12418 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12420 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12422 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12423 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12425 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12427 * bits/select.h: Likewise.
12429 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12431 * po/ja.po: Update from translation team.
12433 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12436 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12437 implementation just like for lxstat, fxstatat, et al.
12439 2010-12-27 Jim Meyering <meyering@redhat.com>
12442 * posix/regexec.c (build_trtable): Return failure indication upon
12443 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12445 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12448 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12449 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12450 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12451 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12454 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12457 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12458 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12460 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12462 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12463 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12464 script has SORT_BY_INIT_PRIORITY.
12465 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12466 NO_CTORS_DTORS_SECTIONS is defined.
12467 * elf/soinit.c: Likewise.
12468 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12469 NO_CTORS_DTORS_SECTIONS is defined.
12470 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12471 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12472 * sysdeps/sh/init-first.c: Likewise.
12473 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12475 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12477 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12478 always use the slow path.
12480 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12482 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12483 similar rule which adds the sysdep directories to the header search in
12484 order to pick up the correct platform stackinfo.h.
12485 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12486 perform test if it is, otherwise return successfully without testing.
12487 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12488 DEFAULT_STACK_PERMS define in stackinfo.h.
12489 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12490 defined in stackinfo.h.
12491 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12492 DEFAULT_STACK_PERMS defined in stackinfo.h.
12493 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12494 * sysdeps/ia64/stackinfo.h: Likewise.
12495 * sysdeps/s390/stackinfo.h: Likewise.
12496 * sysdeps/sh/stackinfo.h: Likewise.
12497 * sysdeps/sparc/stackinfo.h: Likewise.
12498 * sysdeps/x86_64/stackinfo.h: Likewise.
12499 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12500 PF_X for powerpc64. Retain PF_X for powerpc32.
12502 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12504 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12506 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12507 GETDENTS_64BIT_ALIGNED.
12509 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12511 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12513 2010-12-10 Andreas Schwab <schwab@redhat.com>
12515 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12518 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12519 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12521 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12522 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12524 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12527 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12530 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12532 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12534 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12536 * po/it.po: Update from translation team.
12538 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12543 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12545 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12547 2010-11-24 Andreas Schwab <schwab@redhat.com>
12549 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12551 (gaih_getanswer_slice): Likewise.
12553 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12557 2010-05-31 Petr Baudis <pasky@suse.cz>
12560 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12561 silently even in the chroot mode.
12563 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12565 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12566 last patch a bit. Pretty printing
12568 2010-05-31 Petr Baudis <pasky@suse.cz>
12571 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12572 initialization of skip_initgroups_dyn.
12574 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12576 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12577 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12579 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12581 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12583 2010-11-11 Andreas Schwab <schwab@redhat.com>
12585 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12586 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12587 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12588 ($(objpfx)tst-fnmatch-mem): New rule.
12589 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12590 * posix/tst-fnmatch.c (main): Call mtrace.
12592 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12595 Support Intel processor model 6 and model 0x2c.
12597 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12599 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12602 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12605 * string/test-strncasecmp.c (check_result): New function.
12606 (do_one_test): Use it.
12607 (check1): New function.
12608 (test_main): Use it.
12609 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12610 Support strcasecmp and strncasecmp.
12612 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12615 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12616 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12618 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12620 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12624 * sysdeps/x86_64/multiarch/bzero.S: New file.
12625 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12626 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12627 * sysdeps/x86_64/multiarch/memset.S: New file.
12628 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12630 Set bit_Prefer_SSE_for_memop for Intel processors.
12631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12633 (index_Prefer_SSE_for_memop): Define.
12634 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12636 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12638 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12639 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12641 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12644 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12645 (__x86_64_raw_data_cache_size_half): Likewise.
12646 (__x86_64_raw_shared_cache_size): Likewise.
12647 (__x86_64_raw_shared_cache_size_half): Likewise.
12649 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12650 (__x86_64_raw_data_cache_size_half): Likewise.
12651 (__x86_64_raw_shared_cache_size): Likewise.
12652 (__x86_64_raw_shared_cache_size_half): Likewise.
12653 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12654 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12655 and __x86_64_raw_shared_cache_size_half. Round
12656 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12657 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12658 to multiple of 256 bytes.
12660 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12663 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12664 of inacessible symlinks. Verify result of symlink before returning it.
12665 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12666 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12668 2010-10-28 Erich Ritz <erichritz@gmail.com>
12670 * math/math.h (isinf): Fix typo in comment.
12672 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12674 * po/da.po: Update from translation team.
12676 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12678 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12679 is added to the list.
12681 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12682 Ulrich Drepper <drepper@gmail.com>
12684 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12685 the global list here. Move code to...
12686 (_dl_add_to_namespace_list): ...here. New function.
12687 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12688 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12689 * elf/dl-load.c (lose): Don't remove the element from the list.
12690 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12691 (_dl_map_object): Likewise.
12693 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12696 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12697 into all bytes of SSE register.
12698 Patch by Richard Li <richardpku@gmail.com>.
12700 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12703 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12706 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12708 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12709 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12710 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12711 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12716 2010-10-22 Andreas Schwab <schwab@redhat.com>
12718 * include/dlfcn.h (__RTLD_SECURE): Define.
12719 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12720 mode & __RTLD_SECURE instead.
12721 (open_path): Rename preloaded parameter to secure.
12722 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12723 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12724 * elf/dl-deps.c (openaux): Likewise.
12725 * elf/rtld.c (struct map_args): Remove is_preloaded.
12726 (map_doit): Don't use it.
12727 (dl_main): Likewise.
12728 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12729 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12731 2010-09-09 Andreas Schwab <schwab@redhat.com>
12733 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12734 (sysd-rules-targets): Remove duplicates.
12735 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12736 rtld-%.$o dependency.
12738 2010-10-18 Andreas Schwab <schwab@redhat.com>
12740 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12741 _dl_map_object do it.
12743 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12745 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12746 fast fma builtins, define the macros in the C99 standard.
12747 (FP_FAST_FMAF): Likewise.
12748 (FP_FAST_FMAL): Likewise.
12749 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12751 * bits/mathdef.h: Update copyright year.
12752 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12754 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12756 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12757 builtins, define the macros in the C99 standard.
12758 (FP_FAST_FMAF): Likewise.
12759 (FP_FAST_FMAL): Likewise.
12760 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12762 (FP_FAST_FMAF): Likewise.
12764 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12767 * math/libm-test.inc (fma_test): Some new testcases.
12768 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12770 y and infinite z. Do multiplication by C already in long double.
12771 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12773 y and infinite z. Do bitwise or of inexact bit into u.d.
12774 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12775 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12776 * sysdeps/i386/fpu/s_fma.S: Removed.
12777 * sysdeps/i386/fpu/s_fmal.S: Removed.
12779 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12782 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12784 computation is not scheduled after fetestexcept. Fix value
12785 of minimum denormal long double.
12787 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12790 * math/libm-test.inc (fma_test): Add some more tests.
12791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12794 2010-10-15 Andreas Schwab <schwab@redhat.com>
12796 * scripts/data/localplt-s390-linux-gnu.data: New file.
12797 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12799 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12802 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12803 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12805 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12807 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12809 if one of x and y is very large and the other is subnormal.
12810 * sysdeps/s390/fpu/s_fmaf.c: New file.
12811 * sysdeps/s390/fpu/s_fma.c: New file.
12812 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12813 * sysdeps/powerpc/fpu/s_fma.S: New file.
12814 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12815 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12816 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12818 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12821 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12823 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12824 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12825 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12826 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12827 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12828 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12831 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12834 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12835 * posix/bug-regex31.input: Add test case.
12837 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12839 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12840 * posix/bug-regex31.input: New file.
12843 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12844 (parse_sub_exp): Fix last change, use postorder.
12846 * posix/bug-regex31.c: New file.
12847 * posix/Makefile: Add rules to build and run bug-regex31.
12849 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12852 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12855 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12856 to have entries in sys_siglist.
12859 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12862 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12865 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12866 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12867 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12868 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12869 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12870 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12871 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12872 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12873 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12874 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12875 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12876 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12877 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12878 * math/ftestexcept.c (fetestexcept): Likewise.
12879 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12880 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12881 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12882 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12883 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12884 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12885 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12887 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12890 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12893 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12895 * string/bug-strstr1.c: New file.
12896 * string/Makefile: Add rules to build and run bug-strstr1.
12898 2010-10-05 Eric Blake <eblake@redhat.com>
12901 * string/str-two-way.h (two_way_long_needle): Always clear memory
12902 when skipping input due to the shift table.
12904 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12907 * malloc/mcheck.c: Handle large requests.
12910 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12911 for strncmp and strncasecmp.
12912 * string/stratcliff.c: Add tests for strcmp and strncmp.
12913 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12915 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12917 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12920 2010-09-30 Andreas Jaeger <aj@suse.de>
12922 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12923 (CGROUP_SUPER_MAGIC): Define.
12924 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12925 Handle btrfs and cgroup file systems.
12926 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12929 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12931 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12932 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12934 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12937 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12938 trying to locate the ELF header.
12940 2010-09-27 Andreas Schwab <schwab@redhat.com>
12943 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12944 Mask out sign-bit copies when constructing f_fsid.
12946 2010-09-24 Petr Baudis <pasky@suse.cz>
12948 * debug/stack_chk_fail_local.c: Add missing licence exception.
12949 * debug/warning-nop.c: Likewise.
12951 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12954 implementing getdents64 using getdents syscall, set d_type if
12955 __ASSUME_GETDENTS32_D_TYPE.
12957 2010-09-16 Andreas Schwab <schwab@redhat.com>
12959 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12960 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12962 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12965 * posix/unistd.h: Undo change of feature selection for ftruncate from
12968 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12970 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12973 2010-09-20 Andreas Schwab <schwab@redhat.com>
12975 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12977 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12979 2010-09-14 Andreas Schwab <schwab@redhat.com>
12981 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12982 variables after CHECK_SP call.
12983 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12985 2010-09-13 Andreas Schwab <schwab@redhat.com>
12986 Ulrich Drepper <drepper@redhat.com>
12988 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12989 re-relocationg ld.so.
12990 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12991 _dl_init_paths call.
12992 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12995 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12997 * resolv/res_init.c (__res_vinit): Count the default server we added.
12999 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13000 Ulrich Drepper <drepper@redhat.com>
13003 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13004 (____longjmp_chk): Use %ebx for saving value across system call.
13007 2010-09-06 Andreas Schwab <schwab@redhat.com>
13009 * manual/Makefile: Don't mix pattern rules with normal rules.
13011 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13013 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13015 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13016 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13017 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13018 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13022 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13025 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13026 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13028 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13030 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13031 * sysdeps/x86_64/addmul_1.S: Likewise.
13032 * sysdeps/x86_64/lshift.S: Likewise.
13033 * sysdeps/x86_64/mul_1.S: Likewise.
13034 * sysdeps/x86_64/rshift.S: Likewise.
13035 * sysdeps/x86_64/sub_n.S: Likewise.
13036 * sysdeps/x86_64/submul_1.S: Likewise.
13038 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13040 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13041 Define __sched_param instead of SCHED_* and sched_param when
13042 <bits/sched.h> is included with __need_schedparam defined.
13043 * bits/sched.h [__need_schedparam]
13044 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13045 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13046 (__defined_schedparam): Define to 1.
13047 (__sched_param): New structure, identical to sched_param.
13048 (__need_schedparam): Undefine.
13050 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13053 (epoll_create1): Declare.
13055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13057 2010-08-31 Andreas Schwab <schwab@redhat.com>
13060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13061 shifting retval into place.
13063 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13065 * nis/rpcsvc/nis.h: Update copyright notice.
13066 * nis/rpcsvc/nis.x: Likewise.
13067 * nis/rpcsvc/nis_callback.h: Likewise.
13068 * nis/rpcsvc/nis_callback.x: Likewise.
13069 * nis/rpcsvc/nis_object.x: Likewise.
13070 * nis/rpcsvc/nis_tags.h: Likewise.
13071 * nis/rpcsvc/yp.h: Likewise.
13072 * nis/rpcsvc/yp.x: Likewise.
13073 * nis/rpcsvc/ypupd.h: Likewise.
13074 * nis/yp_xdr.c: Likewise.
13075 * nis/ypupdate_xdr.c: Likewise.
13077 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13078 mainly the body of pmap_getport. Add parameters to specify timeouts.
13079 (pmap_getport): Use __libc_rpc_getport.
13080 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13081 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13082 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13084 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13089 2010-08-27 Roland McGrath <roland@redhat.com>
13091 * sysdeps/i386/i686/multiarch/Makefile
13092 (CFLAGS-varshift.c): New variable.
13094 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13096 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13097 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13101 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13103 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13105 * sysdeps/x86_64/strlen.S: Unroll the loop.
13106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13107 strlen-sse2 strlen-sse2-bsf.
13108 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13109 __strlen_no_bsf if bit_Slow_BSF is set.
13110 (__strlen_sse42): Removed.
13111 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13112 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13114 2010-08-25 Roland McGrath <roland@redhat.com>
13116 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13117 * sysdeps/x86_64/multiarch/varshift.c: New file.
13118 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13119 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13120 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13121 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13123 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13126 strlen-sse2 strlen-sse2-bsf.
13127 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13128 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13129 (__strlen_sse2): Removed.
13130 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13131 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13133 bit_Slow_BSF for Atom.
13134 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13135 (index_Slow_BSF): Define.
13136 (HAS_SLOW_BSF): Define.
13138 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13141 * resolv/res_init.c (__res_vinit): When no server address at all
13142 is given default to loopback.
13144 2010-08-24 Roland McGrath <roland@redhat.com>
13146 * configure.in: Remove config-name.h generation.
13147 * configure: Regenerated.
13148 * config-name.in: File removed.
13149 * scripts/config-uname.sh: New file.
13150 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13151 ($(objdir)config-name.h): New target.
13153 * sunrpc/rpc_parse.h: Avoid nested comment.
13155 2010-08-24 Richard Henderson <rth@redhat.com>
13156 Ulrich Drepper <drepper@redhat.com>
13157 H.J. Lu <hongjiu.lu@intel.com>
13159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13161 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13162 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13163 _mm_alignr_epi8 with _mm_loadu_si128.
13164 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13165 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13166 (__m128i_shift_right): Removed.
13167 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13168 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13169 * sysdeps/x86_64/multiarch/varshift.h: New file.
13170 * sysdeps/x86_64/multiarch/varshift.S: New file.
13172 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13174 * configure.in: Move assembler checks to before sysdep dir checking.
13176 2010-08-20 Petr Baudis <pasky@suse.cz>
13178 * LICENSES: Sync the sunrpc license.
13180 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13182 * sunrpc/auth_des.c: Update copyright notice once again.
13183 * sunrpc/auth_none.c: Likewise.
13184 * sunrpc/auth_unix.c: Likewise.
13185 * sunrpc/authdes_prot.c: Likewise.
13186 * sunrpc/authuxprot.c: Likewise.
13187 * sunrpc/bindrsvprt.c: Likewise.
13188 * sunrpc/clnt_gen.c: Likewise.
13189 * sunrpc/clnt_perr.c: Likewise.
13190 * sunrpc/clnt_raw.c: Likewise.
13191 * sunrpc/clnt_simp.c: Likewise.
13192 * sunrpc/clnt_tcp.c: Likewise.
13193 * sunrpc/clnt_udp.c: Likewise.
13194 * sunrpc/clnt_unix.c: Likewise.
13195 * sunrpc/des_crypt.c: Likewise.
13196 * sunrpc/des_soft.c: Likewise.
13197 * sunrpc/get_myaddr.c: Likewise.
13198 * sunrpc/getrpcport.c: Likewise.
13199 * sunrpc/key_call.c: Likewise.
13200 * sunrpc/key_prot.c: Likewise.
13201 * sunrpc/openchild.c: Likewise.
13202 * sunrpc/pm_getmaps.c: Likewise.
13203 * sunrpc/pm_getport.c: Likewise.
13204 * sunrpc/pmap_clnt.c: Likewise.
13205 * sunrpc/pmap_prot.c: Likewise.
13206 * sunrpc/pmap_prot2.c: Likewise.
13207 * sunrpc/pmap_rmt.c: Likewise.
13208 * sunrpc/rpc/auth.h: Likewise.
13209 * sunrpc/rpc/auth_unix.h: Likewise.
13210 * sunrpc/rpc/clnt.h: Likewise.
13211 * sunrpc/rpc/des_crypt.h: Likewise.
13212 * sunrpc/rpc/key_prot.h: Likewise.
13213 * sunrpc/rpc/netdb.h: Likewise.
13214 * sunrpc/rpc/pmap_clnt.h: Likewise.
13215 * sunrpc/rpc/pmap_prot.h: Likewise.
13216 * sunrpc/rpc/pmap_rmt.h: Likewise.
13217 * sunrpc/rpc/rpc.h: Likewise.
13218 * sunrpc/rpc/rpc_des.h: Likewise.
13219 * sunrpc/rpc/rpc_msg.h: Likewise.
13220 * sunrpc/rpc/svc.h: Likewise.
13221 * sunrpc/rpc/svc_auth.h: Likewise.
13222 * sunrpc/rpc/types.h: Likewise.
13223 * sunrpc/rpc/xdr.h: Likewise.
13224 * sunrpc/rpc_clntout.c: Likewise.
13225 * sunrpc/rpc_cmsg.c: Likewise.
13226 * sunrpc/rpc_common.c: Likewise.
13227 * sunrpc/rpc_cout.c: Likewise.
13228 * sunrpc/rpc_dtable.c: Likewise.
13229 * sunrpc/rpc_hout.c: Likewise.
13230 * sunrpc/rpc_main.c: Likewise.
13231 * sunrpc/rpc_parse.c: Likewise.
13232 * sunrpc/rpc_parse.h: Likewise.
13233 * sunrpc/rpc_prot.c: Likewise.
13234 * sunrpc/rpc_sample.c: Likewise.
13235 * sunrpc/rpc_scan.c: Likewise.
13236 * sunrpc/rpc_scan.h: Likewise.
13237 * sunrpc/rpc_svcout.c: Likewise.
13238 * sunrpc/rpc_tblout.c: Likewise.
13239 * sunrpc/rpc_util.c: Likewise.
13240 * sunrpc/rpc_util.h: Likewise.
13241 * sunrpc/rpcinfo.c: Likewise.
13242 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13243 * sunrpc/rpcsvc/key_prot.x: Likewise.
13244 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13245 * sunrpc/rpcsvc/mount.x: Likewise.
13246 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13247 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13248 * sunrpc/rpcsvc/rex.x: Likewise.
13249 * sunrpc/rpcsvc/rstat.x: Likewise.
13250 * sunrpc/rpcsvc/rusers.x: Likewise.
13251 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13252 * sunrpc/rpcsvc/spray.x: Likewise.
13253 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13254 * sunrpc/rtime.c: Likewise.
13255 * sunrpc/svc.c: Likewise.
13256 * sunrpc/svc_auth.c: Likewise.
13257 * sunrpc/svc_authux.c: Likewise.
13258 * sunrpc/svc_raw.c: Likewise.
13259 * sunrpc/svc_run.c: Likewise.
13260 * sunrpc/svc_simple.c: Likewise.
13261 * sunrpc/svc_tcp.c: Likewise.
13262 * sunrpc/svc_udp.c: Likewise.
13263 * sunrpc/svc_unix.c: Likewise.
13264 * sunrpc/svcauth_des.c: Likewise.
13265 * sunrpc/xcrypt.c: Likewise.
13266 * sunrpc/xdr.c: Likewise.
13267 * sunrpc/xdr_array.c: Likewise.
13268 * sunrpc/xdr_float.c: Likewise.
13269 * sunrpc/xdr_mem.c: Likewise.
13270 * sunrpc/xdr_rec.c: Likewise.
13271 * sunrpc/xdr_ref.c: Likewise.
13272 * sunrpc/xdr_sizeof.c: Likewise.
13273 * sunrpc/xdr_stdio.c: Likewise.
13275 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13278 2010-08-19 Andreas Schwab <schwab@redhat.com>
13280 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13282 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13284 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13285 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13286 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13287 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13288 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13289 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13290 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13291 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13292 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13293 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13294 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13295 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13296 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13297 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13299 2010-07-26 Anton Blanchard <anton@samba.org>
13301 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13302 * malloc/arena.c (heap_trim): Likewise.
13304 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13306 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13308 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13309 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13311 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13313 * sysdeps/i386/elf/Makefile: New file.
13315 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13317 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13318 from fanotify_init.
13319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13322 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13324 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13326 * sysdeps/multiarch/strcmp.S: Likewise.
13328 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13331 strncase_l-nonascii.
13332 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13333 Add strncase_l-ssse3.
13334 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13335 * sysdeps/x86_64/strcmp.S: Likewise.
13336 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13337 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13338 * sysdeps/x86_64/strncase.S: New file.
13339 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13340 * sysdeps/x86_64/strncase_l.S: New file.
13341 * string/Makefile (strop-tests): Add strncasecmp.
13342 * string/test-strncasecmp.c: New file.
13344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13347 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13348 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13350 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13352 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13354 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13356 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13357 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13358 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13360 2010-05-01 Alan Modra <amodra@gmail.com>
13362 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13363 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13364 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13365 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13366 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13367 tidying. Don't tail-call __sigjmp_save for static lib.
13368 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13370 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13371 (CALL_MCOUNT): Add eh info, and nop after bl.
13372 (TAIL_CALL_SYSCALL_ERROR): New macro.
13373 (PSEUDO_RET): Use it.
13374 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13375 Correct save location of integer regs and cr.
13376 (_dl_profile_resolve): Correct cr save location. Delete nops
13377 after bl when SHARED. Reduce cfi size a little by better
13378 placement of cfi directives.
13379 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13380 make a stack frame. Instead use parm save area as a temp.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13382 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13384 Don't make a stack frame for parent, use parm save area.
13385 Increase child stack frame to 112 bytes. Don't save unused reg,
13386 and adjust reg usage. Set up cfi on error recovery and
13387 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13389 (__makecontext): Add dummy nop after jump to exit.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13391 Use correct parm save area and cr save, reduce stack frame.
13392 Correct cfi for possible PSEUDO_RET frame setup.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13394 Branch to local label emitted by PSEUDO_RET rather than
13397 2010-08-12 Andreas Schwab <schwab@redhat.com>
13400 * locale/programs/locale.c (print_assignment): New function.
13401 (show_locale_vars): Use it.
13403 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13405 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13407 (struct statfs64): Likewise.
13408 (_STATFS_F_FLAGS): Define.
13409 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13410 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13411 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13412 (ST_VALID): Define locally.
13413 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13414 __statvfs_getflags, use the provided value.
13415 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13416 __ASSUME_STATFS_F_FLAGS.
13418 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13420 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13421 Add sys/fanotify.h.
13422 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13423 fanotify_mask for GLIBC_2.13.
13424 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13425 fanotify_init and fanotify_mark.
13426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13427 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13429 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13431 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13432 prlimit64 for GLIBC_2.13.
13433 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13438 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13439 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13440 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13443 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13446 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13447 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13449 * nss/Makefile: Add rules to build and run tst-nss-test1.
13450 * shlib-versions: Add entry for libnss_test1.
13451 * nss/nss_test1.c: New file.
13452 * nss/tst-nss-test1.c: New file.
13454 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13455 (__nss_configure_lookup): Set appropriate entry in
13456 __nss_configure_lookup to true.
13457 * nss/nsswitch.h: Define enum with indeces of databases in
13458 databases and __nss_database_custom arrays. Declare
13459 __nss_database_custom.
13460 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13461 to avoid using nscd when custom rules are installed.
13462 * nss/getXXbyYY_r.c: Likewise.
13463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13465 * nss/nss_files/files-parse.c: Whitespace fixes.
13467 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13470 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13471 * posix/fnmatch_loop.c: Likewise.
13473 2010-07-17 Andi Kleen <ak@linux.intel.com>
13475 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13476 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13477 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13478 * Versions.def [GLIBC_2.13]: Add.
13480 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13482 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13483 Also fail if tpwd after pwuid call is NULL.
13485 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13487 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13488 when converting to ms.
13490 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13492 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13493 EOPNOTSUPP errors with ENOTTY.
13494 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13495 EOPNOTSUPP errors with ENOTTY.
13497 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13499 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13500 Add strcasecmp_l-ssse3.
13501 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13503 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13504 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13505 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13507 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13509 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13511 * string/Makefile (strop-tests): Add strcasecmp.
13512 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13513 strcasecmp_l-nonascii.
13514 (gen-as-const-headers): Add locale-defines.sym.
13515 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13516 * sysdeps/x86_64/strcasecmp.S: New file.
13517 * sysdeps/x86_64/strcasecmp_l.S: New file.
13518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13519 * sysdeps/x86_64/locale-defines.sym: New file.
13520 * string/test-strcasecmp.c: New file.
13522 * string/test-strcasestr.c: Test both ends of the range of characters.
13523 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13525 2010-07-29 Roland McGrath <roland@redhat.com>
13528 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13530 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13532 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13535 2010-07-27 Andreas Schwab <schwab@redhat.com>
13537 * manual/memory.texi (Malloc Tunable Parameters): Document
13540 2010-07-26 Roland McGrath <roland@redhat.com>
13543 * configure.in (-fgnu89-inline check): Set and substitute
13544 gnu89_inline, not libc_cv_gnu89_inline.
13545 * configure: Regenerated.
13546 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13548 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13550 * string/test-strnlen.c: New file.
13551 * string/Makefile (strop-tests): Add strnlen.
13552 * string/tester.c (test_strnlen): Add a few more test cases.
13553 * string/tst-strlen.c: Better error reporting.
13555 * sysdeps/x86_64/strnlen.S: New file.
13557 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13559 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13560 lower-latency instructions.
13562 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13564 * string/test-strcasestr.c: New file.
13565 * string/test-strstr.c: New file.
13566 * string/Makefile (strop-tests): Add strstr and strcasestr.
13567 * string/str-two-way.h: Don't undefine MAX.
13568 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13570 2010-07-21 Andreas Schwab <schwab@redhat.com>
13572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13573 strcasestr-nonascii.
13574 (CFLAGS-strcasestr-nonascii.c): Define.
13575 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13576 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13577 Remove unused attribute.
13579 2010-07-20 Roland McGrath <roland@redhat.com>
13581 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13582 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13583 ld.so.cache was broken. With it, there is no way to disable dsocaps
13584 like LD_HWCAP_MASK can disable hwcaps.
13586 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13588 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13590 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13592 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13593 call in strcasestr.
13594 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13595 __strcasestr_sse42_nonascii.
13596 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13597 strcasestr-nonascii.c.
13598 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13600 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13603 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13605 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13607 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13609 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13612 2010-07-06 Andreas Schwab <schwab@redhat.com>
13615 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13618 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13620 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13621 _PC_PIPE_BUF using F_GETPIPE_SZ.
13623 2010-07-05 Roland McGrath <roland@redhat.com>
13625 * manual/arith.texi (Rounding Functions): Fix rint description
13626 implicit in round description.
13628 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13630 * elf/Makefile: Fix linking for a few tests to make recent linker
13633 2010-06-30 Andreas Schwab <schwab@redhat.com>
13635 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13636 $(common-objpfx)libc_nonshared.a.
13638 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13640 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13641 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13642 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13643 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13644 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13645 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13646 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13647 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13662 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13663 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13664 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13665 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13666 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13667 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13668 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13669 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13670 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13671 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13672 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13673 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13689 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13691 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13692 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13693 * string/memmove.c (memmove): Renamed to ...
13694 (MEMMOVE): ...this. Default to memmove.
13695 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13696 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13699 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13700 mempcpy-ssse3-back memmove-ssse3-back.
13701 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13702 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13703 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13704 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13705 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13706 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13707 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13708 * sysdeps/x86_64/multiarch/memmove.c: New file.
13709 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13710 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13711 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13712 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13713 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13714 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13716 (index_Fast_Copy_Backward): Define.
13717 (HAS_ARCH_FEATURE): Define.
13718 (HAS_FAST_REP_STRING): Define.
13719 (HAS_FAST_COPY_BACKWARD): Define.
13721 2010-06-21 Andreas Schwab <schwab@redhat.com>
13723 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13724 Restore proper fallback handling.
13726 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13729 * posix/group_member.c (__group_member): Correct checking loop.
13731 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13732 OOM in getpwuid_r correctly. Return error number when the caller
13733 should return, otherwise -1.
13734 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13735 call returning > 0 value.
13736 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13738 2010-06-07 Andreas Schwab <schwab@redhat.com>
13740 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13741 libc_nonshared.a from targets in modules-names.
13743 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13745 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13748 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13751 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13755 2010-06-02 Andreas Schwab <schwab@redhat.com>
13757 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13759 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13761 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13770 2010-06-14 Roland McGrath <roland@redhat.com>
13772 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13774 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13776 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13777 __REDIRECT followed by __THROW.
13778 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13779 * posix/getopt.h (getopt): Likewise.
13781 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13783 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13784 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13785 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13787 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13788 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13790 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13792 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13794 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13798 Properly check family and model.
13800 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13802 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13804 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13806 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13808 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13810 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13813 2010-05-19 Andreas Schwab <schwab@redhat.com>
13815 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13818 2010-05-21 Andreas Schwab <schwab@redhat.com>
13820 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13821 and internal_recvmmsg.
13822 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13823 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13824 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13825 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13827 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13828 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13829 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13831 2010-05-20 Andreas Schwab <schwab@redhat.com>
13833 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13835 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13837 POWER7 optimizations.
13838 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13839 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13841 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13843 * version.h: Update for 2.13 development version.
13845 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13847 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13848 exceptions. Return 0.
13850 2010-05-07 Roland McGrath <roland@redhat.com>
13852 * elf/ldconfig.c (main): Add a const.
13854 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13856 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13857 (args_options): Add no-idn option.
13858 (ahosts_keys_int): Add idn_flags to ai_flags.
13859 (parse_option): Handle 'i' option to clear idn_flags.
13861 * malloc/malloc.c (_int_free): Possible race in the most recently
13862 added check. Only act on the data if no current modification
13865 See ChangeLog.17 for earlier changes.