1 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4 (_PATH_PRESERVE): Set to "/var/lib".
5 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11 if __dir_mkfile succeeded.
13 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14 checking for _hurd_dtablesize. Unlock it right after having
15 finished _hurd_dtable allocation.
17 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20 * sysdeps/mach/hurd/configure: Regenerated.
21 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23 * sysdeps/gnu/configure.in: ... this new file.
24 * sysdeps/unix/sysv/linux/configure: Regenerated.
25 * sysdeps/gnu/configure: New generated file.
27 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28 for Linux: use nsec instead of usec, as well as:
29 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30 members of type struct timespec.
31 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33 (struct stat64): Likewise.
34 (_STATBUF_ST_NSEC): New macro.
35 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38 __strtoul_internal rather than strtoul.
40 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48 which preserves existing values.
49 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
53 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
54 TIMEOUT values. Return EINVAL for NFDS values either negative or
55 greater than FD_SETSIZE.
57 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
59 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
60 allocated, call __vm_protect to finish enabling the existing space, and
61 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62 allocate the remainder.
64 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
66 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
69 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72 sysdeps/mach/hurd/readlink.c.
74 * posix/tst-sysconf.c (posix_options): Only use
75 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76 _POSIX_SYNCHRONIZED_IO when they are defined
77 * sysdeps/mach/hurd/bits/posix_opt.h:
78 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79 (_XOPEN_REALTIME): Undefine macro.
80 (_XOPEN_REALTIME_THREADS): Undefine macro.
81 (_XOPEN_SHM): Undefine macro.
82 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
84 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
86 (_POSIX_ASYNC_IO): Undefine macro.
87 (_POSIX_PRIORITIZED_IO): Undefine macro.
88 (_POSIX_SPIN_LOCKS): Define macro to -1.
90 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
91 SA_NODEFER, SA_RESETHAND.
92 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
93 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
96 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
98 * elf/Makefile (pldd-modules): Define unconditionally.
100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
102 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
104 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
106 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
107 Return ENOENT when name is empty.
108 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
110 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
112 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
114 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
116 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
118 Fix mlock in all cases except non-readable pages.
119 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
120 instead of VM_PROT_ALL as parameter to __vm_wire function.
122 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
123 (__mkdir): When path is `/', just fail with EEXIST.
124 * sysdeps/mach/hurd/mkdirat.c: Likewise.
126 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
128 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
129 <sys/uio.h> (for writev).
130 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
131 and <sys/param.h> (for MIN).
133 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
135 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
136 REQUESTED_TIME. Properly set the remaining time and return EINTR
139 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
141 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
142 Depend on against $(link-rpcuserlibs).
144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
146 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
147 (__libc_stack_end): Do not use attribute_relro.
148 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
149 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
150 to libthread-provided value.
151 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
157 * bits/libc-lock.h (__libc_once_get): New macro.
158 * sysdeps/mach/bits/libc-lock.h: Likewise.
159 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
161 instead of using implementation details.
163 * libio/fileops.c: Unconditionally include <kernel-features.h>.
164 * libio/freopen.c: Likewise.
165 * libio/freopen64.c: Likewise.
166 * misc/syslog.c: Likewise.
167 * nscd/connections.c: Likewise.
168 * nscd/netgroupcache.c: Likewise.
169 * sysdeps/posix/getcwd.c: Likewise.
171 2012-05-10 Roland McGrath <roland@hack.frob.com>
173 * math/w_ilogbf.c: Add #include <limits.h>.
175 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
177 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
178 path instead of returning without unlocking.
180 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
181 immediate-write ioctls.
182 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
186 * sysdeps/mach/hurd/i386/init-first.c (init): Use
187 __builtin_frame_address instead of making assumptions about the
188 location of the return address relative to DATA. Force early load of
190 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
191 __builtin_frame_address.
194 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
195 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
196 implement dup3 and do some further code clean-ups.
197 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
198 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
200 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
202 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
204 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
205 HURD_CRITICAL_END around holding _hurd_dtable_lock.
206 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
207 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
208 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
211 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
212 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
213 when handler == SIG_ERR, not when handler != SIG_ERR.
215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
217 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
218 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
221 accept4 for GNU Hurd.
222 * include/sys/socket.h (__libc_accept4): New prototype.
223 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
224 to implement __libc_accept4.
225 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
227 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
229 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
230 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
231 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
234 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
236 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
238 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
240 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
241 assertion on O_CLOEXEC flag.
242 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
243 * hurd/intern-fd.c: Likewise.
244 * hurd/port2fd.c: Likewise.
246 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
249 * bits/in.h (IPV6_PKTINFO): Define new macro.
250 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
252 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
257 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
258 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
259 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
260 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
262 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
263 * math/libm-test.inc (logb_test) : Additional logb tests.
265 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
266 Andreas Jaeger <aj@suse.de>
268 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
269 * configure: Regenerated.
270 * config.h.in (LINK_OBSOLETE_RPC): New macro.
271 * config.make.in (link-obsolete-rpc): New substituted variable.
272 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
273 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
274 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
275 (shared-only-routines): Don't set it under [link-obsolete-rpc],
276 so that libc.a contains the symbols.
277 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
278 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
279 * sunrpc/auth_none.c: Likewise.
280 * sunrpc/auth_unix.c: Likewise.
281 * sunrpc/authdes_prot.c: Likewise.
282 * sunrpc/authuxprot.c: Likewise.
283 * sunrpc/clnt_gen.c: Likewise.
284 * sunrpc/clnt_perr.c: Likewise.
285 * sunrpc/clnt_raw.c: Likewise.
286 * sunrpc/clnt_simp.c: Likewise.
287 * sunrpc/clnt_tcp.c: Likewise.
288 * sunrpc/clnt_udp.c: Likewise.
289 * sunrpc/clnt_unix.c: Likewise.
290 * sunrpc/des_crypt.c: Likewise.
291 * sunrpc/des_soft.c: Likewise.
292 * sunrpc/get_myaddr.c: Likewise.
293 * sunrpc/key_call.c: Likewise.
294 * sunrpc/key_prot.c: Likewise.
295 * sunrpc/netname.c: Likewise.
296 * sunrpc/pm_getmaps.c: Likewise.
297 * sunrpc/pm_getport.c: Likewise.
298 * sunrpc/pmap_clnt.c: Likewise.
299 * sunrpc/pmap_prot.c: Likewise.
300 * sunrpc/pmap_prot2.c: Likewise.
301 * sunrpc/pmap_rmt.c: Likewise.
302 * sunrpc/publickey.c: Likewise.
303 * sunrpc/rpc_cmsg.c: Likewise.
304 * sunrpc/rpc_common.c: Likewise.
305 * sunrpc/rpc_dtable.c: Likewise.
306 * sunrpc/rpc_prot.c: Likewise.
307 * sunrpc/rpc_thread.c: Likewise.
308 * sunrpc/rtime.c: Likewise.
309 * sunrpc/svc.c: Likewise.
310 * sunrpc/svc_auth.c: Likewise.
311 * sunrpc/svc_raw.c: Likewise.
312 * sunrpc/svc_run.c: Likewise.
313 * sunrpc/svc_tcp.c: Likewise.
314 * sunrpc/svc_udp.c: Likewise.
315 * sunrpc/svc_unix.c: Likewise.
316 * sunrpc/svcauth_des.c: Likewise.
317 * sunrpc/xcrypt.c: Likewise.
318 * sunrpc/xdr.c: Likewise.
319 * sunrpc/xdr_array.c: Likewise.
320 * sunrpc/xdr_float.c: Likewise.
321 * sunrpc/xdr_intXX_t.c: Likewise.
322 * sunrpc/xdr_mem.c: Likewise.
323 * sunrpc/xdr_rec.c: Likewise.
324 * sunrpc/xdr_ref.c: Likewise.
325 * sunrpc/xdr_sizeof.c: Likewise.
326 * sunrpc/xdr_stdio.c: Likewise.
328 2012-05-10 Roland McGrath <roland@hack.frob.com>
330 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
331 change. Update copyright years.
333 2012-05-10 Joseph Myers <joseph@codesourcery.com>
335 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
337 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
338 Joseph Myers <joseph@codesourcery.com>
339 Paul Pluzhnikov <ppluzhnikov@google.com>
342 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
344 [cross-compiling] (extra-libs): Likewise.
345 [cross-compiling] (extra-libs-others): Likewise.
346 [cross-compiling] (librpcsvc-routines): Likewise.
347 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
348 [cross-compiling] (omit-deps): Likewise.
349 (sunrpc-CPPFLAGS): New variable.
350 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
351 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
352 (cross-rpcgen-objs): New variable.
353 (extra-objs): Append $(cross-rpcgen-objs).
354 ($(cross-rpcgen-objs)): New rule.
355 ($(objpfx)cross-rpcgen): Likewise.
356 (rpcgen-cmd): Define to use $(built-program-file). Expand
358 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
359 ($(objpfx)x%.stmp): Likewise.
360 * sunrpc/proto.h [IS_IN_build] (_): Define.
361 [IS_IN_build] (_libc_intl_domainname): Likewise.
363 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
366 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
367 and R_X86_64_TPOFF64.
369 2012-05-10 Joseph Myers <joseph@codesourcery.com>
371 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
372 sysdeps/unix/sysv/syscalls.list.
375 * sysdeps/unix/sysv/syscalls.list: Remove file.
377 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
380 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
381 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
382 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
383 (__LC_IDENTIFICATION): Make these macros useful in #if
384 expressions, as required by C99.
386 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
388 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
389 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
392 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
394 * stdlib/longlong.h: Updated from GCC.
396 2012-05-09 Andreas Jaeger <aj@suse.de>
398 * nscd/nscd.c (run_modes): Make named enum, reorder so that
399 default is first entry.
400 (run_mode): Set type.
401 (main): Remove informal message about syslog.
405 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
412 (nearbyint): Likewise.
413 (nearbyintf): Likewise.
415 2012-05-09 Andreas Jaeger <aj@suse.de>
416 Pedro Alves <palves@redhat.com>
418 * nscd/nscd.c (run_mode): Use enum.
419 (main): Cleanup coding style issue.
421 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
422 Andreas Jaeger <aj@suse.de>
424 * nscd/nscd.c (go_background): Replaced with...
425 (run_mode): ... this.
426 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
427 (options): Add -F --foreground.
428 (main): Implement it.
429 (parse_opt): Parse it.
431 2012-05-09 Andreas Jaeger <aj@suse.de>
434 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
435 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
436 -Wconversion warning.
437 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
440 2012-05-09 Joseph Myers <joseph@codesourcery.com>
442 * conform/data/locale.h-data (NULL): Use macro-constant. Require
444 (LC_ALL): Use macro-int-constant.
445 (LC_COLLATE): Likewise.
446 (LC_CTYPE): Likewise.
447 (LC_MESSAGES): Likewise.
448 (LC_MONETARY): Likewise.
449 (LC_NUMERIC): Likewise.
451 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
452 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
454 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
456 [C99-based standards] (float_t): Expect type.
457 [C99-based standards] (double_t): Expect type.
458 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
460 [C99-based standards] (HUGE_VALL): Likewise.
461 [C99-based standards] (INFINITY): Likewise.
462 [C99-based standards] (NAN): Likewise.
463 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
464 [C99-based standards] (FP_NAN): Likewise.
465 [C99-based standards] (FP_NORMAL): Likewise.
466 [C99-based standards] (FP_SUBNORMAL): Likewise.
467 [C99-based standards] (FP_ZERO): Likewise.
468 [C99-based standards] (FP_FAST_FMA): Use
469 optional-macro-int-constant. Specify type. Require == 1.
470 [C99-based standards] (FP_FAST_FMAF): Likewise.
471 [C99-based standards] (FP_FAST_FMAL): Likewise.
472 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
473 [C99-based standards] (FP_ILOGBNAN): Likewise.
474 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
476 [C99-based standards] (MATH_ERREXCEPT): Likewise.
477 [C99-based standards] (math_errhandling): Specify type.
478 [ISO99 || ISO11] (signgam): Do not allow.
479 [non-C99-based standards] (copysignf): Do not allow.
480 [non-C99-based standards] (exp2f): Likewise.
481 [non-C99-based standards] (log2f): Likewise.
482 [non-C99-based standards] (modff): Allow.
483 [non-C99-based standards] (erff): Do not allow.
484 [non-C99-based standards] (erfcf): Likewise.
485 [non-C99-based standards] (gammaf): Likewise.
486 [non-C99-based standards] (hypotf): Likewise.
487 [non-C99-based standards] (j0f): Likewise.
488 [non-C99-based standards] (j1f): Likewise.
489 [non-C99-based standards] (jnf): Likewise.
490 [non-C99-based standards] (lgammaf): Likewise.
491 [non-C99-based standards] (tgammaf): Likewise.
492 [non-C99-based standards] (y0f): Likewise.
493 [non-C99-based standards] (y1f): Likewise.
494 [non-C99-based standards] (ynf): Likewise.
495 [non-C99-based standards] (isnanf): Likewise.
496 [non-C99-based standards] (acoshf): Likewise.
497 [non-C99-based standards] (asinhf): Likewise.
498 [non-C99-based standards] (atanhf): Likewise.
499 [non-C99-based standards] (cbrtf): Likewise.
500 [non-C99-based standards] (expm1f): Likewise.
501 [non-C99-based standards] (ilogbf): Likewise.
502 [non-C99-based standards] (log1pf): Likewise.
503 [non-C99-based standards] (logbf): Likewise.
504 [non-C99-based standards] (nextafterf): Likewise.
505 [non-C99-based standards] (remainderf): Likewise.
506 [non-C99-based standards] (rintf): Likewise.
507 [non-C99-based standards] (scalbf): Likewise.
508 [non-C99-based standards] (copysignl): Likewise.
509 [non-C99-based standards] (exp2l): Likewise.
510 [non-C99-based standards] (log2l): Likewise.
511 [non-C99-based standards] (modfl): Allow.
512 [non-C99-based standards] (erfl): Do not allow.
513 [non-C99-based standards] (erfcl): Likewise.
514 [non-C99-based standards] (gammal): Likewise.
515 [non-C99-based standards] (hypotl): Likewise.
516 [non-C99-based standards] (j0l): Likewise.
517 [non-C99-based standards] (j1l): Likewise.
518 [non-C99-based standards] (jnl): Likewise.
519 [non-C99-based standards] (lgammal): Likewise.
520 [non-C99-based standards] (tgammal): Likewise.
521 [non-C99-based standards] (y0l): Likewise.
522 [non-C99-based standards] (y1l): Likewise.
523 [non-C99-based standards] (ynl): Likewise.
524 [non-C99-based standards] (isnanl): Likewise.
525 [non-C99-based standards] (acoshl): Likewise.
526 [non-C99-based standards] (asinhl): Likewise.
527 [non-C99-based standards] (atanhl): Likewise.
528 [non-C99-based standards] (cbrtl): Likewise.
529 [non-C99-based standards] (expm1l): Likewise.
530 [non-C99-based standards] (ilogbl): Likewise.
531 [non-C99-based standards] (log1pl): Likewise.
532 [non-C99-based standards] (logbl): Likewise.
533 [non-C99-based standards] (nextafterl): Likewise.
534 [non-C99-based standards] (remainderl): Likewise.
535 [non-C99-based standards] (rintl): Likewise.
536 [non-C99-based standards] (scalbl): Likewise.
537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
538 [non-C99-based standards] (FP_*): Do not allow.
539 [C99-based standards] (FP_*): Change to
540 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
541 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
543 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
545 [X/Open-based standards] (SIG_HOLD): Likewise.
547 (SIGABRT): Use macro-int-constant. Specify type. Require
554 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
555 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
556 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
557 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
558 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
559 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
560 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
561 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
562 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
563 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
564 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
565 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
566 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
567 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
568 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
569 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
570 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
571 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
572 [X/Open-based standards] (SIGTRAP): Likewise.
573 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
574 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
575 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
576 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
577 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
580 2012-05-08 Ian Wienand <ianw@vmware.com>
583 * time/tzset.c (__tzset_parse_tz): Update default rules for
584 daylight time changes in the Energy Policy Act of 2005.
586 2012-05-09 Andreas Jaeger <aj@suse.de>
589 * elf/ldconfig.c (parse_conf): Change string to make clear that
590 ldconfig only issued a warning if ld.so.conf does not exist.
592 2012-05-08 David S. Miller <davem@davemloft.net>
594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
595 movxtod instead of popping the value on the stack.
597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
599 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
601 * config.h.in: Add HAVE_ARM_PCS_VFP.
603 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
606 * include/features.h: Warn if user requests __FORTIFY_SOURCE
607 checking but the checks are disabled for any reason.
609 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
611 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
612 and ELF64_R_TYPE with ELFW(R_TYPE).
614 2012-05-08 Joseph Myers <joseph@codesourcery.com>
616 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
619 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
620 (settimeofday): Likewise.
622 2012-05-08 Mike Frysinger <vapier@gentoo.org>
624 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
625 a struct th_u2 inside the union, and move tu_block/tu_code into
626 a new th_u3 union of tu_block/tu_code inside of that. Move
627 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
628 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
629 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
630 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
631 (th_stuff): Change to th_u1.tu_stuff.
633 (th_msg): Change to th_u1.th_u2.tu_data.
635 2012-05-07 David S. Miller <davem@davemloft.net>
637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
640 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
641 (SETUP_PIC_REG): Use it.
642 (SETUP_PIC_REG_LEAF): Use it.
644 2012-05-07 Joseph Myers <joseph@codesourcery.com>
648 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
650 (EXPL_FINITE): Likewise.
652 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
653 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
655 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
657 (EXPL_FINITE): Likewise.
659 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
660 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
662 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
663 test of -max_value argument for long double.
664 * sysdeps/i386/fpu/libm-test-ulps: Update.
665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
667 2012-05-06 David S. Miller <davem@davemloft.net>
669 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
670 quad soft-float symbols whose references which are compiler
672 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
674 2012-05-06 Joseph Myers <joseph@codesourcery.com>
678 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
680 (EXPL_FINITE): Likewise.
684 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
685 Adjust comments for base varying.
686 (__expl_finite): Change alias to EXPL_FINITE.
687 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
689 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
690 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
691 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
692 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
693 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
695 (EXPL_FINITE): Likewise.
699 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
700 Adjust comments for base varying.
701 (__expl_finite): Change alias to EXPL_FINITE.
702 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
707 * math/libm-test.inc (check_float_internal): Correct ulp
708 calculation for subnormal expected results.
710 2012-05-06 Andreas Jaeger <aj@suse.de>
712 * Makeconfig (+math-flags): New, set to -frounding-math.
713 (+cflags): Add +math-flags so that all of glibc gets compiled with
716 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
718 2012-05-05 Joseph Myers <joseph@codesourcery.com>
720 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
726 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
727 (__ieee754_expl): Allow for and saturate large arguments.
728 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
729 (u_threshold): Likewise.
730 (__exp): Call __ieee754_exp before checking for overflow and
732 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
733 (u_threshold): Likewise.
734 (__expf): Call __ieee754_expf before checking for overflow and
736 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
737 (u_threshold): Likewise.
738 (__expl): Call __ieee754_expl before checking for overflow and
740 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
741 (__ieee754_expl): Allow for and saturate large arguments.
742 * math/libm-test.inc (exp_test): Add another test. Do not allow
743 missing overflow exception on overflow.
744 (expm1_test): Do not allow missing overflow exception on overflow.
746 * sysdeps/i386/fpu/e_expl.c: Move to ...
747 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
748 rather than using inline asm.
749 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
750 * sysdeps/x86_64/fpu/e_expl.S: Copy from
751 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
753 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
760 2012-05-04 Joseph Myers <joseph@codesourcery.com>
762 * sysdeps/unix/syscalls.list (adjtime): Add entry from
763 sysdeps/unix/common/syscalls.list.
766 (ftruncate): Likewise.
767 (getrusage): Likewise.
768 (gettimeofday): Likewise.
770 (setregid): Likewise.
771 (setreuid): Likewise.
772 (sigaction): Likewise.
773 (truncate): Likewise.
775 * sysdeps/unix/common/syscalls.list: Remove file.
776 * sysdeps/unix/bsd/Implies: Don't include unix/common.
777 * sysdeps/unix/sysv/linux/Implies: Likewise.
779 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
781 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
783 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
787 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
790 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
793 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
796 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
799 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
802 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
805 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
809 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
813 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
816 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
820 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
824 2012-05-04 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/unix/common/bits/dirent.h: Remove file.
827 * sysdeps/unix/common/bits/fcntl.h: Likewise.
829 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
830 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
831 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
832 * sysdeps/unix/bsd/isatty.c: Likewise.
833 * sysdeps/unix/bsd/tcdrain.c: Likewise.
834 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
835 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
837 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
841 long double comparison inaccuracies.
842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
845 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
847 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
848 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
850 2012-05-04 Joseph Myers <joseph@codesourcery.com>
853 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
854 nonzero digits before rounding a hex value.
855 * stdlib/tst-strtod.c (tests): Add another test.
857 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
859 * sysdeps/s390/fpu/libm-test-ulps: Update.
861 2012-05-03 Andreas Jaeger <aj@suse.de>
863 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
864 does not get optimized out.
865 (malloc_opt_barrier): New.
867 2012-05-03 Andreas Jaeger <aj@suse.de>
868 Roland McGrath <roland@hack.frob.com>
870 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
871 intermediate file deletion.
872 (generated): Add .symlist files.
874 2012-05-03 Joseph Myers <joseph@codesourcery.com>
877 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
878 Redirect under this condition.
879 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
880 [__USE_GNU] (__dprintf_chk): Not under this condition.
881 [__USE_GNU] (__vdprintf_chk): Likewise.
882 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
883 under this condition.
884 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
885 [__USE_XOPEN2K8] (dprintf): Define under this condition.
886 [__USE_XOPEN2K8] (vdprintf): Likewise.
887 [__USE_GNU] (__dprintf_chk): Not under this condition.
888 [__USE_GNU] (__vdprintf_chk): Likewise.
889 [__USE_GNU] (dprintf): Likewise.
890 [__USE_GNU] (vdprintf): Likewise.
892 2012-05-03 Roland McGrath <roland@hack.frob.com>
894 * elf/Makefile (common-generated): Set this instead of generated for
895 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
896 $(all-built-dso)-derived lists.
898 2012-05-03 Andreas Jaeger <aj@suse.de>
900 * sysdeps/i386/fpu/libm-test-ulps: Update.
904 * scripts/gen-FAQ.pl: Likewise.
905 * manual/install.texi (Installation): Point to online location of
907 * Makefile (files-for-dist): Remove FAQ.
910 2012-05-02 Allan McRae <allan@archlinux.org>
912 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
913 (LDFLAGS-reldepmod5.so): Likewise.
914 (LDFLAGS-reldep6mod1.so): Likewise.
915 (LDFLAGS-reldep6mod4.so): Likewise.
916 (LDFLAGS-reldep8mod3.so): Likewise.
917 (LDFLAGS-unload4mod1.so): Likewise.
918 (LDFLAGS-unload4mod2.so): Likewise.
919 (LDFLAGS-tst-initorder): Likewise.
920 (LDFLAGS-tst-initordera2.so): Likewise.
921 (LDFLAGS-tst-initordera3.so): Likewise.
922 (LDFLAGS-tst-initordera4.so): Likewise.
923 (LDFLAGS-tst-initorderb2.so): Likewise.
924 (LDFLAGS-noload): Likewise.
925 (LDFLAGS-next): Likewise.
926 (LDFLAGS-order2mod1.so): Likewise.
927 (LDFLAGS-order2mod2.so): Likewise.
928 (LDFLAGS-tst-initorder2): Likewise.
929 (LDFLAGS-tst-initorder2a.so): Likewise.
930 (LDFLAGS-tst-initorder2b.so): Likewise.
931 (LDFLAGS-tst-initorder2c.so): Likewise.
932 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
934 2012-05-02 David S. Miller <davem@davemloft.net>
936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
938 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
941 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
943 2012-05-02 Andreas Jaeger <aj@suse.de>
945 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
946 since we manipulate rounding mode.
947 (CPPFLAGS-test-idouble.c): Likewise.
948 (CPPFLAGS-test-ifloat.c): Likewise.
949 (CFLAGS-test-ldouble.c): Likewise.
950 (CFLAGS-test-double.c): Likewise.
951 (CFLAGS-test-float.c): Likewise.
952 (CFLAGS-test-misc.c): Likewise.
953 (CFLAGS-test-test-fenv.c): Likewise.
955 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
959 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
960 comparisons to determine direction to adjust input.
962 2012-05-01 Roland McGrath <roland@hack.frob.com>
964 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
965 output to the target.
967 * scripts/localplt.awk: New file.
968 * elf/Makefile ($(objpfx)check-localplt): Target removed.
969 (check-localplt-CFLAGS): Variable removed.
970 ($(all-built-dso:=.jmprel)): New static pattern rule.
971 (generated): Add those targets.
972 (localplt-built-dso): New variable.
973 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
975 * elf/check-localplt.c: File removed.
977 * scripts/check-execstack.awk: New file.
978 * elf/Makefile ($(objpfx)check-execstack): Target removed.
979 (check-execstack-CFLAGS): Variable removed.
980 ($(objpfx)check-execstack.h): Target removed.
981 ($(objpfx)execstack-default): New target.
982 (generated): Add that instead of check-execstack.h.
983 ($(all-built-dso:=.phdr)): New static pattern rule.
984 (generated): Add those targets.
985 * elf/check-execstack.c: File removed.
987 * scripts/check-textrel.awk: New file.
988 * elf/Makefile ($(objpfx)check-textrel): Target removed.
989 (check-textrel-CFLAGS): Variable removed.
990 (all-built-dso): Use := to define.o
991 ($(all-built-dso:=.dyn)): New static pattern rule.
992 (generated): Add those targets.
993 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
994 * config.make.in (READELF): New substituted variable.
995 * elf/check-textrel.c: File removed.
997 2012-05-01 Joseph Myers <joseph@codesourcery.com>
999 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1001 * conform/data/ctype.h-data [C99-based standards] (isblank):
1003 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1004 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1006 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1007 Specify type. Require positive value.
1010 [ISO || POSIX] (EILSEQ): Do not expect.
1011 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1012 Specify type. Require positive value.
1013 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1014 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1015 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1016 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1017 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1018 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1019 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1020 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1021 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1022 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1023 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1024 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1025 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1026 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1027 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1028 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1029 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1030 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1031 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1032 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1033 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1034 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1035 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1036 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1037 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1038 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1039 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1040 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1041 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1042 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1043 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1044 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1045 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1046 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1047 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1048 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1049 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1050 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1051 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1052 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1053 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1054 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1055 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1056 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1057 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1058 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1059 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1060 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1061 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1062 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1063 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1064 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1065 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1066 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1067 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1068 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1069 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1070 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1071 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1072 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1073 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1074 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1075 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1076 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1077 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1078 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1079 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1080 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1081 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1082 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1083 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1084 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1085 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1086 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1087 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1088 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1089 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1091 (FLT_ROUNDS): Expect as macro, not constant.
1092 (FLT_MANT_DIG): Use macro-int-constant.
1093 (DBL_MANT_DIG): Likewise.
1094 (LDBL_MANT_DIG): Likewise.
1095 (FLT_DIG): Likewise.
1096 (DBL_DIG): Likewise.
1097 (LDBL_DIG): Likewise.
1098 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1099 (DBL_MIN_EXP): Likewise.
1100 (LDBL_MIN_EXP): Likewise.
1101 (FLT_MAX_EXP): Use macro-int-constant.
1102 (DBL_MAX_EXP): Likewise.
1103 (LDBL_MAX_EXP): Likewise.
1104 (FLT_MAX_10_EXP): Likewise.
1105 (DBL_MAX_10_EXP): Likewise.
1106 (LDBL_MAX_10_EXP): Likewise.
1107 (FLT_MAX): Use macro-constant.
1108 (DBL_MAX): Likewise.
1109 (LDBL_MAX): Likewise.
1110 (FLT_EPSILON): Use macro-constant. Give upper bound.
1111 (DBL_EPSILON): Likewise.
1112 (LDBL_EPSILON): Likewise.
1113 (FLT_MIN): Likewise.
1114 (DBL_MIN): Likewise.
1115 (LDBL_MIN): Likewise.
1116 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1117 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1118 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1119 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1120 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1121 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1122 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1123 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1124 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1125 [ISO11] (FLT_TRUE_MIN): Likewise.
1126 [ISO11] (LDBL_TRUE_MIN): Likewise.
1127 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1128 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1129 (SCHAR_MIN): Use macro-int-constant. Specify type.
1130 (SCHAR_MAX): Likewise.
1131 (UCHAR_MAX): Likewise.
1132 (CHAR_MIN): Likewise.
1133 (CHAR_MAX): Likewise.
1134 (MB_LEN_MAX): Use macro-int-constant.
1135 (SHRT_MIN): Use macro-int-constant. Specify type.
1136 (SHRT_MAX): Likewise.
1137 (USHRT_MAX): Likewise.
1138 (INT_MAX): Likewise.
1139 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1141 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1143 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1145 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1146 bound negative. Suffix upper bound with "L".
1147 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1149 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1151 [C99-based standards] (LLONG_MAX): Likewise.
1152 [C99-based standards] (ULLONG_MAX): Likewise.
1153 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1155 [ISO11] (max_align_t): Require type.
1156 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1158 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1159 from $CFLAGS, without defining away __attribute__ calls.
1160 (checknamespace): Use $CFLAGS_namespace.
1162 * conform/conformtest.pl (@keywords): Only include C99 keywords
1163 for standards based on C99 or C11.
1165 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1167 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1170 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1171 usability of symbols in #if.
1173 * conform/conformtest.pl: If macro or constant types start
1174 "promoted:", expect the symbol to be of the following type
1175 promoted by the integer promotions.
1177 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1178 in one place. Also handle "macro-constant".
1180 * conform/conformtest.pl: Only accept expected macro values with
1181 "==". Parse all "macro" lines in one place.
1182 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1184 * conform/conformtest.pl: Handle braced types on "constant" lines
1185 instead of handling "typed-constant".
1186 * conform/data/signal.h-data: Use "constant" instead of
1189 * conform/conformtest.pl: Handle "optional-" at start of lines in
1190 one place rather than duplicating several cases. Handle each
1191 format of "macro" line with initial "optional-".
1193 * conform/conformtest.pl: Only accept expected constant or
1194 optional-constant values with "==". Parse all "constant" lines in
1195 one place. Parse all "optional-constant" lines in one place.
1196 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1197 * conform/data/fmtmsg.h-data: Likewise.
1198 * conform/data/netinet/in.h-data: Likewise.
1199 * conform/data/tar.h-data: Likewise.
1200 * conform/data/limits.h-data: Use "==" form on "constant" and
1201 "optional-constant" lines.
1203 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1204 Use -std=c99 for XOPEN2K.
1205 (@knownproblems): Remove.
1206 (newtoken): Don't check %isknown.
1208 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1209 Do not expect macro.
1210 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1211 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1212 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1217 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1218 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1222 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1223 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1226 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1227 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1228 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1240 [XPG3] (acosh): Likewise.
1241 [XPG3] (asinh): Likewise.
1242 [XPG3] (atanh): Likewise.
1243 [XPG3] (cbrt): Likewise.
1244 [XPG3] (expm1): Likewise.
1245 [XPG3] (ilogb): Likewise.
1246 [XPG3] (log1p): Likewise.
1247 [XPG3] (logb): Likewise.
1248 [XPG3] (nextafter): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1251 [XPG3] (remainder): Likewise.
1252 [XPG3] (rint): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1260 [UNIX98 || XOPEN2K] (scalb): Expect.
1261 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1262 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1399 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1400 _XOPEN_SOURCE_EXTENDED for XPG4.
1402 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1404 * Makeconfig (localtime): Remove variable.
1405 (inst_localtime-file): Likewise.
1407 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1428 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1432 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1433 comparisons to determine direction to adjust input.
1434 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1435 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1438 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1440 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1442 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1443 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1445 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1447 * math/libm-test.inc (nexttoward_test): Add more tests.
1449 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1453 in version GLIBC_2.1, not GLIBC_2.0.
1454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1457 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1460 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1462 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1463 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1464 * math/libm-test.inc (acos_test): Add more tests.
1465 (asin_test): Likewise.
1466 * sysdeps/i386/fpu/libm-test-ulps: Update.
1467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1470 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1472 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1473 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1474 * math/libm-test.inc (acos_test_tonearest): New function.
1475 (acos_test_towardzero): Likewise.
1476 (acos_test_downward): Likewise.
1477 (acos_test_upward): Likewise.
1478 (asin_test_tonearest): Likewise.
1479 (asin_test_towardzero): Likewise.
1480 (asin_test_downward): Likewise.
1481 (asin_test_upward): Likewise.
1482 (main): Call the new functions.
1483 * sysdeps/i386/fpu/libm-test-ulps: Update.
1484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1488 * math/e_exp10.c: Include <float.h>.
1489 (__ieee754_exp10): Handle underflow here rather than multiplying
1490 large negative argument by M_LN10.
1491 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1493 * math/e_exp10l.c: Include <float.h>.
1494 (__ieee754_exp10l): Handle underflow here rather than multiplying
1495 large negative argument by M_LN10l.
1496 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1497 spurious overflow exception on underflow.
1499 2012-04-29 Marek Polacek <polacek@redhat.com>
1501 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1502 (__fortify_function): New macro.
1503 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1504 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1505 __extern_always_inline.
1506 * libio/bits/stdio2.h: Likewise.
1507 * libio/bits/stdio.h: Likewise.
1508 * string/string.h: Likewise.
1509 * string/bits/string3.h: Likewise.
1510 * include/stdio.h: Likewise.
1511 * stdlib/bits/stdlib.h: Likewise.
1512 * stdlib/stdlib.h: Likewise.
1513 * rt/bits/mqueue2.h: Likewise.
1514 * rt/mqueue.h: Likewise.
1515 * posix/bits/unistd.h: Likewise.
1516 * posix/unistd.h: Likewise.
1517 * io/bits/poll2.h: Likewise.
1518 * io/bits/fcntl2.h: Likewise.
1519 * io/fcntl.h: Likewise.
1520 * io/sys/poll.h: Likewise.
1521 * misc/bits/syslog.h: Likewise.
1522 * misc/bits/syslog-ldbl.h: Likewise.
1523 * misc/sys/syslog.h: Likewise.
1524 * socket/bits/socket2.h: Likewise.
1525 * socket/sys/socket.h: Likewise.
1526 * debug/tst-chk1.c: Likewise.
1527 * wcsmbs/bits/wchar2.h: Likewise.
1528 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1529 * wcsmbs/wchar.h: Likewise.
1531 2012-04-29 Andreas Jaeger <aj@suse.de>
1533 * Makerules (tests): Remove enable-check-abi protection.
1534 (check-abi-warn): Remove.
1535 (check-abi-%): Remove check-abi-warn usage.
1537 * configure.in: Remove check-abi configure option.
1538 * configure: Regenerated.
1539 * config.make.in (enable-check-abi): Remove.
1541 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1544 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1545 double functions to double *_finite functions.
1548 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1549 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1551 * stdio-common/Makefile (tests): Add tst-sprintf3.
1552 * stdio-common/tst-sprintf3.c: New file.
1554 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1555 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1557 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1559 * conform/conformtest.pl: Remove duplicate typed-constant
1562 2012-04-28 David S. Miller <davem@davemloft.net>
1564 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1565 (check-abi-%): Remove AWK script prerequisite and explicit
1567 (check-abi): Rewrite to just diff the symlist with the abilist.
1568 (config-tls, config-abi-config): Delete, no longer used.
1569 (update-abi-%): Remove AWK script and explicit abilist directory.
1570 (update-abi): Rewrite to simply compare and conditionally copy the
1571 symlist and the sysdep abilist file. Remove update-abi-config
1573 * abilist/ld.abilist: Remove.
1574 * abilist/libBrokenLocale.abilist: Remove.
1575 * abilist/libanl.abilist: Remove.
1576 * abilist/libcrypt.abilist: Remove.
1577 * abilist/libdl.abilist: Remove.
1578 * abilist/librt.abilist: Remove.
1579 * abilist/libthread_db.abilist: Remove.
1580 * abilist/libutil.abilist: Remove.
1581 * scripts/extract-abilist.awk: Remove.
1582 * scripts/merge-abilist.awk: Remove.
1583 * sysdeps/generic/libcidn.abilist: New file.
1584 * sysdeps/generic/libnss_compat.abilist: New file.
1585 * sysdeps/generic/libnss_db.abilist: New file.
1586 * sysdeps/generic/libnss_dns.abilist: New file.
1587 * sysdeps/generic/libnss_files.abilist: New file.
1588 * sysdeps/generic/libnss_hesiod.abilist: New file.
1589 * sysdeps/generic/libnss_nis.abilist: New file.
1590 * sysdeps/generic/libnss_nisplus.abilist: New file.
1591 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1592 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1593 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1595 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1596 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1597 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1598 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1599 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1600 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1601 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1602 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1603 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1605 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1606 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1607 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1608 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1610 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1611 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1612 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1613 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1614 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1615 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1617 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1618 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1619 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1621 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1724 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1725 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1726 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1729 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1730 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1731 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1732 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1733 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1734 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1735 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1736 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1737 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1789 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1791 * conform/conformtest.pl: Fix typo in handling typed-constant from
1794 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1796 * README: Cut down references to pre-2.6 Linux kernels and
1797 Linuxthreads. Update lists of configurations in libc and ports
1798 and sort alphabetically. Say "or newer" with Linux kernel version
1801 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1803 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1806 * math/libm-test.inc (logb_test_downward): New test to expose
1807 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1810 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1813 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1815 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1816 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1818 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1820 * sysdeps/unix/i386/brk.S: Remove file.
1821 * sysdeps/unix/i386/dl-brk.S: Likewise.
1822 * sysdeps/unix/i386/pipe.S: Likewise.
1823 * sysdeps/unix/i386/sigreturn.S: Likewise.
1824 * sysdeps/unix/i386/syscall.S: Likewise.
1825 * sysdeps/unix/i386/vfork.S: Likewise.
1826 * sysdeps/unix/i386/wait.S: Likewise.
1828 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1829 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1831 * configure.in (arm*-none*): Do not allow without
1832 --enable-hacker-mode.
1833 (netbsd*): Remove case setting base_os.
1834 (386bsd*): Likewise.
1835 (freebsd*): Likewise.
1839 (ultrix*): Likewise.
1840 (newsos*): Likewise.
1850 (solaris[2-9]*): Likewise.
1852 * configure: Regenerated.
1854 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1857 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1858 overflow or cancellation in calculating denominator.
1859 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1861 down expression to avoid unexpected rounding in newer GCCs.
1862 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1864 2012-04-26 David S. Miller <davem@davemloft.net>
1866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1867 long-double compat symbols.
1868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1882 2012-04-25 David S. Miller <davem@davemloft.net>
1884 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1885 HWCAP_* values only after the memory barriers have been defined.
1886 (atomic_full_barrier): Define.
1887 (atomic_read_barrier): Define.
1888 (atomic_write_barrier): Define.
1890 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1892 * shlib-versions: Add libgcc_s version information.
1893 * sysdeps/generic/libgcc_s.h: Remove.
1894 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1896 * sysdeps/gnu/unwind-resume.c: Likewise.
1897 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1899 2012-04-25 David S. Miller <davem@davemloft.net>
1901 * sysdeps/unix/sparc/brk.S: Delete.
1902 * sysdeps/unix/sparc/dl-brk.S: Delete.
1903 * sysdeps/unix/sparc/pipe.S: Delete.
1904 * sysdeps/unix/sparc/sysdep.S: Delete.
1905 * sysdeps/unix/sparc/sysdep.h: Delete.
1906 * sysdeps/unix/sparc/vfork.S: Delete.
1907 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1908 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1909 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1910 ret_ERRVAL, r0, r1, MOVE): Define.
1911 (JUMPTARGET): Remove.
1912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1913 sysdeps/unix/sparc/sysdep.h
1914 (ENTRY, END): Remove.
1915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1917 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1919 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1920 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1923 * timezone/README: Update upstream location and email address for
1925 * timezone/zdump.c: Update from tzcode 2012b.
1926 * timezone/zic.c: Likewise.
1928 * configure.in (libc_cv_as_needed): Remove test.
1929 * configure: Regenerated.
1930 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1931 conditional definition.
1932 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1933 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1934 * config.make.in (have-as-needed): Remove variable.
1936 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1937 Paul Pluzhnikov <ppluzhnikov@google.com>
1939 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1942 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1944 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1945 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1946 * sysdeps/sh/strlen.S: Likewise.
1948 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1950 * sysdeps/unix/fork.S: Remove file.
1951 * sysdeps/unix/i386/fork.S: Likewise.
1952 * sysdeps/unix/sparc/fork.S: Likewise.
1954 * sysdeps/unix/system.c: Remove file.
1955 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1957 * sysdeps/unix/getegid.S: Remove file.
1958 * sysdeps/unix/geteuid.S: Likewise.
1960 2012-04-24 Roland McGrath <roland@hack.frob.com>
1962 * scripts/check-localplt.awk: New file.
1963 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1965 * scripts/data/localplt-generic.data: Add a comment.
1967 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1968 NODE when __dir_mkfile failed.
1969 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1970 Reported by Ludovic Courtès <ludo@gnu.org>.
1972 2012-04-24 Andreas Jaeger <aj@suse.de>
1974 * Makerules (common-clean): Also remove gen-as-const-headers
1977 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1979 * Makerules (native-compile): Do not change working directory for
1980 build. Use $(OUTPUT_OPTION) in command.
1981 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1983 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1987 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1988 * math/libm-test.inc (floor_test): Add more tests.
1989 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1991 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1993 * sysdeps/unix/getdents.c: Remove file.
1994 * sysdeps/unix/sysv/getdents.c: Likewise.
1995 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1997 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1998 sysdeps/unix/mman/syscalls.list.
2000 (mprotect): Likewise.
2003 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2004 * sysdeps/unix/mman/syscalls.list: Remove.
2005 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2007 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2008 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2009 * configure: Regenerated.
2010 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2012 * config.make.in (libgcc_s_suffix): Remove variable.
2014 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2016 * sysdeps/unix/sysv/gethostname.c: Move to ...
2017 * sysdeps/posix/gethostname.c: ... here.
2019 * sysdeps/unix/execve.S: Remove file.
2021 * sysdeps/unix/_exit.S: Remove file.
2023 2012-04-23 Andreas Jaeger <aj@suse.de>
2026 * manual/Makefile: Remove make dist support, there's no
2027 need for a stand-alone documentation tar ball.
2028 (TEXI2DVI): Define always, it's not in Makeconfig.
2032 (glibc-doc-$(edition).tar): Removed
2036 (ETAGS): Remove, it's in Makeconfig.
2037 (move-if-change): Remove, it's in Makeconfig.
2039 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2042 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2043 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2044 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2045 (strtod_l, strtof_l, strtold_l): Remove __wur.
2046 It is not necessarily an error to ignore strtol's return value.
2047 One can reliably look at the stored endptr to decide whether
2048 the number had valid syntax.
2050 2012-04-21 Andreas Jaeger <aj@suse.de>
2053 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2055 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2057 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2058 * sysdeps/unix/sysv/Versions: Remove file.
2060 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2065 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2068 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2069 version from __vm86.
2071 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2073 * sysdeps/unix/common/lxstat.c: Remove file.
2074 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2076 * sysdeps/unix/sysv/Makefile: Remove file.
2078 * sysdeps/unix/sysv/direct.h: Remove file.
2080 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2081 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2082 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2083 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2084 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2085 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2086 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2088 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2090 * sysdeps/unix/xmknod.c: Remove file.
2091 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2093 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2095 * sysdeps/unix/sysv/i386/time.S: Remove file.
2097 * sysdeps/unix/fxstat.c: Remove file.
2098 * sysdeps/unix/xstat.c: Likewise.
2099 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2101 * sysdeps/unix/sysv/sigaction.c: Remove file.
2103 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2104 (sysdep_headers): Remove variable.
2105 [termio.h not in sysdep_headers] (generated): Likewise.
2106 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2107 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2108 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2109 * sysdeps/unix/sysv/tcflow.c: Likewise.
2110 * sysdeps/unix/sysv/tcflush.c: Likewise.
2111 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2112 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2113 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2114 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2115 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2117 * sysdeps/unix/siglist.c: Remove file.
2119 * sysdeps/unix/getppid.S: Remove file.
2121 * sysdeps/unix/mkdir.c: Remove file.
2122 * sysdeps/unix/rmdir.c: Likewise.
2124 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2126 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2128 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2129 errlist-compat value.
2131 2012-04-18 David S. Miller <davem@davemloft.net>
2133 * sysdeps/generic/memcopy.h (reg_char): Delete.
2134 * debug/strcat_chk.c: Use char, not reg_char.
2135 * debug/strcpy_chk.c: Likewise.
2136 * debug/strncat_chk.c: Likewise.
2137 * debug/strncpy_chk.c: Likewise.
2138 * string/memchr.c: Likewise.
2139 * string/memrchr.c: Likewise.
2140 * string/rawmemchr.c: Likewise.
2141 * string/strcat.c: Likewise.
2142 * string/strchr.c: Likewise.
2143 * string/strchrnul.c: Likewise.
2144 * string/strcmp.c: Likewise.
2145 * string/strcpy.c: Likewise.
2146 * string/strncat.c: Likewise.
2147 * string/strncmp.c: Likewise.
2148 * string/strncpy.c: Likewise.
2150 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2152 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2153 __builtin_memcopy is called when src and dest ranges are known to not
2156 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2158 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2159 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2160 fwd_align_merge macro call.
2161 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2162 bwd_align_merge macro call.
2163 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2165 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2167 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2168 bwd_align_merge macros.
2169 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2170 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2171 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2173 2012-04-18 David S. Miller <davem@davemloft.net>
2175 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2177 2012-04-18 Andreas Jaeger <aj@suse.de>
2180 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2181 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2182 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2185 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2186 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2188 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2189 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2190 Adjust for changed ldbl-128 files.
2192 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2193 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2194 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2196 2012-04-17 David S. Miller <davem@davemloft.net>
2198 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2200 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2202 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2203 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2204 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2205 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2206 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2207 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2209 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2213 * math/libm-test.inc: Add ilogb errno and exception tests.
2214 * math/w_ilogb.c: New file: ilogb wrapper.
2215 * math/w_ilogbf.c: New file: ilogbf wrapper.
2216 * math/w_ilogbl.c: New file: ilogbl wrapper.
2217 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2218 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2219 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2220 exception being thrown with 0.0 as argument.
2221 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2222 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2223 exception being thrown with 0.0 as argument.
2224 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2225 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2226 exception being thrown with 0.0 as argument.
2227 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2228 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2229 exception being thrown with 0.0 as argument.
2230 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2231 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2232 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2233 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2234 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2235 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2236 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2237 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2238 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2240 2012-04-17 Petr Baudis <pasky@ucw.cz>
2242 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2245 2012-04-16 Marek Polacek <polacek@redhat.com>
2247 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2249 2012-04-16 Marek Polacek <polacek@redhat.com>
2251 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2252 operands of fdivp instruction.
2254 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2256 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2257 * elf/tst-auditmod3b.c: Likewise.
2258 * elf/tst-auditmod4b.c: Likewise.
2259 * elf/tst-auditmod5b.c: Likewise.
2260 * elf/tst-auditmod6b.c: Likewise.
2261 * elf/tst-auditmod6c.c: Likewise.
2262 * elf/tst-auditmod7b.c: Likewise.
2263 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2264 * sysdeps/x86_64/preconfigure.in: Likewise.
2265 * sysdeps/x86_64/preconfigure: Regenerated.
2267 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2269 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2272 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2274 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2275 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2277 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2280 * locale/iso-639.def: Fix gl language name. Spotted by
2283 2012-04-12 Roland McGrath <roland@hack.frob.com>
2286 * libio/libio.h (__io_write_fn): Update comment.
2288 2012-04-12 Petr Baudis <pasky@ucw.cz>
2291 * stdio.texi (Hook Functions): The user provided writer function
2292 is not allowed to return -1.
2294 2012-04-11 David S. Miller <davem@davemloft.net>
2296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2298 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2300 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2301 Add a leading slash to rtkaio.
2303 2012-04-11 Jim Meyering <meyering@redhat.com>
2306 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2307 It is not necessarily an error to ignore fwrite's return
2308 value. One can reliably use ferror to test for errors after
2311 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2313 * bits/types.h (__snseconds_t): New type.
2314 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2316 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2318 (__SNSECONDS_T_TYPE): Likewise.
2319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2320 (__SNSECONDS_T_TYPE): Likewise.
2321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2322 (__SNSECONDS_T_TYPE): Likewise.
2324 2012-04-10 Andreas Jaeger <aj@suse.de>
2327 * manual/time.texi (Processor Time): Return type of times is
2328 elapsed real time since an arbitrary point in the past.
2329 (CPU Time): Move CLK_TCK from here...
2330 (Processor Time): ...to here. Correct description.
2331 * manual/conf.texi (Constants for Sysconf): Correct description of
2334 2012-04-10 David S. Miller <davem@davemloft.net>
2337 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2338 where the is a gap between DT_REL(A) and DT_JMPREL.
2340 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2342 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2343 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2344 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2346 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2348 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2349 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2350 (dl_main): Handle --inhibit-cache.
2351 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2353 * elf/dl-load.c (_dl_map_object): Use it.
2354 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2356 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2359 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2360 (__ieee754_powl): Saturate large exponents rather than testing for
2361 overflow of y*log2(x).
2362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2363 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2367 * math/s_ctan.c: Include <float.h>.
2368 (__ctan): Avoid internal overflow or cancellation in calculating
2370 * math/s_ctanf.c: Likewise.
2371 * math/s_ctanl.c: Likewise.
2372 * math/s_ctanh.c: Likewise.
2373 * math/s_ctanhf.c: Likewise.
2374 * math/s_ctanhl.c: Likewise.
2375 * math/libm-test.inc (ctan_test): Add more tests.
2376 (ctanh_test): Likewise.
2377 * sysdeps/i386/fpu/libm-test-ulps: Update.
2378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2380 2012-04-09 Andreas Jaeger <aj@suse.de>
2383 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2384 is an optional BSD extension.
2387 * manual/stdio.texi (Opening Streams): Document additional fopen
2390 2012-04-09 Roland McGrath <roland@hack.frob.com>
2392 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2393 %eax without telling the compiler.
2395 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2398 * manual/install.texi: Use sourceware.org.
2400 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2403 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2404 (__ieee754_pow): Generate overflow and underflow using huge*huge
2405 and tiny*tiny rather than just returning constant infinity or zero
2406 for large exponents.
2407 * math/libm-test.inc (pow_test): Require overflow exceptions for
2408 applicable cases of large exponents.
2411 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2412 (__ieee754_pow): Use iterative multiplication algorithm only for
2413 integer exponents with absolute value below 1024. Check for odd
2414 integer exponents when using algorithm for real exponents.
2415 * math/libm-test.inc (pow_test): Add more tests.
2416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2418 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2421 * math/libm-test.inc (exp_test): Do not allow overflow exception
2424 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2427 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2428 instead of __kernel_standard_f.
2430 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2432 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2433 * sysdeps/x86_64/memset_chk.S: Likewise.
2435 2012-04-08 Andreas Jaeger <aj@suse.de>
2438 * manual/startup.texi (Environment Access): Describe return value
2439 for putenv and setenv.
2442 * manual/filesys.texi (Directory Entries): Add description for
2446 * manual/filesys.texi (Directory Entries): Clarify that it's file
2447 system not operating system in the description of DT_UNKNOWN.
2450 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2452 2012-04-08 Stephen Compall <s11@member.fsf.org>
2455 * manual/llio.texi (Opening and Closing Files): Add cross
2456 reference to explain mode argument.
2458 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2460 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2461 * sysdeps/x86_64/memset_chk.S: Likewise.
2463 2012-04-07 David S. Miller <davem@davemloft.net>
2465 * elf/elf.h (R_SPARC_WDISP10): Define.
2466 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2469 R_SPARC_SIZE64 and R_SPARC_H34.
2471 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2473 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2474 conditions and remove no longer applicable assertion.
2476 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2478 * bits/byteswap.h: Include <features.h>.
2479 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2480 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2482 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2484 * bits/byteswap.h (__bswap_16): Removed.
2485 Include <bits/byteswap-16.h> to get __bswap_16.
2486 * sysdeps/i386/bits/byteswap.h: Likewise.
2487 * sysdeps/s390/bits/byteswap.h: Likewise.
2488 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2489 * bits/byteswap-16.h: New file.
2490 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2491 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2492 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2493 * string/Makefile (headers): Add bits/byteswap-16.h.
2495 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2498 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2500 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2501 * nss/tst-nss-static.c: New.
2503 2012-04-06 Robert Millan <rmh@gnu.org>
2506 * manual/llio.texi (File Position Primitive): lseek
2507 refers to WHENCE when it really means OFFSET.
2509 2012-04-06 Andreas Jaeger <aj@suse.de>
2511 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2512 strncmp declarations.
2514 * abilist/libc.abilist: Add __poll and __ppoll.
2516 2012-04-05 David S. Miller <davem@davemloft.net>
2518 * scripts/check-local-headers.sh: Accept a host triplet in the
2519 path matched by the exclude regexp.
2521 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2523 * sysdeps/powerpc/powerpc32/dl-machine.h
2524 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2525 * sysdeps/s390/s390-32/dl-machine.h
2526 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2527 * sysdeps/sparc/sparc32/dl-machine.h
2528 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2529 * sysdeps/sparc/sparc64/dl-machine.h
2530 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2532 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2534 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2535 undefined symbol errors.
2537 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2540 2012-04-05 Michael Matz <matz@suse.de>
2543 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2545 2012-04-05 Andreas Jaeger <aj@suse.de>
2548 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2551 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2553 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2554 which ROUND is no valid rounding mode.
2556 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2558 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2560 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2562 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2564 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2565 an exception using FPU order intentionally.
2567 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2569 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2570 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2571 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2572 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2574 2012-04-05 Simon Josefsson <simon@josefsson.org>
2577 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2578 EINVAL when BUFLEN is too smal.
2580 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2583 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2584 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2586 2012-04-03 Andreas Jaeger <aj@suse.de>
2589 * manual/setjmp.texi (System V contexts): Fix sentence.
2592 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2593 New macro for this case.
2594 [!__GNUC__] (__bswap_64): New inline function for this case.
2595 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2596 * bits/byteswap.h: Likewise.
2597 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2598 ull, guard with __GLIBC_HAVE_LONG_LONG.
2600 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2601 __GLIBC_HAVE_LONG_LONG.
2603 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2604 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2606 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2609 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2610 inptr and inend, rather than using last_ch.
2612 2012-04-02 David S. Miller <davem@davemloft.net>
2614 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2615 * stdio-common/printf-parse.h (read_int): Change return type to
2616 'int', return -1 on INT_MAX overflow.
2617 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2618 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2619 overflows INT_MAX. Check for overflow of in-format-string precision
2620 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2621 SIZE_MAX not INT_MAX for integer overflow test.
2622 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2623 skip the construct in the format string but do not record anything.
2624 * stdio-common/bug22.c: Adjust to test both width/prevision
2625 INT_MAX overflow as well as total length INT_MAX overflow. Check
2626 explicitly for proper errno values.
2628 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2630 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2632 * string/test-strcmp.c [! WIDE]: Likewise.
2633 * time/tst-mktime2.c: Likewise for INT_MAX.
2634 * string/test-string.h: #include <sys/param.h> for MIN.
2636 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2637 * sysdeps/i386/init-first.c (init): Likewise.
2638 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2639 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2640 * sysdeps/sh/init-first.c (init): Likewise.
2642 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2644 * po/ru.po: Update from translation team.
2645 * po/vi.po: Likewise.
2647 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2649 * resolv/nss_dns/dns-host.c: Merge copyright years.
2651 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2653 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2654 Optimize memcpy with prefetch if
2655 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2656 src, dst pointers have unequal 16 byte alignments.
2658 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2661 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2662 from a CNAME entry and return the minimum ttl for the query.
2663 (gaih_getanswer_slice): Likewise.
2665 2012-03-30 Jeff Law <law@redhat.com>
2667 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2669 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2670 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2672 * resolv/nss_dns/dns-host.c: Update copyright year.
2674 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2676 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2677 requests to save a system call. Fix check that all bytes are sent.
2679 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2680 comments for sendmmsg.
2682 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2685 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2686 with only 1 character between 0x0041 and 0x01b0.
2687 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2688 * wcsmbs/tst-mbsnrtowcs.c: New file.
2690 2012-03-29 David S. Miller <davem@davemloft.net>
2692 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2693 small copies by hand.
2695 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2698 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2699 _nss_compat_initgroups_dyn): Fall back to malloc/free
2700 for large group memberships.
2702 2012-03-28 David S. Miller <davem@davemloft.net>
2704 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2705 that branches into memcpy.
2706 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2708 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2709 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2712 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2714 * sysdeps/sparc/mempcpy.S: New file.
2716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2717 the IFUNC routine in the libc case.
2718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2720 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2721 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2722 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2723 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2724 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2725 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2726 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2727 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2729 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2730 loop to 256 bytes instead of 64 bytes and fix test signedness.
2732 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2733 * sysdeps/sparc/sparc32/Makefile: rather than here...
2734 * sysdeps/sparc/sparc64/Makefile: and here.
2736 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2738 * malloc/mallocbug.c: Avoid warnings about unused variables.
2740 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2743 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2744 in the right place. Discard and retry query if response is
2745 larger than input buffer size.
2747 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2752 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2753 x for large integer exponent.
2754 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2755 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2756 sign of result as needed afterwards.
2757 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2758 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2759 result for underflowing pow the same as for overflow.
2760 (__kernel_standard_l): Handle powl overflow and underflow here
2761 rather than calling __kernel_standard.
2762 * math/libm-test.inc (pow_test): Add more tests.
2777 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2778 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2779 (__kernel_standard_l): New function.
2780 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2782 * math/w_acosl.c (__acosl): Likewise.
2783 * math/w_asinl.c (__asinl): Likewise.
2784 * math/w_atan2l.c (__atan2l): Likewise.
2785 * math/w_atanhl.c (__atanhl): Likewise.
2786 * math/w_coshl.c (__coshl): Likewise.
2787 * math/w_exp10l.c (__exp10l): Likewise.
2788 * math/w_exp2l.c (__exp2l): Likewise.
2789 * math/w_fmodl.c (__fmodl): Likewise.
2790 * math/w_hypotl.c (__hypotl): Likewise.
2791 * math/w_j0l.c (__j0l, __y0l): Likewise.
2792 * math/w_j1l.c (__j1l, __y1l): Likewise.
2793 * math/w_jnl.c (__jnl, __ynl): Likewise.
2794 * math/w_lgammal.c (__lgammal): Likewise.
2795 * math/w_log10l.c (__log10l): Likewise.
2796 * math/w_log2l.c (__log2l): Likewise.
2797 * math/w_logl.c (__logl): Likewise.
2798 * math/w_powl.c (__powl): Likewise.
2799 * math/w_remainderl.c (__remainderl): Likewise.
2800 * math/w_scalbl.c (sysv_scalbl): Likewise.
2801 * math/w_sinhl.c (__sinhl): Likewise.
2802 * math/w_sqrtl.c (__sqrtl): Likewise.
2803 * math/w_tgammal.c (__tgammal): Likewise.
2804 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2805 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2806 * math/libm-test.inc (acos_test): Add more tests.
2807 (acosh_test): Likewise.
2808 (asin_test): Likewise.
2809 (atanh_test): Likewise.
2810 (exp_test): Likewise.
2811 (exp10_test): Likewise.
2812 (exp2_test): Likewise.
2813 (expm1_test): Likewise.
2814 (lgamma_test): Likewise.
2815 (log_test): Likewise.
2816 (log10_test): Likewise.
2817 (log1p_test): Likewise.
2818 (log2_test): Likewise.
2819 (pow_test): Do not allow some spurious overflow exceptions.
2820 (sqrt_test): Add more tests.
2821 (tgamma_test): Likewise.
2822 (y0_test): Likewise.
2823 (y1_test): Likewise.
2824 (yn_test): Likewise.
2826 2012-03-27 Anton Blanchard <anton@samba.org>
2828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2830 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2831 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2834 2012-03-27 David S. Miller <davem@davemloft.net>
2836 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2838 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2841 2012-03-27 Andreas Jaeger <aj@suse.de>
2843 * sysdeps/x86_64/elf/configure.in: Moved to ...
2844 * sysdeps/x86_64/configure.in: ... here.
2845 * sysdeps/x86_64/elf/start.S: Moved to ...
2846 * sysdeps/x86_64/start.S: ... here.
2847 * sysdeps/x86_64/elf/configure: Delete.
2849 * sysdeps/x86_64/configure.in: Merge contents from
2850 sysdeps/i386/configure.in (without i686 check).
2852 * sysdeps/i386/elf/Versions: Merge into ...
2853 * sysdeps/i386/Versions: ... this.
2854 * sysdeps/i386/elf/Versions: Delete file.
2855 * sysdeps/i386/elf/start.S: Moved to ...
2856 * sysdeps/i386/start.S: ...here.
2857 * sysdeps/i386/elf/configure.in: Merge into...
2858 * sysdeps/i386/configure.in: ...here.
2859 * sysdeps/i386/elf/configure.in: Delete file.
2860 * sysdeps/i386/elf/configure: Delete file.
2862 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2863 * debug/backtracesyms.c: ... here.
2864 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2865 * debug/backtracesymsfd.c: ... here.
2866 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2867 * sysdeps/generic/ifunc-sel.h: ... here.
2869 * sysdeps/unix/i386/start.c: Delete file.
2870 * sysdeps/unix/sparc/start.c: Delete file.
2871 * sysdeps/unix/start.c: Delete file.
2873 * sysdeps/sh/elf/configure.in: Moved to ...
2874 * sysdeps/sh/configure.in: ... here.
2875 * sysdeps/sh/elf/start.S: Moved to ...
2876 * sysdeps/sh/start.S: ... here.
2877 * sysdeps/sh/elf/configure: Delete file.
2879 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2880 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2881 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2882 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2883 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2884 * sysdeps/powerpc/powerpc64/start.S: here.
2885 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2886 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2887 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2888 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2889 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2891 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2892 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2893 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2894 * sysdeps/powerpc/powerpc32/start.S: ... here.
2895 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2896 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2897 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2899 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2900 * sysdeps/powerpc/ifunc-sel.h: ... here.
2901 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2902 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2904 * sysdeps/sparc/elf/configure.in: Moved to ...
2905 * sysdeps/sparc/configure.in: ... here.
2906 * sysdeps/sparc/elf/configure: Delete file.
2907 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2908 * sysdeps/sparc/sparc32/start.S: ... here.
2909 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2910 * sysdeps/sparc/sparc64/start.S: ... here.
2911 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2912 * sysdeps/sparc/sparc32/Makefile: ... this.
2913 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2914 * sysdeps/sparc/sparc64/Makefile: ... this.
2916 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2917 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2918 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2919 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2920 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2921 * sysdeps/s390/s390-32/setjmp.S: ... here.
2922 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2923 * sysdeps/s390/s390-32/configure.in: ... here.
2924 * sysdeps/s390/s390-32/elf/configure: Delete file.
2925 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2926 * sysdeps/s390/s390-32/start.S: ... here.
2928 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2929 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2930 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2931 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2932 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2933 * sysdeps/s390/s390-64/setjmp.S: ... here.
2934 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2935 * sysdeps/s390/s390-64/configure.in: ... here
2936 * sysdeps/s390/s390-64/elf/configure: Delete file.
2937 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2938 * sysdeps/s390/s390-64/start.S: ... here.
2939 * sysdeps/s390/s390-64/elf/configure: Delete.
2941 * configure.in: Remove support for elf directories in sysdeps.
2943 * configure: Regenerated.
2944 * sysdeps/i386/configure: Regenerated.
2945 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2946 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2947 * sysdeps/s390/s390-32/configure: Regenerated.
2948 * sysdeps/s390/s390-64/configure: Regenerated.
2949 * sysdeps/sh/configure: Regenerated.
2950 * sysdeps/sparc/configure: Regenerated.
2951 * sysdeps/x86_64/configure: Regenerated.
2953 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2957 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2958 denormal result into account.
2960 2012-03-25 Roland McGrath <roland@hack.frob.com>
2962 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2963 Reported by Allan McRae <allan@archlinux.org>.
2965 2012-03-23 Jeff Law <law@redhat.com>
2967 * nss/getnssent.c (__nss_getent): Fix typo.
2969 2012-03-23 David S. Miller <davem@davemloft.net>
2971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2973 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2975 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2976 to pad to uint64_t for each field.
2977 (dl_tls_index): Replace unsigned long with uint64_t.
2979 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2980 Paul Pluzhnikov <ppluzhnikov@google.com>
2983 * grp/Makefile (otherlibs): Don't set it.
2984 * inet/Makefile (otherlibs): Likewise.
2985 * login/Makefile (otherlibs): Likewise.
2986 * nscd/Makefile (otherlibs): Likewise.
2987 * posix/Makefile (otherlibs): Likewise.
2988 * pwd/Makefile (otherlibs): Likewise.
2989 * rt/Makefile (otherlibs): Likewise.
2990 * sunrpc/Makefile (otherlibs): Likewise.
2991 * nss/Makefile (otherlibs): Likewise.
2992 Add libnss_files to routines and static-only-routines.
2993 ($(objpfx)getent): Remove rule.
2994 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2995 static-only-routines.
2997 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3000 * math/s_cexp.c: Include <float.h>.
3001 (__cexp): Handle exp result overflowing not necessarily
3002 overflowing both real and imaginary parts of result.
3003 * math/s_cexpf.c: Likewise.
3004 * math/s_cexpl.c: Likewise.
3005 * math/libm-test.inc (cexp_test): Add more tests.
3006 * sysdeps/i386/fpu/libm-test-ulps: Update.
3007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3009 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3011 * include/link.h (ELFW): New macro.
3012 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3013 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3015 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3017 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3020 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3022 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3024 (struct La_x32_retval): Likewise.
3026 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3028 * sysdeps/x86_64/preconfigure.in: New file.
3029 * sysdeps/x86_64/preconfigure: New generated file.
3031 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3034 * math/e_exp2l.c: Include <float.h>.
3035 (__ieee754_exp2l): Handle overflow and underflow cases
3036 separately. Only pass fractional part of argument to
3038 * math/libm-test.inc (exp2_test): Add more tests.
3040 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3041 negating x to take absolute value.
3042 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3044 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3047 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3048 computing low part if x was negated.
3049 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3051 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3053 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3055 (pltexit): Cast int_retval to ptrdiff_t.
3056 * elf/tst-auditmod3b.c: Likewise.
3057 * elf/tst-auditmod4b.c: Likewise.
3058 * elf/tst-auditmod5b.c: Likewise.
3059 * elf/tst-auditmod6b.c: Likewise.
3060 * elf/tst-auditmod6c.c: Likewise.
3061 * elf/tst-auditmod7b.c: Likewise.
3063 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3064 and x32_gnu_pltexit.
3066 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3068 (La_x32_regs): New macro.
3069 (La_x32_retval): Likewise.
3070 (la_x32_gnu_pltenter): New function prototype.
3071 (la_x32_gnu_pltexit): Likewise.
3073 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3075 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3080 * configure.in (libc_cv_cc_nofma): Check for option to disable
3081 generation of FMA instructions.
3082 * configure: Regenerate.
3083 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3084 * sysdeps/ieee754/dbl-64/Makefile: New file.
3085 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3086 Remove brandred-fma4.
3087 (CFLAGS-brandred-fma4.c): Remove.
3088 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3089 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3091 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3094 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3096 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3097 LLONG_MAX != LONG_MAX.
3098 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3099 (_fitoa_word): Likewise.
3100 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3101 LLONG_MAX != LONG_MAX.
3102 * stdio-common/_itowa.h: Include <_itoa.h>.
3103 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3104 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3105 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3106 only if not defined.
3107 (_ITOA_WORD_TYPE): Likewise.
3108 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3109 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3111 2012-03-21 David S. Miller <davem@davemloft.net>
3113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3115 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3117 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3118 of x86_64 when setting libc_cv_slibdir, libdir and
3120 * sysdeps/unix/sysv/linux/configure: Regenerated.
3122 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3124 * manual/lang.texi (Old Varargs): Remove section.
3125 (How Variadic): Update menu.
3126 (va_start): Do not mention varargs.h.
3128 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3129 Joseph Myers <joseph@codesourcery.com>
3131 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3133 * configure: Regenerated.
3135 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3137 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3138 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3141 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3144 * Makefile (files-for-dist): Remove NOTES.
3145 (NOTES): Remove rule.
3146 * README: Don't refer to NOTES.
3147 * manual/creature.texi: Don't include macros.texi.
3148 * manual/intro.texi (creature.texi): Remove comment referring to
3151 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3152 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3153 * configure: Regenerated.
3154 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3156 (libc_cv_as_i686): Likewise.
3157 (libc_cv_cc_avx): Likewise.
3158 (libc_cv_cc_sse2avx): Likewise.
3159 (libc_cv_cc_fma4): Likewise.
3160 (libc_cv_cc_novzeroupper): Likewise.
3161 * sysdeps/i386/configure: Regenerated.
3164 * sysdeps/i386/fpu/s_cexp.S: Remove.
3165 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3166 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3167 * math/libm-test.inc (cexp_test): Add more tests.
3168 * sysdeps/i386/fpu/libm-test-ulps: Update.
3169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3171 2012-03-21 Allan McRae <allan@archlinux.org>
3173 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3175 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3178 * math/w_exp2.c: Do not include <float.h>.
3179 (o_threshold, u_threshold): Remove.
3180 (__exp2): Calculate result before checking finiteness and calling
3182 * math/w_exp2f.c: Likewise.
3183 * math/w_exp2l.c: Likewise.
3184 * math/libm-test.inc (exp2_test): Require overflow exception for
3188 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3189 range of signed 64-bit integers before using fistpll. Remove
3190 checks for whether integers fit in mantissa bits.
3191 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3192 the range of signed 32-bit integers before using fistpl. Remove
3193 checks for whether integers fit in mantissa bits.
3194 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3195 (__ieee754_powl): Test for y outside the range of signed 64-bit
3196 integers before using fistpll. Reduce 64-bit values to 63-bit
3198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3199 divide-by-zero is raised for zero to large negative powers.
3200 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3201 (__ieee754_powl): Test for y outside the range of signed 64-bit
3202 integers before using fistpll. Reduce 64-bit values to 63-bit
3204 * math/libm-test.inc (pow_test): Add more tests.
3206 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3208 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3209 <stdio-common/_itoa.h>.
3210 * debug/segfault.c: Likewise.
3211 * elf/dl-cache.c: Likewise.
3212 * elf/dl-minimal.c: Likewise.
3213 * elf/dl-misc.c: Likewise.
3214 * elf/dl-sysdep.c: Likewise.
3215 * elf/dl-version.c: Likewise.
3216 * elf/rtld.c: Likewise.
3217 * hurd/hurdsock.c: Likewise.
3218 * hurd/lookup-retry.c: Likewise.
3219 * malloc/malloc.c: Likewise.
3220 * malloc/mtrace.c: Likewise.
3221 * nscd/nscd_getgr_r.c: Likewise.
3222 * nscd/nscd_getpw_r.c: Likewise.
3223 * nscd/nscd_getserv_r.c: Likewise.
3224 * posix/getopt_init.c: Likewise.
3225 * posix/wordexp.c: Likewise.
3226 * stdio-common/_itoa.c: Likewise.
3227 * stdio-common/printf_fphex.c: Likewise.
3228 * stdio-common/vfprintf.c: Likewise.
3229 * string/_strerror.c: Likewise.
3230 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3231 * sysdeps/i386/i686/hp-timing.h: Likewise.
3232 * sysdeps/mach/_strerror.c: Likewise.
3233 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3234 * sysdeps/mach/hurd/sethostid.c: Likewise.
3235 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3236 * sysdeps/mach/xpg-strerror.c: Likewise.
3237 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3238 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3239 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3240 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3241 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3242 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3243 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3244 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3245 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3246 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3247 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3248 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3249 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3250 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3251 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3252 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3253 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3254 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3255 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3256 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3257 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3259 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3261 * stdio-common/_itoa.h: Moved to ...
3262 * sysdeps/generic/_itoa.h: Here.
3264 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3266 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3267 instead of "_itoa.h" and "_itowa.h".
3268 * stdio-common/vfprintf.: Likewise.
3270 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3272 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3274 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3275 (__signbit): Likwise.
3279 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3281 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3284 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3286 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3287 OVERFLOW_EXCEPTION_OK.
3288 * math/libm-test.inc ("Philosophy"): Update comment about
3290 (OVERFLOW_EXCEPTION): Define.
3291 (OVERFLOW_EXCEPTION_OK): Likewise.
3292 (INVALID_EXCEPTION_OK): Renumber.
3293 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3294 (IGNORE_ZERO_INF_SIGN): Likewise.
3295 (test_exceptions): Handle FE_OVERFLOW.
3296 (exp10_test): Expect overflow exceptions.
3297 (exp2_test): Likewise.
3298 (expm1_test): Likewise.
3299 (nextafter_test): Likewise.
3300 (pow_test): Likewise.
3301 (scalbn_test): Likewise.
3302 (scalbln_test): Likewise.
3304 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3306 * sysdeps/x86_64/bits/atomic.h
3307 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3309 (atomic_exchange_acq): Likewise.
3310 (__arch_exchange_and_add_body): Likewise.
3311 (__arch_add_body): Likewise.
3312 (atomic_add_negative): Likewise.
3313 (atomic_add_zero): Likewise.
3315 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3317 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3318 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3320 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3322 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3323 Check __x86_64__ instead of __WORDSIZE.
3325 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3327 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3329 2012-03-19 David S. Miller <davem@davemloft.net>
3331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3333 * sysdeps/sparc/fpu/fenv_private.h: New file.
3334 * sysdeps/sparc/fpu/math_private.h: Use it.
3335 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3337 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3338 (libc_feholdexcept_setroundl): Remove.
3339 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3341 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3342 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3344 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3346 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3347 int64_t instead of long int.
3348 (INSERT_WORDS64): Likwise.
3350 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3352 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3353 _Unwind_GetCFA return to _Unwind_Ptr first.
3355 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3358 * math/s_clog.c: Include <float.h>.
3359 (__clog): Scale large or subnormal inputs.
3360 * math/s_clogf.c: Likewise.
3361 * math/s_clogl.c: Likewise.
3362 * math/s_clog10.c: Include <float.h>.
3363 (M_LOG10_2): Define.
3364 (__clog10): Scale large or subnormal inputs.
3365 * math/s_clog10f.c: Likewise.
3366 * math/s_clog10l.c: Likewise.
3367 * math/libm-test.inc (clog_test): Add more tests.
3368 (clog10_test): Likewise.
3369 * sysdeps/i386/fpu/libm-test-ulps: Update.
3370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3373 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3375 * math/libm-test.inc (atan2_test): Add another test.
3377 * Makerules (common-objdir-compile): Remove.
3378 * sysdeps/unix/Makefile (config-generated): Do not add
3379 $(unix-generated) to variable.
3380 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3381 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3383 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3385 [generic bits/local_lim.h] (before-compile): Do not append to
3387 [generic bits/local_lim.h] (common-generated): Likewise.
3388 [generic sys/param.h] (before-compile): Do not append to variable.
3389 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3390 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3391 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3392 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3394 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3395 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3396 [generic sys/param.h] ($(addprefix
3397 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3398 [generic sys/param.h] (common-generated): Do not append to
3400 [generic sys/param.h] (sysdep_headers): Likewise.
3401 [generic bits/errno.h] (before-compile): Do not append to
3403 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3405 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3406 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3407 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3408 [generic bits/errno.h] (common-generated): Do not append to
3410 [generic bits/ioctls.h] (before-compile): Do not append to
3412 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3414 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3415 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3416 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3418 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3419 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3420 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3421 [generic bits/ioctls.h] (common-generated): Do not append to
3423 [generic sys/syscall.h] (syscall.h): Remove variable.
3424 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3426 [generic sys/syscall.h] (before-compile): Do not append to
3428 [generic sys/syscall.h] (common-generated): Likewise.
3429 * sysdeps/unix/errnos-tmpl.c: Remove file.
3430 * sysdeps/unix/errnos.awk: Likewise.
3431 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3432 * sysdeps/unix/ioctls.awk: Likewise.
3433 * sysdeps/unix/mk-local_lim.c: Likewise.
3434 * sysdeps/unix/snarf-ioctls: Likewise.
3436 2012-03-19 Richard Henderson <rth@twiddle.net>
3438 * sysdeps/i386/fpu/fenv_private.h: New file.
3439 * sysdeps/i386/fpu/math_private.h: Use it.
3440 (math_opt_barrier, math_force_eval): Remove.
3441 (libc_feholdexcept_setround_53bit): Remove.
3442 (libc_feupdateenv_53bit): Remove.
3443 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3444 (math_opt_barrier, math_force_eval): Remove.
3445 (libc_feholdexcept): Remove.
3446 (libc_feholdexcept_setround): Remove.
3447 (libc_fetestexcept, libc_fesetenv): Remove.
3448 (libc_feupdateenv_test): Remove.
3449 (libc_feupdateenv, libc_feholdsetround): Remove.
3450 (libc_feresetround): Remove.
3452 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3453 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3455 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3456 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3457 (libc_feupdateenv_testl): New.
3458 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3459 (libc_feupdateenv_testf): New.
3460 (libc_feupdateenv): Use libc_feupdateenv_test.
3461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3462 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3464 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3465 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3466 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3467 (libc_feresetround_noex): New.
3468 (libc_feresetround_noexf): New.
3469 (libc_feresetround_noexl): New.
3470 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3471 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3472 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3473 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3476 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3478 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3479 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3480 SET_RESTORE_ROUND_NOEX.
3481 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3482 SET_RESTORE_ROUND_NOEXF.
3483 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3484 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3485 (libc_feholdsetroundf): New.
3486 (libc_feresetround, libc_feresetroundf): New.
3488 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3489 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3490 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3492 * sysdeps/generic/math_private.h: Include <fenv.h>.
3493 (default_libc_feholdexcept): New.
3494 (default_libc_feholdexcept_setround): New.
3495 (default_libc_fesetenv, default_libc_feupdateenv): New.
3496 (libc_feholdexcept): Only define if undefined.
3497 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3498 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3499 (libc_feholdexcept_setroundl): Likewise.
3500 (libc_feholdexcept_setround_53bit): Likewise.
3501 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3502 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3503 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3504 (libc_feupdateenv_53bit): Likewise.
3505 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3506 (libc_feholdexcept): Convert from macro to inline function.
3507 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3508 (libc_fesetenv, libc_feupdateenv): Likewise.
3510 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3511 not previously defined.
3512 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3513 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3514 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3515 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3516 * sysdeps/ieee754/flt-32/math_private.h: New file.
3517 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3518 math_private.h below SET_FLOAT_WORD.
3519 (__isnan, __isinf_ns, __finite): Remove.
3520 (__isnanf, __isinf_nsf, __finitef): Remove.
3522 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3526 2012-03-17 David S. Miller <davem@davemloft.net>
3529 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3532 2012-03-16 David S. Miller <davem@davemloft.net>
3534 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3538 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3540 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3541 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3542 sysdep_routines when subdir is sysvipc.
3543 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3546 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3548 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3550 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3553 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3555 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3556 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3557 (__lround): Renamed to ...
3558 (__llround): This. Replace long int with long long int.
3559 Define lround functions as aliases of llround functions.
3560 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3562 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3564 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3565 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3566 adresses to uintptr_t. Replace "long int" and "unsigned long
3567 int" with "greg_t" on va_arg.
3569 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3571 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3572 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3574 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3575 Move e_machine check before EI_CLASS check. Handle x32
3576 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3577 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3578 SKIP_EM_IA_64 and include
3579 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3581 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3582 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3583 (add_system_dir): New macro.
3585 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3586 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3588 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3599 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3601 * math/w_j0f.c (j0f): Likewise.
3603 * math/w_j0l.c (__j0l): Likewise.
3605 * math/w_j1.c (j1): Likewise.
3607 * math/w_j1f.c (j1f): Likewise.
3609 * math/w_j1l.c (__j1l): Likewise.
3611 * math/w_jn.c (jn): Likewise.
3613 * math/w_jnf.c (jnf): Likewise.
3615 * math/w_jnl.c (__jnl): Likewise.
3617 * math/libm-test.inc (j0_test): Add more tests.
3618 (j1_test): Likewise.
3619 (jn_test): Likewise. Add trailing semicolon to existing test.
3620 (y0_test): Likewise.
3621 (y1_test): Likewise.
3622 * sysdeps/i386/fpu/libm-test-ulps: Update.
3623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3628 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3629 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3630 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3631 (__tanl): Set errno for infinite argument.
3632 * sysdeps/i386/fpu/mptan.c: Remove.
3633 * sysdeps/i386/fpu/s_tan.S: Likewise.
3634 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3635 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3636 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3637 * math/libm-test.inc (tan_test): Add more tests and enable more
3638 tests for double and long double.
3639 * sysdeps/i386/fpu/libm-test-ulps: Update.
3640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3642 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3644 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3645 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3647 2012-03-16 Roland McGrath <roland@hack.frob.com>
3649 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3650 * configure.in: Use it for both main tree and add-ons.
3651 * configure: Regenerated.
3653 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3655 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3657 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3659 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3663 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3664 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3669 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3672 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3673 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3674 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3675 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3676 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3677 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3678 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3679 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3680 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3681 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3682 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3683 * math/libm-test.inc (cos_test): Add more tests and enable more
3684 tests for long double.
3685 (sin_test): Likewise.
3686 (sincos_test): Likewise.
3687 * sysdeps/i386/fpu/libm-test-ulps: Update.
3688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690 2012-03-16 David S. Miller <davem@davemloft.net>
3692 * sysdeps/sparc/fpu/math_private.h: New file.
3694 2012-03-15 David S. Miller <davem@davemloft.net>
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3710 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3711 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3713 * sysdeps/sparc/sparc-ifunc.h: New file.
3714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3759 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3761 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3765 2012-03-15 Andreas Jaeger <aj@suse.de>
3768 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3769 ieee754/flt-32 implementation for sin, cos and sincos.
3770 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3771 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3772 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3773 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3774 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3775 ieee754/flt-32 implementation for tan.
3777 * math/libm-test.inc (cos_test): Enable some large input tests for
3779 (sin_test): Likewise.
3780 (sincos_test): Likewise.
3781 (tan_test): Add tests for large input.
3783 * sysdeps/i386/fpu/libm-test-ulps: Update.
3785 2012-03-15 Andreas Jaeger <aj@suse.de>
3788 * math/libm-test.inc (cos_test): Add more test cases.
3789 (sin_test): Likewise.
3790 (sincos_test): Likewise.
3792 2012-03-15 Andreas Jaeger <aj@suse.de>
3795 * math/libm-test.inc (cos_test): Add a test case for large input
3797 (sin_test): Likewise.
3798 (sincos_test): Likewise.
3800 2012-03-15 Andreas Jaeger <aj@suse.de>,
3801 Joseph Myers <joseph@codesourcery.com>
3804 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3805 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3806 * sysdeps/i386/fpu/branred.c: Likewise.
3807 * sysdeps/i386/fpu/dosincos.c: Likewise.
3808 * sysdeps/i386/fpu/mpa.c: Likewise.
3809 * sysdeps/i386/fpu/s_cos.S: Likewise.
3810 * sysdeps/i386/fpu/s_sin.S: Likewise.
3811 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3812 * sysdeps/i386/fpu/sincos32.c: Likewise.
3814 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3816 (libc_feupdateenv_53bit): Define.
3817 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3819 (libc_feupdateenv_53bit): Define.
3821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3822 53 bit (without extend i386 double precision).
3824 * math/libm-test.inc (sincos_test): Add tests for large input.
3828 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3830 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3834 2012-03-15 David S. Miller <davem@davemloft.net>
3836 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3837 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3838 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3839 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3864 fmin/fmax sysdep routines.
3865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3867 2012-03-14 David S. Miller <davem@davemloft.net>
3869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3873 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3874 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3876 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3889 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3890 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3893 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3941 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3946 * sysdeps/sparc/configure.in: New file.
3947 * sysdeps/sparc/configure: Generate.
3948 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3949 * configure: Regenerate.
3950 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3951 * config.make.in (have-as-vis3): New.
3952 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3953 available use -Av9d instead of -Av9a.
3954 * sysdeps/sparc/sparc64/Makefile: Likewise.
3955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3965 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3966 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3970 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3971 fzeros/fnegs to load 0x80000000 into a float register instead of
3973 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3975 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3979 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3980 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3981 ($(inst_includedir)/bits/syscall.h): Remove rule.
3982 ($(objpfx)bits/syscall.d): Include instead of
3983 $(objpfx)syscall-list.d.
3984 (generated): Change syscall-list.h and syscall-list.d to
3985 bits/syscall.h and bits/syscall.d.
3987 2012-03-14 Roland McGrath <roland@hack.frob.com>
3990 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3992 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3995 * math/s_csqrt.c: Include <float.h>.
3996 (__csqrt): Scale large or subnormal inputs.
3997 * math/s_csqrtf.c: Likewise.
3998 * math/s_csqrtl.c: Likewise.
3999 * math/libm-test.inc (csqrt_test): Add more tests.
4000 * sysdeps/i386/fpu/libm-test-ulps: Update.
4001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4004 * math/libm-test.inc (hypot_test): Add more tests.
4006 2012-03-13 David S. Miller <davem@davemloft.net>
4009 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4010 double-precision for the calculation instead of scaling.
4012 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4014 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4015 manipulate bits before adding and subtracting TWO52[sx].
4016 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4017 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4019 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4021 2012-03-13 David S. Miller <davem@davemloft.net>
4023 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4024 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4026 rtld-global-offsets.h
4027 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4029 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4032 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4034 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4035 'err' in the ifdef scope in which it is actually used.
4037 * nss/nss_db/db-init.c: Include string.h
4039 2012-03-12 David S. Miller <davem@davemloft.net>
4041 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4042 masking out of the most significant byte of random value used.
4043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4044 Fix coding style in previous change.
4046 * sysdeps/unix/sysv/linux/kernel-features.h
4047 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4048 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4050 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4053 2012-03-11 David S. Miller <davem@davemloft.net>
4055 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4056 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4057 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4058 for 'resultvar' otherwise things get truncated on 64-bit.
4060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4061 Fix masking out of the most significant byte of random value used.
4063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4065 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4069 2012-03-09 David S. Miller <davem@davemloft.net>
4071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4072 variables with appropriate CPP guards.
4073 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4074 frame pointer, not the stack pointer. Correct layout comments. Fix test
4075 on resulting framesize and the management of the outregs buffer for pltexit.
4076 Preserve floating point return values across _dl_call_pltexit call.
4077 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4078 framesize and the management of the outregs buffer for pltexit.
4079 Preserve floating point return values across _dl_call_pltexit
4081 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4082 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4083 (print_exit): Fix format string for return register value.
4085 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4087 * sunrpc/Makefile (others): Add rpcgen.
4088 ($(objpfx)rpcgen): Remove special build rule and dependency on
4090 * sunrpc/rpcgen.c: New file.
4092 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4095 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4096 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4097 * sysdeps/i386/crti.S: Likewise.
4098 * sysdeps/i386/crtn.S: Likewise.
4099 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4100 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4101 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4102 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4103 * sysdeps/sh/crti.S: Likewise.
4104 * sysdeps/sh/crtn.S: Likewise.
4105 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4108 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4110 * locale/programs/locfile-kw.gperf: Likewise.
4111 * locale/programs/charmap-kw.h: Regenerated.
4112 * locale/programs/locfile-kw.h: Likewise.
4115 * intl/plural.y: Replace FSF snail mail address with URL.
4116 * intl/plural.c: Regenerated.
4118 2012-03-09 Richard Henderson <rth@twiddle.net>
4120 * include/math_private.h: Remove file.
4121 * math/math_private.h: Move file ...
4122 * sysdeps/generic/math_private.h: ... here.
4124 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4125 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4126 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4128 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4129 and <math_private.h>.
4130 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4131 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4132 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4133 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4134 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4135 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4136 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4138 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4139 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4142 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4147 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4151 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4155 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4218 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4219 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4220 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4221 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4222 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4223 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4224 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4225 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4226 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4227 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4228 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4229 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4230 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4231 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4232 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4233 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4234 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4235 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4236 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4237 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4238 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4239 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4240 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4241 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4242 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4243 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4244 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4245 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4246 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4247 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4248 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4249 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4250 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4251 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4252 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4253 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4254 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4255 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4256 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4257 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4258 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4259 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4260 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4261 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4262 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4263 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4264 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4265 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4266 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4267 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4268 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4269 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4270 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4271 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4272 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4273 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4274 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4275 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4276 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4277 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4278 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4279 * sysdeps/ieee754/k_standard.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4395 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4399 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4400 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4402 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4407 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4412 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4428 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4429 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4430 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4440 * sysdeps/ieee754/s_lib_version.c: Likewise.
4441 * sysdeps/ieee754/s_matherr.c: Likewise.
4442 * sysdeps/ieee754/s_signgam.c: Likewise.
4443 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4444 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4445 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4446 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4447 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4448 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4449 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4450 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4451 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4452 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4453 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4454 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4455 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4456 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4457 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4458 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4459 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4460 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4461 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4465 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4467 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4468 * sunrpc/rpc_main.c: Likewise.
4469 * sunrpc/rpc_svcout.c: Likewise.
4471 2012-03-09 David S. Miller <davem@davemloft.net>
4473 * include/math_private.h: New file.
4475 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4477 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4478 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4479 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4480 from <bits/socket_type.h>.
4481 (enum __socket_type): Don't define here.
4482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4487 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4490 * Makerules ($(inst_includedir)/%.h): New rule.
4491 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4492 (install-others): Remove variable setting.
4493 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4495 2012-03-08 Richard Henderson <rth@twiddle.net>
4497 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4498 from macro to inline function; merge with the
4499 !__LIBC_INTERNAL_MATH_INLINES version.
4500 (__ieee754_sqrtf): Likewise.
4502 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4504 (__rintf, __floor, __floorf): Likewise.
4506 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4507 macro to inline function.
4508 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4510 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4511 not <math/math_private.h>.
4513 2012-03-08 David S. Miller <davem@davemloft.net>
4515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4517 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4519 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4521 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4523 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4524 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4526 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4528 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4529 be defined individually, they must be defined as a block. Define
4530 S for printing a string instead of hidint the different by using a
4531 macro for adding the 'l'.
4532 * stdio-common/tst-fphex-wide.c: Adjust.
4534 2012-03-07 Marek Polacek <polacek@redhat.com>
4536 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4538 2012-03-08 Marek Polacek <polacek@redhat.com>
4541 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4542 * stdio-common/tst-fphex.c: Define a few macros to make the
4543 test reusable. Use them.
4544 * stdio-common/tst-fphex-wide.c: New file.
4546 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4549 * manual/macros.texi (gnusystems): New macro.
4550 (nongnusystems): Likewise.
4551 (gnulinuxhurdsystems): Likewise.
4552 (gnuhurdsystems): Likewise..
4553 (gnulinuxsystems): Likewise.
4554 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4555 variants of the GNU system, not "GNU system".
4556 * manual/conf.texi: Likewise.
4557 * manual/errno.texi: Likewise. Update example of errno macro
4559 * manual/filesys.texi: Likewise.
4560 (getumask): Document as specific to GNU/Hurd.
4561 * manual/install.texi: Likewise. Reword some references to
4563 * manual/intro.texi: Likewise.
4564 * manual/io.texi: Likewise.
4565 (File Name Portability): Detail which constraints are inapplicable
4566 to all GNU systems and which are only inapplicable to GNU/Hurd.
4567 * manual/job.texi: Likewise.
4568 * manual/llio.texi: Likewise.
4569 (O_NOCTTY): Document as present on GNU/Linux.
4570 * manual/maint.texi: Likewise.
4571 * manual/memory.texi: Likewise.
4572 * manual/pattern.texi: Likewise.
4573 * manual/pipe.texi: Likewise.
4574 * manual/process.texi: Likewise.
4575 * manual/resource.texi: Likewise.
4576 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4578 * manual/setjmp.texi: Likewise.
4579 * manual/signal.texi: Likewise.
4580 * manual/startup.texi: Likewise.
4581 * manual/stdio.texi: Likewise.
4582 * manual/terminal.texi: Likewise.
4583 (ONLCR): Document as POSIX.
4584 (OXTABS): Document availability on GNU/Linux as XTABS.
4585 (ONOEOT): Document availability separately from other bits.
4586 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4587 * manual/time.texi: Likewise.
4588 * manual/users.texi: Likewise.
4589 * INSTALL: Regenerated.
4590 * sysdeps/gnu/errlist.c: Regenerated.
4592 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4593 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4594 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4596 * configure: Regenerated.
4598 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4600 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4601 default includes instead of AC_HEADER_CHECK.
4602 * sysdeps/i386/configure: Regenerated.
4605 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4606 * math/s_cacoshf.c (__cacoshf): Likewise.
4607 * math/s_cacoshl.c (__cacoshl): Likewise.
4608 * math/s_casinh.c (__casinh): Set signs of result from argument.
4609 * math/s_casinhf.c (__casinhf): Likewise.
4610 * math/s_casinhl.c (__casinhl): Likewise.
4611 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4612 (casinh_test): Add more tests.
4613 * sysdeps/i386/fpu/libm-test-ulps: Update.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4616 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4618 * po/zh_TW.po: Update from translation team.
4620 * login/Makefile (distribute): Remove variable.
4621 * catgets/Makefile: Likewise.
4622 * mach/Makefile: Likewise.
4623 * malloc/Makefile: Likewise.
4624 * misc/Makefile: Likewise.
4625 * iconv/Makefile: Likewise.
4626 * nscd/Makefile: Likewise.
4627 * hurd/Makefile: Likewise.
4628 * manual/Makefile: Likewise.
4629 * locale/Makefile: Likewise.
4630 * intl/Makefile: Likewise.
4631 * conform/Makefile: Likewise.
4632 * nss/Makefile: Likewise.
4633 * time/Makefile: Likewise.
4634 * soft-fp/Makefile: Likewise.
4635 * dirent/Makefile: Likewise.
4636 * gmon/Makefile: Likewise.
4637 * po/Makefile: Likewise.
4638 * rt/Makefile: Likewise.
4639 * socket/Makefile: Likewise.
4640 * math/Makefile: Likewise.
4641 * signal/Makefile: Likewise.
4642 * debug/Makefile: Likewise.
4643 * elf/Makefile: Likewise.
4644 * timezone/Makefile: Likewise.
4645 * stdlib/Makefile: Likewise.
4646 * iconvdata/Makefile: Likewise.
4647 * sunrpc/Makefile: Likewise.
4648 * io/Makefile: Likewise.
4649 * argp/Makefile: Likewise.
4650 * inet/Makefile: Likewise.
4651 * hesiod/Makefile: Likewise.
4652 * grp/Makefile: Likewise.
4653 * csu/Makefile: Likewise.
4654 * wctype/Makefile: Likewise.
4655 * crypt/Makefile: Likewise.
4656 * libio/Makefile: Likewise.
4657 * string/Makefile: Likewise.
4658 * nis/Makefile: Likewise.
4659 * resolv/Makefile: Likewise.
4660 * stdio-common/Makefile: Likewise.
4661 * wcsmbs/Makefile: Likewise.
4662 * dlfcn/Makefile: Likewise.
4663 * posix/Makefile: Likewise.
4666 * timezone/Makefile: Don't install timezone files, just the programs
4669 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4671 * nss/databases.def: Add missing gshadow entry.
4673 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4675 2012-03-06 Marek Polacek <polacek@redhat.com>
4678 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4679 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4680 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4681 * stdio-common/tst-long-dbl-fphex.c: New file.
4683 2012-03-06 David S. Miller <davem@davemloft.net>
4685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4686 (set_obp_int): New function.
4687 (get_obp_int): New function.
4688 (__get_clockfreq_via_dev_openprom): Likewise.
4689 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4690 Avoid unused variable warnings on 'val' and use builtin_expect.
4691 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4693 (INLINE_CLONE_SYSCALL): Likewise.
4695 2012-03-05 David S. Miller <davem@davemloft.net>
4697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4699 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4707 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4709 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4710 Replace gettimeofday with __vdso_gettimeofday.
4712 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4713 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4714 __vdso_clock_gettime and __vdso_getcpu.
4716 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4717 time with __vdso_time.
4719 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4721 * manual/lang.texi (size_t): Note types to which size_t may be
4722 equivalent with the GNU C Library, but do not describe when
4723 differences between them are significant.
4725 2012-03-05 Andreas Jaeger <aj@suse.de>
4727 * sysdeps/i386/fpu/libm-test-ulps: Update.
4729 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4732 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4733 (__ieee754_pow): Save and restore rounding mode and use
4734 round-to-nearest for main computations.
4735 * math/libm-test.inc (pow_test_tonearest): New function.
4736 (pow_test_towardzero): Likewise.
4737 (pow_test_downward): Likewise.
4738 (pow_test_upward): Likewise.
4739 (main): Call the new functions.
4740 * sysdeps/i386/fpu/libm-test-ulps: Update.
4741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4744 * math/libm-test.inc (cosh_test_tonearest): New function.
4745 (cosh_test_towardzero): Likewise.
4746 (cosh_test_downward): Likewise.
4747 (cosh_test_upward): Likewise.
4748 (sinh_test_tonearest): Likewise.
4749 (sinh_test_towardzero): Likewise.
4750 (sinh_test_downward): Likewise.
4751 (sinh_test_upward): Likewise.
4752 (main): Call the new functions.
4753 * sysdeps/i386/fpu/libm-test-ulps: Update.
4754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4756 2012-03-05 Tom de Vries <tom@codesourcery.com>
4758 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4759 default stack guard is set in last bytes.
4760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4762 2012-03-05 Kees Cook <keescook@chromium.org>
4764 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4767 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4768 possibly allocate from heap instead of stack.
4769 * stdio-common/bug-vfprintf-nargs.c: New file.
4770 * stdio-common/Makefile (tests): Add nargs overflow test.
4772 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4776 2012-03-03 Marek Polacek <polacek@redhat.com>
4778 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4779 * math/math_private.h: Likewise.
4780 * stdlib/tst-strtod.c: Likewise.
4781 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4782 * sysdeps/x86_64/bits/atomic.h: Likewise.
4784 2012-03-02 David S. Miller <davem@davemloft.net>
4786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4790 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4791 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4792 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4793 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4795 2012-03-02 Roland McGrath <roland@hack.frob.com>
4798 * manual/examples/README: New file, says the example source files
4799 can be used under GPL>=2.
4800 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4801 line containing just "*/".
4802 * manual/examples/add.c: Add copyright header (GPL>=2).
4803 * manual/examples/argp-ex1.c: Likewise.
4804 * manual/examples/argp-ex2.c: Likewise.
4805 * manual/examples/argp-ex3.c: Likewise.
4806 * manual/examples/argp-ex4.c: Likewise.
4807 * manual/examples/atexit.c: Likewise.
4808 * manual/examples/db.c: Likewise.
4809 * manual/examples/dir.c: Likewise.
4810 * manual/examples/dir2.c: Likewise.
4811 * manual/examples/execinfo.c: Likewise.
4812 * manual/examples/filecli.c: Likewise.
4813 * manual/examples/filesrv.c: Likewise.
4814 * manual/examples/fmtmsgexpl.c: Likewise.
4815 * manual/examples/genpass.c: Likewise.
4816 * manual/examples/inetcli.c: Likewise.
4817 * manual/examples/inetsrv.c: Likewise.
4818 * manual/examples/isockad.c: Likewise.
4819 * manual/examples/longopt.c: Likewise.
4820 * manual/examples/memopen.c: Likewise.
4821 * manual/examples/memstrm.c: Likewise.
4822 * manual/examples/mkfsock.c: Likewise.
4823 * manual/examples/mkisock.c: Likewise.
4824 * manual/examples/mygetpass.c: Likewise.
4825 * manual/examples/pipe.c: Likewise.
4826 * manual/examples/popen.c: Likewise.
4827 * manual/examples/rprintf.c: Likewise.
4828 * manual/examples/search.c: Likewise.
4829 * manual/examples/select.c: Likewise.
4830 * manual/examples/setjmp.c: Likewise.
4831 * manual/examples/sigh1.c: Likewise.
4832 * manual/examples/sigusr.c: Likewise.
4833 * manual/examples/stpcpy.c: Likewise.
4834 * manual/examples/strdupa.c: Likewise.
4835 * manual/examples/strftim.c: Likewise.
4836 * manual/examples/strncat.c: Likewise.
4837 * manual/examples/subopt.c: Likewise.
4838 * manual/examples/swapcontext.c: Likewise.
4839 * manual/examples/termios.c: Likewise.
4840 * manual/examples/testopt.c: Likewise.
4841 * manual/examples/testpass.c: Likewise.
4842 * manual/examples/timeval_subtract.c: Likewise.
4845 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4847 * manual/timeval_subtract.c.texi: ... here, new file.
4849 2012-03-02 David S. Miller <davem@davemloft.net>
4851 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4853 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4856 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4857 (__sin): Save and restore rounding mode and use round-to-nearest
4858 for all computations.
4859 (__cos): Save and restore rounding mode and use round-to-nearest
4860 for all computations.
4861 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4863 (tan): Save and restore rounding mode and use round-to-nearest for
4865 * math/libm-test.inc (cos_test_tonearest): New function.
4866 (cos_test_towardzero): Likewise.
4867 (cos_test_downward): Likewise.
4868 (cos_test_upward): Likewise.
4869 (sin_test_tonearest): Likewise.
4870 (sin_test_towardzero): Likewise.
4871 (sin_test_downward): Likewise.
4872 (sin_test_upward): Likewise.
4873 (tan_test_tonearest): Likewise.
4874 (tan_test_towardzero): Likewise.
4875 (tan_test_downward): Likewise.
4876 (tan_test_upward): Likewise.
4877 (main): Call the new functions.
4878 * sysdeps/i386/fpu/libm-test-ulps: Update.
4879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4882 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4883 small n, then large n, before computing and testing k+n.
4884 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4889 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4890 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4891 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4892 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4893 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4894 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4895 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4896 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4897 * math/libm-test.inc (scalbn_test): Add more tests.
4898 (scalbln_test): Likewise.
4900 * manual/filesys.texi (mode_t): Describe constraints on size and
4901 signedness, not exact equivalence to a particular type.
4903 (ino64_t): Likewise.
4905 (nlink_t): Likewise.
4906 (blkcnt_t): Likewise.
4907 (blkcnt64_t): Likewise.
4908 * manual/llio.texi (off_t): Likewise.
4911 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4912 (__ieee754_exp): Save and restore rounding mode and use
4913 round-to-nearest for all computations.
4914 * math/libm-test.inc (exp_test_tonearest): New function.
4915 (exp_test_towardzero): Likewise.
4916 (exp_test_downward): Likewise.
4917 (exp_test_upward): Likewise.
4918 (main): Call the new functions.
4919 * sysdeps/i386/fpu/libm-test-ulps: Update.
4920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4922 2012-03-01 Chris Demetriou <cgd@google.com>
4924 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4925 have predictable order.
4927 2012-03-01 David S. Miller <davem@davemloft.net>
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4931 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4932 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4933 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4934 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4936 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4937 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4938 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4940 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4941 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4942 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4943 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4944 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4948 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4949 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4950 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4952 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4953 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4954 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4955 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4956 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4957 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4958 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4959 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4960 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4961 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4962 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4963 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4965 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4966 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4968 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4969 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4970 * sysdeps/sparc/elf/configure: Regenerated.
4972 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4974 * configure.in (AS, LD): Require binutils 2.20 or later.
4975 * configure: Regenerated.
4976 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4977 as required minimum version.
4978 * INSTALL: Regenerated.
4982 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4983 before squaring exponent.
4984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4985 bottom long double and 27 bits of top long double before squaring
4987 * math/libm-test.inc (erfc_test): Add more tests.
4988 * sysdeps/i386/fpu/libm-test-ulps: Update.
4989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4992 2012-03-01 Kai Tietz <ktietz@redhat.com>
4994 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4995 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4996 containing bit-fields.
4997 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4998 * soft-fp/single.h (_FP_UNION_S): Likewise.
4999 * soft-fp/double.h (_FP_UNION_D): Likewise.
5001 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5004 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5005 not include ../strcmp.S.
5006 [USE_AS_STRNCASECMP_L]: Likewise.
5007 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5008 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5009 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5010 (__strncasecmp_l_ia32): Define as alias to
5011 __strncasecmp_l_nonascii.
5014 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5015 * sysdeps/i386/fpu/libm-test-ulps: Update.
5016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5018 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5021 2012-02-29 Jeff Law <law@redhat.com>
5023 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5026 2012-02-29 Marek Polacek <polacek@redhat.com>
5029 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5030 * elf/Makefile: Add rules to run tst-unused-dep.out.
5032 2012-02-28 David S. Miller <davem@davemloft.net>
5034 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5035 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5036 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5037 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5038 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5039 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5041 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5043 * math/libm-test.inc (llround_test): Move one test from
5044 lround_test. Use TEST_f_L in moved test.
5045 (lround_test): Move misplaced test to llround_test. Add testcase
5048 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5050 * sysdeps/x86_64/fpu/e_expf.S: New file.
5051 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5053 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5056 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5057 of remain_len that may cause incomplete multi-byte character and
5059 * posix/bug-regex33.c: New file.
5060 * posix/Makefile (tests): Add bug-regex33.
5062 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5064 * manual/macros.texi: New file.
5065 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5066 * manual/libc.texinfo: Include macros.texi.
5067 * manual/creatute.texi: Likewise.
5068 * manual/install.texi: Likewise.
5069 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5070 @glibcadj{} in references to the GNU C Library.
5071 * manual/charset.texi: Likewise.
5072 * manual/conf.texi: Likewise.
5073 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5074 when not using those macros.
5075 * manual/creature.texi: Likewise.
5076 * manual/crypt.texi: Likewise.
5077 * manual/errno.texi: Likewise.
5078 * manual/filesys.texi: Likewise.
5079 * manual/header.texi: Likewise.
5080 * manual/install.texi: Likewise.
5081 * manual/intro.texi: Likewise.
5082 * manual/io.texi: Likewise.
5083 * manual/job.texi: Likewise.
5084 * manual/lang.texi: Likewise.
5085 * manual/libc.texiinfo: Likewise.
5086 * manual/llio.texi: Likewise.
5087 * manual/locale.texi: Likewise.
5088 * manual/maint.texi: Likewise.
5089 * manual/math.texi: Likewise.
5090 * manual/memory.texi: Likewise.
5091 * manual/message.texi: Likewise.
5092 * manual/nss.texi: Likewise.
5093 * manual/pattern.texi: Likewise.
5094 * manual/process.texi: Likewise.
5095 * manual/resource.texi: Likewise.
5096 * manual/search.texi: Likewise.
5097 * manual/setjmp.texi: Likewise.
5098 * manual/signal.texi: Likewise.
5099 * manual/socket.texi: Likewise.
5100 * manual/startup.texi: Likewise.
5101 * manual/stdio.texi: Likewise.
5102 * manual/string.texi: Likewise.
5103 * manual/sysinfo.texi: Likewise.
5104 * manual/syslog.texi: Likewise.
5105 * manual/terminal.texi: Likewise.
5106 * manual/time.texi: Likewise.
5107 * manual/users.texi: Likewise.
5108 * INSTALL: Regenerated.
5109 * NOTES: Regenerated.
5110 * sysdeps/gnu/errlist.c: Regenerated.
5112 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5114 * include/dirent.h: Include <dirstream.h> before
5117 2012-02-28 David S. Miller <davem@davemloft.net>
5119 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5120 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5121 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5122 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5124 2012-02-27 David S. Miller <davem@davemloft.net>
5126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5128 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5129 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5132 frame pointer instead of stack pointer relative arg slot.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5134 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5135 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5137 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5140 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5142 2012-02-27 David S. Miller <davem@davemloft.net>
5144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5148 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5149 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5150 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5151 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5153 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5155 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5156 later. Allow versions 5-9.
5157 * configure: Regenerated.
5158 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5159 required minimum version and 4.6 as recommended version. Do not
5160 mention bugs in GCC 2.7 and 2.8.
5161 * INSTALL: Regenerated.
5163 2012-02-27 David S. Miller <davem@davemloft.net>
5165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5171 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5172 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5175 manipulate bits before adding and subtracting TWO112[sx].
5176 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5178 2012-02-27 Roland McGrath <roland@hack.frob.com>
5181 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5182 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5183 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5184 being in POSIX, because they are in 1003.1-2008.
5186 * rt/tst-aio.c: Include <fcntl.h>.
5187 * rt/tst-aio7.c: Likewise.
5188 * rt/tst-aio64.c: Likewise.
5190 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5192 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5194 * manual/install.texi (--with-headers): Describe headers as
5195 interface headers, not private headers.
5196 (Specific advice for GNU/Linux systems): Describe use of headers
5197 from "make headers_install", not private headers from older
5199 * INSTALL: Regenerated.
5200 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5202 * sysdeps/unix/sysv/linux/configure: Regenerated.
5204 * manual/llio.texi (fclean): Remove documentation.
5206 * manual/Makefile (libc-texi-generated): New variable. Include
5208 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5209 $(libc-texi-generated), not duplicated list of files.
5210 (version.texi, stamp-version): New rules.
5211 (realclean): Remove $(libc-texi-generated), not individual files
5212 from that list. Do not remove dir-add.texinfo.
5213 * manual/libc.texinfo: Comment out uses of edition numbers and
5214 references to printed manual. Remove last-updated dates.
5215 (EDITION): Comment out.
5217 (VERSION, UPDATED): Remove.
5218 (version.texi): Include.
5220 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5222 * sysdeps/posix/spawni.c: Include <signal.h>.
5223 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5224 * sysdeps/pthread/aio_fsync.c: Likewise.
5226 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5228 * conform/Makefile (tests): Run only when not cross-compiling and
5229 when fast-check is not defined.
5231 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5232 * conform/data/limits.h-data: Fixes for POSIX2008.
5233 * conform/run-conformtest.sh: Run all tests.
5234 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5236 * include/bits/dlfcn.h: Likewise.
5237 * include/langinfo.h: Likewise.
5238 * include/monetary.h: Likewise.
5239 * include/sys/poll.h: Likewise.
5241 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5243 * posix/spawn.h: Define __need_sigset_t.
5244 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5245 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5246 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5247 to get sigevent_t only.
5248 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5251 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5252 process_vm_writev only for __USE_GNU.
5253 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5255 * conform/Makefile: For now ignore errors from run-conformtest.
5256 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5257 POSIX to avoid namespace pollution. Don't prepend headers.
5258 * conform/data/aio.h-data: Fixes for POSIX testing.
5259 * conform/data/fcntl.h-data: Likewise.
5260 * conform/data/glob.h-data: Likewise.
5261 * conform/data/grp.h-data: Likewise.
5262 * conform/data/pthread.h-data: Likewise.
5263 * conform/data/pwd.h-data: Likewise.
5264 * conform/data/signal.h-data: Likewise.
5265 * conform/data/spawn.h-data: Likewise.
5266 * conform/data/stdio.h-data: Likewise.
5267 * conform/data/stdlib.h-data: Likewise.
5268 * conform/data/stropts.h-data: Likewise.
5269 * conform/data/sys/mman.h-data: Likewise.
5270 * conform/data/sys/stat.h-data: Likewise.
5271 * conform/data/sys/types.h-data: Likewise.
5272 * conform/data/sys/wait.h-data: Likewise.
5273 * conform/data/time.h-data: Likewise.
5274 * conform/data/unistd.h-data: Likewise.
5275 * conform/data/utime.h-data: Likewise.
5277 * io/sys/stat.h: fchmod was always in POSIX.
5278 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5279 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5280 * rt/aio.h: Define __need_timespec before including <time.h>.
5281 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5282 struct. Add forward declaration of pthread_attr_t and use it in
5284 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5285 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5286 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5287 always remove CLK_TCK definition.
5289 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5291 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5293 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5295 * conform/run-conformtest.sh: New file.
5296 * conform/Makefile: Run run-conformtest for tests.
5297 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5300 * conform/data/uchar.h-data: New file.
5301 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5302 * conform/data/arpa/inet.h-data: Likewise.
5303 * conform/data/assert.h-data: Likewise.
5304 * conform/data/complex.h-data: Likewise.
5305 * conform/data/cpio.h-data: Likewise.
5306 * conform/data/ctype.h-data: Likewise.
5307 * conform/data/dirent.h-data: Likewise.
5308 * conform/data/dlfcn.h-data: Likewise.
5309 * conform/data/errno.h-data: Likewise.
5310 * conform/data/fcntl.h-data: Likewise.
5311 * conform/data/float.h-data: Likewise.
5312 * conform/data/fmtmsg.h-data: Likewise.
5313 * conform/data/fnmatch.h-data: Likewise.
5314 * conform/data/ftw.h-data: Likewise.
5315 * conform/data/glob.h-data: Likewise.
5316 * conform/data/grp.h-data: Likewise.
5317 * conform/data/iconv.h-data: Likewise.
5318 * conform/data/inttypes.h-data: Likewise.
5319 * conform/data/langinfo.h-data: Likewise.
5320 * conform/data/libgen.h-data: Likewise.
5321 * conform/data/limits.h-data: Likewise.
5322 * conform/data/locale.h-data: Likewise.
5323 * conform/data/math.h-data: Likewise.
5324 * conform/data/monetary.h-data: Likewise.
5325 * conform/data/mqueue.h-data: Likewise.
5326 * conform/data/ndbm.h-data: Likewise.
5327 * conform/data/net/if.h-data: Likewise.
5328 * conform/data/netdb.h-data: Likewise.
5329 * conform/data/netinet/in.h-data: Likewise.
5330 * conform/data/nl_types.h-data: Likewise.
5331 * conform/data/poll.h-data: Likewise.
5332 * conform/data/pthread.h-data: Likewise.
5333 * conform/data/pwd.h-data: Likewise.
5334 * conform/data/regex.h-data: Likewise.
5335 * conform/data/sched.h-data: Likewise.
5336 * conform/data/search.h-data: Likewise.
5337 * conform/data/semaphore.h-data: Likewise.
5338 * conform/data/setjmp.h-data: Likewise.
5339 * conform/data/signal.h-data: Likewise.
5340 * conform/data/spawn.h-data: Likewise.
5341 * conform/data/stdarg.h-data: Likewise.
5342 * conform/data/stdio.h-data: Likewise.
5343 * conform/data/stdlib.h-data: Likewise.
5344 * conform/data/string.h-data: Likewise.
5345 * conform/data/strings.h-data: Likewise.
5346 * conform/data/stropts.h-data: Likewise.
5347 * conform/data/sys/ipc.h-data: Likewise.
5348 * conform/data/sys/mman.h-data: Likewise.
5349 * conform/data/sys/msg.h-data: Likewise.
5350 * conform/data/sys/resource.h-data: Likewise.
5351 * conform/data/sys/select.h-data: Likewise.
5352 * conform/data/sys/sem.h-data: Likewise.
5353 * conform/data/sys/shm.h-data: Likewise.
5354 * conform/data/sys/socket.h-data: Likewise.
5355 * conform/data/sys/stat.h-data: Likewise.
5356 * conform/data/sys/statvfs.h-data: Likewise.
5357 * conform/data/sys/time.h-data: Likewise.
5358 * conform/data/sys/timeb.h-data: Likewise.
5359 * conform/data/sys/times.h-data: Likewise.
5360 * conform/data/sys/types.h-data: Likewise.
5361 * conform/data/sys/uio.h-data: Likewise.
5362 * conform/data/sys/un.h-data: Likewise.
5363 * conform/data/sys/utsname.h-data: Likewise.
5364 * conform/data/sys/wait.h-data: Likewise.
5365 * conform/data/syslog.h-data: Likewise.
5366 * conform/data/tar.h-data: Likewise.
5367 * conform/data/termios.h-data: Likewise.
5368 * conform/data/utime.h-data: Likewise.
5369 * conform/data/utmpx.h-data: Likewise.
5370 * conform/data/varargs.h-data: Likewise.
5371 * conform/data/wchar.h-data: Likewise.
5372 * conform/data/wctype.h-data: Likewise.
5373 * conform/data/wordexp.h-data: Likewise.
5375 * include/stropts.h: New file.
5376 * include/uchar.h: New file.
5377 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5378 * include/assert.h: Likewise.
5379 * include/ctype.h: Likewise.
5380 * include/dirent.h: Likewise.
5381 * include/dlfcn.h: Likewise.
5382 * include/fcntl.h: Likewise.
5383 * include/fnmatch.h: Likewise.
5384 * include/glob.h: Likewise.
5385 * include/grp.h: Likewise.
5386 * include/libio.h: Likewise.
5387 * include/locale.h: Likewise.
5388 * include/math.h: Likewise.
5389 * include/net/if.h: Likewise.
5390 * include/netdb.h: Likewise.
5391 * include/netinet/in.h: Likewise.
5392 * include/pthread.h: Likewise.
5393 * include/pwd.h: Likewise.
5394 * include/regex.h: Likewise.
5395 * include/sched.h: Likewise.
5396 * include/search.h: Likewise.
5397 * include/setjmp.h: Likewise.
5398 * include/signal.h: Likewise.
5399 * include/stdio.h: Likewise.
5400 * include/stdlib.h: Likewise.
5401 * include/string.h: Likewise.
5402 * include/sys/cdefs.h: Likewise.
5403 * include/sys/mman.h: Likewise.
5404 * include/sys/msg.h: Likewise.
5405 * include/sys/resource.h: Likewise.
5406 * include/sys/select.h: Likewise.
5407 * include/sys/socket.h: Likewise.
5408 * include/sys/stat.h: Likewise.
5409 * include/sys/statvfs.h: Likewise.
5410 * include/sys/time.h: Likewise.
5411 * include/sys/times.h: Likewise.
5412 * include/sys/uio.h: Likewise.
5413 * include/sys/utsname.h: Likewise.
5414 * include/sys/wait.h: Likewise.
5415 * include/termios.h: Likewise.
5416 * include/time.h: Likewise.
5417 * include/ulimit.h: Likewise.
5418 * include/unistd.h: Likewise.
5419 * include/utime.h: Likewise.
5420 * include/wchar.h: Likewise.
5421 * include/wctype.h: Likewise.
5422 * include/wordexp.h: Likewise.
5424 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5426 * time/time.h: TIME_UTC must be a macro.
5427 Make timespec_get available for ISO C11 only as well.
5429 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5431 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5432 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5434 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5436 * configure.in: Use -o not -a in test for unsupported multi-arch.
5438 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5440 * manual/texinfo.tex: Update to version 2012-01-19.16.
5442 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5444 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5446 2012-02-24 Roland McGrath <roland@hack.frob.com>
5449 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5450 * manual/fdl-1.3.texi: New file.
5451 * manual/fdl-1.1.texi: File removed.
5454 * manual/libc.texinfo (FDL_VERSION): New @set.
5455 Use it for mention of FDL in cover text.
5456 (Documentation License): Use it in @include file name.
5458 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5459 Roland McGrath <roland@hack.frob.com>
5462 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5463 not LONG_LONG_MAX and LONG_LONG_MIN.
5464 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5465 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5467 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5469 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5473 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5474 manipulate bits before adding and subtracting TWO23[sx].
5475 * math/libm-test.inc (nearbyint_test): Add more tests.
5477 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5480 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5481 bits before adding and subtracting TWO23[sx].
5482 * math/libm-test.inc (rint_test): Add more tests.
5483 (rint_test_tonearest): Likewise.
5484 (rint_test_towardzero): Likewise.
5485 (rint_test_downward): Likewise.
5486 (rint_test_upward: Likewise.
5488 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5491 * include/stdc-predef.h: New file. Extracted from features.h.
5492 * include/features.h: Include stdc-predef.h.
5493 * Makefile (headers): Add stdc-predef.h.
5494 * CONFORMANCE (Compiler limitations): Update.
5496 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5498 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5500 2012-02-21 David S. Miller <davem@davemloft.net>
5502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5503 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5505 2012-02-20 David S. Miller <davem@davemloft.net>
5507 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5508 using a normal save/restore sequence, rather than allocating a
5509 dummy stack frame just to store a frame pointer and restore.
5510 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5512 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5514 * manual/install.texi: Fix stray word in line-wrapped comment.
5516 2012-02-20 David S. Miller <davem@davemloft.net>
5518 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5519 both binutils and gcc support GOTDATA.
5521 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5522 "rd %pc" in the PIC register setup sequences.
5524 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5525 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5526 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5527 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5528 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5530 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5531 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5533 (SYSCALL_ERROR_HANDLER): Likewise.
5534 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5535 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5537 (SYSCALL_ERROR_HANDLER): Likewise.
5539 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5540 (HAVE_GCC_GOTDATA): New.
5541 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5542 relocation support in both binutils and gcc.
5543 * sysdeps/sparc/elf/configure: Regenerate.
5545 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5546 * sysdeps/sparc/sparc32/elf/configure: Delete.
5547 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5548 * sysdeps/sparc/sparc64/elf/configure: Delete.
5549 * sysdeps/sparc/elf/configure.in: New file.
5550 * sysdeps/sparc/elf/configure: Generate.
5552 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5553 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5554 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5555 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5556 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5558 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5560 * manual/install.texi: Do not mention specific glibc version
5562 * manual/libc.texinfo (VERSION, UPDATED): Update.
5563 (@copying): Use @copyright{} and range of years.
5565 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5568 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5569 [crti.S not in sysdirs] (generated): Do not append.
5570 [crti.S not in sysdirs] (omit-deps): Likewise.
5571 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5572 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5573 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5574 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5575 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5577 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5578 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5579 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5580 * csu/defs.awk: Remove file.
5581 * sysdeps/generic/initfini.c: Likewise.
5582 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5584 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5587 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5589 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5590 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5591 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5592 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5594 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5596 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5597 (__EPOLL_PACKED): Define to empty if not defined by
5599 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5603 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5605 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5606 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5607 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5608 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5610 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5614 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5616 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5618 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5619 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5620 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5623 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5625 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5626 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5628 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5630 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5631 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5633 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5635 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5638 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5640 * math/w_acos.c: Use non-signaling floating-point comparisons.
5641 * math/w_acosf.c: Likewise.
5642 * math/w_acosh.c: Likewise.
5643 * math/w_acoshf.c: Likewise.
5644 * math/w_acoshl.c: Likewise.
5645 * math/w_acosl.c: Likewise.
5646 * math/w_asin.c: Likewise.
5647 * math/w_asinf.c: Likewise.
5648 * math/w_asinl.c: Likewise.
5649 * math/w_atanh.c: Likewise.
5650 * math/w_atanhf.c: Likewise.
5651 * math/w_atanhl.c: Likewise.
5652 * math/w_exp2.c: Likewise.
5653 * math/w_exp2f.c: Likewise.
5654 * math/w_exp2l.c: Likewise.
5655 * math/w_j0.c: Likewise.
5656 * math/w_j0f.c: Likewise.
5657 * math/w_j0l.c: Likewise.
5658 * math/w_j1.c: Likewise.
5659 * math/w_j1f.c: Likewise.
5660 * math/w_j1l.c: Likewise.
5661 * math/w_jn.c: Likewise.
5662 * math/w_jnf.c: Likewise.
5663 * math/w_log.c: Likewise.
5664 * math/w_log10.c: Likewise.
5665 * math/w_log10f.c: Likewise.
5666 * math/w_log10l.c: Likewise.
5667 * math/w_log2.c: Likewise.
5668 * math/w_log2f.c: Likewise.
5669 * math/w_log2l.c: Likewise.
5670 * math/w_logf.c: Likewise.
5671 * math/w_logl.c: Likewise.
5672 * math/w_sqrt.c: Likewise.
5673 * math/w_sqrtf.c: Likewise.
5674 * math/w_sqrtl.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5677 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5678 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5679 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5681 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5684 * manual/string.texi (strnlen): Use correct parameter name in
5685 equivalent expression.
5687 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5690 * manual/users.texi (seteuid): Consistently use neweuid for
5693 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5696 * manual/nss.texi (Services in the NSS configuration): Correct
5697 list of services in example configuration file.
5699 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5702 * manual/arith.texi: Remove statements about negative zero
5703 behaving identically to zero.
5705 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5708 * manual/install.texi: Do not document upgrading from libc5.
5710 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5713 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5715 2012-02-18 David S. Miller <davem@davemloft.net>
5717 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5718 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5719 %o7 across the call.
5720 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5724 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5725 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5726 * sysdeps/sparc/crtn.S: Likewise.
5728 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5730 * aout/Makefile: Remove.
5732 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5735 * manual/examples/argp-ex1.c (main): Format definition in GNU
5737 * manual/examples/argp-ex2.c (main): Likewise.
5738 * manual/examples/argp-ex3.c (main): Likewise.
5739 * manual/examples/argp-ex4.c (main): Likewise.
5740 * manual/examples/longopt.c (main): Use new-style prototype
5742 * manual/examples/strncat.c (main): Specify return type and use
5743 (void) for arguments.
5744 * manual/examples/subopt.c (main): Use char **argv argument.
5746 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5749 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5752 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5755 * manual/string.texi (strchr): Change when strchrnul is
5758 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5761 * manual/locale.texi (setlocale): Document LOCPATH.
5763 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5766 * manual/process.texi (execle): Move @dots{} before last argument.
5768 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5771 * manual/charset.texi (Generic Charset Conversion): Fix typo
5772 (LC_TYPE -> LC_CTYPE).
5774 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5777 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5778 (scalbnf): Likewise.
5779 (scalbnl): Likewise.
5780 (scalbln): Likewise.
5781 (scalblnf): Likewise.
5782 (scalblnl): Likewise.
5783 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5787 * manual/filesys.texi (telldir): Use braces around return type.
5788 * manual/llio.texi (mmap): Add space after comma.
5790 * manual/math.texi (jn): Use @var{} on parameter names.
5796 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5798 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5800 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5801 (sched_get_priority_max): Likewise.
5802 * manual/signal.texi (sigvec): Add space after comma.
5803 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5805 (if_indextoname): Likewise.
5806 (if_freenameindex): Likewise.
5807 (sendto): Use ',' instead of '.' in prototype.
5808 * manual/startup.texi (syscall): Use @dots{} instead of literal
5810 * manual/stdio.texi (__fpending): Separate initial words of
5811 paragraph from @deftypefun line.
5812 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5814 (vsyslog): Use @var{} on parameter names.
5815 * manual/terminal.texi (stty): Use @var{} on parameter names.
5816 * manual/users.texi (getutmp): Use @var{} on parameter names.
5817 (getutmpx): Likewise.
5819 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5822 * manual/stdio.texi (fopen): Fix typos in description of
5825 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5828 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5829 get clock_id definition.
5831 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5834 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5835 (madvise): Cast every argument to void on its own.
5837 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5840 * manual/startup.texi (Exit Status): Fix typo.
5842 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5845 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5846 * manual/examples/argp-ex2.c: Likewise.
5847 * manual/examples/argp-ex3.c: Likewise.
5849 2012-02-16 Richard Henderson <rth@redhat.com>
5851 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5852 * sysdeps/s390/s390-32/initfini.c: Remove.
5853 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5854 * sysdeps/s390/s390-64/initfini.c: Remove.
5856 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5858 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5859 compiler output for sysdeps/generic/initfini.c.
5860 * sysdeps/sh/elf/initfini.c: Remove file.
5862 2012-02-16 David S. Miller <davem@davemloft.net>
5865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5867 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5868 * sysdeps/sparc/crti.S: New file.
5869 * sysdeps/sparc/crtn.S: New file.
5870 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5871 * sysdeps/sparc/sparc64/Makefile: Likewise.
5873 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5876 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5878 2012-02-15 Roland McGrath <roland@hack.frob.com>
5881 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5883 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5884 (write, read, close): Likewise.
5885 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5887 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5889 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5890 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5891 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5892 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5894 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5898 2012-02-14 Marek Polacek <polacek@redhat.com>
5900 * sysdeps/x86_64/crti.S: New file.
5901 * sysdeps/x86_64/crtn.S: New file.
5902 * sysdeps/x86_64/elf/initfini.c: Remove file.
5904 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5906 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5907 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5908 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5909 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5911 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5915 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5917 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5918 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5919 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5920 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5922 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5926 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5928 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5929 __feraiseexcept instead of feraiseexcept.
5931 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5932 nanosleep invocations.
5933 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5934 strings, and add error checking for a nanosleep invocations.
5936 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5938 Replace FSF snail mail address with URLs, as per GNU coding standards.
5939 Most of the snail mail addresses were wrong anyway, and omitting
5940 them makes the source code easier to maintain. Almost all of the
5941 changes are to license notices and to locale LC_IDENTIFICATION
5942 addresses, except for this one:
5943 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5944 not its snail mail address.
5946 2012-02-09 Richard Henderson <rth@twiddle.net>
5948 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5949 of kernel-features.h.
5951 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5953 2012-02-08 Marek Polacek <polacek@redhat.com>
5955 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5956 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5957 * sysdeps/gnu/_G_config.h: Likewise.
5958 * sysdeps/generic/_G_config.h: Likewise.
5960 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5962 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5966 * sysdeps/powerpc/powerpc32/crti.S: New file.
5967 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5968 * sysdeps/powerpc/powerpc64/crti.S: New file.
5969 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5971 * Makeconfig (have-initfini): Don't set.
5972 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5973 * configure.in (nopic_initfini): Don't substitute.
5974 * config.h.in (HAVE_INITFINI): Don't #undef.
5975 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5976 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5978 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5980 Support crti.S and crtn.S provided directly by architectures.
5981 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5982 [crti.S in sysdirs] (omit-deps): Likewise.
5983 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5984 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5985 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5986 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5987 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5988 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5989 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5990 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5991 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5992 compiler output for sysdeps/generic/initfini.c.
5993 * sysdeps/i386/elf/Makefile: Remove file.
5994 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5996 2012-02-07 Marek Polacek <polacek@redhat.com>
5998 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5999 * sysdeps/gnu/_G_config.h: Likewise.
6000 * sysdeps/mach/hurd/_G_config.h: Likewise.
6002 2012-02-07 Marek Polacek <polacek@redhat.com>
6004 * math/Makefile (tests): Add tst-CMPLX2.
6005 * math/tst-CMPLX2.c: New file.
6007 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6009 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6011 * math/libm-test.inc (jn_test): Add missing L suffix.
6013 2012-02-06 Marek Polacek <polacek@redhat.com>
6015 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6016 * sysdeps/i386/fpu/e_powf.S: Likewise.
6017 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6018 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6019 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6020 * sysdeps/i386/fpu/e_pow.S: Likewise.
6021 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6022 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6023 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6024 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6025 * sysdeps/i386/fpu/e_log2.S: Likewise.
6026 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6027 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6028 * sysdeps/i386/fpu/e_powl.S: Likewise.
6029 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6030 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6031 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6032 * sysdeps/i386/fpu/e_logl.S: Likewise.
6033 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6034 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6035 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6036 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6037 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6038 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6039 * sysdeps/i386/fpu/e_log.S: Likewise.
6040 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6041 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6042 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6043 * sysdeps/i386/fpu/e_logf.S: Likewise.
6044 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6045 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6046 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6047 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6048 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6049 * sysdeps/i386/fpu/e_log10.S: Likewise.
6050 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6051 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6052 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6053 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6054 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6055 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6056 * sysdeps/i386/asm-syntax.h: Likewise.
6057 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6058 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6059 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6060 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6061 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6062 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6063 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6064 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6065 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6066 * sysdeps/powerpc/sysdep.h: Likewise.
6067 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6068 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6070 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6073 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6075 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6077 * sysdeps/i386/sysdep.h: Include <features.h>.
6078 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6081 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6083 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6085 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6088 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6090 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6091 (SETUP_PIC_REG): Use GET_PC_THUNK.
6092 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6095 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6097 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6098 for non-PIC compilation.
6099 (SETUP_PIC_REG): Add .p2align directive.
6100 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6101 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6126 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6127 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6128 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6129 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6130 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6131 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6132 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6133 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6135 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6136 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6137 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6138 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6139 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6140 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6142 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6144 * math/tst-CMPLX.c: Include <stdio.h>.
6146 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6148 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6150 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6151 * sysdeps/sparc/bits/mathdef.h: Likewise.
6153 2012-01-31 Marek Polacek <polacek@redhat.com>
6155 * libio/libio.h: Don't define _PARAMS.
6156 * locale/programs/config.h: Don't define PARAMS.
6157 * stdlib/strtol_l.c: Likewise.
6158 (__strtol_l): Remove PARAMS from the prototype.
6160 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6162 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6163 names. Just use the correct names. Remove unnecessary wrapper
6165 * malloc/arena.c: Likewise.
6166 * malloc/hooks.c: Likewise.
6168 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6169 ARENA_TEST says not to. Simplify test for creation of a new arena.
6170 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6172 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6174 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6176 (update_get_addr): New function.
6177 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6178 GET_ADDR_MODULE parameter.
6180 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6182 * crypt/cert.c: Remove __STDC__ conditionals.
6183 * crypt/crypt-entry.c: Likewise.
6184 * crypt/crypt_util.c: Likewise.
6185 * libio/filedoalloc.c: Likewise.
6186 * libio/fileops.c: Likewise.
6187 * libio/genops.c: Likewise.
6188 * libio/iofclose.c: Likewise.
6189 * libio/iofdopen.c: Likewise.
6190 * libio/iofopen.c: Likewise.
6191 * libio/iofopen64.c: Likewise.
6192 * libio/iogetdelim.c: Likewise.
6193 * libio/iopopen.c: Likewise.
6194 * libio/obprintf.c: Likewise.
6195 * libio/oldfileops.c: Likewise.
6196 * libio/oldiofclose.c: Likewise.
6197 * libio/oldiofdopen.c: Likewise.
6198 * libio/oldiofopen.c: Likewise.
6199 * libio/oldiopopen.c: Likewise.
6200 * libio/wfiledoalloc.c: Likewise.
6201 * libio/wgenops.c: Likewise.
6202 * locale/programs/xmalloc.c: Likewise.
6203 * misc/syslog.c: Likewise.
6204 * stdio-common/xbug.c: Likewise.
6205 * string/memchr.c: Likewise.
6206 * string/memcmp.c: Likewise.
6207 * string/memrchr.c: Likewise.
6208 * string/rawmemchr.c: Likewise.
6209 * sysdeps/posix/getcwd.c: Likewise.
6210 * time/strftime_l.c: Likewise.
6212 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6214 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6215 * config.make.in (config-cflags-sse2avx): Define.
6216 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6219 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6221 * scripts/config.guess: Update from upstream config git repository.
6222 * scripts/config.sub: Likewise.
6224 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6226 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6228 (R_TILEPRO_*, R_TILEGX_*): New macros.
6230 * scripts/firstversions.awk: Fix bug in version range handling.
6232 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6234 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6236 * include/sys/epoll.h: New file.
6237 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6240 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6242 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6243 Avoid unnecessary __WORDSIZE == 64 test.
6244 (fmaxf): Use VEX format if possible.
6249 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6250 * math/math_private.h: Remove libc_fegetround* and
6252 * sysdeps/i386/configure.in: Check for -msse2avx.
6253 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6254 also if SSE2AVX is defined.
6255 Remove libc_fegetround* and libc_fesetround*.
6256 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6257 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6258 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6260 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6261 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6262 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6263 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6264 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6266 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6268 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6270 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6272 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6274 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6277 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6279 * Makeconfig (libm): Define.
6280 * elf/Makefile: Add rules to build and run tst-relsort1.
6281 * elf/tst-relsort1.c: New file.
6282 * elf/tst-relsort1mod1.c: New file.
6283 * elf/tst-relsort1mod2.c: New file.
6285 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6287 * math/s_ldexp.c: Remove __STDC__ conditionals.
6288 * math/s_ldexpf.c: Likewise.
6289 * math/s_ldexpl.c: Likewise.
6290 * math/s_nextafter.c: Likewise.
6291 * math/s_nexttowardf.c: Likewise.
6292 * math/s_significand.c: Likewise.
6293 * math/s_significandf.c: Likewise.
6294 * math/s_significandl.c: Likewise.
6295 * math/w_jnl.c: Likewise.
6296 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6297 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6298 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6299 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6300 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6303 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6304 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6305 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6306 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6307 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6308 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6309 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6310 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6311 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6315 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6316 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6317 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6318 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6319 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6320 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6321 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6322 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6323 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6324 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6325 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6326 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6327 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6328 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6329 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6330 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6331 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6332 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6333 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6334 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6335 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6336 * sysdeps/ieee754/k_standard.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6398 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6403 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6411 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6412 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6416 * sysdeps/ieee754/s_matherr.c: Likewise.
6417 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6418 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6420 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6422 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6424 * crypt/md5.h: Remove __STDC__ conditionals.
6425 * libio/libioP.h: Likewise.
6426 * locale/programs/config.h: Likewise.
6427 * sysdeps/generic/sysdep.h: Likewise.
6428 * sysdeps/i386/asm-syntax.h: Likewise.
6429 * sysdeps/s390/asm-syntax.h: Likewise.
6430 * sysdeps/unix/sysdep.h: Likewise.
6431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6434 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6436 * libio/libio.h: Remove __STDC__ conditionals.
6437 * malloc/obstack.h: Likewise.
6438 * math/complex.h: Likewise.
6439 * math/math.h: Likewise.
6440 * sysdeps/generic/_G_config.h: Likewise.
6441 * sysdeps/gnu/_G_config.h: Likewise.
6442 * sysdeps/mach/hurd/_G_config.h: Likewise.
6443 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6444 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6445 * sysdeps/sparc/bits/mathdef.h: Likewise.
6447 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6450 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6451 Clean up HAS_* macros.
6452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6453 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6455 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6457 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6458 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6460 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6463 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6465 * elf/tst-unique3.cc (gets): Remove declaration.
6466 * elf/tst-unique3lib.cc (gets): Likewise.
6467 * elf/tst-unique3lib2.cc (gets): Likewise.
6468 * elf/tst-unique4.cc (gets): Likewise.
6470 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6472 * include/stdio.h: Add C++ protection. Add gets declarations and
6474 * debug/tst-chk1.c: Don't declare gets here.
6475 * stdio-common/tst-gets.c: Likewise.
6477 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6479 * posix/glob: Remove directory.
6481 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6483 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6485 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6487 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6488 of the non-standard EPFNOSUPPORT.
6490 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6492 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6493 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6494 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6496 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6498 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6500 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6502 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6504 * nscd/grpcache.c (cache_addgr): Likewise.
6505 * nscd/hstcache.c (cache_addhst): Likewise.
6506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6507 * nscd/pwdcache.c (cache_addpw): Likewise.
6508 * nscd/servicescache.c (cache_addserv): Likewise.
6510 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6512 * malloc/malloc.c: Various cleanups.
6513 * malloc/hooks.c: Likewise.
6515 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6516 * stdlib/bug-fmtmsg1.c: New file.
6518 * stdlib/fmtmsg.c (init): Add missing unlock.
6519 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6521 2012-01-12 Marek Polacek <polacek@redhat.com>
6523 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6526 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6528 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6529 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6530 macro to ensure uniqueness of label name.
6531 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6532 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6534 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6536 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6538 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6539 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6540 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6543 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6545 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6547 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6548 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6551 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6553 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6554 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6555 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6558 * math/bits/math-finite.h: Add ldexp support.
6560 2012-01-10 Marek Polacek <polacek@redhat.com>
6562 * locale/programs/localedef.h (show_archive_content): Add noreturn
6565 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6567 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6569 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6571 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6573 * io/Makefile (headers): Add bits/poll2.h.
6575 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6578 typo #include statement.
6580 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6582 * include/sys/cdefs.h: Define __attribute_alloc_size.
6583 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6584 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6585 * elf/pldd.c: Likewise.
6586 * iconv/iconv_charmap.c: Likewise.
6587 * iconv/iconvconfig.c: Likewise.
6588 * iconv/strtab.c: Likewise.
6589 * locale/programs/locale.c: Likewise.
6590 * locale/programs/localedef.h: Likewise.
6591 * locale/programs/simple-hash.c: Likewise.
6592 * nscd/nscd.h: Likewise.
6593 * nss/makedb.c: Likewise.
6594 * sysdeps/generic/ldconfig.h: Likewise.
6595 * locale/programs/localedef.c: Remove xmalloc prototype.
6596 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6598 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6600 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6603 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6605 * math/Makefile (tests): Add tst-CMPLX.
6606 * math/tst-CMPLX.c: New file.
6608 * math/complex.h (CMPLXL): Fix typo.
6610 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6611 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6613 * debug/tst-chk1.c: Add poll and ppoll tests.
6614 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6615 * include/sys/poll.h: Add hidden proto for ppoll.
6616 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6617 * sysdeps/mach/hurd/ppoll.c: Likewise.
6618 * io/ppoll.c: Likewise.
6619 * debug/poll_chk.c: New file.
6620 * debug/ppoll_chk.c: New file.
6621 * include/bits/poll2.h: New file.
6622 * io/bits/poll2.h: New file.
6625 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6627 * configure.in: static is always set to yes. Remove.
6628 * config.make.in: Don't set build-static.
6629 * Makeconfig: Remove use of build-static.
6630 * dlfcn/Makefile: Likewise.
6631 * elf/Makefile: Likewise.
6632 * math/Makefile: Likewise.
6633 * misc/Makefile: Likewise.
6634 * nptl/Makefile: Likewise.
6635 * sysdeps/mach/hurd/Makefile: Likewise.
6637 * configure.in: PWD_P is not used anymore.
6638 * config.make.in: Remove PWD_P entry.
6640 * configure.in: Remove last remnants of RANLIB.
6641 No need to check for signed size_t anymore.
6642 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6644 Remove __builtin_expect test because we require at least gcc 3.4.
6645 * aclocal.m4: Likewise.
6647 * wcsmbs/mbrtoc16.c: Implement using towc function.
6648 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6649 * wcsmbs/wcsmbsload.c: Likewise.
6650 * iconv/gconv_simple.c: Likewise.
6651 * iconv/gconv_int.h: Likewise.
6652 * iconv/gconv_builtin.h: Likewise.
6653 * iconv/iconv_prog.c: Remove CHAR16 handling.
6655 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6657 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6659 * configure.in: Remove --with-elf and --enable-bounded options.
6660 Dont set base_machine for ia64. More non-ELF conditions removed.
6661 Remove testing and setting of leading underscore information.
6662 * config.make.in (build-bounded): Set to no.
6663 * config.h.in: Remove NO_UNDERSCORES entry.
6664 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6666 * csu/start.c: Remove !NO_UNDERSCORE code.
6667 * locale/localeinfo.h: Likewise.
6668 * sysdeps/generic/machine-gmon.h: Likewise.
6669 * sysdeps/generic/sysdep.h: Likewise.
6670 * sysdeps/i386/sysdep.h: Likewise.
6671 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6672 * sysdeps/mach/sysdep.h: Likewise.
6673 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6674 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6675 * sysdeps/sh/sysdep.h: Likewise.
6676 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6677 * sysdeps/unix/i386/sysdep.S: Likewise.
6678 * sysdeps/unix/sparc/start.c: Likewise.
6679 * sysdeps/unix/sparc/sysdep.S: Likewise.
6680 * sysdeps/unix/sparc/sysdep.h: Likewise.
6681 * sysdeps/unix/start.c: Likewise.
6682 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6683 * sysdeps/x86_64/sysdep.h: Likewise.
6685 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6688 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6690 * argp/argp-fmtstream.h: Use const instead __const.
6691 * argp/argp.h: Likewise.
6692 * assert/assert.h: Likewise.
6693 * bits/fenv.h: Likewise.
6694 * bits/sched.h: Likewise.
6695 * bits/sigset.h: Likewise.
6696 * bits/sigthread.h: Likewise.
6697 * catgets/nl_types.h: Likewise.
6698 * conform/data/pthread.h-data: Likewise.
6699 * crypt/crypt-private.h: Likewise.
6700 * crypt/crypt.h: Likewise.
6701 * crypt/crypt_util.c: Likewise.
6702 * ctype/ctype.h: Likewise.
6703 * debug/execinfo.h: Likewise.
6704 * debug/mbsnrtowcs_chk.c: Likewise.
6705 * debug/mbsrtowcs_chk.c: Likewise.
6706 * debug/wcsnrtombs_chk.c: Likewise.
6707 * debug/wcsrtombs_chk.c: Likewise.
6708 * debug/wcstombs_chk.c: Likewise.
6709 * dirent/dirent.h: Likewise.
6710 * dlfcn/dlfcn.h: Likewise.
6711 * elf/neededtest4.c: Likewise.
6712 * grp/grp.h: Likewise.
6713 * gshadow/gshadow.h: Likewise.
6714 * iconv/gconv.h: Likewise.
6715 * iconv/gconv_int.h: Likewise.
6716 * iconv/gconv_simple.c: Likewise.
6717 * iconv/iconv.h: Likewise.
6718 * iconv/loop.c: Likewise.
6719 * iconv/skeleton.c: Likewise.
6720 * include/aio.h: Likewise.
6721 * include/aliases.h: Likewise.
6722 * include/argz.h: Likewise.
6723 * include/arpa/inet.h: Likewise.
6724 * include/assert.h: Likewise.
6725 * include/dirent.h: Likewise.
6726 * include/dlfcn.h: Likewise.
6727 * include/execinfo.h: Likewise.
6728 * include/fcntl.h: Likewise.
6729 * include/fenv.h: Likewise.
6730 * include/glob.h: Likewise.
6731 * include/grp.h: Likewise.
6732 * include/libintl.h: Likewise.
6733 * include/mntent.h: Likewise.
6734 * include/netdb.h: Likewise.
6735 * include/pwd.h: Likewise.
6736 * include/rpc/netdb.h: Likewise.
6737 * include/sched.h: Likewise.
6738 * include/search.h: Likewise.
6739 * include/shadow.h: Likewise.
6740 * include/signal.h: Likewise.
6741 * include/stdio.h: Likewise.
6742 * include/stdlib.h: Likewise.
6743 * include/string.h: Likewise.
6744 * include/sys/socket.h: Likewise.
6745 * include/sys/stat.h: Likewise.
6746 * include/sys/statfs.h: Likewise.
6747 * include/sys/statvfs.h: Likewise.
6748 * include/sys/syslog.h: Likewise.
6749 * include/sys/time.h: Likewise.
6750 * include/sys/uio.h: Likewise.
6751 * include/time.h: Likewise.
6752 * include/unistd.h: Likewise.
6753 * include/utmp.h: Likewise.
6754 * include/wchar.h: Likewise.
6755 * include/wctype.h: Likewise.
6756 * inet/aliases.h: Likewise.
6757 * inet/arpa/inet.h: Likewise.
6758 * inet/netinet/ether.h: Likewise.
6759 * inet/netinet/in.h: Likewise.
6760 * intl/libintl.h: Likewise.
6761 * io/bits/fcntl2.h: Likewise.
6762 * io/fcntl.h: Likewise.
6763 * io/ftw.h: Likewise.
6764 * io/sys/poll.h: Likewise.
6765 * io/sys/stat.h: Likewise.
6766 * io/sys/statfs.h: Likewise.
6767 * io/sys/statvfs.h: Likewise.
6768 * io/utime.h: Likewise.
6769 * libio/bits/stdio.h: Likewise.
6770 * libio/bits/stdio2.h: Likewise.
6771 * libio/libio.h: Likewise.
6772 * libio/libioP.h: Likewise.
6773 * libio/stdio.h: Likewise.
6774 * locale/lc-ctype.c: Likewise.
6775 * locale/locale.h: Likewise.
6776 * login/utmp.h: Likewise.
6777 * malloc/arena.c: Likewise.
6778 * malloc/malloc.c: Likewise.
6779 * malloc/malloc.h: Likewise.
6780 * malloc/mcheck.c: Likewise.
6781 * malloc/mtrace.c: Likewise.
6782 * math/bits/mathcalls.h: Likewise.
6783 * math/fenv.h: Likewise.
6784 * math/math_private.h: Likewise.
6785 * misc/bits/error.h: Likewise.
6786 * misc/bits/syslog.h: Likewise.
6787 * misc/err.h: Likewise.
6788 * misc/error.h: Likewise.
6789 * misc/fstab.h: Likewise.
6790 * misc/mntent.h: Likewise.
6791 * misc/regexp.h: Likewise.
6792 * misc/search.h: Likewise.
6793 * misc/sgtty.h: Likewise.
6794 * misc/sys/mman.h: Likewise.
6795 * misc/sys/syslog.h: Likewise.
6796 * misc/sys/uio.h: Likewise.
6797 * misc/sys/xattr.h: Likewise.
6798 * misc/ttyent.h: Likewise.
6799 * nis/rpcsvc/ypclnt.h: Likewise.
6800 * nss/nss.h: Likewise.
6801 * posix/bits/unistd.h: Likewise.
6802 * posix/fnmatch.h: Likewise.
6803 * posix/glob.h: Likewise.
6804 * posix/sched.h: Likewise.
6805 * posix/spawn.h: Likewise.
6806 * posix/sys/wait.h: Likewise.
6807 * posix/unistd.h: Likewise.
6808 * posix/wordexp.h: Likewise.
6809 * pwd/pwd.h: Likewise.
6810 * resolv/netdb.h: Likewise.
6811 * resource/sys/resource.h: Likewise.
6812 * rt/aio.h: Likewise.
6813 * rt/bits/mqueue2.h: Likewise.
6814 * rt/mqueue.h: Likewise.
6815 * shadow/shadow.h: Likewise.
6816 * signal/signal.h: Likewise.
6817 * socket/send.c: Likewise.
6818 * socket/sendto.c: Likewise.
6819 * socket/sys/socket.h: Likewise.
6820 * stdio-common/printf.h: Likewise.
6821 * stdlib/bits/stdlib.h: Likewise.
6822 * stdlib/fmtmsg.h: Likewise.
6823 * stdlib/monetary.h: Likewise.
6824 * stdlib/stdlib.h: Likewise.
6825 * stdlib/ucontext.h: Likewise.
6826 * streams/stropts.h: Likewise.
6827 * string/argz.h: Likewise.
6828 * string/bits/string2.h: Likewise.
6829 * string/string.h: Likewise.
6830 * string/strings.h: Likewise.
6831 * sunrpc/rpc/auth.h: Likewise.
6832 * sunrpc/rpc/auth_des.h: Likewise.
6833 * sunrpc/rpc/clnt.h: Likewise.
6834 * sunrpc/rpc/netdb.h: Likewise.
6835 * sunrpc/rpc/pmap_clnt.h: Likewise.
6836 * sunrpc/rpc/xdr.h: Likewise.
6837 * sysdeps/generic/inttypes.h: Likewise.
6838 * sysdeps/generic/net/if.h: Likewise.
6839 * sysdeps/generic/sys/swap.h: Likewise.
6840 * sysdeps/gnu/net/if.h: Likewise.
6841 * sysdeps/gnu/utmpx.h: Likewise.
6842 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6843 * sysdeps/i386/i486/bits/string.h: Likewise.
6844 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6845 * sysdeps/s390/bits/string.h: Likewise.
6846 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6847 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6848 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6849 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6850 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6851 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6852 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6853 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6854 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6855 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6856 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6857 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6858 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6859 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6860 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6862 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6864 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6865 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6867 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6868 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6869 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6870 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6871 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6872 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6874 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6875 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6876 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6877 * sysvipc/sys/ipc.h: Likewise.
6878 * sysvipc/sys/msg.h: Likewise.
6879 * sysvipc/sys/sem.h: Likewise.
6880 * sysvipc/sys/shm.h: Likewise.
6881 * termios/termios.h: Likewise.
6882 * time/sys/time.h: Likewise.
6883 * time/time.h: Likewise.
6884 * wcsmbs/bits/wchar2.h: Likewise.
6885 * wcsmbs/uchar.h: Likewise.
6886 * wcsmbs/wchar.h: Likewise.
6887 * wctype/wctype.h: Likewise.
6890 * Makeconfig: Remove all but ELF support including AIX support.
6891 * Makerules: Likewise.
6892 * config.h.in: Likewise.
6893 * config.make.in: Likewise.
6894 * configure: Likewise.
6895 * configure.in: Likewise.
6896 * csu/Makefile: Likewise.
6897 * csu/version.c: Likewise.
6898 * debug/Makefile: Likewise.
6899 * dlfcn/Makefile: Likewise.
6900 * elf/Makefile: Likewise.
6901 * extra-lib.mk: Likewise.
6902 * iconv/Makefile: Likewise.
6903 * include/libc-symbols.h: Likewise.
6904 * include/shlib-compat.h: Likewise.
6905 * resolv/Makefile: Likewise.
6906 * resolv/res_libc.c: Likewise.
6907 * rt/Makefile: Likewise.
6908 * sysdeps/i386/asm-syntax.h: Likewise.
6909 * sysdeps/i386/sysdep.h: Likewise.
6910 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6911 * sysdeps/mach/sysdep.h: Likewise.
6912 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6913 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6914 * sysdeps/s390/asm-syntax.h: Likewise.
6915 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6916 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6917 * sysdeps/sh/sysdep.h: Likewise.
6918 * sysdeps/unix/sparc/sysdep.h: Likewise.
6919 * sysdeps/wordsize-32/divdi3.c: Likewise.
6920 * sysdeps/x86_64/sysdep.h: Likewise.
6922 * argp/Versions: Remove _argp_unlock_xxx.
6925 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6926 * abilist/libBrokenLocale.abilist: Likewise.
6927 * abilist/libanl.abilist: Likewise.
6928 * abilist/libc.abilist: Likewise.
6929 * abilist/libcrypt.abilist: Likewise.
6930 * abilist/libdl.abilist: Likewise.
6931 * abilist/libm.abilist: Likewise.
6932 * abilist/libnsl.abilist: Likewise.
6933 * abilist/libpthread.abilist: Likewise.
6934 * abilist/libresolv.abilist: Likewise.
6935 * abilist/librt.abilist: Likewise.
6936 * abilist/libthread_db.abilist: Likewise.
6937 * abilist/libutil.abilist: Likewise.
6938 * abilist/libnss_db.abilist: New file.
6940 * scripts/abilist.awk: Add support for indirect functions.
6942 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6944 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6946 * shlib-versions: Remove entries for ports architectures.
6948 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6950 * elf/stackguard-macros.h: Remove support for IA-64.
6951 * elf/tst-auditmod1.c: Likewise.
6952 * sysdeps/generic/ldsodefs.h: Likewise.
6954 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6955 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6959 * configure.in: Remove --enable-omitfp support.
6961 * config.make.in: Likewise.
6962 * Makeconfig: Likewise.
6963 * manual/install.texi: Likewise.
6965 In case anyone cares, the IA-64 architecture could move to ports.
6966 * sysdeps/ia64/*: Removed.
6967 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6968 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6971 * configure.in: Remove entries for unsupported architectures.
6974 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6975 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6977 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6978 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6979 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6980 fall back to using wcrtomb.
6981 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6982 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6984 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6985 * wcsmbs/tst-c16c32-1.c: New file.
6987 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6990 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6992 * elf/tst-unique3.cc: Add explicit declaration of gets.
6993 * elf/tst-unique3lib.cc: Likewise.
6994 * elf/tst-unique3lib2.cc: Likewise.
6995 * elf/tst-unique4.cc: Likewise.
6997 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6999 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7002 * assert/assert.h (static_assert): Don't define for C++.
7003 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7004 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7006 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7008 * iconv/loop.c (single loop): Fix assertion in storing of
7011 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7013 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7015 * posix/getconf.c: Update copyright year.
7016 * nss/getent.c: Likewise.
7017 * nss/makedb.c: Likewise.
7018 * iconv/iconvconfig.c: Likewise.
7019 * iconv/iconv_prog.c: Likewise.
7020 * elf/ldconfig.c: Likewise.
7021 * elf/pldd.c: Likewise.
7022 * elf/sotruss.ksh: Likewise.
7023 * catgets/gencat.c: Likewise.
7024 * csu/version.c: Likewise.
7025 * elf/ldd.bash.in: Likewise.
7026 * elf/sprof.c (print_version): Likewise.
7027 * locale/programs/locale.c: Likewise.
7028 * locale/programs/localedef.c: Likewise.
7029 * login/programs/pt_chown.c: Likewise.
7030 * nscd/nscd.c (print_version): Likewise.
7031 * debug/xtrace.sh: Likewise.
7032 * malloc/memusage.sh: Likewise.
7033 * malloc/mtrace.pl: Likewise.
7034 * debug/catchsegv.sh: Likewise.
7036 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7038 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7041 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7044 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7045 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7047 * iconv/gconv_int.h: Likewise.
7048 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7049 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7050 from libc for GLIBC_2.16.
7051 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7052 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7053 * wcsmbs/uchar.h: Really define mbstate_t.
7054 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7055 * wcsmbs/c16rtomb.c: New file.
7056 * wcsmbs/mbrtoc16.c: New file.
7057 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7059 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7060 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7062 * wcsmbs/wchar.h: Add missing __restrict.
7064 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7067 * time/Makefile (routines): Add timespec_get.
7068 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7069 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7070 timespec for ISO C11.
7071 * time/timespec_get.c: New file.
7072 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7073 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7076 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7077 * stdlib/stdlib.h: Declare aligned_alloc.
7078 * Versions.def: Add GLIBC_2.16 for libc.
7079 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7082 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7085 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7089 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7092 * assert/assert.h (static_assert): Define.
7094 * version.h: Update for 2.16 development version.
7097 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7100 * version.h (RELEASE): Bump for 2.15 release.
7101 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7103 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7104 Patch by Marek Polacek <mpolacek@redhat.com>.
7106 * bits/byteswap.h: Protect long long constants with __extension__.
7107 * sysdeps/i386/bits/byteswap.h: Likewise.
7108 * sysdeps/ia64/bits/byteswap.h: Likewise.
7109 * sysdeps/s390/bits/byteswap.h: Likewise.
7110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7112 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7117 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7119 2011-12-23 Marek Polacek <polacek@redhat.com>
7121 * elf/dl-addr.c (determine_info): Add inline keyword.
7122 * elf/tst-auditmod4b.c (check_avx): Likewise.
7123 * elf/tst-auditmod6b.c (check_avx): Likewise.
7124 * elf/tst-auditmod6c.c (check_avx): Likewise.
7125 * elf/tst-auditmod7b.c (check_avx): Likewise.
7127 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7129 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7132 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7135 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7136 processing for last bytes.
7138 2011-08-06 Bruno Haible <bruno@clisp.org>
7141 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7142 U+0385, not to U+1FEE.
7145 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7146 entry for U+00A5 U+0301.
7148 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7151 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7152 buffer for the output is too small.
7154 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7158 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7159 SSE flags if possible.
7161 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7165 processing for last bytes.
7167 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7169 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7170 (syscall-list-default-options, syscall-list-default-condition)
7171 (syscall-list-includes): Define.
7172 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7173 list of ABIs and options and #if conditions for each ABI. Do not
7174 handle common syscalls between ABIs specially.
7175 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7177 (syscall-list-variants, syscall-list-32bit-options)
7178 (syscall-list-32bit-condition, syscall-list-64bit-options)
7179 (syscall-list-64bit-condition): Define.
7180 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7181 (syscall-list-variants, syscall-list-32bit-options)
7182 (syscall-list-32bit-condition, syscall-list-64bit-options)
7183 (syscall-list-64bit-condition): Define.
7184 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7186 (syscall-list-variants, syscall-list-32bit-options)
7187 (syscall-list-32bit-condition, syscall-list-64bit-options)
7188 (syscall-list-64bit-condition): Define.
7189 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7191 (syscall-list-variants, syscall-list-32bit-options)
7192 (syscall-list-32bit-condition, syscall-list-64bit-options)
7193 (syscall-list-64bit-condition): Define.
7195 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7197 * locale/iso-639.def: Add brx entry.
7200 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7201 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7203 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7204 __feraiseexcept_renamed.
7206 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7209 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7210 EPOLLET with unsigned values.
7211 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7214 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7215 to large cancellation.
7216 * math/s_cacoshf.c: Likewise.
7217 * math/s_cacoshl.c: Likewise.
7219 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7223 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7224 * math/s_cacoshf.c: Likewise.
7225 * math/s_cacoshl.c: Likewise.
7227 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7230 * iconv/gconv.h: Define __GCONV_SWAP.
7231 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7232 * iconvdata/utf-16.c: Likewise.
7233 * iconvdata/utf-32.c: Likewise.
7235 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7238 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7239 numerator after shifting it by one limb.
7241 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7243 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7244 under [__USE_EXTERN_INLINES].
7246 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7249 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7251 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7253 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7254 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7256 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7257 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7258 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7259 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7260 for strncasecmp/strncasecmp_l compilation.
7261 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7262 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7264 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7267 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7270 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7273 * time/tzfile.c (__tzfile_read): Check values from file header.
7275 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7277 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7278 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7279 * powerpc/powerpc32/dl-start.S: Likewise.
7280 * powerpc/powerpc32/elf/start.S: Likewise.
7281 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7282 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7283 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7284 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7285 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7286 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7287 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7288 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7289 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7290 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7291 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7292 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7293 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7294 * powerpc/powerpc32/memset.S: Likewise.
7295 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7296 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7297 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7298 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7299 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7300 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7301 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7302 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7303 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7304 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7305 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7306 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7307 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7309 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311 * math/libm-test.inc: Added more nearbyint tests.
7312 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7313 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7314 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7315 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7317 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7319 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7322 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7324 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7325 Add wcscpy-ssse3 wcscpy-c.
7326 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7327 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7328 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7329 * sysdeps/x86_64/wcschr.S: New file.
7330 * sysdeps/x86_64/wcsrchr.S: New file.
7331 * string/test-strcmp.c: Remove checking of wcscmp function for
7333 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7334 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7335 wcsrchr-sse2 wcsrchr-c.
7336 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7337 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7338 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7339 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7340 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7341 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7342 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7343 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7344 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7345 * wcsmbc/wcschr.c (WCSCHR): New macro.
7347 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7349 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7350 * wcsmbs/test-wcsrchr.c: New file.
7351 * string/test-strrchr.c: Add wcsrchr support.
7353 * wcsmbs/test-wcscpy.c: New file.
7354 * string/test-strcpy.c: Add wcscpy support.
7357 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7359 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7362 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7365 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7367 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7369 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7370 Minor optimizations.
7372 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7373 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7374 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7376 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7378 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7379 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7380 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7381 for gcc to avoid warnings.
7382 * inet/Makefile (tests): Add tst-checks.
7383 * inet/tst-checks.c: New file.
7385 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7388 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7391 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7392 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7394 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7396 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7398 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7401 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7403 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7405 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7406 conditional on GCC version.
7407 (__arch_compare_and_exchange_val_8_acq)
7408 (__arch_compare_and_exchange_val_16_acq)
7409 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7410 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7411 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7413 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7415 * sysdeps/sh/backtrace.c: New file.
7417 2011-12-02 Andreas Schwab <schwab@redhat.com>
7419 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7422 2011-12-01 Andreas Schwab <schwab@redhat.com>
7424 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7425 falling back to utime.
7427 2011-11-30 Andreas Schwab <schwab@redhat.com>
7429 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7430 expectations for float.
7432 2011-11-29 Andreas Schwab <schwab@redhat.com>
7434 * locale/weight.h (findidx): Add parameter len.
7435 * locale/weightwc.h (findidx): Likewise.
7436 * posix/fnmatch_loop.c (FCT): Adjust caller.
7437 * posix/regcomp.c (build_equiv_class): Likewise.
7438 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7439 * posix/regexec.c (check_node_accept_bytes): Likewise.
7440 * string/strcoll_l.c (STRCOLL): Likewise.
7441 * string/strxfrm_l.c (STRXFRM): Likewise.
7443 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7445 * Makefile.in: Remove CVSOPT handling.
7446 * configure.in: Remove use of AC_REVISION.
7447 * iconvdata/Makefile (distribute): No need to filter out CVS.
7448 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7451 2011-11-16 Andreas Schwab <schwab@redhat.com>
7453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7454 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7455 [USE_AS_STRNCASECMP_L]: Likewise.
7456 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7457 NO_TLS_DIRECT_SEG_REFS.
7458 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7459 Fix argument offsets for non-PIC.
7460 [USE_AS_STRNCASECMP_L]: Likewise.
7461 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7462 NO_TLS_DIRECT_SEG_REFS.
7464 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7466 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7468 * locale/loadlocale.c (_nl_load_locale): Likewise.
7470 2011-11-15 Andreas Schwab <schwab@redhat.com>
7472 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7473 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7474 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7475 (SYSCALL_GETTIME): Set errno on error.
7477 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7478 count references to noai6ai_cached.
7480 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7482 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7484 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7485 FD_CLOEXEC for /proc/self/maps.
7487 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7488 FD_CLOEXEC for /proc/meminfo.
7490 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7493 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7494 FD_CLOEXEC for given file.
7496 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7498 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7499 FD_CLOEXEC for /etc/hosts.
7500 (_gethtent): Likewise.
7502 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7504 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7505 cancellation and set FD_CLOEXEC for /etc/netgroup.
7507 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7508 reading /etc/publickey.
7510 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7511 allow cancellation when reading /etc/group.
7513 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7515 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7517 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7518 when using data file.
7520 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7522 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7523 (write_nis_obj): Use "c" and "e" in fopen.
7525 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7527 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7529 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7531 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7533 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7536 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7538 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7540 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7542 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7543 file parsing and set FD_CLOEXEC.
7545 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7547 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7549 2011-11-14 Andreas Schwab <schwab@redhat.com>
7551 * malloc/arena.c (arena_get2): Don't call reused_arena when
7552 _int_new_arena failed.
7554 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7556 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7557 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7558 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7559 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7562 to compile strcasecmp and strncasecmp.
7563 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7564 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7568 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7570 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7571 locale-defines.sym to gen-as-const-headers.
7572 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7573 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7575 to compile strcasecmp and strncasecmp.
7576 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7577 strcasecmp_l and strncasecmp_l.
7578 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7579 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7580 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7581 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7582 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7583 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7584 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7585 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7586 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7587 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7588 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7590 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7592 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7593 result of SYSDEP_GETTIME_CPU to retval.
7594 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7595 parameter list to macro. Remove trailing semicolon. Adjust users.
7597 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7600 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7602 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7604 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7605 from unused variable.
7607 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7609 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7612 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7615 * sunrpc/rpc_prot.c (rejected): Fix case value.
7617 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7618 unsigned long long int to avoid warnings in shift.
7620 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7622 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7625 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7626 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7627 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7629 * nis/nis_table.c (nis_list): Use variable of correct type for
7630 result of __follow_path call.
7632 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7634 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7635 of math functions ceil, trunc, floor, round, and sqrt, when
7636 avaliable on the platform.
7637 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7639 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7640 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7641 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7643 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7645 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7646 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7648 2011-11-11 Roland McGrath <roland@hack.frob.com>
7650 * include/unistd.h: Fix __readlink return type.
7651 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7653 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7655 * stdlib/ucontext.h: Undo last change for makecontext.
7657 2011-11-11 Andreas Schwab <schwab@redhat.com>
7659 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7661 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7662 * setjmp/setjmp.h: Mark functions as non-leaf.
7663 * setjmp/bits/setjmp2.h: Likewise.
7664 * stdlib/ucontext.h: Likewise.
7666 2011-11-10 Andreas Schwab <schwab@redhat.com>
7668 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7669 (reused_arena): Don't check arena limit.
7670 (arena_get2): Atomically check arena limit.
7672 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7674 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7675 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7677 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7680 2011-11-07 Andreas Schwab <schwab@redhat.com>
7682 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7683 handler when locking.
7685 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7686 Fix size of allocated buffer.
7688 2011-11-04 Andreas Schwab <schwab@redhat.com>
7691 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7692 declarations for long double functions.
7693 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7695 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7697 2011-11-03 Andreas Schwab <schwab@redhat.com>
7699 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7702 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7705 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7707 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7709 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7711 * include/alloca.h (stackinfo_alloca_round): Define.
7712 (extend_alloca): Use it.
7713 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7714 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7717 * scripts/check-local-headers.sh: Ignore libaudit.h.
7719 * nscd/Makefile (extra-objs): Make recursively expanded.
7721 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7723 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7726 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7727 * posix/tst-rfc3484-2.c: Likewise.
7728 * posix/tst-rfc3484-3.c: Likewise.
7730 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7732 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7734 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7735 process_vm_writev from libc using GLIBC_2.15 version.
7737 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7739 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7741 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7744 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7747 * nss/getent.c (initgroups_keys): Show error message in case no group
7750 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7751 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7752 __bump_nl_timestamp.
7753 * nscd/connections (nscd_init): When host database is served open
7754 netlink socket and request notification about configuration changes.
7755 (main_loop_poll): Track netlink file descriptor and bump timestamp
7756 in case data becomes available.
7757 (main_loop_epoll): Likewise.
7758 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7759 (database_pers_head): Add extra_data fileds.
7760 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7761 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7762 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7765 in6ai data, call __free_in6ai.
7766 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7768 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7769 interface information. Reuse previous data if netlink timestamp
7771 (__bump_nl_timestamp): New function.
7772 (__free_in6ai): New function.
7774 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7776 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7777 close_not_cancel_no_status here.
7778 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7780 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7783 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7786 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7787 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7788 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7790 2011-07-03 Andreas Jaeger <aj@suse.de>
7793 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7794 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7795 * math/libm-test.inc (sin_test): Add test case.
7797 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7800 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7801 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7803 * elf/chroot_canon.c (chroot_canon): Cleanups.
7805 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7808 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7809 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7811 * string/test-strchr.c: Make usable for strchrnul testing.
7812 * string/test-strchrnul.c: New file.
7813 * string/Makefile (strop-tests): Add strchrnul.
7815 * po/it.po: Update from translation team.
7816 * po/es.po: Likewise.
7818 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7820 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7821 the three constants needed as parameters. Drop the others.
7822 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7823 __m128i_strloadu_tolower.
7824 Create and initialize variable zero and use it in all the places
7825 where _mm_setzero_si128 was used.
7827 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7828 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7829 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7830 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7832 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7833 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7834 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7835 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7836 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7837 __mpranred, __mptan.
7838 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7839 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7840 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7841 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7842 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7843 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7844 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7845 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7846 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7848 2011-10-28 Andreas Schwab <schwab@redhat.com>
7850 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7852 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7855 wide char related routines to wcsmbs subdir.
7857 2011-10-27 Andreas Schwab <schwab@redhat.com>
7860 * misc/sys/cdefs.h (__THROWNL): Define.
7861 * posix/unistd.h: Use __THREADNL instead of __THREAD
7862 for memory synchronization functions.
7864 2011-10-26 Roland McGrath <roland@hack.frob.com>
7867 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7869 * manual/stdio.texi (Obstack Streams): Node removed.
7871 2011-10-26 Andreas Schwab <schwab@redhat.com>
7873 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7874 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7875 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7877 * math/math_private.h (math_force_eval): Allow non-addressable
7879 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7881 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7883 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7886 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7887 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7889 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7890 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7891 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7893 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7895 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7896 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7897 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7898 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7899 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7900 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7901 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7902 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7903 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7904 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7905 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7906 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7908 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7909 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7910 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7911 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7912 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7913 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7915 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7916 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7918 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7919 place. Use VEX encoding when compiling for AVX.
7921 2011-10-25 Andreas Schwab <schwab@redhat.com>
7923 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7924 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7926 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7928 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7930 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7931 useless if() expression.
7932 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7933 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7935 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7936 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7937 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7938 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7939 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7940 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7941 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7942 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7943 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7944 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7945 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7946 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7947 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7948 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7950 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7952 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7954 2011-10-25 Andreas Schwab <schwab@redhat.com>
7956 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7958 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7960 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7962 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7963 .text section. Avoid duplicate constants.
7964 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7969 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7973 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7974 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7976 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7979 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7981 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7984 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7985 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7986 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7987 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7988 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7989 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7990 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7991 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7992 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7993 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7994 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7995 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7996 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7997 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7998 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7999 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8000 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8001 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8002 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8003 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8004 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8005 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8006 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8007 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8008 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8010 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8012 * sysdeps/x86_64/dla.h: Move to ...
8013 * sysdeps/x86_64/fpu/dla.h: ...here.
8014 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8015 situations. Use __builtin_fma only for gcc 4.6 and up.
8017 * config.make.in: Add have-mfma4 entry.
8018 * configure.in: Substitute libc_cv_cc_fma4.
8019 * math/Makefile (dbl-only-routines): Add sincostab.
8020 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8021 Use __sincostab not sincos.
8022 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8029 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8030 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8031 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8032 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8034 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8035 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8037 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8038 define aliases when function name is a macro.
8039 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8040 sysdeps/ieee754/dbl-64/sincos.tbl.
8041 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8042 fma4-enabled routines.
8043 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8044 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8045 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8046 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8047 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8048 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8050 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8052 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8053 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8054 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8055 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8056 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8057 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8058 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8059 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8060 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8061 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8062 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8063 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8064 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8065 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8066 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8067 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8068 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8069 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8070 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8071 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8072 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8074 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8085 2011-10-24 Andreas Schwab <schwab@redhat.com>
8087 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8089 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8091 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8093 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8095 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8097 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8098 Remove unused variable magic_bits.
8099 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8101 * string/strnlen.c: Define and use STRNLEN macro.
8102 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8103 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8104 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8105 * wcsmbs/wcslen.c: Define and use WCSLEN.
8106 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8107 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8108 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8109 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8110 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8111 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8112 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8114 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8117 strnlen-sse2-no-bsf.
8118 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8120 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8121 Add strnlen support.
8122 (USE_AS_STRNLEN): New macro.
8123 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8124 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8125 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8126 * sysdeps/x86_64/wcslen.S: New file.
8128 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8130 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8131 XMM-moves are used for copying on small sizes.
8133 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8135 * wcsmbs/Makefile (strop-tests): Add wcschr.
8136 * wcsmbs/test-wcschr.c: New file.
8137 * string/test-strchr.c: Update.
8141 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8143 * wcsmbs/Makefile (strop-tests): Add wcslen.
8144 * wcsmbs/test-wcslen.c: New file.
8145 * string/test-strlen.c: Update.
8149 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8151 * po/it.po: Update from translation team.
8153 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8155 * sysdeps/x86_64/wcscmp.S: Update.
8156 Fix wrong comparison semantics.
8157 wcscmp shall use signed comparison not unsigned.
8158 Don't use substraction to avoid overflow bug.
8159 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8160 * wcsmbc/wcscmp.c: Likewise.
8161 * string/test-strcmp.c: Likewise.
8162 Add new tests to check cases with negative values.
8164 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8166 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8167 * sysdeps/x86_64/dla.h: ...here. New file.
8168 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8178 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8180 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8181 __ynl_finite aliases.
8183 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8187 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8189 [DLA_FMA] (EMULV): Use DLA_FMA.
8190 [DLA_FMA] (MUL12): Use EMULV.
8191 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8192 that are not needed.
8193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8201 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8203 * math/s_nan.c: Undef __nan.
8204 * math/s_nanf.c: Undef __nanf.
8205 * math/s_nanl.c: Undef __nanl.
8206 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8209 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8211 * math/s_catan.c: Add branch predictions.
8212 * math/s_catanf.c: Likewise.
8213 * math/s_catanh.c: Likewise.
8214 * math/s_catanhf.c: Likewise.
8215 * math/s_catanhl.c: Likewise.
8216 * math/s_catanl.c: Likewise.
8217 * math/s_cexp.c: Likewise.
8218 * math/s_cexpf.c: Likewise.
8219 * math/s_cexpl.c: Likewise.
8220 * math/s_clog.c: Likewise.
8221 * math/s_clog10.c: Likewise.
8222 * math/s_clog10f.c: Likewise.
8223 * math/s_clog10l.c: Likewise.
8224 * math/s_clogf.c: Likewise.
8225 * math/s_clogl.c: Likewise.
8226 * math/s_csqrt.c: Likewise.
8227 * math/s_csqrtf.c: Likewise.
8228 * math/s_csqrtl.c: Likewise.
8229 * math/s_ctanf.c: Likewise.
8230 * math/s_ctanh.c: Likewise.
8231 * math/s_ctanhf.c: Likewise.
8232 * math/s_ctanhl.c: Likewise.
8233 * math/s_ctanl.c: Likewise.
8235 * math/math_private.h: Define __nan, __nanf, __nanl.
8236 * math/s_cacosh.c: Include <math_private.h>.
8237 * math/s_cacoshl.c: Likewise.
8238 * math/s_casinh.c: Likewise.
8239 * math/s_casinhf.c: Likewise.
8240 * math/s_casinhl.c: Likewise.
8241 * math/s_ccos.c: Rely entire on ccosh.
8242 * math/s_ccosf.c: Rely entire on ccoshf.
8243 * math/s_ccosl.c: Rely entirely on ccoshl.
8244 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8245 Remove tests for FE_INVALID.
8246 * math/s_ccoshf.c: Likewise.
8247 * math/s_ccoshl.c: Likewise.
8248 * math/s_csin.c: Likewise.
8249 * math/s_csinf.c: Likewise.
8250 * math/s_csinh.c Likewise.
8251 * math/s_csinhf.c: Likewise.
8252 * math/s_csinhl.c: Likewise.
8253 * math/s_csinl.c: Likewise.
8254 * math/s_ctan.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8256 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8257 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8259 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8262 compilation problems.
8264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8267 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8269 * sysdeps/i386/configure.in: Test for -mfma4 option.
8270 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8271 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8272 COMMON_CPUID_INDEX_80000001.
8273 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8274 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8275 use it if FMA3 is not supported.
8276 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8278 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8279 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8281 2011-10-20 Andreas Schwab <schwab@redhat.com>
8284 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8285 it would create a cycle with a link time dependency.
8287 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8289 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8291 * string/Makefile (strop-tests): Add rawmemchr.
8292 * string/test-rawmemchr.c: New file.
8294 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8295 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8296 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8297 when compiling str{,n}casecmp and when AVX is available. Hook up
8298 new optimized code in initializers.
8300 2011-10-19 Andreas Schwab <schwab@redhat.com>
8302 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8303 __feraiseexcept instead of feraiseexcept.
8305 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8307 * math/math_private.h: Define defaults for libc_fetestexcept and
8309 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8310 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8311 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8312 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8313 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8314 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8315 libc_fetestexcept and libc_feupdateenv.
8317 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8318 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8319 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8320 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8321 libc_feholdexcept_setround.
8323 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8324 Add s_nearbyint-c and s_nearbyintf-c.
8325 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8327 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8328 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8329 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8330 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8332 * math/math_private.h: Define defaults for libc_fegetround,
8333 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8334 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8335 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8336 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8337 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8339 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8340 Remove comments and hacks for old compiler versions.
8341 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8342 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8345 2011-10-18 Andreas Schwab <schwab@redhat.com>
8347 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8348 (__feraiseexcept_renamed): Add __NTH.
8349 (feraiseexcept): Add __NTH. Rename local variables to fix
8350 namespace violations.
8352 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8354 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8356 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8358 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8359 recently added interfaces.
8360 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8362 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8363 about macro parameter expansion.
8365 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8366 __NO_MATH_INLINES is defined. Cleanups.
8368 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8369 and __floorf is target has SSE4.1.
8370 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8371 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8372 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8373 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8375 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8379 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8381 2011-10-17 Andreas Schwab <schwab@redhat.com>
8383 * misc/sys/cdefs.h: Fix last change.
8385 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8388 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8390 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8392 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8394 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8395 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8397 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8398 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8399 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8400 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8401 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8402 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8403 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8404 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8405 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8406 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8407 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8408 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8409 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8410 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8411 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8412 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8413 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8415 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8416 ceil, ceilf, floor, floorf.
8418 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8419 Perform IRELATIVE relocations last.
8421 * elf/do-rel.h: Add another parameter nrelative, replacing the
8422 local variable with the same name. Change name of the function
8423 to end in Rel or Rela (uppercase).
8424 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8425 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8426 elf_dynamic_do_##reloc function.
8428 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8430 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8431 is sufficient, at least on modern CPUs.
8433 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8435 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8436 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8438 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8440 * math/bits/math-finite.h: Add entries for exp.
8441 * math/e_expl.c: Add __*_finite alias.
8442 * sysdeps/i386/fpu/e_exp.S: Likewise.
8443 * sysdeps/i386/fpu/e_expf.S: Likewise.
8444 * sysdeps/i386/fpu/e_expl.c: Likewise.
8445 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8446 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8447 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8450 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8451 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8453 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8454 is sufficient, at least on modern CPUs.
8456 * ctype/ctype-info.c (__ctype_init): Define.
8457 * include/ctype.h (__ctype_init): Declare.
8458 (__ctype_b_loc): The variable is always initialized.
8459 (__ctype_toupper_loc): Likewise.
8460 (__ctype_tolower_loc): Likewise.
8461 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8462 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8464 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8466 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8468 * configure.in: Also look in $cxxmachine/include for C++ system
8471 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8473 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8474 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8475 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8476 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8477 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8478 (USE_AS_WMEMCMP): New macro.
8480 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8481 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8482 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8483 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8485 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8486 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8487 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8488 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8489 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8490 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8491 (USE_AS_WMEMCMP): New macro.
8492 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8493 * sysdeps/string/test-memcmp.c: Update.
8496 * wcsmbs/wmemcmp.c: Update.
8497 (WMEMCMP): New macro.
8500 2011-10-12 Andreas Jaeger <aj@suse.de>
8503 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8505 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8507 * libio/iofwide.c (do_length): Avoid warning.
8509 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8511 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8513 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8515 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8516 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8517 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8518 * sysdeps/i386/i686/fpu/e_log.S: New file.
8519 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8520 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8522 * ctype/ctype.h: Add support for inlined isXXX functions when
8525 2011-10-14 Andreas Schwab <schwab@redhat.com>
8527 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8529 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8531 2011-10-13 Roland McGrath <roland@hack.frob.com>
8534 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8536 2011-10-13 Andreas Schwab <schwab@redhat.com>
8538 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8539 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8542 * sysdeps/x86_64/memrchr.S: Check for zero size.
8544 * string/stratcliff.c: Add memrchr tests.
8546 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8549 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8550 rawmemchr-sse2 rawmemchr-sse2-bsf.
8551 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8552 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8553 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8554 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8555 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8556 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8557 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8558 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8559 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8560 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8561 * string/memrchr.c (MEMRCHR): New macro.
8563 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8565 Add integration with gcc's -ffinite-math-only and optimize wrapper
8567 * Versions.def: Define GLIBC_2.15 version for libm.
8568 * math/Makefile (headers): Add bits/math-finite.h.
8569 * math/bits/math-finite.h: New file.
8570 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8571 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8572 * math/e_acoshl.c: Add __*_finite alias.
8573 * math/e_acosl.c: Likewise.
8574 * math/e_asinl.c: Likewise.
8575 * math/e_atan2l.c: Likewise.
8576 * math/e_atanhl.c: Likewise.
8577 * math/e_coshl.c: Likewise.
8578 * math/e_exp10.c: Likewise.
8579 * math/e_exp10f.c: Likewise.
8580 * math/e_exp10l.c: Likewise.
8581 * math/e_exp2l.c: Likewise.
8582 * math/e_fmodl.c: Likewise.
8583 * math/e_gammal_r.c: Likewise.
8584 * math/e_hypotl.c: Likewise.
8585 * math/e_j0l.c: Likewise.
8586 * math/e_j1l.c: Likewise.
8587 * math/e_jnl.c: Likewise.
8588 * math/e_lgammal_r.c: Likewise.
8589 * math/e_log10l.c: Likewise.
8590 * math/e_log2l.c: Likewise.
8591 * math/e_logl.c: Likewise.
8592 * math/e_powl.c: Likewise.
8593 * math/e_sinhl.c: Likewise.
8594 * math/e_sqrtl.c: Likewise.
8595 * math/e_scalb.c: Completely rewritten and optimized.
8596 * math/e_scalbf.c: Likewise.
8597 * math/e_scalbl.c: Likewise.
8598 * math/w_acos.c: Likewise.
8599 * math/w_acosf.c: Likewise.
8600 * math/w_acosl.c: Likewise.
8601 * math/w_acosh.c: Likewise.
8602 * math/w_acoshf.c: Likewise.
8603 * math/w_acoshl.c: Likewise.
8604 * math/w_asin.c: Likewise.
8605 * math/w_asinf.c: Likewise.
8606 * math/w_asinl.c: Likewise.
8607 * math/w_atan2.c: Likewise.
8608 * math/w_atan2f.c: Likewise.
8609 * math/w_atan2l.c: Likewise.
8610 * math/w_atanh.c: Likewise.
8611 * math/w_atanhf.c: Likewise.
8612 * math/w_atanhl.c: Likewise.
8613 * math/w_exp10.c: Likewise.
8614 * math/w_exp10f.c: Likewise.
8615 * math/w_exp10l.c: Likewise.
8616 * math/w_fmod.c: Likewise.
8617 * math/w_fmodf.c: Likewise.
8618 * math/w_fmodl.c: Likewise.
8619 * math/w_j0.c: Likewise.
8620 * math/w_j0f.c: Likewise.
8621 * math/w_j0l.c: Likewise.
8622 * math/w_j1.c: Likewise.
8623 * math/w_j1f.c: Likewise.
8624 * math/w_j1l.c: Likewise.
8625 * math/w_jn.c: Likewise.
8626 * math/w_jnf.c: Likewise.
8627 * math/w_log.c: Likewise.
8628 * math/w_logf.c: Likewise.
8629 * math/w_logl.c: Likewise.
8630 * math/w_log10.c: Likewise.
8631 * math/w_log10f.c: Likewise.
8632 * math/w_log10l.c: Likewise.
8633 * math/w_log2.c: Likewise.
8634 * math/w_log2f.c: Likewise.
8635 * math/w_log2l.c: Likewise.
8636 * math/w_pow.c: Likewise.
8637 * math/w_powf.c: Likewise.
8638 * math/w_powl.c: Likewise.
8639 * math/w_remainder.c: Likewise.
8640 * math/w_remainderf.c: Likewise.
8641 * math/w_remainderl.c: Likewise.
8642 * math/w_scalb.c: Likewise.
8643 * math/w_scalbf.c: Likewise.
8644 * math/w_scalbl.c: Likewise.
8645 * math/w_sqrt.c: Likewise.
8646 * math/w_sqrtf.c: Likewise.
8647 * math/w_sqrtl.c: Likewise.
8648 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8649 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8651 * math/math_private.h: Declare __kernel_standard_f.
8652 * math/w_cosh.c: Remove cruft and optimize a bit.
8653 * math/w_coshf.c: Likewise.
8654 * math/w_coshl.c: Likewise.
8655 * math/w_exp2.c: Likewise.
8656 * math/w_exp2f.c: Likewise.
8657 * math/w_exp2l.c: Likewise.
8658 * math/w_hypot.c: Likewise.
8659 * math/w_hypotf.c: Likewise.
8660 * math/w_hypotl.c: Likewise.
8661 * math/w_lgamma.c: Likewise.
8662 * math/w_lgamma_r.c: Likewise.
8663 * math/w_lgammaf.c: Likewise.
8664 * math/w_lgammaf_r.c: Likewise.
8665 * math/w_lgammal.c: Likewise.
8666 * math/w_lgammal_r.c: Likewise.
8667 * math/w_sinh.c: Likewise.
8668 * math/w_sinhf.c: Likewise.
8669 * math/w_sinhl.c: Likewise.
8670 * math/w_tgamma.c: Likewise.
8671 * math/w_tgammaf.c: Likewise.
8672 * math/w_tgammal.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8674 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8675 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8676 Minor optimizations. Pretty printing. Remove cruft.
8677 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8678 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8679 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8680 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8681 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8682 * sysdeps/i386/fpu/e_asin.S: Likewise.
8683 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8684 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8685 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8686 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8687 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8688 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8689 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8690 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8691 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8692 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8693 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8694 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8695 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8696 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8697 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8698 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8699 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8700 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8701 * sysdeps/i386/fpu/e_log.S: Likewise.
8702 * sysdeps/i386/fpu/e_log10.S: Likewise.
8703 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8704 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8705 * sysdeps/i386/fpu/e_log2.S: Likewise.
8706 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8707 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8708 * sysdeps/i386/fpu/e_logf.S: Likewise.
8709 * sysdeps/i386/fpu/e_logl.S: Likewise.
8710 * sysdeps/i386/fpu/e_pow.S: Likewise.
8711 * sysdeps/i386/fpu/e_powf.S: Likewise.
8712 * sysdeps/i386/fpu/e_powl.S: Likewise.
8713 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8714 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8715 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8716 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8717 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8718 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8719 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8720 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8721 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8743 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8744 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8745 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8746 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8747 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8748 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8749 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8750 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8751 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8752 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8753 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8754 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8755 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8756 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8757 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8758 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8759 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8760 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8761 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8762 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8763 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8813 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8814 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8815 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8816 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8817 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8818 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8819 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8820 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8821 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8822 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8823 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8824 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8825 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8826 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8827 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8828 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8829 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8830 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8831 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8832 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8833 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8834 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8835 (__isnanf): Likewise.
8836 (__isinf_ns): Likewise.
8837 (__isinf_nsf): Likewise.
8838 (__finite): Likewise.
8839 (__finitef): Likewise.
8840 (__ieee754_sqrt): Define as macro.
8841 (__ieee754_sqrtf): Define as macro.
8842 (__ieee754_sqrtl): Define as macro.
8843 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8845 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8846 __FINITE_MATH_ONLY__ consistent.
8847 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8849 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8851 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8854 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8856 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8858 * po/ja.po: Update from translation team.
8860 2011-10-08 Roland McGrath <roland@hack.frob.com>
8862 * locale/programs/locarchive.c (prepare_address_space): New function.
8863 (create_archive, enlarge_archive, open_archive): Use it.
8865 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8866 inside [SHARED], where it is used.
8868 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8870 * nss/getent.c (netgroup_keys): Remove unused variable.
8871 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8873 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8875 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8876 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8877 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8878 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8879 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8880 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8881 * math/Makefile (libm-calls): Add s_isinf_ns.
8882 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8883 * math/multc3.c: Likewise.
8884 * math/s_casin.c: Likewise.
8885 * math/s_casinf.c: Likewise.
8886 * math/s_casinl.c: Likewise.
8887 * math/s_ccos.c: Likewise.
8888 * math/s_ccosf.c: Likewise.
8889 * math/s_ccosl.c: Likewise.
8890 * math/s_ctan.c: Likewise.
8891 * math/s_ctanf.c: Likewise.
8892 * math/s_ctanh.c: Likewise.
8893 * math/s_ctanhf.c: Likewise.
8894 * math/s_ctanhl.c: Likewise.
8895 * math/s_ctanl.c: Likewise.
8896 * math/w_fmod.c: Likewise.
8897 * math/w_fmodf.c: Likewise.
8898 * math/w_fmodl.c: Likewise.
8899 * math/w_remainder.c: Likewise.
8900 * math/w_remainderf.c: Likewise.
8901 * math/w_remainderl.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8903 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8904 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8905 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8906 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8907 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8908 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8909 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8911 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8913 * stdio-common/printf_fphex.c: Likewise.
8914 * stdio-common/printf_size.c: Likewise.
8916 * math/e_exp10.c: Include math_private.h using <...> not "...".
8917 * math/e_exp10f.c: Likewise.
8918 * math/e_exp10l.c: Likewise.
8919 * math/e_exp2l.c: Likewise.
8920 * math/e_j0l.c: Likewise.
8921 * math/e_j1l.c: Likewise.
8922 * math/e_jnl.c: Likewise.
8923 * math/e_lgammal_r.c: Likewise.
8924 * math/e_rem_pio2l.c: Likewise.
8925 * math/e_scalb.c: Likewise.
8926 * math/e_scalbf.c: Likewise.
8927 * math/e_scalbl.c: Likewise.
8928 * math/k_cosl.c: Likewise.
8929 * math/k_sinl.c: Likewise.
8930 * math/k_tanl.c: Likewise.
8931 * math/s_cacoshf.c: Likewise.
8932 * math/s_catan.c: Likewise.
8933 * math/s_catanf.c: Likewise.
8934 * math/s_catanh.c: Likewise.
8935 * math/s_catanhf.c: Likewise.
8936 * math/s_catanhl.c: Likewise.
8937 * math/s_catanl.c: Likewise.
8938 * math/s_ccosh.c: Likewise.
8939 * math/s_ccoshf.c: Likewise.
8940 * math/s_ccoshl.c: Likewise.
8941 * math/s_cexp.c: Likewise.
8942 * math/s_cexpf.c: Likewise.
8943 * math/s_cexpl.c: Likewise.
8944 * math/s_clog.c: Likewise.
8945 * math/s_clog10.c: Likewise.
8946 * math/s_clog10f.c: Likewise.
8947 * math/s_clog10l.c: Likewise.
8948 * math/s_clogf.c: Likewise.
8949 * math/s_clogl.c: Likewise.
8950 * math/s_csin.c: Likewise.
8951 * math/s_csinf.c: Likewise.
8952 * math/s_csinh.c: Likewise.
8953 * math/s_csinhf.c: Likewise.
8954 * math/s_csinhl.c: Likewise.
8955 * math/s_csinl.c: Likewise.
8956 * math/s_csqrt.c: Likewise.
8957 * math/s_csqrtf.c: Likewise.
8958 * math/s_csqrtl.c: Likewise.
8959 * math/s_ctan.c: Likewise.
8960 * math/s_ctanf.c: Likewise.
8961 * math/s_ctanh.c: Likewise.
8962 * math/s_ctanhf.c: Likewise.
8963 * math/s_ctanhl.c: Likewise.
8964 * math/s_ctanl.c: Likewise.
8965 * math/s_ldexp.c: Likewise.
8966 * math/s_ldexpf.c: Likewise.
8967 * math/s_ldexpl.c: Likewise.
8968 * math/s_significand.c: Likewise.
8969 * math/s_significandf.c: Likewise.
8970 * math/s_significandl.c: Likewise.
8971 * math/w_acos.c: Likewise.
8972 * math/w_acosf.c: Likewise.
8973 * math/w_acosh.c: Likewise.
8974 * math/w_acoshf.c: Likewise.
8975 * math/w_acoshl.c: Likewise.
8976 * math/w_acosl.c: Likewise.
8977 * math/w_asin.c: Likewise.
8978 * math/w_asinf.c: Likewise.
8979 * math/w_asinl.c: Likewise.
8980 * math/w_atan2.c: Likewise.
8981 * math/w_atan2f.c: Likewise.
8982 * math/w_atan2l.c: Likewise.
8983 * math/w_atanh.c: Likewise.
8984 * math/w_atanhf.c: Likewise.
8985 * math/w_atanhl.c: Likewise.
8986 * math/w_cosh.c: Likewise.
8987 * math/w_coshf.c: Likewise.
8988 * math/w_coshl.c: Likewise.
8989 * math/w_dremf.c: Likewise.
8990 * math/w_exp10.c: Likewise.
8991 * math/w_exp10f.c: Likewise.
8992 * math/w_exp10l.c: Likewise.
8993 * math/w_exp2.c: Likewise.
8994 * math/w_exp2f.c: Likewise.
8995 * math/w_fmod.c: Likewise.
8996 * math/w_fmodf.c: Likewise.
8997 * math/w_fmodl.c: Likewise.
8998 * math/w_hypot.c: Likewise.
8999 * math/w_hypotf.c: Likewise.
9000 * math/w_hypotl.c: Likewise.
9001 * math/w_j0.c: Likewise.
9002 * math/w_j0f.c: Likewise.
9003 * math/w_j0l.c: Likewise.
9004 * math/w_j1.c: Likewise.
9005 * math/w_j1f.c: Likewise.
9006 * math/w_j1l.c: Likewise.
9007 * math/w_jn.c: Likewise.
9008 * math/w_jnf.c: Likewise.
9009 * math/w_jnl.c: Likewise.
9010 * math/w_lgamma.c: Likewise.
9011 * math/w_lgamma_r.c: Likewise.
9012 * math/w_lgammaf.c: Likewise.
9013 * math/w_lgammaf_r.c: Likewise.
9014 * math/w_lgammal.c: Likewise.
9015 * math/w_lgammal_r.c: Likewise.
9016 * math/w_log.c: Likewise.
9017 * math/w_log10.c: Likewise.
9018 * math/w_log10f.c: Likewise.
9019 * math/w_log10l.c: Likewise.
9020 * math/w_log2.c: Likewise.
9021 * math/w_log2f.c: Likewise.
9022 * math/w_log2l.c: Likewise.
9023 * math/w_logf.c: Likewise.
9024 * math/w_logl.c: Likewise.
9025 * math/w_pow.c: Likewise.
9026 * math/w_powf.c: Likewise.
9027 * math/w_powl.c: Likewise.
9028 * math/w_remainder.c: Likewise.
9029 * math/w_remainderf.c: Likewise.
9030 * math/w_remainderl.c: Likewise.
9031 * math/w_scalb.c: Likewise.
9032 * math/w_scalbf.c: Likewise.
9033 * math/w_scalbl.c: Likewise.
9034 * math/w_sinh.c: Likewise.
9035 * math/w_sinhf.c: Likewise.
9036 * math/w_sinhl.c: Likewise.
9037 * math/w_sqrt.c: Likewise.
9038 * math/w_sqrtf.c: Likewise.
9039 * math/w_sqrtl.c: Likewise.
9040 * math/w_tgamma.c: Likewise.
9041 * math/w_tgammaf.c: Likewise.
9042 * math/w_tgammal.c: Likewise.
9044 * po/ja.po: Update from translation team.
9046 2011-09-29 Andreas Jaeger <aj@suse.de>
9049 * sunrpc/netname.c (netname2host): Fix logic.
9053 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9055 * math/w_remainder.c (__remainder): Likewise.
9056 * math/w_remainderf.c (__remainderf): Likewise.
9057 * math/libm-test.inc (remainder_test): Add test cases.
9059 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9061 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9064 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9066 * string/test-memcmp.c: Avoid unncessary #defines.
9067 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9069 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9071 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9072 Use new sse2 version for core i3 - i7 as it's faster
9074 (bit_Prefer_PMINUB_for_stringop): New.
9075 * sysdeps/x86_64/rawmemchr.S: Update.
9076 Replace with faster SSE2 version.
9077 * sysdeps/x86_64/memrchr.S: New file.
9078 * sysdeps/x86_64/memchr.S: Update.
9079 Replace with faster SSE2 version.
9081 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9083 * elf/dl-load.c (lose): Add cast to avoid warning.
9085 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9087 * po/ca.po: Update from translation team.
9089 * inet/getnetgrent_r.c: Hook up nscd.
9090 * nscd/Makefile (routines): Add nscd_netgroup.
9091 (nscd-modules): Add netgroupcache.
9092 (CFLAGS-netgroupcache.c): Define.
9093 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9094 (cache_search): Add const to second parameter.
9095 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9097 (dbs): Add netgrdb entry.
9098 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9099 (verify_persistent_db): Handle netgrdb.
9100 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9101 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9103 (netgroup_response_header): Define.
9104 (innetgroup_response_header): Define.
9105 (datahead): Add netgroup_response_header and innetgroup_response_header
9107 * nscd/nscd.conf: Add entries for netgroup cache.
9108 * nscd/nscd.h (dbtype): Add netgrdb.
9109 (_PATH_NSCD_NETGROUP_DB): Define.
9110 (netgroup_iov_disabled): Declare.
9111 (xmalloc, xcalloc, xrealloc): Move declarations here.
9112 (cache_search): Adjust prototype.
9113 Add netgroup-related prototypes.
9114 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9115 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9116 (__nscd_innetgr): Declare.
9117 * nscd/selinux.c (perms): Use access_vector_t as element type and
9118 add netgroup-related initializers.
9119 * nscd/netgroupcache.c: New file.
9120 * nscd/nscd_netgroup.c: New file.
9121 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9122 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9123 For four parameters use innetgr.
9124 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9125 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9126 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9127 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9129 * nscd/connections.c (register_traced_file): Don't register file
9130 for disabled databases.
9132 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9134 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9136 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9137 from tree and freeing node.
9139 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9141 * nss/nsswitch.c (__nss_database_lookup): Handle
9142 nss_parse_service_list out of memory case.
9144 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9146 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9149 2011-10-04 Andreas Schwab <schwab@redhat.com>
9151 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9152 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9154 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9155 elf_machine_rela, elf_machine_lazy_rel.
9156 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9157 (ELF_DYNAMIC_DO_REL): Likewise.
9158 (ELF_DYNAMIC_DO_RELA): Likewise.
9159 (ELF_DYNAMIC_RELOCATE): Likewise.
9160 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9161 to ELF_DYNAMIC_DO_REL.
9162 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9163 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9164 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9166 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9167 skip_ifunc, don't call ifunc function if non-zero.
9168 (elf_machine_rela): Likewise.
9169 (elf_machine_lazy_rel): Likewise.
9170 (elf_machine_lazy_rela): Likewise.
9171 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9172 (elf_machine_lazy_rel): Likewise.
9173 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9175 (elf_machine_lazy_rel): Likewise.
9176 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9178 (elf_machine_lazy_rel): Likewise.
9179 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9180 (elf_machine_lazy_rel): Likewise.
9181 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9182 (elf_machine_lazy_rel): Likewise.
9183 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9184 (elf_machine_lazy_rel): Likewise.
9185 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9186 (elf_machine_lazy_rel): Likewise.
9187 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9188 (elf_machine_lazy_rel): Likewise.
9189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9190 (elf_machine_lazy_rel): Likewise.
9192 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9194 * nss/nss_files/files-init.c (_nss_files_init): Use static
9195 initialization for all the *_traced_file variables.
9197 2011-09-28 Andreas Schwab <schwab@redhat.com>
9199 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9201 2011-09-27 Roland McGrath <roland@hack.frob.com>
9204 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9206 2011-09-27 Andreas Schwab <schwab@redhat.com>
9208 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9209 Reread the line before reparsing it.
9211 2011-09-26 Andreas Schwab <schwab@redhat.com>
9213 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9215 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9216 Maxim Kuvyrkov <maxim@codesourcery.com>
9217 Joseph Myers <joseph@codesourcery.com>
9219 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9220 if needed for __stack_chk_guard.
9222 2011-09-19 Roland McGrath <roland@hack.frob.com>
9224 * sysdeps/posix/spawni.c (script_execute): Always define it.
9225 It will be optimized away if unused.
9226 (maybe_script_execute): New function.
9227 (__spawni): Call it.
9229 * Makerules: Don't include tls.make.
9230 (config-tls): Always set to thread.
9231 * tls.make.c: File removed.
9233 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9235 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9236 * config.make.in (CPPFLAGS-config): New substituted variable.
9238 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9240 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9243 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9244 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9246 2011-09-15 Roland McGrath <roland@hack.frob.com>
9248 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9249 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9251 (CALL_FAIL): Likewise.
9252 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9253 (CALL_FAIL): Macro removed.
9254 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9256 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9258 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9259 for __FINITE_MATH_ONLY__ == 1.
9261 2011-09-15 Andreas Schwab <schwab@redhat.com>
9263 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9264 __ieee754_sqrt instead of sqrt.
9265 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9266 __ieee754_sqrtf instead of sqrtf.
9267 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9268 __floorf instead of floorf.
9269 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9270 __floorf, __truncf instead of floorf, truncf.
9272 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9274 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9276 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9277 __extern_always_inline.
9278 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9281 2011-09-14 Andreas Schwab <schwab@redhat.com>
9283 * elf/rtld.c (dl_main): Also relocate in dependency order when
9284 doing symbol dependency testing.
9286 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9289 Always define `refsym'.
9291 2011-09-13 Andreas Schwab <schwab@redhat.com>
9293 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9294 (__FD_ELT): Renamed from __FDELT.
9295 * misc/bits/select2.h (__FD_ELT): Likewise.
9296 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9297 __FD_MASK instead of __FDELT, __FDMASK.
9298 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9300 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9303 * elf/Makefile (gen-ldd): Fix pattern.
9305 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9306 (init_tls): Likewise.
9308 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9310 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9312 2011-09-12 Andreas Schwab <schwab@redhat.com>
9314 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9315 `struct cmsghdr *' instead of `void *'.
9316 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9319 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9321 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9323 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9326 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9328 * configure.in: Remove --with-tls option.
9329 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9330 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9331 out in case it is missing.
9332 * sysdeps/ia64/elf/configure.in: Likewise.
9333 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9334 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9335 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9336 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9337 * sysdeps/sh/elf/configure.in: Likewise.
9338 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9339 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9340 * sysdeps/x86_64/elf/configure.in: Likewise.
9341 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9342 * sysdeps/mach/hurd/tls.h: Likewise.
9345 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9348 * configure.in: Fix use of AC_INIT.
9350 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9352 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9354 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9356 * malloc/hooks.c: Likewise.
9359 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9360 variables statically.
9361 (narenas): Initialize.
9362 (list_lock): Initialize.
9363 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9364 initializtion of main_arena and list_lock. Small cleanups.
9365 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9366 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9367 Add initializers to main_arena and mp_.
9368 (malloc_state): Remove pagesize member. Change all users to use
9371 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9372 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9373 is always initialized.
9375 * malloc/malloc.c: Removed unused configurations and dead code.
9376 * malloc/arena.c: Likewise.
9377 * malloc/hooks.c: Likewise.
9378 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9380 * include/tls.h: Removed. USE___THREAD must always be defined.
9381 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9382 * elf/dl-libc.c: Likewise.
9383 * elf/dl-tsd.c: Likewise.
9384 * include/errno.h: Likewise.
9385 * include/netdb.h: Likewise.
9386 * include/resolv.h: Likewise.
9387 * inet/herrno-loc.c: Likewise.
9388 * inet/herrno.c: Likewise.
9389 * malloc/arena.c: Likewise.
9390 * malloc/hooks.c: Likewise.
9391 * malloc/malloc.c: Likewise.
9392 * resolv/res-state.c: Likewise.
9393 * resolv/res_libc.c: Likewise.
9394 * sysdeps/i386/dl-machine.h: Likewise.
9395 * sysdeps/ia64/dl-machine.h: Likewise.
9396 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9397 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9398 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9399 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9400 * sysdeps/sh/dl-machine.h: Likewise.
9401 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9402 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9403 * sysdeps/unix/i386/sysdep.S: Likewise.
9404 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9405 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9406 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9407 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9408 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9409 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9410 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9414 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9415 * sysdeps/x86_64/dl-machine.h: Likewise.
9416 * tls.make.c: Likewise.
9418 * configure.in: Remove --with-__thread option. Make tests for
9419 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9420 tls_model attribute fail if no support is available. Remove
9422 * Makeconfig: Adjust for dropped configure option. All features are
9424 * Makerules: Likewise.
9425 * Versions.def: Likewise.
9426 * argp/argp-fmtstream.c: Likewise.
9427 * argp/argp-fmtstream.h: Likewise.
9428 * argp/argp-help.c: Likewise.
9429 * assert/assert.c: Likewise.
9430 * config.h.in: Likewise.
9431 * config.make.in: Likewise.
9432 * configure: Likewise.
9433 * configure.in: Likewise.
9434 * csu/Versions: Likewise.
9435 * csu/init.c: Likewise.
9436 * elf/tst-audit2.c: Likewise.
9437 * elf/tst-tls10.c: Likewise.
9438 * elf/tst-tls10.h: Likewise.
9439 * elf/tst-tls11.c: Likewise.
9440 * elf/tst-tls12.c: Likewise.
9441 * elf/tst-tls14.c: Likewise.
9442 * elf/tst-tlsmod11.c: Likewise.
9443 * elf/tst-tlsmod12.c: Likewise.
9444 * elf/tst-tlsmod13.c: Likewise.
9445 * elf/tst-tlsmod13a.c: Likewise.
9446 * elf/tst-tlsmod14a.c: Likewise.
9447 * elf/tst-tlsmod15b.c: Likewise.
9448 * elf/tst-tlsmod16a.c: Likewise.
9449 * elf/tst-tlsmod16b.c: Likewise.
9450 * elf/tst-tlsmod7.c: Likewise.
9451 * elf/tst-tlsmod8.c: Likewise.
9452 * elf/tst-tlsmod9.c: Likewise.
9453 * gmon/gmon.c: Likewise.
9454 * grp/fgetgrent_r.c: Likewise.
9455 * grp/putgrent.c: Likewise.
9456 * hurd/fopenport.c: Likewise.
9457 * include/libc-symbols.h: Likewise.
9458 * include/tls.h: Likewise.
9459 * intl/gettextP.h: Likewise.
9460 * intl/loadinfo.h: Likewise.
9461 * locale/global-locale.c: Likewise.
9462 * locale/localeinfo.h: Likewise.
9463 * mach/devstream.c: Likewise.
9464 * malloc/arena.c: Likewise.
9465 * malloc/set-freeres.c: Likewise.
9466 * misc/err.c: Likewise.
9467 * misc/getttyent.c: Likewise.
9468 * misc/mntent_r.c: Likewise.
9469 * posix/getopt.c: Likewise.
9470 * posix/wordexp.c: Likewise.
9471 * pwd/fgetpwent_r.c: Likewise.
9472 * resolv/Versions: Likewise.
9473 * resolv/res_hconf.c: Likewise.
9474 * shadow/fgetspent_r.c: Likewise.
9475 * shadow/putspent.c: Likewise.
9476 * stdio-common/printf_fphex.c: Likewise.
9477 * stdio-common/tmpfile.c: Likewise.
9478 * stdlib/abort.c: Likewise.
9479 * stdlib/fmtmsg.c: Likewise.
9480 * sunrpc/auth_unix.c: Likewise.
9481 * sunrpc/clnt_perr.c: Likewise.
9482 * sunrpc/clnt_tcp.c: Likewise.
9483 * sunrpc/clnt_udp.c: Likewise.
9484 * sunrpc/clnt_unix.c: Likewise.
9485 * sunrpc/openchild.c: Likewise.
9486 * sunrpc/svc_simple.c: Likewise.
9487 * sunrpc/svc_tcp.c: Likewise.
9488 * sunrpc/svc_udp.c: Likewise.
9489 * sunrpc/svc_unix.c: Likewise.
9490 * sunrpc/xdr.c: Likewise.
9491 * sunrpc/xdr_array.c: Likewise.
9492 * sunrpc/xdr_rec.c: Likewise.
9493 * sunrpc/xdr_ref.c: Likewise.
9494 * sunrpc/xdr_stdio.c: Likewise.
9496 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9498 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9500 2011-07-03 Andreas Jaeger <aj@suse.de>
9502 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9503 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9504 regenerate with gen-libm-tests.pl.
9506 2010-05-12 Petr Baudis <pasky@suse.cz>
9509 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9510 around j0() zero points by switching to j1().
9511 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9516 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9518 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9520 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9523 Patch in part by Pavel Roskin <proski@gnu.org>.
9526 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9528 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9529 Free memory block if necessary.
9532 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9533 be NULL. Don't lock in this case.
9535 2011-09-09 Roland McGrath <roland@hack.frob.com>
9537 * elf/elf.h (ELFOSABI_GNU): New macro.
9538 (ELFOSABI_LINUX): Define to that.
9540 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9542 * string/strncat.c (strncat): Undef the symbol in case it has been
9543 defined in bits/string.h.
9545 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9547 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9549 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9552 2011-08-17 Andreas Jaeger <aj@suse.de>
9554 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9556 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9557 Ian Lance Taylor <iant@google.com>
9559 * math/libm-test.inc (lround_test): New testcase.
9560 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9562 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9564 * Makefile: Remove support for automatic cvs check-ins.
9565 * Makerules: Likewise.
9566 * config.make.in: Likewise.
9567 * configure.in: Likewise.
9568 * intl/Makefile: Likewise.
9569 * locale/Makefile: Likewise.
9570 * po/Makefile: Likewise.
9571 * posix/Makefile: Likewise.
9572 * sysdeps/gnu/Makefile: Likewise.
9573 * sysdeps/mach/hurd/Makefile: Likewise.
9574 * sysdeps/sparc/sparc32/Makefile: Likewise.
9577 * posix/Makefile (bug-regex32-ENV): Define.
9578 Patch by John Stanley <jpsinthemix@verizon.net>.
9580 * misc/Makefile (headers): Add bits/select2.h.
9581 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9582 * misc/bits/select2.h: New file.
9583 * include/bits/select2.h: New file.
9584 * debug/Makefile (routines): Add fdelt_chk.
9585 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9586 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9588 * debug/fdelt_chk.c: New file.
9590 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9591 * wcsmbs/test-wmemcmp.c: Likewise.
9592 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9593 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9595 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9597 * string/Makefile (strop-tests): Add memcmp.
9598 * string/test-wmemcmp.c: New file.
9599 * string/test-memcmp.c: Add wmemcmp support.
9601 2011-09-08 Roland McGrath <roland@hack.frob.com>
9604 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9607 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9608 garbage value in a __mach_port_mod_refs call in the cases of the
9609 task-self and thread-self ports.
9611 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9613 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9615 2011-09-08 Andreas Schwab <schwab@redhat.com>
9617 * elf/dl-load.c (lose): Check for non-null L.
9619 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9621 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9623 * elf/dl-libc.c (dlerror_run): Pass back error code from
9627 * elf/dl-load.c (lose): Free l_origin if it is valid.
9629 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9631 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9632 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9633 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9634 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9635 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9636 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9638 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9640 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9641 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9642 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9643 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9644 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9645 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9646 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9647 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9648 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9649 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9651 2011-08-15 Alan Modra <amodra@gmail.com>
9654 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9655 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9656 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9657 ppc_mcount to static-only-routines.
9658 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9660 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9661 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9663 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9665 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9666 for finite and infinity parameters.
9668 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9671 and add nop instructions for throughput optimization.
9672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9674 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9676 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9677 aligned copy for power7 with vector-scalar instructions.
9678 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9680 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9685 2011-09-07 Andreas Schwab <schwab@redhat.com>
9688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9691 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9693 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9694 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9695 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9696 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9699 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9701 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9702 Forgot to demangle the pointer.
9704 * sysdeps/i386/sysdep.h: Define atom_text_section.
9705 * sysdeps/x86_64/sysdep.h: Likewise.
9706 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9707 section with atom_text_section.
9708 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9709 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9710 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9711 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9712 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9714 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9715 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9716 already be defined. Change to take two parameters and don't assign
9717 result to variable. Adjust all users.
9718 Define INTERNAL_GETTIME if not already defined.
9719 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9722 HAVE_CLOCK_GETTIME_VSYSCALL.
9723 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9725 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9726 gettimeofday vsyscall, just use time.
9728 2011-09-06 Andreas Schwab <schwab@redhat.com>
9730 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9733 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9735 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9737 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9739 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9740 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9741 syscall if possible.
9743 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9745 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9746 e_ident. Don't pass to find_mapsXX.
9747 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9749 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9752 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9753 * sysdeps/x86_64/multiarch/strchr.S: Update.
9754 Check bit_slow_BSF bit.
9755 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9756 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9757 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9759 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9762 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9765 (__spawni): Change last parameter to be flag. Test
9766 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9767 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9768 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9769 * posix/spawni.c: Likewise.
9770 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9771 * posix/spawnp.c: Likewise. Change normal version to use
9772 SPAWN_XFLAGS_USE_PATH.
9773 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9774 SPAWN_XFLAGS_TRY_SHELL.
9777 * posix/glob.h: Remove gcc 1.x support.
9780 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9782 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9785 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9787 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9788 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9789 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9790 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9791 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9792 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9794 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9796 * sysdeps/x86_64/wcscmp.S: New file.
9798 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9799 wcscmp-c wcscmp-sse2
9800 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9801 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9802 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9803 * wcsmbs/wcscmp.c: Allow renaming.
9805 2011-09-05 David S. Miller <davem@davemloft.net>
9807 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9808 stack slot, rather than the struct return pointer slot.
9809 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9810 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9812 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9814 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9816 * po/ja.po: Update from translation team.
9819 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9820 kernel in 64-bit binaries.
9822 2011-09-01 David S. Miller <davem@davemloft.net>
9824 * elf/elf.h (HWCAP_SPARC_*): Move to..
9825 * sysdeps/sparc/sysdep.h: this new file and add new values.
9826 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9827 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9828 _DL_HWCAP_COUNT to 24.
9829 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9831 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9832 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9833 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9834 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9835 instead of magic constants.
9836 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9838 2011-08-31 David S. Miller <davem@davemloft.net>
9840 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9842 Reimplement to do errno handling inline.
9843 (SYSCALL_ERROR_HANDLER): New macro.
9844 (__SYSCALL_STRING): Do not do errno handling in asm.
9845 (__CLONE_SYSCALL_STRING): Delete.
9846 (__INTERNAL_SYSCALL_STRING): Delete.
9847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9848 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9849 (PSEUDO): Reimplement to do errno handling inline.
9850 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9851 (SYSCALL_ERROR_HANDLER): New macro.
9852 (__SYSCALL_STRING): Do not do errno handling in asm.
9853 (__CLONE_SYSCALL_STRING): Delete.
9854 (__INTERNAL_SYSCALL_STRING): Delete.
9855 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9856 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9858 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9859 (inline_syscall*): Add 'err' argument.
9860 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9861 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9862 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9863 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9865 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9866 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9868 2011-08-30 Andreas Schwab <schwab@redhat.com>
9870 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9872 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9874 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9877 2011-08-24 David S. Miller <davem@davemloft.net>
9879 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9881 2011-08-24 Andreas Schwab <schwab@redhat.com>
9883 * elf/Makefile: Add rules to build and run unload8 test.
9884 * elf/unload8.c: New file.
9885 * elf/unload8mod1.c: New file.
9886 * elf/unload8mod1x.c: New file.
9887 * elf/unload8mod2.c: New file.
9888 * elf/unload8mod3.c: New file.
9890 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9893 2011-08-23 David S. Miller <davem@davemloft.net>
9895 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9896 subtract stack bias.
9897 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9898 %sp not %fp in calculations.
9899 (_JMPBUF_UNWINDS_ADJ): Likewise.
9901 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9902 (aio_suspend): Call it to force an exception region around the
9903 AIO_MISC_WAIT() invocation.
9905 2011-08-23 Andreas Schwab <schwab@redhat.com>
9907 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9910 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9912 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9914 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9916 (Elf64_FuncDesc): Remove.
9918 2011-08-22 David S. Miller <davem@davemloft.net>
9920 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9921 sigaltstack check, add missing cfi directives.
9922 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9923 missing cfi directives, and sigaltstack handling.
9925 2011-08-16 Andreas Schwab <schwab@redhat.com>
9928 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9929 object is seen twice.
9930 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9932 * elf/Makefile (distribute): Add tst-initorder2.c.
9933 (tests): Add tst-initorder2.
9934 (modules-names): Add tst-initorder2a tst-initorder2b
9935 tst-initorder2c tst-initorder2d. Add rules to build them.
9936 ($(objpfx)tst-initorder2.out): New rule.
9937 * elf/tst-initorder2.c: New file.
9938 * elf/tst-initorder2.exp: New file.
9940 2011-08-22 Andreas Schwab <schwab@redhat.com>
9942 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9944 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9945 dependencies back to end of function.
9947 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9950 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9953 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9955 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9956 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9957 of __vdso_gettimeofday.
9958 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9959 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9961 (_libc_vdso_platform_setup): Remove initialization of
9962 __vdso_gettimeofday and __vdso_time.
9964 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9966 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9968 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9971 * elf/dl-open.c (add_to_global): Report additions to the global scope
9972 for LD_DEBUG=scopes.
9973 (dl_open_worker): Also print scope of newly loaded dependencies.
9974 (_dl_show_scope): Indicate if there is no scope.
9977 * stdio-common/Makefile (tests): Add bug24.
9978 * stdio-common/bug24.c: New file.
9980 2011-08-19 Andreas Jaeger <aj@suse.de>
9983 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9984 non-existant file when using close-on-exec mode.
9986 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9989 the very first instruction.
9991 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9992 the CFI state in the end.
9993 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9994 inclusion of dl-trampoline.h.
9995 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9997 2011-08-19 Andreas Schwab <schwab@redhat.com>
9999 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10000 expectations for long double.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10003 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10005 2011-08-14 David S. Miller <davem@davemloft.net>
10007 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10008 artificual limit depends upon the system page size.
10010 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10012 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10013 * resolv/Makefile: Define CFLAGS-libresolv.
10015 2011-08-17 Andreas Schwab <schwab@redhat.com>
10017 * nss/makedb.c (compute_tables): Make variables used in nested
10020 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10022 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10023 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10024 if buffer was too small.
10026 * elf/pldd.c (main): Attach to all threads in the process.
10027 Rewrite /proc handling to use *at functions.
10029 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10031 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10032 specifies first scope to show.
10033 (dl_open_worker): Update callers. Move printing scope of new
10034 object to before the relocation.
10035 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10036 * sysdeps/generic/ldsodefs.h: Update declaration.
10038 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10039 string for the scope number.
10041 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10043 * nscd/servicescache.c (cache_addserv): Make sure written is always
10046 2011-08-14 Roland McGrath <roland@hack.frob.com>
10048 * sysdeps/i386/i486/bits/atomic.h
10049 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10050 statement expression, so as to suppress "set but not used" warning.
10051 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10053 * string/strncat.c (STRNCAT): Use prototype definition.
10055 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10056 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10058 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10059 (localedef-modules): Add localedef.
10060 (locale-modules): Add locale.
10062 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10063 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10064 to avoid a warning.
10066 2011-08-14 David S. Miller <davem@davemloft.net>
10068 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10069 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10071 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10073 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10074 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10075 * elf/rtld.c (dl_main): Set l_name of vDSO.
10076 Call _dl_show_scope when DL_DEBUG_SCOPES.
10077 (process_dl_debug): Recognize scopes flag and also set it for all.
10078 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10079 Declare _dl_show_scope.
10081 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10082 (do_dlopen): Pass caller_dlopen to dl_open.
10083 (__libc_dlopen_mode): Initialize caller_dlopen.
10085 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10086 of libc. Make tolower call locale-independent. Optimize a bit by
10087 using isdigit instead of isalnum.
10088 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10090 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10092 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10093 was a dependency or dynamically loaded.
10095 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10097 * intl/l10nflist.c: Allow architecture-specific pop function.
10098 * sysdeps/x86_64/l10nflist.c: New file.
10100 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10103 2011-08-10 Andreas Schwab <schwab@redhat.com>
10105 * include/dirent.h: Add libc_hidden_proto for scandirat and
10106 scandirat64. Don't declare __scandirat64.
10107 * dirent/scandirat.c: Add libc_hidden_def.
10108 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10109 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10111 2011-08-10 David S. Miller <davem@davemloft.net>
10113 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10116 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10117 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10119 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10121 * Versions.def [libc]: Add GLIBC_2.15.
10122 * dirent/Makefile (routines): Add scandirat and scandirat64.
10123 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10125 * dirent/dirent.h: Declare scandirat and scandirat64.
10126 * dirent/scandirat.c: New file.
10127 * dirent/scandirat64.c: New file.
10128 * sysdeps/wordsize-64/scandirat.c: New file.
10129 * sysdeps/wordsize-64/scandirat64.c: New file.
10130 * dirent/opendir.c: Define opendirat.
10131 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10133 * dirent/scandir64.c: Adjust for scandir.c change.
10134 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10135 __scandirat64, and __scandir_cancel_handler.
10136 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10137 additional parameter and use openat instead of open (outside of ld.so).
10138 Add new __opendir as wrapper around __opendirat.
10139 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10140 here without requiring old scandirat implementation.
10142 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10144 * dirent/scandir.c (cancel_handler): Renamed to
10145 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10146 defined. Adjust users.
10147 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10150 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10152 * string/test-string.h (IMPL): Use __STRING to expand name and then
10155 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10158 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10160 * string/Makefile: Update.
10161 (strop-tests): Append strncat.
10162 * string/test-wcscmp.c: New file.
10163 New comprehensive test for wcscmp.
10164 * string/test-strcmp.c: Update.
10165 (WIDE): New define.
10167 2011-07-22 Andreas Schwab <schwab@redhat.com>
10169 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10172 2011-07-26 Andreas Schwab <schwab@redhat.com>
10174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10175 encoding to ACE if AI_IDN.
10177 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10180 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10182 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10184 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10185 Fix overflow bug in strncat.
10186 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10188 * string/test-strncat.c: Update.
10189 Add new tests for checking overflow bugs.
10191 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10194 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10195 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10196 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10197 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10198 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10199 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10200 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10201 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10203 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10204 (USE_AS_STRCAT): Define.
10205 Add strcat and strncat support.
10206 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10208 2011-07-25 Andreas Schwab <schwab@redhat.com>
10210 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10211 __n bigger than INT_MAX+1.
10212 (__strncmp_g): Likewise.
10214 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10216 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10217 * libio/stido.h: Likewise.
10219 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10224 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10225 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10226 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10227 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10231 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10236 (_dl_x86_64_save_sse): Likewise.
10238 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10242 (_dl_x86_64_save_sse): Likewise.
10244 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10246 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10248 2011-07-21 Andreas Schwab <schwab@redhat.com>
10250 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10252 (_dl_x86_64_save_sse): Use correct AVX check.
10254 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10256 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10257 bug in strncpy/strncat.
10258 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10260 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10262 * string/tester.c (test_strcat): Add tests for different alignments
10263 of source and destination.
10264 (test_strncat): Likewise.
10266 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10269 * posix/glob.c (glob): Check passed in values before using them in
10270 expressions to avoid some overflows.
10271 (glob_in_dir): Likewise.
10274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10275 check for AVX enablement so that we don't crash with old kernels and
10277 * elf/tst-audit4.c: Add same checks here.
10278 * elf/tst-audit6.c: Likewise.
10280 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10282 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10284 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10286 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10288 * po/cs.po: Update from translation team.
10289 * po/bg.po: Likewise.
10291 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10293 * misc/sys/cdefs.h: Add support for const attribute.
10294 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10295 to gnu_dev_{major,minor,makedev} functions.
10297 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10299 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10301 2011-07-20 Andreas Schwab <schwab@redhat.com>
10303 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10306 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10308 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10309 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10310 register in order to avoid conflicts with the soft frame pointer
10311 being held in r11 when necessary.
10312 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10313 (INTERNAL_VSYSCALL_NCS): Likewise.
10315 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10317 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10318 * elf/dl-fini.c (_dl_fini): Adjust caller.
10319 * elf/dl-close.c (_dl_close_worker): Likewise.
10320 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10322 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10324 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10325 "aux_cache->nlibs < 0".
10327 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10328 in the reload-count case.
10330 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10333 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10334 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10335 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10336 * sysdeps/x86_64/multiarch/strcat.S: New file.
10337 * sysdeps/x86_64/multiarch/strncat.S: New file.
10338 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10339 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10340 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10341 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10342 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10343 (USE_AS_STRCAT): Define.
10344 Add strcat and strncat support.
10345 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10346 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10347 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10348 * string/strncat.c: Update.
10349 (USE_AS_STRNCAT): Define.
10350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10351 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10353 * sysdeps/x86_64/multiarch/init-arch.h
10354 (bit_Prefer_PMINUB_for_stringop): New.
10355 (index_Prefer_PMINUB_for_stringop): Likewise.
10356 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10357 bit_Prefer_PMINUB_for_stringop.
10359 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10361 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10363 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10364 of casting of buffer.
10365 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10366 buffer32 and buffer64.
10367 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10368 writes instead of casting of buffer.
10369 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10371 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10374 2011-07-19 Andreas Schwab <schwab@redhat.com>
10376 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10378 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10380 * nscd/nscd.c (termination_handler): Don't do anything for a database
10381 if it has not yet been initialized.
10383 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10385 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10387 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10389 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10391 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10393 * po/nl.po: Update from translation team.
10394 * po/sv.po: Likewise.
10396 2011-07-16 Roland McGrath <roland@hack.frob.com>
10398 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10399 now disallowed by GCC.
10401 * configure.in (use-default-link): Default to yes if a test -shared
10402 link meets our qualifications.
10403 * configure: Regenerated.
10405 * config.make.in (output-format): New variable.
10406 * configure.in: Check for ld --print-output-format support.
10407 * configure: Regenerated.
10408 * Makerules ($(common-objpfx)format.lds)
10409 [$(output-format) != unknown]: Just use $(output-format),
10410 instead of the linker-script munging.
10412 2011-07-14 Roland McGrath <roland@hack.frob.com>
10414 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10415 of $(common-objpfx)shlib.lds.
10416 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10418 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10419 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10421 * configure.in (-z relro check): Adjust test code to add a large
10422 writable data section after it.
10423 * configure: Regenerated.
10425 2011-07-11 Roland McGrath <roland@hack.frob.com>
10427 * configure.in (-z relro check): Fix test code to make the variable
10429 * configure: Regenerated.
10431 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10433 * nscd/nscd.h (struct traced_file): Define.
10434 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10435 elements. Add traced_files.
10436 (inotify_fd): Declare.
10437 (register_traced_file): Declare.
10438 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10439 (inotify_fd): Export.
10440 (resolv_conf_descr): Remove.
10441 (nscd_init): Move inotify descriptor creation to main.
10442 Don't register files for notification here.
10443 (register_traced_file): New function.
10444 (invalidate_cache): Don't use reset_res to determine whether to call
10445 res_init, go through the list of registered files.
10446 (main_loop_poll): The inotify descriptors are now stored in the
10447 structures for the traced files.
10448 (main_loop_epoll): Likewise
10449 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10450 to __nss_disable_nscd.
10451 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10452 for a database anymore. Check the records for all the registered
10454 * nss/Makefile (libnss_files-routines): Add files-init.
10455 (libnss_db-routines): Add db-init.
10456 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10457 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10458 * nss/nss_db/db-init.c: New file.
10459 * nss/nss_files/files-init.c: New file.
10460 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10461 __nss_lookup_function.
10462 (__nss_lookup_function): Call nss_load_library.
10463 (nss_load_all_libraries): New function.
10464 (__nss_disable_nscd): Take parameter with callback function for files
10465 to register. Set is_nscd. Load all the DSOs for the NSS modules
10466 used for the cached services.
10467 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10468 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10469 options for features to all the files in nscd.
10471 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10473 2011-07-10 Roland McGrath <roland@hack.frob.com>
10475 * csu/elf-init.c (__libc_csu_init): Comment typo.
10477 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10479 * po/pl.po: Update from translation team.
10480 * po/ja.po: Likewise.
10481 * po/ru.po: Likewise.
10482 * po/ko.po: Likewise.
10483 * po/fr.po: Likewise.
10485 2011-07-09 Roland McGrath <roland@hack.frob.com>
10487 * configure.in (.ctors/.dtors header and trailer check):
10488 Use an empirical test on a built program.
10489 * configure: Regenerated.
10491 * configure.in (-z relro check): Use an empirical test on a built DSO.
10492 Detect, but do not require, on ia64.
10493 * configure: Regenerated.
10495 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10496 Update tests that use readelf to use $READELF instead.
10497 * configure: Regenerated.
10499 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10501 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10502 if the result is not used.
10504 2011-07-05 Andreas Jaeger <aj@suse.de>
10507 * stdlib/tst-strtod.c: Add testcase.
10509 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10511 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10512 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10513 The latter has a higher limit. Take additional parameter to pass to
10515 (__pathconf): Pass file to __statfs_link_max.
10516 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10518 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10522 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10525 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10526 (__statfs_filesize_max): Likewise.
10527 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10529 2011-07-05 Andreas Jaeger <aj@suse.de>
10531 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10533 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10535 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10537 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10540 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10542 * Makefile (strop-tests): Add strncat.
10543 * string/test-strncat.c: New file.
10545 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10547 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10549 2011-06-21 Andreas Jaeger <aj@suse.de>
10551 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10552 Copy rule from iconvdata/Makefile.
10554 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10557 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10558 but no long options are defined, just return 'W'.
10560 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10563 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10565 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10567 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10569 (innetgr): Likewise.
10571 2011-07-05 Roland McGrath <roland@hack.frob.com>
10573 * config.make.in (install_root): Default to $(DESTDIR).
10575 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10577 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10579 2011-07-02 Roland McGrath <roland@hack.frob.com>
10581 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10583 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10584 containing directory rather than embedding absolute directory names.
10586 * scripts/check-local-headers.sh: Rewritten using awk.
10587 Match by word, not by line. Print error messages for matches.
10588 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10590 * Makerules [shlib-lds-flags empty]:
10591 ($(common-objpfx)libc_pic.opts): New target.
10592 ($(common-objpfx)libc_pic.os.clean): New target.
10593 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10595 * config.make.in (OBJCOPY): New variable.
10596 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10597 * configure: Regenerated.
10599 * config.make.in (use-default-link): New variable.
10600 * configure.in (use_default_link): Grok --with-default-link to set it.
10601 * configure: Regenerated.
10602 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10603 (shlib-lds, shlib-lds-flags): Define to empty.
10605 * Makerules (shlib-lds): New variable.
10606 (shlib-lds-flags): New variable.
10607 (build-shlib, build-moduile, build-module-asneeded): Use it.
10608 ($(common-objpfx)libc.so): Use $(shlib-lds).
10609 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10610 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10612 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10613 DT_FLAGS/DT_FLAGS_1 with zero flags.
10615 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10616 linker script munging.
10618 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10620 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10622 * crypt/sha512.c (sha512_process_block): Perform total addition using
10623 128-bit if possible.
10624 (__sha512_finish_ctx): Likewise.
10625 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10627 * crypt/sha256.c (SWAP64): Define.
10628 (sha256_process_block): Perform total addition using 64-bit if
10630 (__sha256_finish_ctx): Likewise.
10632 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10634 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10635 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10636 * nscd/hstcache.c (cache_addhst): Likewise.
10637 * nscd/grpcache.c (cache_addgr): Likewise.
10638 * nscd/aicache.c (addhstaiX): Likewise
10639 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10641 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10643 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10645 * nscd/hstcache.c (cache_addhst): Likewise.
10646 * nscd/grpcache.c (cache_addgr): Likewise.
10647 * nscd/aicache.c (addhstaiX): Likewise
10649 2011-07-01 Andreas Schwab <schwab@redhat.com>
10651 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10652 domain only when needed.
10654 2011-06-30 Andreas Schwab <schwab@redhat.com>
10656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10657 is always restored.
10659 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10661 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10662 are re-adding the entry.
10663 * nscd/servicescache.c (cache_addserv): Likewise.
10665 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10667 * sysdeps/generic/dl-irel.h: fix protection against multiple
10669 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10671 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10674 * malloc/memusage.sh: Fix quoting in message.
10675 * debug/xtrace.sh: Likewise.
10677 * configure.in: Remove support for --experimental-malloc option, make
10679 * config.make.in: Likewise.
10680 * malloc/Makefile: Likewise.
10682 2011-06-27 Andreas Schwab <schwab@redhat.com>
10684 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10685 two-byte characters.
10687 2011-06-27 Roland McGrath <roland@hack.frob.com>
10689 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10690 AC_CACHE_CHECK invocation.
10691 * configure: Regenerated.
10693 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10695 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10698 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10699 bit from old_res_options.
10701 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10703 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10704 value type for setfct.
10706 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10709 __gettimeofday instead of gettimeofday.
10711 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10713 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10715 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10717 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10722 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10725 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10726 strcpy-sse2-unaligned strncpy-sse2-unaligned
10727 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10728 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10729 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10730 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10731 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10732 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10733 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10734 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10735 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10736 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10737 (STRCPY): Support SSE2 and SSSE3 versions.
10739 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10742 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10743 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10744 kernels which artificially limit size of requests.
10746 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10749 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10750 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10751 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10752 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10753 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10754 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10755 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10756 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10757 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10758 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10759 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10760 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10761 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10762 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10764 Enable unaligned load optimization for Intel Core i3, i5 and i7
10766 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10768 (index_Fast_Unaligned_Load): Define.
10769 (HAS_FAST_UNALIGNED_LOAD): Define.
10771 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10773 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10775 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10778 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10779 until it is clear that the information is realy needed.
10780 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10782 2011-06-22 Andreas Schwab <schwab@redhat.com>
10784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10786 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10789 /sys/devices/system/cpu/online if it is usable.
10791 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10792 reading the information from the /proc filesystem to once a second.
10794 2011-06-21 Andreas Jaeger <aj@suse.de>
10796 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10797 NULL after inclusion of kernel headers.
10799 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10801 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10802 calls to internal_setent.
10805 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10806 addresses using gethostbyname4_r ignore IPv4 addresses.
10808 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10809 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10811 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10813 2011-06-20 David S. Miller <davem@davemloft.net>
10815 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10817 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10819 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10820 (elf_irel): Use it.
10821 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10822 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10823 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10824 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10825 * sysdeps/x86_64/dl-irel.h: Likewise.
10827 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10828 * elf/dl-sym.c: Likewise.
10830 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10832 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10833 need to dereference resplen2.
10835 2011-06-14 Andreas Schwab <schwab@redhat.com>
10837 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10839 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10841 * Makeconfig: Define vardbdir and inst_vardbdir.
10842 * nss/Makefile: Add rules to install db-Makefile.
10844 * nss/nss_db/db-XXX.c: Cleanup.
10846 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10847 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10849 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10850 * nss/makedb.c: Implement -g option to specify that value strings
10851 are generated and should not be added to table iterated over for
10853 * nss/nss_db/db-initgroups.c: New file.
10855 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10858 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10859 (internal_getgrouplist): Adjust to name change.
10860 Update use_initgroups_entry if this is not the first call.
10861 * nss/databases.def: Add initgroups entry.
10863 * nss/makedb.c (compute_tables): Check result of multiple hash table
10864 sizes to minimize maximum chain length.
10866 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10868 * Versions.def: Add entry for libnss_db.
10869 * shlib-versions: Likewise.
10870 * nss/Makefile: Add rules to build libnss_db.
10871 * nss/Versions: Add libnss_db information. Organize libnss_files
10873 * nss/db-Makefile: Add gshadow support. Change rules for the new
10874 makedb progra. Some minor improvements to generate smaller files.
10875 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10877 * nss/makedb.c: ...here.
10878 Improve database format to be smaller and require less memory at
10880 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10882 * nss/nss_db/db-netgrp.c: Likewise.
10883 * nss/nss_db/db-open.c: Likewise.
10884 * nss/nss_files/flies-XXX.x: Adjust comments.
10885 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10886 * nss/nss_files/files-grp.c: Likewise.
10887 * nss/nss_files/files-hosts.c: Likewise.
10888 * nss/nss_files/files-network.c: Likewise.
10889 * nss/nss_files/files-proto.c: Likewise.
10890 * nss/nss_files/files-pwd.c: Likewise.
10891 * nss/nss_files/files-rpc.c: Likewise.
10892 * nss/nss_files/files-service.c: Likewise.
10893 * nss/nss_files/files-sgrp.c: Likewise.
10894 * nss/nss_files/files-spwd.c: Likewise.
10895 * nss/nss_db/db-alias.c: Removed.
10896 * nss/nss_db/dummy-db.h: Removed.
10898 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10900 * nss/makedb.c: Rewritten to not use database library.
10901 * nss/Makefile: Update to build new makedb program.
10903 2011-06-14 Andreas Jaeger <aj@suse.de>
10905 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10906 memset declaration.
10908 2011-06-10 Andreas Schwab <schwab@redhat.com>
10910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10913 2011-06-10 Roland McGrath <roland@hack.frob.com>
10915 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10916 * elf/Makefile ($(objpfx)ld.so): Likewise.
10918 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10919 Don't list ld.so twice in dependencies.
10921 * posix/bug-regex31.c: Include <stdlib.h>.
10923 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10925 * nis/nss_compat/compat-spwd.c
10926 (getspent_next_nss_netgr): Remove unused variable.
10927 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10929 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10930 nonmembers" output to use the right array.
10932 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10934 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10936 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10937 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10938 * catgets/gencat.c (read_input_file): Likewise.
10939 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10941 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10942 variable definition inside #if's controlling its use.
10944 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10946 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10948 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10950 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10953 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10955 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10956 * configure: Regenerated.
10958 * Makerules: Revert last change.
10959 * elf/Makefile: Likewise.
10961 2011-06-09 Roland McGrath <roland@hack.frob.com>
10963 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10964 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10965 (reloc-link): Likewise.
10967 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10969 * elf/Makefile: Add rules to build pldd.
10970 * elf/pldd.c: New file.
10971 * elf/pldd-xx.c: New file.
10973 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10975 * version.h: Update for 2.15 development version.
10977 2011-06-07 David S. Miller <davem@davemloft.net>
10979 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10981 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10982 elf_machine_lazy_rel): Likewise.
10983 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10984 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10985 elf_machine_lazy_rel): Likewise.
10986 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10987 dl_hwcap via passed in argument.
10988 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10991 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10993 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10995 2011-06-06 Roland McGrath <roland@hack.frob.com>
10998 * manual/fdl-1.1.texi: New file, verbatim from:
10999 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11000 * manual/lgpl-2.1.texi: New file, verbatim from:
11001 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11002 * manual/Makefile (licenses): New variable, list those new file names.
11004 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11006 * manual/fdl.texi: File removed.
11007 * manual/lesser.texi: File removed.
11008 * manual/libc.texinfo (Copying, Documentation License):
11009 Use new @include file names, put @appendix directive before @include.
11011 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11014 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11015 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11016 (mq_open): Add __NTH.
11018 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11021 Assume Intel Core i3/i5/i7 processor if AVX is available.
11023 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11028 2011-05-31 Andreas Schwab <schwab@redhat.com>
11030 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11031 memory. Use alloca_account. Fix memory leak when retrying.
11033 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11035 * version.h (RELEASE): Bump for 2.14 release.
11036 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11038 * config.make.in (RANLIB): Remove entry.
11040 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11042 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11043 (libc.pot): Work around missing support for .ksh extension in xgettext.
11046 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11047 if both request failed.
11048 (send_dg): In case of server errors clear resplen or *resplen2.
11051 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11052 when there are multiple maps.
11053 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11054 (_dl_fini): Remove test here.
11056 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11058 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11061 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11062 bit from old_res_options.
11063 (gaih_inet): Likewise.
11066 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11069 * resolv/res_init.c (res_setoptions): Make the code more compact.
11072 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11076 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11078 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11081 * malloc/malloc.h: Declare malloc hook variables as volatile.
11083 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11087 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11088 raise in the comment.
11089 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11090 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11091 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11093 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11096 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11097 grow the buffers more if it already has to be sufficient.
11098 (build_wcs_upper_buffer): Likewise.
11099 * posix/regexec.c (check_matching): Likewise.
11100 (clean_state_log_if_needed): Likewise.
11101 (extend_buffers): Don't enlarge buffers beyond size of the input
11103 Patches mostly by Emil Wojak <emil@wojak.eu>.
11104 * posix/bug-regex32.c: New file.
11105 * posix/Makefile (tests): Add bug-regex32.
11107 * locale/findlocale.c (_nl_find_locale): Return right away if
11108 _nl_explode_name failed.
11109 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11111 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11113 * debug/xtrace.sh: Unify messages.
11114 * malloc/memusage.sh: Likewise.
11117 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11118 time symbol from vDSO. Substitute with vsyscall if not available.
11119 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11122 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11123 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11124 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11125 Add sendmmsg and internal_sendmmsg.
11126 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11127 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11128 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11130 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11131 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11132 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11134 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11137 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11138 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11140 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11144 * iconvdata/Makefile (tests): Add bug-iconv9.
11145 * iconvdata/bug-iconv9.c: New file.
11147 2011-05-27 Andreas Schwab <schwab@redhat.com>
11150 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11152 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11154 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11155 (struct user_regs_struct): Change intcs field back to cs.
11157 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11159 * po/ja.po: Update from translation team.
11161 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11164 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11165 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11167 2011-05-20 Andreas Schwab <schwab@redhat.com>
11169 * stdlib/longlong.h: Update from GCC.
11171 2011-05-23 Andreas Schwab <schwab@redhat.com>
11173 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11175 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11176 Add parameter name.
11177 (__sysconf): Pass it down.
11179 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11182 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11184 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11185 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11186 add in in __libc_use_alloca calls. Adjust callers.
11187 (glob): Use malloc in some situations.
11189 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11190 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11193 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11195 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11196 and CLOCK_BOOTTIME_ALARM.
11199 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11202 * string/_strerror.c (__strerror_r): Print negative errors as signed
11206 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11207 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11208 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11210 * configure.in: Fix typo in redirection and correct removal of test
11211 files in two cases.
11214 * locale/setlocale.c (new_composite_name): Fix test to check for
11215 identical name of all categories.
11218 * libio/filedoalloc.c (local_isatty): New function.
11219 (_IO_file_doallocate): Use local_isatty.
11220 * stdio-common/perror.c (perror): In case a new stream is used
11221 forward the stream error.
11222 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11225 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11230 * include/alloca.h (extend_alloca_account): Define.
11233 * posix/regex.h: Fix comments with documentation of user-accessible
11234 fields after compilation and describe correct free'ing of pattern
11235 after re_compile_pattern.
11236 Patch by Reuben Thomas <rrt@sc3d.org>.
11238 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11240 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11241 and -mno-altivec to prevent the compiler from using Altivec and/or
11242 VSX instructions when the corresponding registers are not available.
11244 2011-05-19 Andreas Schwab <schwab@redhat.com>
11246 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11248 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11250 * libio/freopen.c (freopen): Use __dup2, not dup2.
11251 * libio/freopen64.c (freopen64): Likewise.
11253 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11256 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11257 * math/Makefile (tests): Add test-powl.
11258 (CFLAGS-test-powl.c): Define.
11259 * math/test-powl.c: New file.
11261 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11263 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11265 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11268 * iconvdata/gb18030.c: Update to GB18020-2005.
11270 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11272 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11273 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11274 Patch by Aharon Robbins <arnold@skeeve.com>.
11277 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11281 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11282 through underflows.
11285 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11286 point to strings before performing equality test for error_one_per_line
11290 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11294 (struct user_fpregs_struct): Avoid __uint*_t types.
11297 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11298 symbol info. Use it instead of calling _dl_addr locally.
11299 (lock_and_info): New function.
11300 (tr_freehook): Call lock_and_info and pass symbol info as additional
11301 parameter to tr_where.
11302 (tr_mallochook): Likewise.
11303 (tr_reallochook): Likewise.
11304 (tr_memalignhook): Likewise.
11306 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11307 used and couldn't be at all thread-safe.
11309 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11311 * libio/freopen.c (freopen): Don't close old file descriptor
11312 before the new one is opened. Instead dup the new file descriptor
11313 to the old one after the new stream is created.
11314 * libio/freopen64.c (freopen64): Likewise.
11315 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11316 * libio/fileops.c (_IO_new_file_close_it): Handle new
11317 _IO_FLAGS2_NOCLOSE flag.
11318 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11319 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11320 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11321 _IO_FLAGS2_NOCLOSE flag.
11322 * include/unistd.h: Add hidden_proto for dup3.
11323 Define __have_dup3.
11324 * io/dup3.c: Define hidden symbol.
11325 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11328 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11329 when an incomplete long option is used.
11330 * posix/tst-getopt_long1.c: New file.
11331 * posix/Makefile (tests): Add tst-getopt_long1.
11334 * scripts/config.guess: Update from autoconf-2.68.
11335 * scripts/config.sub: Likewise.
11338 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11340 (has_cpuclock): ...this. New function.
11341 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11342 macro here based on has_cpuclock code.
11345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11346 First byte (not low byte) is now always NUL.
11347 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11350 Use non-cancelable interfaces.
11353 * locale/iso-639.def: Add entry for Sorani.
11356 * include/stdlib.h: Move include protection to the right place.
11357 Define abort_msg_s. Declare __abort_msg with it.
11358 * stdlib/abort.c (__abort_msg): Adjust type.
11359 * assert/assert.c (__assert_fail_base): New function. Majority
11360 of code from __assert_fail. Allocate memory for __abort_msg with
11362 (__assert_fail): Now call __assert_fail_base.
11363 * assert/assert-perr.c: Remove bulk of implementation. Use
11364 __assert_fail_base.
11365 * include/assert.hL Declare __assert_fail_base.
11366 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11368 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11370 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11374 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11375 until all modules are registered in the DTV.
11376 * elf/Makefile: Add rules to build and run tst-tls19.
11377 * elf/tst-tls19.c: New file.
11378 * elf/tst-tls19mod1.c: New file.
11379 * elf/tst-tls19mod2.c: New file.
11380 * elf/tst-tls19mod3.c: New file.
11381 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11384 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11388 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11389 two-byte sequence errors.
11390 * iconvdata/Makefile (tests): Add bug-iconv8.
11391 * iconvdata/bug-iconv8.c: New file.
11394 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11397 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11400 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11401 (dummy_getcfa): New function.
11402 (init): Get _Unwind_GetCFA address, use dummy if not found.
11403 (backtrace_helper): In recursion check, also check whether CFA changes.
11404 (__backtrace): Completely initialize arg.
11406 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11407 storing incomplete byte sequence in state object. Avoid testing for
11408 guaranteed too small input if we know there is enough data available.
11410 2011-05-11 Andreas Schwab <schwab@redhat.com>
11412 * Makeconfig (+link-pie): Indent.
11413 * Rules (binaries-pie): Define if $(have-fpie) and
11415 (binaries-shared): Also filter out $(binaries-pie).
11416 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11417 * nscd/Makefile (others-pie): Add nscd.
11418 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11419 ($(objpfx)nscd): Remove command override.
11420 * login/Makefile (others-pie): Add pt_chown.
11421 ($(objpfx)pt_chown): Remove command override.
11422 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11423 remove command overrides.
11425 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11427 * libio/tst_putwc.c: Fix error messages.
11430 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11431 currently writing and seek to current position when not.
11432 * libio/Makefile (tests): Add bug-fclose1.
11433 * libio/bug-fclose1.c: New file.
11435 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11438 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11439 don't set DF_1_NODELETE here.
11440 (do_lookup_x): When entering new entry test for copy relocation
11441 and if necessary set DF_1_NODELETE flag.
11442 * elf/tst-unique4.cc: New file.
11443 * elf/tst-unique4.h: New file.
11444 * elf/tst-unique4lib.cc: New file.
11445 * elf/Makefile: Add rules to build and run tst-unique4.
11446 Patch by Piotr Bury <pbury@goahead.com>.
11448 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11451 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11454 * misc/mntent_r.c (addmntent): Flush the stream after the output
11457 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11458 (is_trusted_path_normalize): Skip initial colon. Append slash
11459 to empty buffer. Duplicate is_trusted_path code but allow
11460 constructed patch to be prefix.
11461 (is_dst): Allow $ORIGIN followed by /.
11462 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11463 Correct testing of result of is_trusted_path_normalize
11464 (decompose_rpath): Fix warning.
11466 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11469 * grp/initgroups.c (internal_getgrouplist): When we found the service
11470 list through the initgroups entry in nsswitch.conf do not always
11471 continue on a successful lookup. Don't always use the
11472 __nss_group_database value if it is set.
11473 * nss/nsswitch.conf (initgroups): Change action for successful db
11474 lookup to continue for compatibility.
11476 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11479 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11481 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11483 * iconvdata/tst-tables.sh: Likewise.
11484 * iconvdata/cp770.c: New file.
11485 * iconvdata/cp771.c: New file.
11486 * iconvdata/cp772.c: New file.
11487 * iconvdata/cp773.c: New file.
11488 * iconvdata/cp774.c: New file.
11489 * iconvdata/testdata/CP770: New file.
11490 * iconvdata/testdata/CP770..UTF8: New file.
11491 * iconvdata/testdata/CP771: New file.
11492 * iconvdata/testdata/CP771..UTF8: New file.
11493 * iconvdata/testdata/CP772: New file.
11494 * iconvdata/testdata/CP772..UTF8: New file.
11495 * iconvdata/testdata/CP773: New file.
11496 * iconvdata/testdata/CP773..UTF8: New file.
11497 * iconvdata/testdata/CP774: New file.
11498 * iconvdata/testdata/CP774..UTF8: New file.
11500 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11502 * iconvdata/gen-8bit-gap.sh: Likewise.
11503 * iconvdata/gen-8bit.sh: Likewise.
11505 * locale/iso-639.def: Add ary entry.
11508 * locale/C-translit.h.in: Add U20A1 transliteration.
11511 * locale/iso-639.def: Add wae entry.
11512 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11515 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11519 * locale/C-translit.h.in: Add entry for U20B9.
11520 Patch by pravin.d.s@gmail.com.
11522 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11525 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11526 ENAMETOOLONG use generic getcwd.
11527 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11528 in rtld. Use *stat64.
11529 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11530 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11531 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11532 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11533 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11534 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11535 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11536 __fstatat64 macros.
11537 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11538 * dirent/rewinddir.c: Add libc_hidden_def.
11539 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11540 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11542 * include/dirent.h (__alloc_dir): Add flags parameter.
11543 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11544 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11546 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11547 from fdopendir if O_CLOEXEC is already set.
11549 2011-03-15 Alan Modra <amodra@gmail.com>
11551 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11552 l_tls_firstbyte_offset non-zero. Save padding offset in
11553 l_tls_firstbyte_offset for later use.
11554 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11555 freeing static tls block.
11557 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11559 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11560 where #ifdef was intended. The intent is to prevent ARG_MAX from
11561 being defined by the kernel headers.
11563 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11566 * resolv/resolv.h: Define RES_NOTLDQUERY.
11567 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11568 no-tld-query and set RES_NOTLDQUERY.
11569 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11570 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11571 modern BIND to search name as TLD unless forbidden.
11573 2011-05-07 Petr Baudis <pasky@suse.cz>
11574 Ulrich Drepper <drepper@gmail.com>
11577 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11578 (is_trusted_path): ...to here.
11579 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11580 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11581 using is_trusted_path_normalize() in setuid scripts.
11583 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11585 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11586 __BEGIN/__END_DECLS.
11588 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11591 NSS_STATUS_NOTFOUND if no record was found.
11593 2011-05-05 Andreas Schwab <schwab@redhat.com>
11595 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11596 (headers-not-in-tirpc): Remove rpc/netdb.h
11597 * resolv/netdb.h: Revert last change.
11599 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11601 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11602 circular dependency between libgcc.a and libc.a.
11604 2011-05-05 Andreas Schwab <schwab@redhat.com>
11606 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11607 * nis/Makefile: Don't install rpcsvc/*.
11608 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11609 instead of <rpc/types.h>.
11610 (MAXHOSTNAMELEN): Define.
11612 2011-05-03 Andreas Schwab <schwab@redhat.com>
11614 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11616 2011-04-28 Maciej Babinski <mbabinski@google.com>
11619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11620 gethostbyname4_r when IPv6 results are possible.
11622 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11625 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11626 _PC_PIPE_BUF handling.
11628 2011-04-30 Bruno Haible <bruno@clisp.org>
11631 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11632 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11634 * inet/getnameinfo.c (getnameinfo): Likewise.
11636 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11638 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11639 to groups setting in database lookup.
11640 * nss/nsswitch.conf: Add initgroups entry.
11642 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11645 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11647 Patch by Eric Blake <eblake@redhat.com>.
11649 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11651 * sunrpc/Makefile (need-export-routines): Add svc_run.
11652 (routines): Remove svc_run.
11653 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11654 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11655 * sunrpc/svc_run.c (svc_run): Likewise.
11656 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11658 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11660 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11661 problem in reallocation in last patch.
11663 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11665 * sunrpc/Makefile: Move inclusion of Rules.
11667 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11669 * nss/nss_files/files-initgroups.c: New file.
11670 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11671 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11672 _nss_files_initgroups_dyn.
11674 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11676 * elf/elf.h (R_ARM_IRELATIVE): Define.
11678 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11680 * po/ru.po: Update from translation team.
11682 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11684 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11687 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11690 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11691 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11692 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11693 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11694 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11696 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11698 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11700 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11701 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11704 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11707 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11709 * stdlib/bug-getcontext.c: New file.
11710 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11712 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11714 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11715 instructions into .machine "z9-109".
11716 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11717 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11719 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11721 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11722 between environment variables and auxiliary vector.
11724 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11726 * Makefile: Add rules to build linkobj/libc.so.
11727 * include/libc-symbols.h: Define libc_hidden_nolink.
11728 * include/rpc/auth.h: Mark functions which are to be hidden.
11729 * include/rpc/auth_des.h: Likewise.
11730 * include/rpc/auth_unix.h: Likewise.
11731 * include/rpc/clnt.h: Likewise.
11732 * include/rpc/des_crypt.h: Likewise.
11733 * include/rpc/key_prot.h: Likewise.
11734 * include/rpc/pmap_clnt.h: Likewise.
11735 * include/rpc/pmap_prot.h: Likewise.
11736 * include/rpc/pmap_rmt.h: Likewise.
11737 * include/rpc/rpc_msg.h: Likewise.
11738 * include/rpc/svc.h: Likewise.
11739 * include/rpc/svc_auth.h: Likewise.
11740 * include/rpc/xdr.h: Likewise.
11741 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11742 * nss/Makefile: Likewise.
11743 * sunrpc/Makefile: Don't install headers. Build library with normal
11744 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11745 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11746 for the compat linking library. Remove use of INTDEF/INTUSE.
11747 * sunrpc/auth_none.c: Likewise.
11748 * sunrpc/auth_unix.c: Likewise.
11749 * sunrpc/authdes_prot.c: Likewise.
11750 * sunrpc/authuxprot.c: Likewise.
11751 * sunrpc/clnt_gen.c: Likewise.
11752 * sunrpc/clnt_perr.c: Likewise.
11753 * sunrpc/clnt_raw.c: Likewise.
11754 * sunrpc/clnt_simp.c: Likewise.
11755 * sunrpc/clnt_tcp.c: Likewise.
11756 * sunrpc/clnt_udp.c: Likewise.
11757 * sunrpc/clnt_unix.c: Likewise.
11758 * sunrpc/des_crypt.c: Likewise.
11759 * sunrpc/des_soft.c: Likewise.
11760 * sunrpc/get_myaddr.c: Likewise.
11761 * sunrpc/key_call.c: Likewise.
11762 * sunrpc/key_prot.c: Likewise.
11763 * sunrpc/netname.c: Likewise.
11764 * sunrpc/pm_getmaps.c: Likewise.
11765 * sunrpc/pm_getport.c: Likewise.
11766 * sunrpc/pmap_clnt.c: Likewise.
11767 * sunrpc/pmap_prot.c: Likewise.
11768 * sunrpc/pmap_prot2.c: Likewise.
11769 * sunrpc/pmap_rmt.c: Likewise.
11770 * sunrpc/publickey.c: Likewise.
11771 * sunrpc/rpc_cmsg.c: Likewise.
11772 * sunrpc/rpc_common.c: Likewise.
11773 * sunrpc/rpc_dtable.c: Likewise.
11774 * sunrpc/rpc_prot.c: Likewise.
11775 * sunrpc/rpc_thread.c: Likewise.
11776 * sunrpc/rtime.c: Likewise.
11777 * sunrpc/svc.c: Likewise.
11778 * sunrpc/svc_auth.c: Likewise.
11779 * sunrpc/svc_authux.c: Likewise.
11780 * sunrpc/svc_raw.c: Likewise.
11781 * sunrpc/svc_run.c: Likewise.
11782 * sunrpc/svc_simple.c: Likewise.
11783 * sunrpc/svc_tcp.c: Likewise.
11784 * sunrpc/svc_udp.c: Likewise.
11785 * sunrpc/svc_unix.c: Likewise.
11786 * sunrpc/svcauth_des.c: Likewise.
11787 * sunrpc/xcrypt.c: Likewise.
11788 * sunrpc/xdr.c: Likewise.
11789 * sunrpc/xdr_array.c: Likewise.
11790 * sunrpc/xdr_float.c: Likewise.
11791 * sunrpc/xdr_intXX_t.c: Likewise.
11792 * sunrpc/xdr_mem.c: Likewise.
11793 * sunrpc/xdr_rec.c: Likewise.
11794 * sunrpc/xdr_ref.c: Likewise.
11795 * sunrpc/xdr_sizeof.c: Likewise.
11796 * sunrpc/xdr_stdio.c: Likewise.
11798 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11801 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11802 * sysdeps/ia64/dl-tls.h: Likewise.
11803 * sysdeps/powerpc/dl-tls.h: Likewise.
11804 * sysdeps/s390/dl-tls.h: Likewise.
11805 * sysdeps/sh/dl-tls.h: Likewise.
11806 * sysdeps/sparc/dl-tls.h: Likewise.
11807 * sysdeps/x86_64/dl-tls.h: Likewise.
11808 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11810 2011-03-14 Andreas Schwab <schwab@redhat.com>
11812 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11813 rpath element also skip the following colon.
11814 (expand_dynamic_string_token): Add is_path parameter and pass
11815 down to DL_DST_REQUIRED and _dl_dst_substitute.
11816 (decompose_rpath): Call expand_dynamic_string_token with
11817 non-zero is_path. Ignore empty rpaths.
11818 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11821 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11826 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11829 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11830 Patch by Filipe David Manana <fdmanana@apache.org>.
11832 2011-04-07 Andreas Schwab <schwab@redhat.com>
11834 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11835 Maintain aligned stack.
11836 (CHECK_RSP): Remove unused macro.
11838 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11840 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11841 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11843 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11845 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11847 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11849 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11852 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11853 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11854 * sysdeps/x86_64/memmove.c: New file.
11855 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11856 (memcpy): Renamed to ...
11857 (__new_memcpy): This.
11858 (memcpy): Provide GLIBC_2_14 memcpy.
11859 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11860 (memcpy): Provide GLIBC_2_2_5 memcpy.
11862 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11865 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11867 2011-03-30 Andreas Schwab <schwab@redhat.com>
11869 * misc/syncfs.c: New file.
11870 * misc/Makefile (routines): Add syncfs.
11871 * posix/unistd.h: Declare syncfs.
11872 * sysdeps/unix/syscalls.list: Add syncfs.
11874 2011-04-01 Andreas Schwab <schwab@redhat.com>
11876 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11879 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11880 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11881 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11883 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11886 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11889 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11890 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11892 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11894 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11896 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11897 sync_file_range.c with -fexceptions.
11898 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11899 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11900 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11901 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11902 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11903 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11904 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11905 sync_file_range as cancellation point
11906 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11907 now a wrapper around __call_sync_file_range with cancellation handling.
11908 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11909 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11910 function name to __call_sync_file_range.
11911 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11912 Add call_sync_file_range.
11914 2011-04-01 Andreas Schwab <schwab@redhat.com>
11916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11919 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11921 * iconv/iconv.h: Fix typo in comment.
11922 * io/fcntl.h: Likewise.
11923 * libio/stdio.h: Likewise.
11924 * posix/spawn.h: Likewise.
11925 * posix/unistd.h: Likewise.
11926 * stdlib/stdlib.h: Likewise.
11927 * time/time.h: Likewise.
11928 * wcsmbs/wchar.h: Likewise.
11930 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11931 open_by_handle): Add.
11932 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11933 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11934 Augment a few comments.
11935 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11937 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11940 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11943 * io/fcntl.h (AT_EMPTY_PATH): Define.
11945 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11947 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11948 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11949 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11951 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11952 * Versions.def: Add GLIBC_2.14.
11953 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11956 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11960 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11962 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11965 * string/test-strncmp.c (do_page_test): New function.
11966 (check2): Likewise.
11967 (test_main): Call check2.
11968 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11970 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11973 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11974 Handle cache information in CPU leaf 4.
11975 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11977 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11980 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11981 character representation.
11982 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11984 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11986 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11987 END(__isnan) to END(__isnanf) to match function entry point/label
11988 EALIGN(__isnanf,...).
11990 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11992 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11994 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11997 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11998 copy from the symbol referenced in the relocation to initialize the
12000 Patch by Piotr Bury <pbury@goahead.com>.
12001 * elf/Makefile: Add rules to build and tst-unique3.
12002 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12003 * elf/tst-unique3.cc: New file.
12004 * elf/tst-unique3.h: New file.
12005 * elf/tst-unique3lib.cc: New file.
12006 * elf/tst-unique3lib2.cc: New file.
12008 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12010 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12012 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12013 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12016 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12018 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12019 to-be-loaded object along a path to loader is ld.so.
12021 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12022 Ulrich Drepper <drepper@gmail.com>
12024 * sysdeps/x86_64/memset.S: After aligning destination, code
12025 branches to different locations depending on the value of
12026 misalignment, when multiarch is enabled. Fix this.
12028 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12030 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12031 Set _x86_64_preferred_memory_instruction for AMD processsors.
12032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12033 Set bit_Prefer_SSE_for_memop for AMD processors.
12035 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12037 * libio/fmemopen.c (fmemopen): Optimize a bit.
12039 2011-03-03 Andreas Schwab <schwab@redhat.com>
12041 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12043 2011-03-03 Roland McGrath <roland@redhat.com>
12045 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12047 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12049 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12050 __bzero_ultra1 instead of __memset_ultra1.
12052 2011-02-23 Andreas Schwab <schwab@redhat.com>
12053 Ulrich Drepper <drepper@gmail.com>
12056 * include/link.h (struct link_map): Add l_orig_initfini.
12057 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12058 returning unsuccessfully.
12059 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12060 close of a file loaded at startup, restore the original l_initfini
12062 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12063 list, store the pointer.
12064 * elf/Makefile ($(objpfx)noload-mem): New rule.
12065 (noload-ENV): Define.
12066 (tests): Add $(objpfx)noload-mem.
12067 * elf/noload.c: Include <memcheck.h>.
12068 (main): Call mtrace. Close all opened handles.
12070 2011-02-17 Andreas Schwab <schwab@redhat.com>
12073 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12074 dependencies are missing.
12076 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12078 Fix __if_freereq crash: Unlike the generic version which uses free,
12080 * sysdeps/mach/hurd/ifreq.h: New file.
12082 2011-01-27 Petr Baudis <pasky@suse.cz>
12083 Ulrich Drepper <drepper@gmail.com>
12086 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12087 to extend_alloca().
12088 * stdio-common/bug23.c: New file.
12089 * stdio-common/Makefile (tests): Add bug23.
12091 2010-09-28 Andreas Schwab <schwab@redhat.com>
12092 Ulrich Drepper <drepper@gmail.com>
12095 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12096 before performing relro protection. At old place add assertion
12097 to make sure nothing changed.
12099 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12100 Glauber de Oliveira Costa <glommer@gmail.com>
12102 * elf/elf.h: Add new ARM TLS relocs.
12104 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12107 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12109 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12111 * sysdeps/wordsize-64/tst-writev.c: New file.
12113 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12115 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12116 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12117 insns in _dl_start to prevent a TOC reference before relocs are
12120 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12123 * Makeconfig: Remove RANLIB definition.
12124 * Makerules: Don't use RANLIB.
12125 * aclocal.m4: Remove ranlib test.
12126 * configure.in: No need to check for ranlib.
12127 * elf/rtld-Rules: Don't use RANLIB.
12129 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12131 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12133 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12134 inclusion protection macro.
12136 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12137 SIGRTMIN and SIGRTMAX and print information in that case only when
12138 SIGRTMIN is defined.
12140 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12142 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12143 arginfo fn returning -1.
12145 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12146 and thousands string is zero terminated.
12148 2011-02-03 Andreas Schwab <schwab@redhat.com>
12150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12151 sysdeps/unix/sysv/linux/bits/socket.h.
12153 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12155 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12156 (__CPU_COUNT): Remove old macros.
12157 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12158 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12159 (__CPU_ALLOC, __CPU_FREE): Add macros.
12160 (__sched_cpualloc, __sched_cpufree): Add declarations.
12162 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12164 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12165 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12166 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12167 (readdhstai): Return value of addhstaiX call.
12168 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12169 (addgrbyX): Return value returned by cache_addgr.
12170 (readdgrbyname): Return value returned by addgrbyX.
12171 (readdgrbygid): Likewise.
12172 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12173 (addpwbyX): Return value returned by cache_addpw.
12174 (readdpwbyname): Return value returned by addhstbyX.
12175 (readdpwbyuid): Likewise.
12176 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12177 (addservbyX): Return value returned by cache_addserv.
12178 (readdservbyname): Return value returned by addservbyX:
12179 (readdservbyport): Likewise.
12180 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12181 (addhstbyX): Return value returned by cache_addhst.
12182 (readdhstbyname): Return value returned by addhstbyX.
12183 (readdhstbyaddr): Likewise.
12184 (readdhstbynamev6): Likewise.
12185 (readdhstbyaddrv6): Likewise.
12186 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12187 (readdinitgroups): Return value returned by addinitgroupsX.
12188 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12189 (prune_cache): Keep track of timeout value of re-added entries.
12190 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12191 * nscd/nscd.h: Adjust prototypes of readd* functions.
12193 2011-02-04 Roland McGrath <roland@redhat.com>
12195 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12196 (nis_stats): Likewise.
12197 * nis/nis_modify.c (nis_modify): Likewise.
12198 * nis/nis_remove.c (nis_remove): Likewise.
12199 * nis/nis_add.c (nis_add): Likewise.
12201 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12203 * posix/fnmatch_loop.c: Add some consts.
12205 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12207 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12210 * config.make.in (config-cflags-novzeroupper): Define.
12211 * configure.in: Substitute libc_cv_cc_novzeroupper.
12212 * elf/Makefile (AVX-CFLAGS): Define.
12213 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12214 (CFLAGS-tst-auditmod4a.c): Likewise.
12215 (CFLAGS-tst-auditmod4b.c): Likewise.
12216 (CFLAGS-tst-auditmod6b.c): Likewise.
12217 (CFLAGS-tst-auditmod6c.c): Likewise.
12218 (CFLAGS-tst-auditmod7b.c): Likewise.
12219 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12221 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12223 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12224 function to the callback.
12225 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12227 2011-02-02 Andreas Schwab <schwab@redhat.com>
12229 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12232 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12235 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12237 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12239 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12242 * elf/Makefile: Add rules to build and run new test.
12243 * elf/tst-initorder.c: New file.
12244 * elf/tst-initorder.exp: New file.
12245 * elf/tst-initordera1.c: New file.
12246 * elf/tst-initordera2.c: New file.
12247 * elf/tst-initordera3.c: New file.
12248 * elf/tst-initordera4.c: New file.
12249 * elf/tst-initorderb1.c: New file.
12250 * elf/tst-initorderb2.c: New file.
12251 * elf/tst-order-a1.c: New file.
12252 * elf/tst-order-a2.c: New file.
12253 * elf/tst-order-a3.c: New file.
12254 * elf/tst-order-a4.c: New file.
12255 * elf/tst-order-b1.c: New file.
12256 * elf/tst-order-b2.c: New file.
12257 * elf/tst-order-main.c: New file.
12258 New test case by George Gensure <werkt0@gmail.com>.
12260 2010-10-01 Andreas Schwab <schwab@redhat.com>
12262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12263 decoding ACE if AI_CANONIDN.
12265 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12267 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12269 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12271 * version.h (RELEASE): Bump for 2.13 release.
12272 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12274 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12276 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12278 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12279 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12281 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12283 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12285 * posix/getconf.c: Update copyright year.
12286 * catgets/gencat.c: Likewise.
12287 * csu/version.c: Likewise.
12288 * debug/catchsegv.sh: Likewise.
12289 * debug/xtrace.sh: Likewise.
12290 * elf/ldconfig.c: Likewise.
12291 * elf/ldd.bash.in: Likewise.
12292 * elf/sprof.c (print_version): Likewise.
12293 * iconv/iconv_prog.c: Likewise.
12294 * iconv/iconvconfig.c: Likewise.
12295 * locale/programs/locale.c: Likewise.
12296 * locale/programs/localedef.c: Likewise.
12297 * malloc/memusage.sh: Likewise.
12298 * malloc/mtrace.pl: Likewise.
12299 * nscd/nscd.c (print_version): Likewise.
12300 * nss/getent.c: Likewise.
12302 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12303 PF_CAIF, and PF_ALG.
12304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12306 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12308 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12309 (modules-names): Use them.
12310 (ifunc-test-modules, ifunc-pie-tests): Define.
12311 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12312 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12313 (test-extras): Likewise.
12314 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12315 $(compile-command.c).
12316 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12317 (all-built-dso): Define.
12318 (check-textrel.out, check-execstack.out): Depend on it.
12320 * configure.in: Don't override --enable-multi-arch.
12322 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12325 * nscd/hstcache.c (tryagain): Define.
12326 (cache_addhst): Return tryagain not notfound for temporary errors.
12327 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12330 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12333 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12334 to make the syscall.
12335 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12338 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12339 and fall back to matching as normal character if the string ends before
12340 the matching ']' is found. This is what POSIX requires.
12341 * posix/testfnm.c: Adjust test result.
12342 * posix/globtest.sh: Adjust test result. Add new test.
12343 * posix/tst-fnmatch.input: Likewise.
12344 * posix/tst-fnmatch2.c: Add new test.
12346 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12348 * elf/Makefile (check-execstack): Revert last change. Depend on
12350 (check-execstack.h): New target.
12351 (generated): Add check-execstack.h.
12352 * elf/check-execstack.c: Include "check-execstack.h".
12353 (main): Revert last change.
12354 (handle_file): Return zero if GNU_STACK is absent and
12355 DEFAULT_STACK_PERMS doesn't include PF_X.
12357 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12359 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12360 in child fails because the descriptor is already closed.
12361 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12362 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12363 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12366 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12370 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12371 temporary buffer used to handle multi lookups locally.
12372 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12374 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12376 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12379 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12381 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12382 alignment for SSE2.
12384 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12387 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12388 characters. When rounding increased number of integer digits recompute
12390 * stdio-common/tst-grouping.c: New file.
12391 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12393 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12395 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12396 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12398 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12400 * bits/select.h: Likewise.
12402 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12404 * po/ja.po: Update from translation team.
12406 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12409 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12410 implementation just like for lxstat, fxstatat, et al.
12412 2010-12-27 Jim Meyering <meyering@redhat.com>
12415 * posix/regexec.c (build_trtable): Return failure indication upon
12416 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12418 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12421 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12422 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12423 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12424 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12427 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12430 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12431 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12433 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12435 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12436 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12437 script has SORT_BY_INIT_PRIORITY.
12438 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12439 NO_CTORS_DTORS_SECTIONS is defined.
12440 * elf/soinit.c: Likewise.
12441 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12442 NO_CTORS_DTORS_SECTIONS is defined.
12443 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12444 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12445 * sysdeps/sh/init-first.c: Likewise.
12446 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12448 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12450 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12451 always use the slow path.
12453 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12455 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12456 similar rule which adds the sysdep directories to the header search in
12457 order to pick up the correct platform stackinfo.h.
12458 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12459 perform test if it is, otherwise return successfully without testing.
12460 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12461 DEFAULT_STACK_PERMS define in stackinfo.h.
12462 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12463 defined in stackinfo.h.
12464 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12465 DEFAULT_STACK_PERMS defined in stackinfo.h.
12466 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12467 * sysdeps/ia64/stackinfo.h: Likewise.
12468 * sysdeps/s390/stackinfo.h: Likewise.
12469 * sysdeps/sh/stackinfo.h: Likewise.
12470 * sysdeps/sparc/stackinfo.h: Likewise.
12471 * sysdeps/x86_64/stackinfo.h: Likewise.
12472 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12473 PF_X for powerpc64. Retain PF_X for powerpc32.
12475 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12477 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12479 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12480 GETDENTS_64BIT_ALIGNED.
12482 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12484 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12486 2010-12-10 Andreas Schwab <schwab@redhat.com>
12488 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12491 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12492 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12494 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12495 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12497 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12500 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12503 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12505 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12507 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12509 * po/it.po: Update from translation team.
12511 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12516 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12518 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12520 2010-11-24 Andreas Schwab <schwab@redhat.com>
12522 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12524 (gaih_getanswer_slice): Likewise.
12526 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12530 2010-05-31 Petr Baudis <pasky@suse.cz>
12533 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12534 silently even in the chroot mode.
12536 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12538 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12539 last patch a bit. Pretty printing
12541 2010-05-31 Petr Baudis <pasky@suse.cz>
12544 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12545 initialization of skip_initgroups_dyn.
12547 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12549 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12550 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12552 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12554 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12556 2010-11-11 Andreas Schwab <schwab@redhat.com>
12558 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12559 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12560 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12561 ($(objpfx)tst-fnmatch-mem): New rule.
12562 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12563 * posix/tst-fnmatch.c (main): Call mtrace.
12565 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12568 Support Intel processor model 6 and model 0x2c.
12570 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12572 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12575 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12578 * string/test-strncasecmp.c (check_result): New function.
12579 (do_one_test): Use it.
12580 (check1): New function.
12581 (test_main): Use it.
12582 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12583 Support strcasecmp and strncasecmp.
12585 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12588 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12589 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12591 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12593 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12597 * sysdeps/x86_64/multiarch/bzero.S: New file.
12598 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12599 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12600 * sysdeps/x86_64/multiarch/memset.S: New file.
12601 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12603 Set bit_Prefer_SSE_for_memop for Intel processors.
12604 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12606 (index_Prefer_SSE_for_memop): Define.
12607 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12609 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12611 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12612 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12614 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12617 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12618 (__x86_64_raw_data_cache_size_half): Likewise.
12619 (__x86_64_raw_shared_cache_size): Likewise.
12620 (__x86_64_raw_shared_cache_size_half): Likewise.
12622 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12623 (__x86_64_raw_data_cache_size_half): Likewise.
12624 (__x86_64_raw_shared_cache_size): Likewise.
12625 (__x86_64_raw_shared_cache_size_half): Likewise.
12626 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12627 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12628 and __x86_64_raw_shared_cache_size_half. Round
12629 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12630 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12631 to multiple of 256 bytes.
12633 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12636 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12637 of inacessible symlinks. Verify result of symlink before returning it.
12638 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12639 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12641 2010-10-28 Erich Ritz <erichritz@gmail.com>
12643 * math/math.h (isinf): Fix typo in comment.
12645 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12647 * po/da.po: Update from translation team.
12649 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12651 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12652 is added to the list.
12654 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12655 Ulrich Drepper <drepper@gmail.com>
12657 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12658 the global list here. Move code to...
12659 (_dl_add_to_namespace_list): ...here. New function.
12660 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12661 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12662 * elf/dl-load.c (lose): Don't remove the element from the list.
12663 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12664 (_dl_map_object): Likewise.
12666 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12669 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12670 into all bytes of SSE register.
12671 Patch by Richard Li <richardpku@gmail.com>.
12673 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12676 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12679 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12681 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12682 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12684 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12689 2010-10-22 Andreas Schwab <schwab@redhat.com>
12691 * include/dlfcn.h (__RTLD_SECURE): Define.
12692 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12693 mode & __RTLD_SECURE instead.
12694 (open_path): Rename preloaded parameter to secure.
12695 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12696 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12697 * elf/dl-deps.c (openaux): Likewise.
12698 * elf/rtld.c (struct map_args): Remove is_preloaded.
12699 (map_doit): Don't use it.
12700 (dl_main): Likewise.
12701 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12702 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12704 2010-09-09 Andreas Schwab <schwab@redhat.com>
12706 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12707 (sysd-rules-targets): Remove duplicates.
12708 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12709 rtld-%.$o dependency.
12711 2010-10-18 Andreas Schwab <schwab@redhat.com>
12713 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12714 _dl_map_object do it.
12716 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12718 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12719 fast fma builtins, define the macros in the C99 standard.
12720 (FP_FAST_FMAF): Likewise.
12721 (FP_FAST_FMAL): Likewise.
12722 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12724 * bits/mathdef.h: Update copyright year.
12725 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12727 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12729 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12730 builtins, define the macros in the C99 standard.
12731 (FP_FAST_FMAF): Likewise.
12732 (FP_FAST_FMAL): Likewise.
12733 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12735 (FP_FAST_FMAF): Likewise.
12737 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12740 * math/libm-test.inc (fma_test): Some new testcases.
12741 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12742 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12743 y and infinite z. Do multiplication by C already in long double.
12744 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12746 y and infinite z. Do bitwise or of inexact bit into u.d.
12747 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12748 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12749 * sysdeps/i386/fpu/s_fma.S: Removed.
12750 * sysdeps/i386/fpu/s_fmal.S: Removed.
12752 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12755 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12756 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12757 computation is not scheduled after fetestexcept. Fix value
12758 of minimum denormal long double.
12760 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12763 * math/libm-test.inc (fma_test): Add some more tests.
12764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12767 2010-10-15 Andreas Schwab <schwab@redhat.com>
12769 * scripts/data/localplt-s390-linux-gnu.data: New file.
12770 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12772 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12775 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12776 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12778 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12780 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12782 if one of x and y is very large and the other is subnormal.
12783 * sysdeps/s390/fpu/s_fmaf.c: New file.
12784 * sysdeps/s390/fpu/s_fma.c: New file.
12785 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12786 * sysdeps/powerpc/fpu/s_fma.S: New file.
12787 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12788 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12789 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12791 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12794 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12796 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12797 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12798 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12799 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12800 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12801 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12804 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12807 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12808 * posix/bug-regex31.input: Add test case.
12810 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12812 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12813 * posix/bug-regex31.input: New file.
12816 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12817 (parse_sub_exp): Fix last change, use postorder.
12819 * posix/bug-regex31.c: New file.
12820 * posix/Makefile: Add rules to build and run bug-regex31.
12822 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12825 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12828 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12829 to have entries in sys_siglist.
12832 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12835 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12838 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12839 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12840 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12841 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12842 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12843 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12844 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12845 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12846 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12847 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12848 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12849 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12850 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12851 * math/ftestexcept.c (fetestexcept): Likewise.
12852 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12853 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12854 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12855 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12856 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12857 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12858 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12860 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12863 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12866 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12868 * string/bug-strstr1.c: New file.
12869 * string/Makefile: Add rules to build and run bug-strstr1.
12871 2010-10-05 Eric Blake <eblake@redhat.com>
12874 * string/str-two-way.h (two_way_long_needle): Always clear memory
12875 when skipping input due to the shift table.
12877 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12880 * malloc/mcheck.c: Handle large requests.
12883 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12884 for strncmp and strncasecmp.
12885 * string/stratcliff.c: Add tests for strcmp and strncmp.
12886 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12888 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12890 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12893 2010-09-30 Andreas Jaeger <aj@suse.de>
12895 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12896 (CGROUP_SUPER_MAGIC): Define.
12897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12898 Handle btrfs and cgroup file systems.
12899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12902 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12904 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12905 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12907 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12910 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12911 trying to locate the ELF header.
12913 2010-09-27 Andreas Schwab <schwab@redhat.com>
12916 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12917 Mask out sign-bit copies when constructing f_fsid.
12919 2010-09-24 Petr Baudis <pasky@suse.cz>
12921 * debug/stack_chk_fail_local.c: Add missing licence exception.
12922 * debug/warning-nop.c: Likewise.
12924 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12926 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12927 implementing getdents64 using getdents syscall, set d_type if
12928 __ASSUME_GETDENTS32_D_TYPE.
12930 2010-09-16 Andreas Schwab <schwab@redhat.com>
12932 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12933 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12935 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12938 * posix/unistd.h: Undo change of feature selection for ftruncate from
12941 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12943 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12946 2010-09-20 Andreas Schwab <schwab@redhat.com>
12948 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12950 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12952 2010-09-14 Andreas Schwab <schwab@redhat.com>
12954 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12955 variables after CHECK_SP call.
12956 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12958 2010-09-13 Andreas Schwab <schwab@redhat.com>
12959 Ulrich Drepper <drepper@redhat.com>
12961 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12962 re-relocationg ld.so.
12963 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12964 _dl_init_paths call.
12965 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12968 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12970 * resolv/res_init.c (__res_vinit): Count the default server we added.
12972 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12973 Ulrich Drepper <drepper@redhat.com>
12976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12977 (____longjmp_chk): Use %ebx for saving value across system call.
12980 2010-09-06 Andreas Schwab <schwab@redhat.com>
12982 * manual/Makefile: Don't mix pattern rules with normal rules.
12984 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12986 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12988 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12989 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12990 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12991 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12992 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12995 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12998 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12999 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13001 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13003 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13004 * sysdeps/x86_64/addmul_1.S: Likewise.
13005 * sysdeps/x86_64/lshift.S: Likewise.
13006 * sysdeps/x86_64/mul_1.S: Likewise.
13007 * sysdeps/x86_64/rshift.S: Likewise.
13008 * sysdeps/x86_64/sub_n.S: Likewise.
13009 * sysdeps/x86_64/submul_1.S: Likewise.
13011 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13013 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13014 Define __sched_param instead of SCHED_* and sched_param when
13015 <bits/sched.h> is included with __need_schedparam defined.
13016 * bits/sched.h [__need_schedparam]
13017 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13018 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13019 (__defined_schedparam): Define to 1.
13020 (__sched_param): New structure, identical to sched_param.
13021 (__need_schedparam): Undefine.
13023 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13025 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13026 (epoll_create1): Declare.
13028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13030 2010-08-31 Andreas Schwab <schwab@redhat.com>
13033 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13034 shifting retval into place.
13036 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13038 * nis/rpcsvc/nis.h: Update copyright notice.
13039 * nis/rpcsvc/nis.x: Likewise.
13040 * nis/rpcsvc/nis_callback.h: Likewise.
13041 * nis/rpcsvc/nis_callback.x: Likewise.
13042 * nis/rpcsvc/nis_object.x: Likewise.
13043 * nis/rpcsvc/nis_tags.h: Likewise.
13044 * nis/rpcsvc/yp.h: Likewise.
13045 * nis/rpcsvc/yp.x: Likewise.
13046 * nis/rpcsvc/ypupd.h: Likewise.
13047 * nis/yp_xdr.c: Likewise.
13048 * nis/ypupdate_xdr.c: Likewise.
13050 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13051 mainly the body of pmap_getport. Add parameters to specify timeouts.
13052 (pmap_getport): Use __libc_rpc_getport.
13053 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13054 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13055 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13057 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13062 2010-08-27 Roland McGrath <roland@redhat.com>
13064 * sysdeps/i386/i686/multiarch/Makefile
13065 (CFLAGS-varshift.c): New variable.
13067 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13069 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13070 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13072 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13074 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13076 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13078 * sysdeps/x86_64/strlen.S: Unroll the loop.
13079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13080 strlen-sse2 strlen-sse2-bsf.
13081 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13082 __strlen_no_bsf if bit_Slow_BSF is set.
13083 (__strlen_sse42): Removed.
13084 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13085 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13087 2010-08-25 Roland McGrath <roland@redhat.com>
13089 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13090 * sysdeps/x86_64/multiarch/varshift.c: New file.
13091 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13092 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13093 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13094 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13096 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13099 strlen-sse2 strlen-sse2-bsf.
13100 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13101 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13102 (__strlen_sse2): Removed.
13103 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13104 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13106 bit_Slow_BSF for Atom.
13107 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13108 (index_Slow_BSF): Define.
13109 (HAS_SLOW_BSF): Define.
13111 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13114 * resolv/res_init.c (__res_vinit): When no server address at all
13115 is given default to loopback.
13117 2010-08-24 Roland McGrath <roland@redhat.com>
13119 * configure.in: Remove config-name.h generation.
13120 * configure: Regenerated.
13121 * config-name.in: File removed.
13122 * scripts/config-uname.sh: New file.
13123 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13124 ($(objdir)config-name.h): New target.
13126 * sunrpc/rpc_parse.h: Avoid nested comment.
13128 2010-08-24 Richard Henderson <rth@redhat.com>
13129 Ulrich Drepper <drepper@redhat.com>
13130 H.J. Lu <hongjiu.lu@intel.com>
13132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13134 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13135 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13136 _mm_alignr_epi8 with _mm_loadu_si128.
13137 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13138 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13139 (__m128i_shift_right): Removed.
13140 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13141 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13142 * sysdeps/x86_64/multiarch/varshift.h: New file.
13143 * sysdeps/x86_64/multiarch/varshift.S: New file.
13145 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13147 * configure.in: Move assembler checks to before sysdep dir checking.
13149 2010-08-20 Petr Baudis <pasky@suse.cz>
13151 * LICENSES: Sync the sunrpc license.
13153 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13155 * sunrpc/auth_des.c: Update copyright notice once again.
13156 * sunrpc/auth_none.c: Likewise.
13157 * sunrpc/auth_unix.c: Likewise.
13158 * sunrpc/authdes_prot.c: Likewise.
13159 * sunrpc/authuxprot.c: Likewise.
13160 * sunrpc/bindrsvprt.c: Likewise.
13161 * sunrpc/clnt_gen.c: Likewise.
13162 * sunrpc/clnt_perr.c: Likewise.
13163 * sunrpc/clnt_raw.c: Likewise.
13164 * sunrpc/clnt_simp.c: Likewise.
13165 * sunrpc/clnt_tcp.c: Likewise.
13166 * sunrpc/clnt_udp.c: Likewise.
13167 * sunrpc/clnt_unix.c: Likewise.
13168 * sunrpc/des_crypt.c: Likewise.
13169 * sunrpc/des_soft.c: Likewise.
13170 * sunrpc/get_myaddr.c: Likewise.
13171 * sunrpc/getrpcport.c: Likewise.
13172 * sunrpc/key_call.c: Likewise.
13173 * sunrpc/key_prot.c: Likewise.
13174 * sunrpc/openchild.c: Likewise.
13175 * sunrpc/pm_getmaps.c: Likewise.
13176 * sunrpc/pm_getport.c: Likewise.
13177 * sunrpc/pmap_clnt.c: Likewise.
13178 * sunrpc/pmap_prot.c: Likewise.
13179 * sunrpc/pmap_prot2.c: Likewise.
13180 * sunrpc/pmap_rmt.c: Likewise.
13181 * sunrpc/rpc/auth.h: Likewise.
13182 * sunrpc/rpc/auth_unix.h: Likewise.
13183 * sunrpc/rpc/clnt.h: Likewise.
13184 * sunrpc/rpc/des_crypt.h: Likewise.
13185 * sunrpc/rpc/key_prot.h: Likewise.
13186 * sunrpc/rpc/netdb.h: Likewise.
13187 * sunrpc/rpc/pmap_clnt.h: Likewise.
13188 * sunrpc/rpc/pmap_prot.h: Likewise.
13189 * sunrpc/rpc/pmap_rmt.h: Likewise.
13190 * sunrpc/rpc/rpc.h: Likewise.
13191 * sunrpc/rpc/rpc_des.h: Likewise.
13192 * sunrpc/rpc/rpc_msg.h: Likewise.
13193 * sunrpc/rpc/svc.h: Likewise.
13194 * sunrpc/rpc/svc_auth.h: Likewise.
13195 * sunrpc/rpc/types.h: Likewise.
13196 * sunrpc/rpc/xdr.h: Likewise.
13197 * sunrpc/rpc_clntout.c: Likewise.
13198 * sunrpc/rpc_cmsg.c: Likewise.
13199 * sunrpc/rpc_common.c: Likewise.
13200 * sunrpc/rpc_cout.c: Likewise.
13201 * sunrpc/rpc_dtable.c: Likewise.
13202 * sunrpc/rpc_hout.c: Likewise.
13203 * sunrpc/rpc_main.c: Likewise.
13204 * sunrpc/rpc_parse.c: Likewise.
13205 * sunrpc/rpc_parse.h: Likewise.
13206 * sunrpc/rpc_prot.c: Likewise.
13207 * sunrpc/rpc_sample.c: Likewise.
13208 * sunrpc/rpc_scan.c: Likewise.
13209 * sunrpc/rpc_scan.h: Likewise.
13210 * sunrpc/rpc_svcout.c: Likewise.
13211 * sunrpc/rpc_tblout.c: Likewise.
13212 * sunrpc/rpc_util.c: Likewise.
13213 * sunrpc/rpc_util.h: Likewise.
13214 * sunrpc/rpcinfo.c: Likewise.
13215 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13216 * sunrpc/rpcsvc/key_prot.x: Likewise.
13217 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13218 * sunrpc/rpcsvc/mount.x: Likewise.
13219 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13220 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13221 * sunrpc/rpcsvc/rex.x: Likewise.
13222 * sunrpc/rpcsvc/rstat.x: Likewise.
13223 * sunrpc/rpcsvc/rusers.x: Likewise.
13224 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13225 * sunrpc/rpcsvc/spray.x: Likewise.
13226 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13227 * sunrpc/rtime.c: Likewise.
13228 * sunrpc/svc.c: Likewise.
13229 * sunrpc/svc_auth.c: Likewise.
13230 * sunrpc/svc_authux.c: Likewise.
13231 * sunrpc/svc_raw.c: Likewise.
13232 * sunrpc/svc_run.c: Likewise.
13233 * sunrpc/svc_simple.c: Likewise.
13234 * sunrpc/svc_tcp.c: Likewise.
13235 * sunrpc/svc_udp.c: Likewise.
13236 * sunrpc/svc_unix.c: Likewise.
13237 * sunrpc/svcauth_des.c: Likewise.
13238 * sunrpc/xcrypt.c: Likewise.
13239 * sunrpc/xdr.c: Likewise.
13240 * sunrpc/xdr_array.c: Likewise.
13241 * sunrpc/xdr_float.c: Likewise.
13242 * sunrpc/xdr_mem.c: Likewise.
13243 * sunrpc/xdr_rec.c: Likewise.
13244 * sunrpc/xdr_ref.c: Likewise.
13245 * sunrpc/xdr_sizeof.c: Likewise.
13246 * sunrpc/xdr_stdio.c: Likewise.
13248 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13251 2010-08-19 Andreas Schwab <schwab@redhat.com>
13253 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13255 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13257 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13258 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13259 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13260 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13261 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13262 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13263 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13264 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13265 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13266 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13267 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13268 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13269 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13270 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13272 2010-07-26 Anton Blanchard <anton@samba.org>
13274 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13275 * malloc/arena.c (heap_trim): Likewise.
13277 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13279 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13281 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13282 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13284 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13286 * sysdeps/i386/elf/Makefile: New file.
13288 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13290 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13291 from fanotify_init.
13292 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13293 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13295 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13297 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13299 * sysdeps/multiarch/strcmp.S: Likewise.
13301 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13303 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13304 strncase_l-nonascii.
13305 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13306 Add strncase_l-ssse3.
13307 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13308 * sysdeps/x86_64/strcmp.S: Likewise.
13309 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13310 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13311 * sysdeps/x86_64/strncase.S: New file.
13312 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13313 * sysdeps/x86_64/strncase_l.S: New file.
13314 * string/Makefile (strop-tests): Add strncasecmp.
13315 * string/test-strncasecmp.c: New file.
13317 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13320 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13321 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13323 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13325 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13327 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13329 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13330 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13331 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13333 2010-05-01 Alan Modra <amodra@gmail.com>
13335 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13336 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13337 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13338 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13339 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13340 tidying. Don't tail-call __sigjmp_save for static lib.
13341 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13343 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13344 (CALL_MCOUNT): Add eh info, and nop after bl.
13345 (TAIL_CALL_SYSCALL_ERROR): New macro.
13346 (PSEUDO_RET): Use it.
13347 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13348 Correct save location of integer regs and cr.
13349 (_dl_profile_resolve): Correct cr save location. Delete nops
13350 after bl when SHARED. Reduce cfi size a little by better
13351 placement of cfi directives.
13352 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13353 make a stack frame. Instead use parm save area as a temp.
13354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13355 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13357 Don't make a stack frame for parent, use parm save area.
13358 Increase child stack frame to 112 bytes. Don't save unused reg,
13359 and adjust reg usage. Set up cfi on error recovery and
13360 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13362 (__makecontext): Add dummy nop after jump to exit.
13363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13364 Use correct parm save area and cr save, reduce stack frame.
13365 Correct cfi for possible PSEUDO_RET frame setup.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13367 Branch to local label emitted by PSEUDO_RET rather than
13370 2010-08-12 Andreas Schwab <schwab@redhat.com>
13373 * locale/programs/locale.c (print_assignment): New function.
13374 (show_locale_vars): Use it.
13376 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13378 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13380 (struct statfs64): Likewise.
13381 (_STATFS_F_FLAGS): Define.
13382 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13383 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13384 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13385 (ST_VALID): Define locally.
13386 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13387 __statvfs_getflags, use the provided value.
13388 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13389 __ASSUME_STATFS_F_FLAGS.
13391 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13393 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13394 Add sys/fanotify.h.
13395 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13396 fanotify_mask for GLIBC_2.13.
13397 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13398 fanotify_init and fanotify_mark.
13399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13400 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13402 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13404 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13405 prlimit64 for GLIBC_2.13.
13406 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13411 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13412 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13413 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13414 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13416 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13419 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13420 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13422 * nss/Makefile: Add rules to build and run tst-nss-test1.
13423 * shlib-versions: Add entry for libnss_test1.
13424 * nss/nss_test1.c: New file.
13425 * nss/tst-nss-test1.c: New file.
13427 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13428 (__nss_configure_lookup): Set appropriate entry in
13429 __nss_configure_lookup to true.
13430 * nss/nsswitch.h: Define enum with indeces of databases in
13431 databases and __nss_database_custom arrays. Declare
13432 __nss_database_custom.
13433 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13434 to avoid using nscd when custom rules are installed.
13435 * nss/getXXbyYY_r.c: Likewise.
13436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13438 * nss/nss_files/files-parse.c: Whitespace fixes.
13440 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13443 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13444 * posix/fnmatch_loop.c: Likewise.
13446 2010-07-17 Andi Kleen <ak@linux.intel.com>
13448 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13449 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13450 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13451 * Versions.def [GLIBC_2.13]: Add.
13453 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13455 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13456 Also fail if tpwd after pwuid call is NULL.
13458 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13460 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13461 when converting to ms.
13463 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13465 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13466 EOPNOTSUPP errors with ENOTTY.
13467 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13468 EOPNOTSUPP errors with ENOTTY.
13470 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13472 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13473 Add strcasecmp_l-ssse3.
13474 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13476 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13477 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13478 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13480 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13482 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13484 * string/Makefile (strop-tests): Add strcasecmp.
13485 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13486 strcasecmp_l-nonascii.
13487 (gen-as-const-headers): Add locale-defines.sym.
13488 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13489 * sysdeps/x86_64/strcasecmp.S: New file.
13490 * sysdeps/x86_64/strcasecmp_l.S: New file.
13491 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13492 * sysdeps/x86_64/locale-defines.sym: New file.
13493 * string/test-strcasecmp.c: New file.
13495 * string/test-strcasestr.c: Test both ends of the range of characters.
13496 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13498 2010-07-29 Roland McGrath <roland@redhat.com>
13501 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13503 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13505 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13508 2010-07-27 Andreas Schwab <schwab@redhat.com>
13510 * manual/memory.texi (Malloc Tunable Parameters): Document
13513 2010-07-26 Roland McGrath <roland@redhat.com>
13516 * configure.in (-fgnu89-inline check): Set and substitute
13517 gnu89_inline, not libc_cv_gnu89_inline.
13518 * configure: Regenerated.
13519 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13521 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13523 * string/test-strnlen.c: New file.
13524 * string/Makefile (strop-tests): Add strnlen.
13525 * string/tester.c (test_strnlen): Add a few more test cases.
13526 * string/tst-strlen.c: Better error reporting.
13528 * sysdeps/x86_64/strnlen.S: New file.
13530 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13532 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13533 lower-latency instructions.
13535 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13537 * string/test-strcasestr.c: New file.
13538 * string/test-strstr.c: New file.
13539 * string/Makefile (strop-tests): Add strstr and strcasestr.
13540 * string/str-two-way.h: Don't undefine MAX.
13541 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13543 2010-07-21 Andreas Schwab <schwab@redhat.com>
13545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13546 strcasestr-nonascii.
13547 (CFLAGS-strcasestr-nonascii.c): Define.
13548 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13549 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13550 Remove unused attribute.
13552 2010-07-20 Roland McGrath <roland@redhat.com>
13554 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13555 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13556 ld.so.cache was broken. With it, there is no way to disable dsocaps
13557 like LD_HWCAP_MASK can disable hwcaps.
13559 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13561 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13563 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13565 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13566 call in strcasestr.
13567 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13568 __strcasestr_sse42_nonascii.
13569 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13570 strcasestr-nonascii.c.
13571 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13573 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13575 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13576 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13577 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13578 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13580 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13582 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13585 2010-07-06 Andreas Schwab <schwab@redhat.com>
13588 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13591 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13593 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13594 _PC_PIPE_BUF using F_GETPIPE_SZ.
13596 2010-07-05 Roland McGrath <roland@redhat.com>
13598 * manual/arith.texi (Rounding Functions): Fix rint description
13599 implicit in round description.
13601 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13603 * elf/Makefile: Fix linking for a few tests to make recent linker
13606 2010-06-30 Andreas Schwab <schwab@redhat.com>
13608 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13609 $(common-objpfx)libc_nonshared.a.
13611 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13613 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13614 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13615 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13616 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13617 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13618 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13619 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13620 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13635 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13636 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13637 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13638 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13639 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13640 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13641 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13642 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13643 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13644 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13645 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13646 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13662 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13664 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13665 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13666 * string/memmove.c (memmove): Renamed to ...
13667 (MEMMOVE): ...this. Default to memmove.
13668 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13669 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13672 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13673 mempcpy-ssse3-back memmove-ssse3-back.
13674 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13675 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13676 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13677 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13678 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13679 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13680 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13681 * sysdeps/x86_64/multiarch/memmove.c: New file.
13682 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13683 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13684 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13685 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13686 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13687 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13689 (index_Fast_Copy_Backward): Define.
13690 (HAS_ARCH_FEATURE): Define.
13691 (HAS_FAST_REP_STRING): Define.
13692 (HAS_FAST_COPY_BACKWARD): Define.
13694 2010-06-21 Andreas Schwab <schwab@redhat.com>
13696 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13697 Restore proper fallback handling.
13699 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13702 * posix/group_member.c (__group_member): Correct checking loop.
13704 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13705 OOM in getpwuid_r correctly. Return error number when the caller
13706 should return, otherwise -1.
13707 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13708 call returning > 0 value.
13709 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13711 2010-06-07 Andreas Schwab <schwab@redhat.com>
13713 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13714 libc_nonshared.a from targets in modules-names.
13716 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13718 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13721 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13723 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13724 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13725 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13728 2010-06-02 Andreas Schwab <schwab@redhat.com>
13730 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13732 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13734 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13736 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13738 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13740 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13741 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13743 2010-06-14 Roland McGrath <roland@redhat.com>
13745 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13747 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13749 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13750 __REDIRECT followed by __THROW.
13751 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13752 * posix/getopt.h (getopt): Likewise.
13754 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13756 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13757 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13758 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13760 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13761 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13763 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13765 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13767 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13771 Properly check family and model.
13773 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13775 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13777 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13779 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13781 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13783 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13786 2010-05-19 Andreas Schwab <schwab@redhat.com>
13788 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13791 2010-05-21 Andreas Schwab <schwab@redhat.com>
13793 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13794 and internal_recvmmsg.
13795 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13796 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13797 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13798 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13800 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13801 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13802 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13804 2010-05-20 Andreas Schwab <schwab@redhat.com>
13806 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13808 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13810 POWER7 optimizations.
13811 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13812 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13814 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13816 * version.h: Update for 2.13 development version.
13818 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13820 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13821 exceptions. Return 0.
13823 2010-05-07 Roland McGrath <roland@redhat.com>
13825 * elf/ldconfig.c (main): Add a const.
13827 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13829 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13830 (args_options): Add no-idn option.
13831 (ahosts_keys_int): Add idn_flags to ai_flags.
13832 (parse_option): Handle 'i' option to clear idn_flags.
13834 * malloc/malloc.c (_int_free): Possible race in the most recently
13835 added check. Only act on the data if no current modification
13838 See ChangeLog.17 for earlier changes.