1 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9 * iconvdata/gb18030.c: Update tables.
10 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12 (BODY for TO_LOOP): Add encoding of missing ranges.
14 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18 * sysdeps/mach/hurd/dup3.c: Likewise.
19 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20 * sysdeps/powerpc/memmove.c:: Likewise.
22 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
27 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29 * elf/elf.h (R_X86_64_RELATIVE64): New.
30 (R_X86_64_NUM): Updated.
31 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35 tst-quad1pie tst-quad2pie
36 (modules-names): Add tst-quadmod1 tst-quadmod2.
37 ($(objpfx)tst-quad1): New dependency.
38 ($(objpfx)tst-quad2): Likewise.
39 ($(objpfx)tst-quad1pie): Likewise.
40 ($(objpfx)tst-quad2pie): Likewise.
41 * sysdeps/x86_64/tst-quad1.c: New file.
42 * sysdeps/x86_64/tst-quad1pie.c: New file.
43 * sysdeps/x86_64/tst-quad2.c: Likewise.
44 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
53 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
54 * streams/stropts.h (t_scalar_t): Define type.
56 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57 (_PATH_PRESERVE): Set to "/var/lib".
58 (_PATH_RWHODIR): Set to "/var/spool/rwho".
60 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64 if __dir_mkfile succeeded.
66 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67 checking for _hurd_dtablesize. Unlock it right after having
68 finished _hurd_dtable allocation.
70 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
73 * sysdeps/mach/hurd/configure: Regenerated.
74 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76 * sysdeps/gnu/configure.in: ... this new file.
77 * sysdeps/unix/sysv/linux/configure: Regenerated.
78 * sysdeps/gnu/configure: New generated file.
80 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81 for Linux: use nsec instead of usec, as well as:
82 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
83 members of type struct timespec.
84 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
86 (struct stat64): Likewise.
87 (_STATBUF_ST_NSEC): New macro.
88 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
90 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
91 __strtoul_internal rather than strtoul.
93 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
95 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
98 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
100 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
101 which preserves existing values.
102 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
104 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
106 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
107 TIMEOUT values. Return EINVAL for NFDS values either negative or
108 greater than FD_SETSIZE.
110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
112 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
113 allocated, call __vm_protect to finish enabling the existing space, and
114 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
115 allocate the remainder.
117 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
119 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
120 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
122 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
124 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
125 sysdeps/mach/hurd/readlink.c.
127 * posix/tst-sysconf.c (posix_options): Only use
128 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
129 _POSIX_SYNCHRONIZED_IO when they are defined
130 * sysdeps/mach/hurd/bits/posix_opt.h:
131 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
132 (_XOPEN_REALTIME): Undefine macro.
133 (_XOPEN_REALTIME_THREADS): Undefine macro.
134 (_XOPEN_SHM): Undefine macro.
135 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
137 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
139 (_POSIX_ASYNC_IO): Undefine macro.
140 (_POSIX_PRIORITIZED_IO): Undefine macro.
141 (_POSIX_SPIN_LOCKS): Define macro to -1.
143 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
144 SA_NODEFER, SA_RESETHAND.
145 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
146 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
149 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
151 * elf/Makefile (pldd-modules): Define unconditionally.
153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
155 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
159 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
160 Return ENOENT when name is empty.
161 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
163 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
165 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
167 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
171 Fix mlock in all cases except non-readable pages.
172 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
173 instead of VM_PROT_ALL as parameter to __vm_wire function.
175 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
176 (__mkdir): When path is `/', just fail with EEXIST.
177 * sysdeps/mach/hurd/mkdirat.c: Likewise.
179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
181 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
182 <sys/uio.h> (for writev).
183 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
184 and <sys/param.h> (for MIN).
186 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
188 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
189 REQUESTED_TIME. Properly set the remaining time and return EINTR
192 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
194 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
195 Depend on against $(link-rpcuserlibs).
197 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
199 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
200 (__libc_stack_end): Do not use attribute_relro.
201 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
202 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
203 to libthread-provided value.
204 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
210 * bits/libc-lock.h (__libc_once_get): New macro.
211 * sysdeps/mach/bits/libc-lock.h: Likewise.
212 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
214 instead of using implementation details.
216 * libio/fileops.c: Unconditionally include <kernel-features.h>.
217 * libio/freopen.c: Likewise.
218 * libio/freopen64.c: Likewise.
219 * misc/syslog.c: Likewise.
220 * nscd/connections.c: Likewise.
221 * nscd/netgroupcache.c: Likewise.
222 * sysdeps/posix/getcwd.c: Likewise.
224 2012-05-10 Roland McGrath <roland@hack.frob.com>
226 * math/w_ilogbf.c: Add #include <limits.h>.
228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
230 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
231 path instead of returning without unlocking.
233 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
234 immediate-write ioctls.
235 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
237 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
239 * sysdeps/mach/hurd/i386/init-first.c (init): Use
240 __builtin_frame_address instead of making assumptions about the
241 location of the return address relative to DATA. Force early load of
243 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
244 __builtin_frame_address.
247 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
248 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
249 implement dup3 and do some further code clean-ups.
250 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
251 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
253 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
255 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
257 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
258 HURD_CRITICAL_END around holding _hurd_dtable_lock.
259 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
260 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
261 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
264 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
265 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
266 when handler == SIG_ERR, not when handler != SIG_ERR.
268 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
270 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
271 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
274 accept4 for GNU Hurd.
275 * include/sys/socket.h (__libc_accept4): New prototype.
276 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
277 to implement __libc_accept4.
278 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
280 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
282 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
283 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
284 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
287 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
289 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
293 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
294 assertion on O_CLOEXEC flag.
295 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
296 * hurd/intern-fd.c: Likewise.
297 * hurd/port2fd.c: Likewise.
299 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
302 * bits/in.h (IPV6_PKTINFO): Define new macro.
303 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
305 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
311 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
312 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
313 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
315 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
316 * math/libm-test.inc (logb_test) : Additional logb tests.
318 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
319 Andreas Jaeger <aj@suse.de>
321 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
322 * configure: Regenerated.
323 * config.h.in (LINK_OBSOLETE_RPC): New macro.
324 * config.make.in (link-obsolete-rpc): New substituted variable.
325 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
326 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
327 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
328 (shared-only-routines): Don't set it under [link-obsolete-rpc],
329 so that libc.a contains the symbols.
330 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
331 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
332 * sunrpc/auth_none.c: Likewise.
333 * sunrpc/auth_unix.c: Likewise.
334 * sunrpc/authdes_prot.c: Likewise.
335 * sunrpc/authuxprot.c: Likewise.
336 * sunrpc/clnt_gen.c: Likewise.
337 * sunrpc/clnt_perr.c: Likewise.
338 * sunrpc/clnt_raw.c: Likewise.
339 * sunrpc/clnt_simp.c: Likewise.
340 * sunrpc/clnt_tcp.c: Likewise.
341 * sunrpc/clnt_udp.c: Likewise.
342 * sunrpc/clnt_unix.c: Likewise.
343 * sunrpc/des_crypt.c: Likewise.
344 * sunrpc/des_soft.c: Likewise.
345 * sunrpc/get_myaddr.c: Likewise.
346 * sunrpc/key_call.c: Likewise.
347 * sunrpc/key_prot.c: Likewise.
348 * sunrpc/netname.c: Likewise.
349 * sunrpc/pm_getmaps.c: Likewise.
350 * sunrpc/pm_getport.c: Likewise.
351 * sunrpc/pmap_clnt.c: Likewise.
352 * sunrpc/pmap_prot.c: Likewise.
353 * sunrpc/pmap_prot2.c: Likewise.
354 * sunrpc/pmap_rmt.c: Likewise.
355 * sunrpc/publickey.c: Likewise.
356 * sunrpc/rpc_cmsg.c: Likewise.
357 * sunrpc/rpc_common.c: Likewise.
358 * sunrpc/rpc_dtable.c: Likewise.
359 * sunrpc/rpc_prot.c: Likewise.
360 * sunrpc/rpc_thread.c: Likewise.
361 * sunrpc/rtime.c: Likewise.
362 * sunrpc/svc.c: Likewise.
363 * sunrpc/svc_auth.c: Likewise.
364 * sunrpc/svc_raw.c: Likewise.
365 * sunrpc/svc_run.c: Likewise.
366 * sunrpc/svc_tcp.c: Likewise.
367 * sunrpc/svc_udp.c: Likewise.
368 * sunrpc/svc_unix.c: Likewise.
369 * sunrpc/svcauth_des.c: Likewise.
370 * sunrpc/xcrypt.c: Likewise.
371 * sunrpc/xdr.c: Likewise.
372 * sunrpc/xdr_array.c: Likewise.
373 * sunrpc/xdr_float.c: Likewise.
374 * sunrpc/xdr_intXX_t.c: Likewise.
375 * sunrpc/xdr_mem.c: Likewise.
376 * sunrpc/xdr_rec.c: Likewise.
377 * sunrpc/xdr_ref.c: Likewise.
378 * sunrpc/xdr_sizeof.c: Likewise.
379 * sunrpc/xdr_stdio.c: Likewise.
381 2012-05-10 Roland McGrath <roland@hack.frob.com>
383 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
384 change. Update copyright years.
386 2012-05-10 Joseph Myers <joseph@codesourcery.com>
388 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
390 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
391 Joseph Myers <joseph@codesourcery.com>
392 Paul Pluzhnikov <ppluzhnikov@google.com>
395 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
397 [cross-compiling] (extra-libs): Likewise.
398 [cross-compiling] (extra-libs-others): Likewise.
399 [cross-compiling] (librpcsvc-routines): Likewise.
400 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
401 [cross-compiling] (omit-deps): Likewise.
402 (sunrpc-CPPFLAGS): New variable.
403 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
404 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
405 (cross-rpcgen-objs): New variable.
406 (extra-objs): Append $(cross-rpcgen-objs).
407 ($(cross-rpcgen-objs)): New rule.
408 ($(objpfx)cross-rpcgen): Likewise.
409 (rpcgen-cmd): Define to use $(built-program-file). Expand
411 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
412 ($(objpfx)x%.stmp): Likewise.
413 * sunrpc/proto.h [IS_IN_build] (_): Define.
414 [IS_IN_build] (_libc_intl_domainname): Likewise.
416 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
419 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
420 and R_X86_64_TPOFF64.
422 2012-05-10 Joseph Myers <joseph@codesourcery.com>
424 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
425 sysdeps/unix/sysv/syscalls.list.
428 * sysdeps/unix/sysv/syscalls.list: Remove file.
430 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
433 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
434 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
435 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
436 (__LC_IDENTIFICATION): Make these macros useful in #if
437 expressions, as required by C99.
439 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
441 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
442 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
445 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
447 * stdlib/longlong.h: Updated from GCC.
449 2012-05-09 Andreas Jaeger <aj@suse.de>
451 * nscd/nscd.c (run_modes): Make named enum, reorder so that
452 default is first entry.
453 (run_mode): Set type.
454 (main): Remove informal message about syslog.
458 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
465 (nearbyint): Likewise.
466 (nearbyintf): Likewise.
468 2012-05-09 Andreas Jaeger <aj@suse.de>
469 Pedro Alves <palves@redhat.com>
471 * nscd/nscd.c (run_mode): Use enum.
472 (main): Cleanup coding style issue.
474 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
475 Andreas Jaeger <aj@suse.de>
477 * nscd/nscd.c (go_background): Replaced with...
478 (run_mode): ... this.
479 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
480 (options): Add -F --foreground.
481 (main): Implement it.
482 (parse_opt): Parse it.
484 2012-05-09 Andreas Jaeger <aj@suse.de>
487 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
488 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
489 -Wconversion warning.
490 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
493 2012-05-09 Joseph Myers <joseph@codesourcery.com>
495 * conform/data/locale.h-data (NULL): Use macro-constant. Require
497 (LC_ALL): Use macro-int-constant.
498 (LC_COLLATE): Likewise.
499 (LC_CTYPE): Likewise.
500 (LC_MESSAGES): Likewise.
501 (LC_MONETARY): Likewise.
502 (LC_NUMERIC): Likewise.
504 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
505 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
507 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
509 [C99-based standards] (float_t): Expect type.
510 [C99-based standards] (double_t): Expect type.
511 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
513 [C99-based standards] (HUGE_VALL): Likewise.
514 [C99-based standards] (INFINITY): Likewise.
515 [C99-based standards] (NAN): Likewise.
516 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
517 [C99-based standards] (FP_NAN): Likewise.
518 [C99-based standards] (FP_NORMAL): Likewise.
519 [C99-based standards] (FP_SUBNORMAL): Likewise.
520 [C99-based standards] (FP_ZERO): Likewise.
521 [C99-based standards] (FP_FAST_FMA): Use
522 optional-macro-int-constant. Specify type. Require == 1.
523 [C99-based standards] (FP_FAST_FMAF): Likewise.
524 [C99-based standards] (FP_FAST_FMAL): Likewise.
525 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
526 [C99-based standards] (FP_ILOGBNAN): Likewise.
527 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
529 [C99-based standards] (MATH_ERREXCEPT): Likewise.
530 [C99-based standards] (math_errhandling): Specify type.
531 [ISO99 || ISO11] (signgam): Do not allow.
532 [non-C99-based standards] (copysignf): Do not allow.
533 [non-C99-based standards] (exp2f): Likewise.
534 [non-C99-based standards] (log2f): Likewise.
535 [non-C99-based standards] (modff): Allow.
536 [non-C99-based standards] (erff): Do not allow.
537 [non-C99-based standards] (erfcf): Likewise.
538 [non-C99-based standards] (gammaf): Likewise.
539 [non-C99-based standards] (hypotf): Likewise.
540 [non-C99-based standards] (j0f): Likewise.
541 [non-C99-based standards] (j1f): Likewise.
542 [non-C99-based standards] (jnf): Likewise.
543 [non-C99-based standards] (lgammaf): Likewise.
544 [non-C99-based standards] (tgammaf): Likewise.
545 [non-C99-based standards] (y0f): Likewise.
546 [non-C99-based standards] (y1f): Likewise.
547 [non-C99-based standards] (ynf): Likewise.
548 [non-C99-based standards] (isnanf): Likewise.
549 [non-C99-based standards] (acoshf): Likewise.
550 [non-C99-based standards] (asinhf): Likewise.
551 [non-C99-based standards] (atanhf): Likewise.
552 [non-C99-based standards] (cbrtf): Likewise.
553 [non-C99-based standards] (expm1f): Likewise.
554 [non-C99-based standards] (ilogbf): Likewise.
555 [non-C99-based standards] (log1pf): Likewise.
556 [non-C99-based standards] (logbf): Likewise.
557 [non-C99-based standards] (nextafterf): Likewise.
558 [non-C99-based standards] (remainderf): Likewise.
559 [non-C99-based standards] (rintf): Likewise.
560 [non-C99-based standards] (scalbf): Likewise.
561 [non-C99-based standards] (copysignl): Likewise.
562 [non-C99-based standards] (exp2l): Likewise.
563 [non-C99-based standards] (log2l): Likewise.
564 [non-C99-based standards] (modfl): Allow.
565 [non-C99-based standards] (erfl): Do not allow.
566 [non-C99-based standards] (erfcl): Likewise.
567 [non-C99-based standards] (gammal): Likewise.
568 [non-C99-based standards] (hypotl): Likewise.
569 [non-C99-based standards] (j0l): Likewise.
570 [non-C99-based standards] (j1l): Likewise.
571 [non-C99-based standards] (jnl): Likewise.
572 [non-C99-based standards] (lgammal): Likewise.
573 [non-C99-based standards] (tgammal): Likewise.
574 [non-C99-based standards] (y0l): Likewise.
575 [non-C99-based standards] (y1l): Likewise.
576 [non-C99-based standards] (ynl): Likewise.
577 [non-C99-based standards] (isnanl): Likewise.
578 [non-C99-based standards] (acoshl): Likewise.
579 [non-C99-based standards] (asinhl): Likewise.
580 [non-C99-based standards] (atanhl): Likewise.
581 [non-C99-based standards] (cbrtl): Likewise.
582 [non-C99-based standards] (expm1l): Likewise.
583 [non-C99-based standards] (ilogbl): Likewise.
584 [non-C99-based standards] (log1pl): Likewise.
585 [non-C99-based standards] (logbl): Likewise.
586 [non-C99-based standards] (nextafterl): Likewise.
587 [non-C99-based standards] (remainderl): Likewise.
588 [non-C99-based standards] (rintl): Likewise.
589 [non-C99-based standards] (scalbl): Likewise.
590 [ISO || ISO99 || ISO11] (*_t): Do not allow.
591 [non-C99-based standards] (FP_*): Do not allow.
592 [C99-based standards] (FP_*): Change to
593 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
594 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
596 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
598 [X/Open-based standards] (SIG_HOLD): Likewise.
600 (SIGABRT): Use macro-int-constant. Specify type. Require
607 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
608 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
609 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
610 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
611 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
612 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
613 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
614 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
615 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
616 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
617 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
618 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
619 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
620 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
621 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
622 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
623 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
624 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
625 [X/Open-based standards] (SIGTRAP): Likewise.
626 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
627 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
628 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
629 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
630 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
633 2012-05-08 Ian Wienand <ianw@vmware.com>
636 * time/tzset.c (__tzset_parse_tz): Update default rules for
637 daylight time changes in the Energy Policy Act of 2005.
639 2012-05-09 Andreas Jaeger <aj@suse.de>
642 * elf/ldconfig.c (parse_conf): Change string to make clear that
643 ldconfig only issued a warning if ld.so.conf does not exist.
645 2012-05-08 David S. Miller <davem@davemloft.net>
647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
648 movxtod instead of popping the value on the stack.
650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
652 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
654 * config.h.in: Add HAVE_ARM_PCS_VFP.
656 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
659 * include/features.h: Warn if user requests __FORTIFY_SOURCE
660 checking but the checks are disabled for any reason.
662 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
664 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
665 and ELF64_R_TYPE with ELFW(R_TYPE).
667 2012-05-08 Joseph Myers <joseph@codesourcery.com>
669 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
672 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
673 (settimeofday): Likewise.
675 2012-05-08 Mike Frysinger <vapier@gentoo.org>
677 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
678 a struct th_u2 inside the union, and move tu_block/tu_code into
679 a new th_u3 union of tu_block/tu_code inside of that. Move
680 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
681 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
682 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
683 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
684 (th_stuff): Change to th_u1.tu_stuff.
686 (th_msg): Change to th_u1.th_u2.tu_data.
688 2012-05-07 David S. Miller <davem@davemloft.net>
690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
693 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
694 (SETUP_PIC_REG): Use it.
695 (SETUP_PIC_REG_LEAF): Use it.
697 2012-05-07 Joseph Myers <joseph@codesourcery.com>
701 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
703 (EXPL_FINITE): Likewise.
705 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
706 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
708 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
710 (EXPL_FINITE): Likewise.
712 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
713 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
715 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
716 test of -max_value argument for long double.
717 * sysdeps/i386/fpu/libm-test-ulps: Update.
718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
720 2012-05-06 David S. Miller <davem@davemloft.net>
722 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
723 quad soft-float symbols whose references which are compiler
725 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
727 2012-05-06 Joseph Myers <joseph@codesourcery.com>
731 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
733 (EXPL_FINITE): Likewise.
737 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
738 Adjust comments for base varying.
739 (__expl_finite): Change alias to EXPL_FINITE.
740 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
742 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
743 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
744 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
745 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
746 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
748 (EXPL_FINITE): Likewise.
752 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
753 Adjust comments for base varying.
754 (__expl_finite): Change alias to EXPL_FINITE.
755 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
760 * math/libm-test.inc (check_float_internal): Correct ulp
761 calculation for subnormal expected results.
763 2012-05-06 Andreas Jaeger <aj@suse.de>
765 * Makeconfig (+math-flags): New, set to -frounding-math.
766 (+cflags): Add +math-flags so that all of glibc gets compiled with
769 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
771 2012-05-05 Joseph Myers <joseph@codesourcery.com>
773 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
779 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
780 (__ieee754_expl): Allow for and saturate large arguments.
781 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
782 (u_threshold): Likewise.
783 (__exp): Call __ieee754_exp before checking for overflow and
785 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
786 (u_threshold): Likewise.
787 (__expf): Call __ieee754_expf before checking for overflow and
789 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
790 (u_threshold): Likewise.
791 (__expl): Call __ieee754_expl before checking for overflow and
793 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
794 (__ieee754_expl): Allow for and saturate large arguments.
795 * math/libm-test.inc (exp_test): Add another test. Do not allow
796 missing overflow exception on overflow.
797 (expm1_test): Do not allow missing overflow exception on overflow.
799 * sysdeps/i386/fpu/e_expl.c: Move to ...
800 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
801 rather than using inline asm.
802 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
803 * sysdeps/x86_64/fpu/e_expl.S: Copy from
804 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
806 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
813 2012-05-04 Joseph Myers <joseph@codesourcery.com>
815 * sysdeps/unix/syscalls.list (adjtime): Add entry from
816 sysdeps/unix/common/syscalls.list.
819 (ftruncate): Likewise.
820 (getrusage): Likewise.
821 (gettimeofday): Likewise.
823 (setregid): Likewise.
824 (setreuid): Likewise.
825 (sigaction): Likewise.
826 (truncate): Likewise.
828 * sysdeps/unix/common/syscalls.list: Remove file.
829 * sysdeps/unix/bsd/Implies: Don't include unix/common.
830 * sysdeps/unix/sysv/linux/Implies: Likewise.
832 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
834 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
836 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
840 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
843 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
846 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
849 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
852 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
855 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
858 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
862 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
866 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
869 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
873 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
877 2012-05-04 Joseph Myers <joseph@codesourcery.com>
879 * sysdeps/unix/common/bits/dirent.h: Remove file.
880 * sysdeps/unix/common/bits/fcntl.h: Likewise.
882 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
883 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
884 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
885 * sysdeps/unix/bsd/isatty.c: Likewise.
886 * sysdeps/unix/bsd/tcdrain.c: Likewise.
887 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
888 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
890 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
893 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
894 long double comparison inaccuracies.
895 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
898 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
900 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
901 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
903 2012-05-04 Joseph Myers <joseph@codesourcery.com>
906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
907 nonzero digits before rounding a hex value.
908 * stdlib/tst-strtod.c (tests): Add another test.
910 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
912 * sysdeps/s390/fpu/libm-test-ulps: Update.
914 2012-05-03 Andreas Jaeger <aj@suse.de>
916 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
917 does not get optimized out.
918 (malloc_opt_barrier): New.
920 2012-05-03 Andreas Jaeger <aj@suse.de>
921 Roland McGrath <roland@hack.frob.com>
923 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
924 intermediate file deletion.
925 (generated): Add .symlist files.
927 2012-05-03 Joseph Myers <joseph@codesourcery.com>
930 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
931 Redirect under this condition.
932 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
933 [__USE_GNU] (__dprintf_chk): Not under this condition.
934 [__USE_GNU] (__vdprintf_chk): Likewise.
935 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
936 under this condition.
937 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
938 [__USE_XOPEN2K8] (dprintf): Define under this condition.
939 [__USE_XOPEN2K8] (vdprintf): Likewise.
940 [__USE_GNU] (__dprintf_chk): Not under this condition.
941 [__USE_GNU] (__vdprintf_chk): Likewise.
942 [__USE_GNU] (dprintf): Likewise.
943 [__USE_GNU] (vdprintf): Likewise.
945 2012-05-03 Roland McGrath <roland@hack.frob.com>
947 * elf/Makefile (common-generated): Set this instead of generated for
948 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
949 $(all-built-dso)-derived lists.
951 2012-05-03 Andreas Jaeger <aj@suse.de>
953 * sysdeps/i386/fpu/libm-test-ulps: Update.
957 * scripts/gen-FAQ.pl: Likewise.
958 * manual/install.texi (Installation): Point to online location of
960 * Makefile (files-for-dist): Remove FAQ.
963 2012-05-02 Allan McRae <allan@archlinux.org>
965 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
966 (LDFLAGS-reldepmod5.so): Likewise.
967 (LDFLAGS-reldep6mod1.so): Likewise.
968 (LDFLAGS-reldep6mod4.so): Likewise.
969 (LDFLAGS-reldep8mod3.so): Likewise.
970 (LDFLAGS-unload4mod1.so): Likewise.
971 (LDFLAGS-unload4mod2.so): Likewise.
972 (LDFLAGS-tst-initorder): Likewise.
973 (LDFLAGS-tst-initordera2.so): Likewise.
974 (LDFLAGS-tst-initordera3.so): Likewise.
975 (LDFLAGS-tst-initordera4.so): Likewise.
976 (LDFLAGS-tst-initorderb2.so): Likewise.
977 (LDFLAGS-noload): Likewise.
978 (LDFLAGS-next): Likewise.
979 (LDFLAGS-order2mod1.so): Likewise.
980 (LDFLAGS-order2mod2.so): Likewise.
981 (LDFLAGS-tst-initorder2): Likewise.
982 (LDFLAGS-tst-initorder2a.so): Likewise.
983 (LDFLAGS-tst-initorder2b.so): Likewise.
984 (LDFLAGS-tst-initorder2c.so): Likewise.
985 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
987 2012-05-02 David S. Miller <davem@davemloft.net>
989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
991 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
994 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
996 2012-05-02 Andreas Jaeger <aj@suse.de>
998 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
999 since we manipulate rounding mode.
1000 (CPPFLAGS-test-idouble.c): Likewise.
1001 (CPPFLAGS-test-ifloat.c): Likewise.
1002 (CFLAGS-test-ldouble.c): Likewise.
1003 (CFLAGS-test-double.c): Likewise.
1004 (CFLAGS-test-float.c): Likewise.
1005 (CFLAGS-test-misc.c): Likewise.
1006 (CFLAGS-test-test-fenv.c): Likewise.
1008 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1013 comparisons to determine direction to adjust input.
1015 2012-05-01 Roland McGrath <roland@hack.frob.com>
1017 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1018 output to the target.
1020 * scripts/localplt.awk: New file.
1021 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1022 (check-localplt-CFLAGS): Variable removed.
1023 ($(all-built-dso:=.jmprel)): New static pattern rule.
1024 (generated): Add those targets.
1025 (localplt-built-dso): New variable.
1026 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1028 * elf/check-localplt.c: File removed.
1030 * scripts/check-execstack.awk: New file.
1031 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1032 (check-execstack-CFLAGS): Variable removed.
1033 ($(objpfx)check-execstack.h): Target removed.
1034 ($(objpfx)execstack-default): New target.
1035 (generated): Add that instead of check-execstack.h.
1036 ($(all-built-dso:=.phdr)): New static pattern rule.
1037 (generated): Add those targets.
1038 * elf/check-execstack.c: File removed.
1040 * scripts/check-textrel.awk: New file.
1041 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1042 (check-textrel-CFLAGS): Variable removed.
1043 (all-built-dso): Use := to define.o
1044 ($(all-built-dso:=.dyn)): New static pattern rule.
1045 (generated): Add those targets.
1046 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1047 * config.make.in (READELF): New substituted variable.
1048 * elf/check-textrel.c: File removed.
1050 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1052 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1054 * conform/data/ctype.h-data [C99-based standards] (isblank):
1056 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1057 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1059 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1060 Specify type. Require positive value.
1063 [ISO || POSIX] (EILSEQ): Do not expect.
1064 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1065 Specify type. Require positive value.
1066 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1067 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1068 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1069 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1070 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1071 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1072 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1073 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1074 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1075 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1076 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1077 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1078 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1079 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1080 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1081 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1082 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1083 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1084 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1085 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1086 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1087 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1088 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1089 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1090 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1091 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1092 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1093 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1098 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1119 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1127 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1128 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1134 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1135 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1140 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1141 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1142 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1144 (FLT_ROUNDS): Expect as macro, not constant.
1145 (FLT_MANT_DIG): Use macro-int-constant.
1146 (DBL_MANT_DIG): Likewise.
1147 (LDBL_MANT_DIG): Likewise.
1148 (FLT_DIG): Likewise.
1149 (DBL_DIG): Likewise.
1150 (LDBL_DIG): Likewise.
1151 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1152 (DBL_MIN_EXP): Likewise.
1153 (LDBL_MIN_EXP): Likewise.
1154 (FLT_MAX_EXP): Use macro-int-constant.
1155 (DBL_MAX_EXP): Likewise.
1156 (LDBL_MAX_EXP): Likewise.
1157 (FLT_MAX_10_EXP): Likewise.
1158 (DBL_MAX_10_EXP): Likewise.
1159 (LDBL_MAX_10_EXP): Likewise.
1160 (FLT_MAX): Use macro-constant.
1161 (DBL_MAX): Likewise.
1162 (LDBL_MAX): Likewise.
1163 (FLT_EPSILON): Use macro-constant. Give upper bound.
1164 (DBL_EPSILON): Likewise.
1165 (LDBL_EPSILON): Likewise.
1166 (FLT_MIN): Likewise.
1167 (DBL_MIN): Likewise.
1168 (LDBL_MIN): Likewise.
1169 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1170 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1171 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1172 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1173 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1174 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1175 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1176 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1177 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1178 [ISO11] (FLT_TRUE_MIN): Likewise.
1179 [ISO11] (LDBL_TRUE_MIN): Likewise.
1180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1181 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1182 (SCHAR_MIN): Use macro-int-constant. Specify type.
1183 (SCHAR_MAX): Likewise.
1184 (UCHAR_MAX): Likewise.
1185 (CHAR_MIN): Likewise.
1186 (CHAR_MAX): Likewise.
1187 (MB_LEN_MAX): Use macro-int-constant.
1188 (SHRT_MIN): Use macro-int-constant. Specify type.
1189 (SHRT_MAX): Likewise.
1190 (USHRT_MAX): Likewise.
1191 (INT_MAX): Likewise.
1192 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1194 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1196 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1198 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1199 bound negative. Suffix upper bound with "L".
1200 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1202 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1204 [C99-based standards] (LLONG_MAX): Likewise.
1205 [C99-based standards] (ULLONG_MAX): Likewise.
1206 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1208 [ISO11] (max_align_t): Require type.
1209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1211 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1212 from $CFLAGS, without defining away __attribute__ calls.
1213 (checknamespace): Use $CFLAGS_namespace.
1215 * conform/conformtest.pl (@keywords): Only include C99 keywords
1216 for standards based on C99 or C11.
1218 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1220 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1223 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1224 usability of symbols in #if.
1226 * conform/conformtest.pl: If macro or constant types start
1227 "promoted:", expect the symbol to be of the following type
1228 promoted by the integer promotions.
1230 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1231 in one place. Also handle "macro-constant".
1233 * conform/conformtest.pl: Only accept expected macro values with
1234 "==". Parse all "macro" lines in one place.
1235 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1237 * conform/conformtest.pl: Handle braced types on "constant" lines
1238 instead of handling "typed-constant".
1239 * conform/data/signal.h-data: Use "constant" instead of
1242 * conform/conformtest.pl: Handle "optional-" at start of lines in
1243 one place rather than duplicating several cases. Handle each
1244 format of "macro" line with initial "optional-".
1246 * conform/conformtest.pl: Only accept expected constant or
1247 optional-constant values with "==". Parse all "constant" lines in
1248 one place. Parse all "optional-constant" lines in one place.
1249 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1250 * conform/data/fmtmsg.h-data: Likewise.
1251 * conform/data/netinet/in.h-data: Likewise.
1252 * conform/data/tar.h-data: Likewise.
1253 * conform/data/limits.h-data: Use "==" form on "constant" and
1254 "optional-constant" lines.
1256 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1257 Use -std=c99 for XOPEN2K.
1258 (@knownproblems): Remove.
1259 (newtoken): Don't check %isknown.
1261 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1262 Do not expect macro.
1263 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1275 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1276 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1293 [XPG3] (acosh): Likewise.
1294 [XPG3] (asinh): Likewise.
1295 [XPG3] (atanh): Likewise.
1296 [XPG3] (cbrt): Likewise.
1297 [XPG3] (expm1): Likewise.
1298 [XPG3] (ilogb): Likewise.
1299 [XPG3] (log1p): Likewise.
1300 [XPG3] (logb): Likewise.
1301 [XPG3] (nextafter): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1304 [XPG3] (remainder): Likewise.
1305 [XPG3] (rint): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1313 [UNIX98 || XOPEN2K] (scalb): Expect.
1314 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1315 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1430 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1431 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1432 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1433 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1434 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1435 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1436 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1437 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1438 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1439 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1440 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1441 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1442 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1443 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1444 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1445 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1446 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1447 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1448 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1449 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1450 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1452 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1453 _XOPEN_SOURCE_EXTENDED for XPG4.
1455 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1457 * Makeconfig (localtime): Remove variable.
1458 (inst_localtime-file): Likewise.
1460 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1481 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1485 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1486 comparisons to determine direction to adjust input.
1487 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1488 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1489 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1491 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1493 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1498 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1500 * math/libm-test.inc (nexttoward_test): Add more tests.
1502 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1506 in version GLIBC_2.1, not GLIBC_2.0.
1507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1510 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1513 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1515 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1516 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1517 * math/libm-test.inc (acos_test): Add more tests.
1518 (asin_test): Likewise.
1519 * sysdeps/i386/fpu/libm-test-ulps: Update.
1520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1523 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1525 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1526 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1527 * math/libm-test.inc (acos_test_tonearest): New function.
1528 (acos_test_towardzero): Likewise.
1529 (acos_test_downward): Likewise.
1530 (acos_test_upward): Likewise.
1531 (asin_test_tonearest): Likewise.
1532 (asin_test_towardzero): Likewise.
1533 (asin_test_downward): Likewise.
1534 (asin_test_upward): Likewise.
1535 (main): Call the new functions.
1536 * sysdeps/i386/fpu/libm-test-ulps: Update.
1537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1541 * math/e_exp10.c: Include <float.h>.
1542 (__ieee754_exp10): Handle underflow here rather than multiplying
1543 large negative argument by M_LN10.
1544 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1546 * math/e_exp10l.c: Include <float.h>.
1547 (__ieee754_exp10l): Handle underflow here rather than multiplying
1548 large negative argument by M_LN10l.
1549 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1550 spurious overflow exception on underflow.
1552 2012-04-29 Marek Polacek <polacek@redhat.com>
1554 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1555 (__fortify_function): New macro.
1556 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1557 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1558 __extern_always_inline.
1559 * libio/bits/stdio2.h: Likewise.
1560 * libio/bits/stdio.h: Likewise.
1561 * string/string.h: Likewise.
1562 * string/bits/string3.h: Likewise.
1563 * include/stdio.h: Likewise.
1564 * stdlib/bits/stdlib.h: Likewise.
1565 * stdlib/stdlib.h: Likewise.
1566 * rt/bits/mqueue2.h: Likewise.
1567 * rt/mqueue.h: Likewise.
1568 * posix/bits/unistd.h: Likewise.
1569 * posix/unistd.h: Likewise.
1570 * io/bits/poll2.h: Likewise.
1571 * io/bits/fcntl2.h: Likewise.
1572 * io/fcntl.h: Likewise.
1573 * io/sys/poll.h: Likewise.
1574 * misc/bits/syslog.h: Likewise.
1575 * misc/bits/syslog-ldbl.h: Likewise.
1576 * misc/sys/syslog.h: Likewise.
1577 * socket/bits/socket2.h: Likewise.
1578 * socket/sys/socket.h: Likewise.
1579 * debug/tst-chk1.c: Likewise.
1580 * wcsmbs/bits/wchar2.h: Likewise.
1581 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1582 * wcsmbs/wchar.h: Likewise.
1584 2012-04-29 Andreas Jaeger <aj@suse.de>
1586 * Makerules (tests): Remove enable-check-abi protection.
1587 (check-abi-warn): Remove.
1588 (check-abi-%): Remove check-abi-warn usage.
1590 * configure.in: Remove check-abi configure option.
1591 * configure: Regenerated.
1592 * config.make.in (enable-check-abi): Remove.
1594 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1597 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1598 double functions to double *_finite functions.
1601 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1602 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1604 * stdio-common/Makefile (tests): Add tst-sprintf3.
1605 * stdio-common/tst-sprintf3.c: New file.
1607 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1608 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1610 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1612 * conform/conformtest.pl: Remove duplicate typed-constant
1615 2012-04-28 David S. Miller <davem@davemloft.net>
1617 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1618 (check-abi-%): Remove AWK script prerequisite and explicit
1620 (check-abi): Rewrite to just diff the symlist with the abilist.
1621 (config-tls, config-abi-config): Delete, no longer used.
1622 (update-abi-%): Remove AWK script and explicit abilist directory.
1623 (update-abi): Rewrite to simply compare and conditionally copy the
1624 symlist and the sysdep abilist file. Remove update-abi-config
1626 * abilist/ld.abilist: Remove.
1627 * abilist/libBrokenLocale.abilist: Remove.
1628 * abilist/libanl.abilist: Remove.
1629 * abilist/libcrypt.abilist: Remove.
1630 * abilist/libdl.abilist: Remove.
1631 * abilist/librt.abilist: Remove.
1632 * abilist/libthread_db.abilist: Remove.
1633 * abilist/libutil.abilist: Remove.
1634 * scripts/extract-abilist.awk: Remove.
1635 * scripts/merge-abilist.awk: Remove.
1636 * sysdeps/generic/libcidn.abilist: New file.
1637 * sysdeps/generic/libnss_compat.abilist: New file.
1638 * sysdeps/generic/libnss_db.abilist: New file.
1639 * sysdeps/generic/libnss_dns.abilist: New file.
1640 * sysdeps/generic/libnss_files.abilist: New file.
1641 * sysdeps/generic/libnss_hesiod.abilist: New file.
1642 * sysdeps/generic/libnss_nis.abilist: New file.
1643 * sysdeps/generic/libnss_nisplus.abilist: New file.
1644 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1645 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1646 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1648 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1649 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1650 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1651 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1652 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1653 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1654 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1655 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1656 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1658 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1659 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1660 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1661 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1663 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1664 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1665 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1666 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1667 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1668 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1670 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1671 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1672 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1674 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1777 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1778 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1779 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1782 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1783 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1784 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1785 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1786 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1787 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1788 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1789 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1790 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1842 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1844 * conform/conformtest.pl: Fix typo in handling typed-constant from
1847 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1849 * README: Cut down references to pre-2.6 Linux kernels and
1850 Linuxthreads. Update lists of configurations in libc and ports
1851 and sort alphabetically. Say "or newer" with Linux kernel version
1854 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1856 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1859 * math/libm-test.inc (logb_test_downward): New test to expose
1860 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1863 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1866 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1868 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1869 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1871 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1873 * sysdeps/unix/i386/brk.S: Remove file.
1874 * sysdeps/unix/i386/dl-brk.S: Likewise.
1875 * sysdeps/unix/i386/pipe.S: Likewise.
1876 * sysdeps/unix/i386/sigreturn.S: Likewise.
1877 * sysdeps/unix/i386/syscall.S: Likewise.
1878 * sysdeps/unix/i386/vfork.S: Likewise.
1879 * sysdeps/unix/i386/wait.S: Likewise.
1881 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1882 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1884 * configure.in (arm*-none*): Do not allow without
1885 --enable-hacker-mode.
1886 (netbsd*): Remove case setting base_os.
1887 (386bsd*): Likewise.
1888 (freebsd*): Likewise.
1892 (ultrix*): Likewise.
1893 (newsos*): Likewise.
1903 (solaris[2-9]*): Likewise.
1905 * configure: Regenerated.
1907 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1910 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1911 overflow or cancellation in calculating denominator.
1912 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1914 down expression to avoid unexpected rounding in newer GCCs.
1915 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1917 2012-04-26 David S. Miller <davem@davemloft.net>
1919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1920 long-double compat symbols.
1921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1935 2012-04-25 David S. Miller <davem@davemloft.net>
1937 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1938 HWCAP_* values only after the memory barriers have been defined.
1939 (atomic_full_barrier): Define.
1940 (atomic_read_barrier): Define.
1941 (atomic_write_barrier): Define.
1943 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1945 * shlib-versions: Add libgcc_s version information.
1946 * sysdeps/generic/libgcc_s.h: Remove.
1947 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1949 * sysdeps/gnu/unwind-resume.c: Likewise.
1950 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1952 2012-04-25 David S. Miller <davem@davemloft.net>
1954 * sysdeps/unix/sparc/brk.S: Delete.
1955 * sysdeps/unix/sparc/dl-brk.S: Delete.
1956 * sysdeps/unix/sparc/pipe.S: Delete.
1957 * sysdeps/unix/sparc/sysdep.S: Delete.
1958 * sysdeps/unix/sparc/sysdep.h: Delete.
1959 * sysdeps/unix/sparc/vfork.S: Delete.
1960 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1961 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1962 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1963 ret_ERRVAL, r0, r1, MOVE): Define.
1964 (JUMPTARGET): Remove.
1965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1966 sysdeps/unix/sparc/sysdep.h
1967 (ENTRY, END): Remove.
1968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1970 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1972 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1973 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1976 * timezone/README: Update upstream location and email address for
1978 * timezone/zdump.c: Update from tzcode 2012b.
1979 * timezone/zic.c: Likewise.
1981 * configure.in (libc_cv_as_needed): Remove test.
1982 * configure: Regenerated.
1983 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1984 conditional definition.
1985 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1986 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1987 * config.make.in (have-as-needed): Remove variable.
1989 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1990 Paul Pluzhnikov <ppluzhnikov@google.com>
1992 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1995 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1997 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1998 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1999 * sysdeps/sh/strlen.S: Likewise.
2001 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2003 * sysdeps/unix/fork.S: Remove file.
2004 * sysdeps/unix/i386/fork.S: Likewise.
2005 * sysdeps/unix/sparc/fork.S: Likewise.
2007 * sysdeps/unix/system.c: Remove file.
2008 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2010 * sysdeps/unix/getegid.S: Remove file.
2011 * sysdeps/unix/geteuid.S: Likewise.
2013 2012-04-24 Roland McGrath <roland@hack.frob.com>
2015 * scripts/check-localplt.awk: New file.
2016 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2018 * scripts/data/localplt-generic.data: Add a comment.
2020 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2021 NODE when __dir_mkfile failed.
2022 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2023 Reported by Ludovic Courtès <ludo@gnu.org>.
2025 2012-04-24 Andreas Jaeger <aj@suse.de>
2027 * Makerules (common-clean): Also remove gen-as-const-headers
2030 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2032 * Makerules (native-compile): Do not change working directory for
2033 build. Use $(OUTPUT_OPTION) in command.
2034 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2036 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2040 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2041 * math/libm-test.inc (floor_test): Add more tests.
2042 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2044 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2046 * sysdeps/unix/getdents.c: Remove file.
2047 * sysdeps/unix/sysv/getdents.c: Likewise.
2048 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2050 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2051 sysdeps/unix/mman/syscalls.list.
2053 (mprotect): Likewise.
2056 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2057 * sysdeps/unix/mman/syscalls.list: Remove.
2058 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2060 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2061 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2062 * configure: Regenerated.
2063 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2065 * config.make.in (libgcc_s_suffix): Remove variable.
2067 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2069 * sysdeps/unix/sysv/gethostname.c: Move to ...
2070 * sysdeps/posix/gethostname.c: ... here.
2072 * sysdeps/unix/execve.S: Remove file.
2074 * sysdeps/unix/_exit.S: Remove file.
2076 2012-04-23 Andreas Jaeger <aj@suse.de>
2079 * manual/Makefile: Remove make dist support, there's no
2080 need for a stand-alone documentation tar ball.
2081 (TEXI2DVI): Define always, it's not in Makeconfig.
2085 (glibc-doc-$(edition).tar): Removed
2089 (ETAGS): Remove, it's in Makeconfig.
2090 (move-if-change): Remove, it's in Makeconfig.
2092 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2095 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2096 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2097 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2098 (strtod_l, strtof_l, strtold_l): Remove __wur.
2099 It is not necessarily an error to ignore strtol's return value.
2100 One can reliably look at the stored endptr to decide whether
2101 the number had valid syntax.
2103 2012-04-21 Andreas Jaeger <aj@suse.de>
2106 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2108 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2110 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2111 * sysdeps/unix/sysv/Versions: Remove file.
2113 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2118 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2121 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2122 version from __vm86.
2124 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2126 * sysdeps/unix/common/lxstat.c: Remove file.
2127 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2129 * sysdeps/unix/sysv/Makefile: Remove file.
2131 * sysdeps/unix/sysv/direct.h: Remove file.
2133 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2134 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2135 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2136 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2137 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2138 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2139 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2141 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2143 * sysdeps/unix/xmknod.c: Remove file.
2144 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2146 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2148 * sysdeps/unix/sysv/i386/time.S: Remove file.
2150 * sysdeps/unix/fxstat.c: Remove file.
2151 * sysdeps/unix/xstat.c: Likewise.
2152 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2154 * sysdeps/unix/sysv/sigaction.c: Remove file.
2156 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2157 (sysdep_headers): Remove variable.
2158 [termio.h not in sysdep_headers] (generated): Likewise.
2159 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2160 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2161 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2162 * sysdeps/unix/sysv/tcflow.c: Likewise.
2163 * sysdeps/unix/sysv/tcflush.c: Likewise.
2164 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2165 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2166 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2167 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2168 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2170 * sysdeps/unix/siglist.c: Remove file.
2172 * sysdeps/unix/getppid.S: Remove file.
2174 * sysdeps/unix/mkdir.c: Remove file.
2175 * sysdeps/unix/rmdir.c: Likewise.
2177 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2179 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2181 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2182 errlist-compat value.
2184 2012-04-18 David S. Miller <davem@davemloft.net>
2186 * sysdeps/generic/memcopy.h (reg_char): Delete.
2187 * debug/strcat_chk.c: Use char, not reg_char.
2188 * debug/strcpy_chk.c: Likewise.
2189 * debug/strncat_chk.c: Likewise.
2190 * debug/strncpy_chk.c: Likewise.
2191 * string/memchr.c: Likewise.
2192 * string/memrchr.c: Likewise.
2193 * string/rawmemchr.c: Likewise.
2194 * string/strcat.c: Likewise.
2195 * string/strchr.c: Likewise.
2196 * string/strchrnul.c: Likewise.
2197 * string/strcmp.c: Likewise.
2198 * string/strcpy.c: Likewise.
2199 * string/strncat.c: Likewise.
2200 * string/strncmp.c: Likewise.
2201 * string/strncpy.c: Likewise.
2203 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2205 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2206 __builtin_memcopy is called when src and dest ranges are known to not
2209 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2211 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2212 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2213 fwd_align_merge macro call.
2214 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2215 bwd_align_merge macro call.
2216 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2218 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2220 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2221 bwd_align_merge macros.
2222 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2223 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2224 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2226 2012-04-18 David S. Miller <davem@davemloft.net>
2228 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2230 2012-04-18 Andreas Jaeger <aj@suse.de>
2233 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2234 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2235 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2237 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2238 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2239 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2241 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2242 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2243 Adjust for changed ldbl-128 files.
2245 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2246 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2247 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2249 2012-04-17 David S. Miller <davem@davemloft.net>
2251 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2253 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2255 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2256 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2257 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2258 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2259 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2260 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2262 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2265 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2266 * math/libm-test.inc: Add ilogb errno and exception tests.
2267 * math/w_ilogb.c: New file: ilogb wrapper.
2268 * math/w_ilogbf.c: New file: ilogbf wrapper.
2269 * math/w_ilogbl.c: New file: ilogbl wrapper.
2270 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2271 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2272 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2273 exception being thrown with 0.0 as argument.
2274 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2275 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2276 exception being thrown with 0.0 as argument.
2277 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2278 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2279 exception being thrown with 0.0 as argument.
2280 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2281 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2282 exception being thrown with 0.0 as argument.
2283 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2284 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2285 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2286 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2287 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2288 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2289 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2290 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2291 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2293 2012-04-17 Petr Baudis <pasky@ucw.cz>
2295 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2298 2012-04-16 Marek Polacek <polacek@redhat.com>
2300 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2302 2012-04-16 Marek Polacek <polacek@redhat.com>
2304 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2305 operands of fdivp instruction.
2307 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2309 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2310 * elf/tst-auditmod3b.c: Likewise.
2311 * elf/tst-auditmod4b.c: Likewise.
2312 * elf/tst-auditmod5b.c: Likewise.
2313 * elf/tst-auditmod6b.c: Likewise.
2314 * elf/tst-auditmod6c.c: Likewise.
2315 * elf/tst-auditmod7b.c: Likewise.
2316 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2317 * sysdeps/x86_64/preconfigure.in: Likewise.
2318 * sysdeps/x86_64/preconfigure: Regenerated.
2320 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2322 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2325 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2328 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2330 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2333 * locale/iso-639.def: Fix gl language name. Spotted by
2336 2012-04-12 Roland McGrath <roland@hack.frob.com>
2339 * libio/libio.h (__io_write_fn): Update comment.
2341 2012-04-12 Petr Baudis <pasky@ucw.cz>
2344 * stdio.texi (Hook Functions): The user provided writer function
2345 is not allowed to return -1.
2347 2012-04-11 David S. Miller <davem@davemloft.net>
2349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2351 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2353 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2354 Add a leading slash to rtkaio.
2356 2012-04-11 Jim Meyering <meyering@redhat.com>
2359 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2360 It is not necessarily an error to ignore fwrite's return
2361 value. One can reliably use ferror to test for errors after
2364 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2366 * bits/types.h (__snseconds_t): New type.
2367 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2369 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2371 (__SNSECONDS_T_TYPE): Likewise.
2372 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2373 (__SNSECONDS_T_TYPE): Likewise.
2374 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2375 (__SNSECONDS_T_TYPE): Likewise.
2377 2012-04-10 Andreas Jaeger <aj@suse.de>
2380 * manual/time.texi (Processor Time): Return type of times is
2381 elapsed real time since an arbitrary point in the past.
2382 (CPU Time): Move CLK_TCK from here...
2383 (Processor Time): ...to here. Correct description.
2384 * manual/conf.texi (Constants for Sysconf): Correct description of
2387 2012-04-10 David S. Miller <davem@davemloft.net>
2390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2391 where the is a gap between DT_REL(A) and DT_JMPREL.
2393 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2395 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2396 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2397 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2399 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2401 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2402 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2403 (dl_main): Handle --inhibit-cache.
2404 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2406 * elf/dl-load.c (_dl_map_object): Use it.
2407 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2409 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2412 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2413 (__ieee754_powl): Saturate large exponents rather than testing for
2414 overflow of y*log2(x).
2415 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2416 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2420 * math/s_ctan.c: Include <float.h>.
2421 (__ctan): Avoid internal overflow or cancellation in calculating
2423 * math/s_ctanf.c: Likewise.
2424 * math/s_ctanl.c: Likewise.
2425 * math/s_ctanh.c: Likewise.
2426 * math/s_ctanhf.c: Likewise.
2427 * math/s_ctanhl.c: Likewise.
2428 * math/libm-test.inc (ctan_test): Add more tests.
2429 (ctanh_test): Likewise.
2430 * sysdeps/i386/fpu/libm-test-ulps: Update.
2431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2433 2012-04-09 Andreas Jaeger <aj@suse.de>
2436 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2437 is an optional BSD extension.
2440 * manual/stdio.texi (Opening Streams): Document additional fopen
2443 2012-04-09 Roland McGrath <roland@hack.frob.com>
2445 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2446 %eax without telling the compiler.
2448 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2451 * manual/install.texi: Use sourceware.org.
2453 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2456 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2457 (__ieee754_pow): Generate overflow and underflow using huge*huge
2458 and tiny*tiny rather than just returning constant infinity or zero
2459 for large exponents.
2460 * math/libm-test.inc (pow_test): Require overflow exceptions for
2461 applicable cases of large exponents.
2464 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2465 (__ieee754_pow): Use iterative multiplication algorithm only for
2466 integer exponents with absolute value below 1024. Check for odd
2467 integer exponents when using algorithm for real exponents.
2468 * math/libm-test.inc (pow_test): Add more tests.
2469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2471 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2474 * math/libm-test.inc (exp_test): Do not allow overflow exception
2477 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2480 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2481 instead of __kernel_standard_f.
2483 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2485 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2486 * sysdeps/x86_64/memset_chk.S: Likewise.
2488 2012-04-08 Andreas Jaeger <aj@suse.de>
2491 * manual/startup.texi (Environment Access): Describe return value
2492 for putenv and setenv.
2495 * manual/filesys.texi (Directory Entries): Add description for
2499 * manual/filesys.texi (Directory Entries): Clarify that it's file
2500 system not operating system in the description of DT_UNKNOWN.
2503 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2505 2012-04-08 Stephen Compall <s11@member.fsf.org>
2508 * manual/llio.texi (Opening and Closing Files): Add cross
2509 reference to explain mode argument.
2511 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2513 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2514 * sysdeps/x86_64/memset_chk.S: Likewise.
2516 2012-04-07 David S. Miller <davem@davemloft.net>
2518 * elf/elf.h (R_SPARC_WDISP10): Define.
2519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2521 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2522 R_SPARC_SIZE64 and R_SPARC_H34.
2524 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2526 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2527 conditions and remove no longer applicable assertion.
2529 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2531 * bits/byteswap.h: Include <features.h>.
2532 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2533 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2535 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2537 * bits/byteswap.h (__bswap_16): Removed.
2538 Include <bits/byteswap-16.h> to get __bswap_16.
2539 * sysdeps/i386/bits/byteswap.h: Likewise.
2540 * sysdeps/s390/bits/byteswap.h: Likewise.
2541 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2542 * bits/byteswap-16.h: New file.
2543 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2544 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2545 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2546 * string/Makefile (headers): Add bits/byteswap-16.h.
2548 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2551 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2553 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2554 * nss/tst-nss-static.c: New.
2556 2012-04-06 Robert Millan <rmh@gnu.org>
2559 * manual/llio.texi (File Position Primitive): lseek
2560 refers to WHENCE when it really means OFFSET.
2562 2012-04-06 Andreas Jaeger <aj@suse.de>
2564 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2565 strncmp declarations.
2567 * abilist/libc.abilist: Add __poll and __ppoll.
2569 2012-04-05 David S. Miller <davem@davemloft.net>
2571 * scripts/check-local-headers.sh: Accept a host triplet in the
2572 path matched by the exclude regexp.
2574 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2576 * sysdeps/powerpc/powerpc32/dl-machine.h
2577 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2578 * sysdeps/s390/s390-32/dl-machine.h
2579 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2580 * sysdeps/sparc/sparc32/dl-machine.h
2581 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2582 * sysdeps/sparc/sparc64/dl-machine.h
2583 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2585 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2587 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2588 undefined symbol errors.
2590 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2593 2012-04-05 Michael Matz <matz@suse.de>
2596 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2598 2012-04-05 Andreas Jaeger <aj@suse.de>
2601 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2604 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2606 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2607 which ROUND is no valid rounding mode.
2609 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2611 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2613 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2615 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2617 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2618 an exception using FPU order intentionally.
2620 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2622 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2623 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2624 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2625 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2627 2012-04-05 Simon Josefsson <simon@josefsson.org>
2630 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2631 EINVAL when BUFLEN is too smal.
2633 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2636 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2637 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2639 2012-04-03 Andreas Jaeger <aj@suse.de>
2642 * manual/setjmp.texi (System V contexts): Fix sentence.
2645 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2646 New macro for this case.
2647 [!__GNUC__] (__bswap_64): New inline function for this case.
2648 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2649 * bits/byteswap.h: Likewise.
2650 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2651 ull, guard with __GLIBC_HAVE_LONG_LONG.
2653 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2654 __GLIBC_HAVE_LONG_LONG.
2656 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2657 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2659 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2662 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2663 inptr and inend, rather than using last_ch.
2665 2012-04-02 David S. Miller <davem@davemloft.net>
2667 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2668 * stdio-common/printf-parse.h (read_int): Change return type to
2669 'int', return -1 on INT_MAX overflow.
2670 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2671 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2672 overflows INT_MAX. Check for overflow of in-format-string precision
2673 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2674 SIZE_MAX not INT_MAX for integer overflow test.
2675 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2676 skip the construct in the format string but do not record anything.
2677 * stdio-common/bug22.c: Adjust to test both width/prevision
2678 INT_MAX overflow as well as total length INT_MAX overflow. Check
2679 explicitly for proper errno values.
2681 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2683 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2685 * string/test-strcmp.c [! WIDE]: Likewise.
2686 * time/tst-mktime2.c: Likewise for INT_MAX.
2687 * string/test-string.h: #include <sys/param.h> for MIN.
2689 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2690 * sysdeps/i386/init-first.c (init): Likewise.
2691 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2692 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2693 * sysdeps/sh/init-first.c (init): Likewise.
2695 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2697 * po/ru.po: Update from translation team.
2698 * po/vi.po: Likewise.
2700 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2702 * resolv/nss_dns/dns-host.c: Merge copyright years.
2704 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2706 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2707 Optimize memcpy with prefetch if
2708 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2709 src, dst pointers have unequal 16 byte alignments.
2711 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2714 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2715 from a CNAME entry and return the minimum ttl for the query.
2716 (gaih_getanswer_slice): Likewise.
2718 2012-03-30 Jeff Law <law@redhat.com>
2720 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2722 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2723 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2725 * resolv/nss_dns/dns-host.c: Update copyright year.
2727 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2729 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2730 requests to save a system call. Fix check that all bytes are sent.
2732 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2733 comments for sendmmsg.
2735 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2738 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2739 with only 1 character between 0x0041 and 0x01b0.
2740 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2741 * wcsmbs/tst-mbsnrtowcs.c: New file.
2743 2012-03-29 David S. Miller <davem@davemloft.net>
2745 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2746 small copies by hand.
2748 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2751 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2752 _nss_compat_initgroups_dyn): Fall back to malloc/free
2753 for large group memberships.
2755 2012-03-28 David S. Miller <davem@davemloft.net>
2757 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2758 that branches into memcpy.
2759 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2760 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2762 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2763 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2765 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2767 * sysdeps/sparc/mempcpy.S: New file.
2769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2770 the IFUNC routine in the libc case.
2771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2773 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2774 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2775 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2776 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2777 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2778 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2779 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2780 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2782 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2783 loop to 256 bytes instead of 64 bytes and fix test signedness.
2785 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2786 * sysdeps/sparc/sparc32/Makefile: rather than here...
2787 * sysdeps/sparc/sparc64/Makefile: and here.
2789 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2791 * malloc/mallocbug.c: Avoid warnings about unused variables.
2793 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2796 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2797 in the right place. Discard and retry query if response is
2798 larger than input buffer size.
2800 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2805 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2806 x for large integer exponent.
2807 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2808 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2809 sign of result as needed afterwards.
2810 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2811 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2812 result for underflowing pow the same as for overflow.
2813 (__kernel_standard_l): Handle powl overflow and underflow here
2814 rather than calling __kernel_standard.
2815 * math/libm-test.inc (pow_test): Add more tests.
2830 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2831 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2832 (__kernel_standard_l): New function.
2833 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2835 * math/w_acosl.c (__acosl): Likewise.
2836 * math/w_asinl.c (__asinl): Likewise.
2837 * math/w_atan2l.c (__atan2l): Likewise.
2838 * math/w_atanhl.c (__atanhl): Likewise.
2839 * math/w_coshl.c (__coshl): Likewise.
2840 * math/w_exp10l.c (__exp10l): Likewise.
2841 * math/w_exp2l.c (__exp2l): Likewise.
2842 * math/w_fmodl.c (__fmodl): Likewise.
2843 * math/w_hypotl.c (__hypotl): Likewise.
2844 * math/w_j0l.c (__j0l, __y0l): Likewise.
2845 * math/w_j1l.c (__j1l, __y1l): Likewise.
2846 * math/w_jnl.c (__jnl, __ynl): Likewise.
2847 * math/w_lgammal.c (__lgammal): Likewise.
2848 * math/w_log10l.c (__log10l): Likewise.
2849 * math/w_log2l.c (__log2l): Likewise.
2850 * math/w_logl.c (__logl): Likewise.
2851 * math/w_powl.c (__powl): Likewise.
2852 * math/w_remainderl.c (__remainderl): Likewise.
2853 * math/w_scalbl.c (sysv_scalbl): Likewise.
2854 * math/w_sinhl.c (__sinhl): Likewise.
2855 * math/w_sqrtl.c (__sqrtl): Likewise.
2856 * math/w_tgammal.c (__tgammal): Likewise.
2857 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2858 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2859 * math/libm-test.inc (acos_test): Add more tests.
2860 (acosh_test): Likewise.
2861 (asin_test): Likewise.
2862 (atanh_test): Likewise.
2863 (exp_test): Likewise.
2864 (exp10_test): Likewise.
2865 (exp2_test): Likewise.
2866 (expm1_test): Likewise.
2867 (lgamma_test): Likewise.
2868 (log_test): Likewise.
2869 (log10_test): Likewise.
2870 (log1p_test): Likewise.
2871 (log2_test): Likewise.
2872 (pow_test): Do not allow some spurious overflow exceptions.
2873 (sqrt_test): Add more tests.
2874 (tgamma_test): Likewise.
2875 (y0_test): Likewise.
2876 (y1_test): Likewise.
2877 (yn_test): Likewise.
2879 2012-03-27 Anton Blanchard <anton@samba.org>
2881 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2883 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2884 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2885 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2887 2012-03-27 David S. Miller <davem@davemloft.net>
2889 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2891 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2894 2012-03-27 Andreas Jaeger <aj@suse.de>
2896 * sysdeps/x86_64/elf/configure.in: Moved to ...
2897 * sysdeps/x86_64/configure.in: ... here.
2898 * sysdeps/x86_64/elf/start.S: Moved to ...
2899 * sysdeps/x86_64/start.S: ... here.
2900 * sysdeps/x86_64/elf/configure: Delete.
2902 * sysdeps/x86_64/configure.in: Merge contents from
2903 sysdeps/i386/configure.in (without i686 check).
2905 * sysdeps/i386/elf/Versions: Merge into ...
2906 * sysdeps/i386/Versions: ... this.
2907 * sysdeps/i386/elf/Versions: Delete file.
2908 * sysdeps/i386/elf/start.S: Moved to ...
2909 * sysdeps/i386/start.S: ...here.
2910 * sysdeps/i386/elf/configure.in: Merge into...
2911 * sysdeps/i386/configure.in: ...here.
2912 * sysdeps/i386/elf/configure.in: Delete file.
2913 * sysdeps/i386/elf/configure: Delete file.
2915 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2916 * debug/backtracesyms.c: ... here.
2917 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2918 * debug/backtracesymsfd.c: ... here.
2919 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2920 * sysdeps/generic/ifunc-sel.h: ... here.
2922 * sysdeps/unix/i386/start.c: Delete file.
2923 * sysdeps/unix/sparc/start.c: Delete file.
2924 * sysdeps/unix/start.c: Delete file.
2926 * sysdeps/sh/elf/configure.in: Moved to ...
2927 * sysdeps/sh/configure.in: ... here.
2928 * sysdeps/sh/elf/start.S: Moved to ...
2929 * sysdeps/sh/start.S: ... here.
2930 * sysdeps/sh/elf/configure: Delete file.
2932 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2933 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2934 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2935 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2936 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2937 * sysdeps/powerpc/powerpc64/start.S: here.
2938 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2939 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2940 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2941 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2942 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2944 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2945 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2946 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2947 * sysdeps/powerpc/powerpc32/start.S: ... here.
2948 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2949 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2950 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2952 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2953 * sysdeps/powerpc/ifunc-sel.h: ... here.
2954 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2955 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2957 * sysdeps/sparc/elf/configure.in: Moved to ...
2958 * sysdeps/sparc/configure.in: ... here.
2959 * sysdeps/sparc/elf/configure: Delete file.
2960 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2961 * sysdeps/sparc/sparc32/start.S: ... here.
2962 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2963 * sysdeps/sparc/sparc64/start.S: ... here.
2964 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2965 * sysdeps/sparc/sparc32/Makefile: ... this.
2966 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2967 * sysdeps/sparc/sparc64/Makefile: ... this.
2969 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2970 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2971 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2972 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2973 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2974 * sysdeps/s390/s390-32/setjmp.S: ... here.
2975 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2976 * sysdeps/s390/s390-32/configure.in: ... here.
2977 * sysdeps/s390/s390-32/elf/configure: Delete file.
2978 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2979 * sysdeps/s390/s390-32/start.S: ... here.
2981 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2982 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2983 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2984 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2985 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2986 * sysdeps/s390/s390-64/setjmp.S: ... here.
2987 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2988 * sysdeps/s390/s390-64/configure.in: ... here
2989 * sysdeps/s390/s390-64/elf/configure: Delete file.
2990 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2991 * sysdeps/s390/s390-64/start.S: ... here.
2992 * sysdeps/s390/s390-64/elf/configure: Delete.
2994 * configure.in: Remove support for elf directories in sysdeps.
2996 * configure: Regenerated.
2997 * sysdeps/i386/configure: Regenerated.
2998 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2999 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3000 * sysdeps/s390/s390-32/configure: Regenerated.
3001 * sysdeps/s390/s390-64/configure: Regenerated.
3002 * sysdeps/sh/configure: Regenerated.
3003 * sysdeps/sparc/configure: Regenerated.
3004 * sysdeps/x86_64/configure: Regenerated.
3006 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3010 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3011 denormal result into account.
3013 2012-03-25 Roland McGrath <roland@hack.frob.com>
3015 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3016 Reported by Allan McRae <allan@archlinux.org>.
3018 2012-03-23 Jeff Law <law@redhat.com>
3020 * nss/getnssent.c (__nss_getent): Fix typo.
3022 2012-03-23 David S. Miller <davem@davemloft.net>
3024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3026 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3028 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3029 to pad to uint64_t for each field.
3030 (dl_tls_index): Replace unsigned long with uint64_t.
3032 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3033 Paul Pluzhnikov <ppluzhnikov@google.com>
3036 * grp/Makefile (otherlibs): Don't set it.
3037 * inet/Makefile (otherlibs): Likewise.
3038 * login/Makefile (otherlibs): Likewise.
3039 * nscd/Makefile (otherlibs): Likewise.
3040 * posix/Makefile (otherlibs): Likewise.
3041 * pwd/Makefile (otherlibs): Likewise.
3042 * rt/Makefile (otherlibs): Likewise.
3043 * sunrpc/Makefile (otherlibs): Likewise.
3044 * nss/Makefile (otherlibs): Likewise.
3045 Add libnss_files to routines and static-only-routines.
3046 ($(objpfx)getent): Remove rule.
3047 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3048 static-only-routines.
3050 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3053 * math/s_cexp.c: Include <float.h>.
3054 (__cexp): Handle exp result overflowing not necessarily
3055 overflowing both real and imaginary parts of result.
3056 * math/s_cexpf.c: Likewise.
3057 * math/s_cexpl.c: Likewise.
3058 * math/libm-test.inc (cexp_test): Add more tests.
3059 * sysdeps/i386/fpu/libm-test-ulps: Update.
3060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3062 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3064 * include/link.h (ELFW): New macro.
3065 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3066 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3068 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3070 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3073 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3075 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3077 (struct La_x32_retval): Likewise.
3079 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3081 * sysdeps/x86_64/preconfigure.in: New file.
3082 * sysdeps/x86_64/preconfigure: New generated file.
3084 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3087 * math/e_exp2l.c: Include <float.h>.
3088 (__ieee754_exp2l): Handle overflow and underflow cases
3089 separately. Only pass fractional part of argument to
3091 * math/libm-test.inc (exp2_test): Add more tests.
3093 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3094 negating x to take absolute value.
3095 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3097 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3098 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3100 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3101 computing low part if x was negated.
3102 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3104 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3106 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3108 (pltexit): Cast int_retval to ptrdiff_t.
3109 * elf/tst-auditmod3b.c: Likewise.
3110 * elf/tst-auditmod4b.c: Likewise.
3111 * elf/tst-auditmod5b.c: Likewise.
3112 * elf/tst-auditmod6b.c: Likewise.
3113 * elf/tst-auditmod6c.c: Likewise.
3114 * elf/tst-auditmod7b.c: Likewise.
3116 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3117 and x32_gnu_pltexit.
3119 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3121 (La_x32_regs): New macro.
3122 (La_x32_retval): Likewise.
3123 (la_x32_gnu_pltenter): New function prototype.
3124 (la_x32_gnu_pltexit): Likewise.
3126 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3133 * configure.in (libc_cv_cc_nofma): Check for option to disable
3134 generation of FMA instructions.
3135 * configure: Regenerate.
3136 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3137 * sysdeps/ieee754/dbl-64/Makefile: New file.
3138 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3139 Remove brandred-fma4.
3140 (CFLAGS-brandred-fma4.c): Remove.
3141 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3142 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3144 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3147 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3149 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3150 LLONG_MAX != LONG_MAX.
3151 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3152 (_fitoa_word): Likewise.
3153 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3154 LLONG_MAX != LONG_MAX.
3155 * stdio-common/_itowa.h: Include <_itoa.h>.
3156 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3157 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3158 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3159 only if not defined.
3160 (_ITOA_WORD_TYPE): Likewise.
3161 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3162 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3164 2012-03-21 David S. Miller <davem@davemloft.net>
3166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3168 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3170 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3171 of x86_64 when setting libc_cv_slibdir, libdir and
3173 * sysdeps/unix/sysv/linux/configure: Regenerated.
3175 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3177 * manual/lang.texi (Old Varargs): Remove section.
3178 (How Variadic): Update menu.
3179 (va_start): Do not mention varargs.h.
3181 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3182 Joseph Myers <joseph@codesourcery.com>
3184 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3186 * configure: Regenerated.
3188 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3190 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3191 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3194 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3197 * Makefile (files-for-dist): Remove NOTES.
3198 (NOTES): Remove rule.
3199 * README: Don't refer to NOTES.
3200 * manual/creature.texi: Don't include macros.texi.
3201 * manual/intro.texi (creature.texi): Remove comment referring to
3204 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3205 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3206 * configure: Regenerated.
3207 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3209 (libc_cv_as_i686): Likewise.
3210 (libc_cv_cc_avx): Likewise.
3211 (libc_cv_cc_sse2avx): Likewise.
3212 (libc_cv_cc_fma4): Likewise.
3213 (libc_cv_cc_novzeroupper): Likewise.
3214 * sysdeps/i386/configure: Regenerated.
3217 * sysdeps/i386/fpu/s_cexp.S: Remove.
3218 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3219 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3220 * math/libm-test.inc (cexp_test): Add more tests.
3221 * sysdeps/i386/fpu/libm-test-ulps: Update.
3222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3224 2012-03-21 Allan McRae <allan@archlinux.org>
3226 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3228 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3231 * math/w_exp2.c: Do not include <float.h>.
3232 (o_threshold, u_threshold): Remove.
3233 (__exp2): Calculate result before checking finiteness and calling
3235 * math/w_exp2f.c: Likewise.
3236 * math/w_exp2l.c: Likewise.
3237 * math/libm-test.inc (exp2_test): Require overflow exception for
3241 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3242 range of signed 64-bit integers before using fistpll. Remove
3243 checks for whether integers fit in mantissa bits.
3244 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3245 the range of signed 32-bit integers before using fistpl. Remove
3246 checks for whether integers fit in mantissa bits.
3247 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3248 (__ieee754_powl): Test for y outside the range of signed 64-bit
3249 integers before using fistpll. Reduce 64-bit values to 63-bit
3251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3252 divide-by-zero is raised for zero to large negative powers.
3253 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3254 (__ieee754_powl): Test for y outside the range of signed 64-bit
3255 integers before using fistpll. Reduce 64-bit values to 63-bit
3257 * math/libm-test.inc (pow_test): Add more tests.
3259 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3261 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3262 <stdio-common/_itoa.h>.
3263 * debug/segfault.c: Likewise.
3264 * elf/dl-cache.c: Likewise.
3265 * elf/dl-minimal.c: Likewise.
3266 * elf/dl-misc.c: Likewise.
3267 * elf/dl-sysdep.c: Likewise.
3268 * elf/dl-version.c: Likewise.
3269 * elf/rtld.c: Likewise.
3270 * hurd/hurdsock.c: Likewise.
3271 * hurd/lookup-retry.c: Likewise.
3272 * malloc/malloc.c: Likewise.
3273 * malloc/mtrace.c: Likewise.
3274 * nscd/nscd_getgr_r.c: Likewise.
3275 * nscd/nscd_getpw_r.c: Likewise.
3276 * nscd/nscd_getserv_r.c: Likewise.
3277 * posix/getopt_init.c: Likewise.
3278 * posix/wordexp.c: Likewise.
3279 * stdio-common/_itoa.c: Likewise.
3280 * stdio-common/printf_fphex.c: Likewise.
3281 * stdio-common/vfprintf.c: Likewise.
3282 * string/_strerror.c: Likewise.
3283 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3284 * sysdeps/i386/i686/hp-timing.h: Likewise.
3285 * sysdeps/mach/_strerror.c: Likewise.
3286 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3287 * sysdeps/mach/hurd/sethostid.c: Likewise.
3288 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3289 * sysdeps/mach/xpg-strerror.c: Likewise.
3290 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3291 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3292 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3293 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3294 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3295 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3296 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3297 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3298 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3299 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3300 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3301 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3302 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3303 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3305 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3307 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3308 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3309 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3310 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3312 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3314 * stdio-common/_itoa.h: Moved to ...
3315 * sysdeps/generic/_itoa.h: Here.
3317 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3319 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3320 instead of "_itoa.h" and "_itowa.h".
3321 * stdio-common/vfprintf.: Likewise.
3323 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3325 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3327 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3328 (__signbit): Likwise.
3332 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3334 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3337 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3339 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3340 OVERFLOW_EXCEPTION_OK.
3341 * math/libm-test.inc ("Philosophy"): Update comment about
3343 (OVERFLOW_EXCEPTION): Define.
3344 (OVERFLOW_EXCEPTION_OK): Likewise.
3345 (INVALID_EXCEPTION_OK): Renumber.
3346 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3347 (IGNORE_ZERO_INF_SIGN): Likewise.
3348 (test_exceptions): Handle FE_OVERFLOW.
3349 (exp10_test): Expect overflow exceptions.
3350 (exp2_test): Likewise.
3351 (expm1_test): Likewise.
3352 (nextafter_test): Likewise.
3353 (pow_test): Likewise.
3354 (scalbn_test): Likewise.
3355 (scalbln_test): Likewise.
3357 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3359 * sysdeps/x86_64/bits/atomic.h
3360 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3362 (atomic_exchange_acq): Likewise.
3363 (__arch_exchange_and_add_body): Likewise.
3364 (__arch_add_body): Likewise.
3365 (atomic_add_negative): Likewise.
3366 (atomic_add_zero): Likewise.
3368 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3370 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3371 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3373 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3375 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3376 Check __x86_64__ instead of __WORDSIZE.
3378 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3380 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3382 2012-03-19 David S. Miller <davem@davemloft.net>
3384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3386 * sysdeps/sparc/fpu/fenv_private.h: New file.
3387 * sysdeps/sparc/fpu/math_private.h: Use it.
3388 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3390 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3391 (libc_feholdexcept_setroundl): Remove.
3392 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3394 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3395 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3397 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3399 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3400 int64_t instead of long int.
3401 (INSERT_WORDS64): Likwise.
3403 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3405 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3406 _Unwind_GetCFA return to _Unwind_Ptr first.
3408 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3411 * math/s_clog.c: Include <float.h>.
3412 (__clog): Scale large or subnormal inputs.
3413 * math/s_clogf.c: Likewise.
3414 * math/s_clogl.c: Likewise.
3415 * math/s_clog10.c: Include <float.h>.
3416 (M_LOG10_2): Define.
3417 (__clog10): Scale large or subnormal inputs.
3418 * math/s_clog10f.c: Likewise.
3419 * math/s_clog10l.c: Likewise.
3420 * math/libm-test.inc (clog_test): Add more tests.
3421 (clog10_test): Likewise.
3422 * sysdeps/i386/fpu/libm-test-ulps: Update.
3423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3426 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3428 * math/libm-test.inc (atan2_test): Add another test.
3430 * Makerules (common-objdir-compile): Remove.
3431 * sysdeps/unix/Makefile (config-generated): Do not add
3432 $(unix-generated) to variable.
3433 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3434 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3436 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3438 [generic bits/local_lim.h] (before-compile): Do not append to
3440 [generic bits/local_lim.h] (common-generated): Likewise.
3441 [generic sys/param.h] (before-compile): Do not append to variable.
3442 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3443 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3444 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3445 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3447 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3448 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3449 [generic sys/param.h] ($(addprefix
3450 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3451 [generic sys/param.h] (common-generated): Do not append to
3453 [generic sys/param.h] (sysdep_headers): Likewise.
3454 [generic bits/errno.h] (before-compile): Do not append to
3456 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3458 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3459 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3460 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3461 [generic bits/errno.h] (common-generated): Do not append to
3463 [generic bits/ioctls.h] (before-compile): Do not append to
3465 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3467 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3468 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3469 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3471 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3472 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3473 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3474 [generic bits/ioctls.h] (common-generated): Do not append to
3476 [generic sys/syscall.h] (syscall.h): Remove variable.
3477 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3479 [generic sys/syscall.h] (before-compile): Do not append to
3481 [generic sys/syscall.h] (common-generated): Likewise.
3482 * sysdeps/unix/errnos-tmpl.c: Remove file.
3483 * sysdeps/unix/errnos.awk: Likewise.
3484 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3485 * sysdeps/unix/ioctls.awk: Likewise.
3486 * sysdeps/unix/mk-local_lim.c: Likewise.
3487 * sysdeps/unix/snarf-ioctls: Likewise.
3489 2012-03-19 Richard Henderson <rth@twiddle.net>
3491 * sysdeps/i386/fpu/fenv_private.h: New file.
3492 * sysdeps/i386/fpu/math_private.h: Use it.
3493 (math_opt_barrier, math_force_eval): Remove.
3494 (libc_feholdexcept_setround_53bit): Remove.
3495 (libc_feupdateenv_53bit): Remove.
3496 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3497 (math_opt_barrier, math_force_eval): Remove.
3498 (libc_feholdexcept): Remove.
3499 (libc_feholdexcept_setround): Remove.
3500 (libc_fetestexcept, libc_fesetenv): Remove.
3501 (libc_feupdateenv_test): Remove.
3502 (libc_feupdateenv, libc_feholdsetround): Remove.
3503 (libc_feresetround): Remove.
3505 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3506 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3508 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3509 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3510 (libc_feupdateenv_testl): New.
3511 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3512 (libc_feupdateenv_testf): New.
3513 (libc_feupdateenv): Use libc_feupdateenv_test.
3514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3515 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3517 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3518 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3519 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3520 (libc_feresetround_noex): New.
3521 (libc_feresetround_noexf): New.
3522 (libc_feresetround_noexl): New.
3523 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3524 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3525 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3526 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3529 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3531 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3533 SET_RESTORE_ROUND_NOEX.
3534 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3535 SET_RESTORE_ROUND_NOEXF.
3536 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3537 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3538 (libc_feholdsetroundf): New.
3539 (libc_feresetround, libc_feresetroundf): New.
3541 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3542 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3543 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3545 * sysdeps/generic/math_private.h: Include <fenv.h>.
3546 (default_libc_feholdexcept): New.
3547 (default_libc_feholdexcept_setround): New.
3548 (default_libc_fesetenv, default_libc_feupdateenv): New.
3549 (libc_feholdexcept): Only define if undefined.
3550 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3551 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3552 (libc_feholdexcept_setroundl): Likewise.
3553 (libc_feholdexcept_setround_53bit): Likewise.
3554 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3555 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3556 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3557 (libc_feupdateenv_53bit): Likewise.
3558 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3559 (libc_feholdexcept): Convert from macro to inline function.
3560 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3561 (libc_fesetenv, libc_feupdateenv): Likewise.
3563 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3564 not previously defined.
3565 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3566 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3567 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3568 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3569 * sysdeps/ieee754/flt-32/math_private.h: New file.
3570 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3571 math_private.h below SET_FLOAT_WORD.
3572 (__isnan, __isinf_ns, __finite): Remove.
3573 (__isnanf, __isinf_nsf, __finitef): Remove.
3575 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3579 2012-03-17 David S. Miller <davem@davemloft.net>
3582 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3585 2012-03-16 David S. Miller <davem@davemloft.net>
3587 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3591 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3593 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3594 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3595 sysdep_routines when subdir is sysvipc.
3596 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3599 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3601 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3603 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3606 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3608 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3609 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3610 (__lround): Renamed to ...
3611 (__llround): This. Replace long int with long long int.
3612 Define lround functions as aliases of llround functions.
3613 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3615 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3617 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3618 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3619 adresses to uintptr_t. Replace "long int" and "unsigned long
3620 int" with "greg_t" on va_arg.
3622 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3624 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3625 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3627 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3628 Move e_machine check before EI_CLASS check. Handle x32
3629 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3630 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3631 SKIP_EM_IA_64 and include
3632 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3634 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3635 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3636 (add_system_dir): New macro.
3638 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3639 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3641 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3652 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3654 * math/w_j0f.c (j0f): Likewise.
3656 * math/w_j0l.c (__j0l): Likewise.
3658 * math/w_j1.c (j1): Likewise.
3660 * math/w_j1f.c (j1f): Likewise.
3662 * math/w_j1l.c (__j1l): Likewise.
3664 * math/w_jn.c (jn): Likewise.
3666 * math/w_jnf.c (jnf): Likewise.
3668 * math/w_jnl.c (__jnl): Likewise.
3670 * math/libm-test.inc (j0_test): Add more tests.
3671 (j1_test): Likewise.
3672 (jn_test): Likewise. Add trailing semicolon to existing test.
3673 (y0_test): Likewise.
3674 (y1_test): Likewise.
3675 * sysdeps/i386/fpu/libm-test-ulps: Update.
3676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3680 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3681 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3682 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3683 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3684 (__tanl): Set errno for infinite argument.
3685 * sysdeps/i386/fpu/mptan.c: Remove.
3686 * sysdeps/i386/fpu/s_tan.S: Likewise.
3687 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3688 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3689 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3690 * math/libm-test.inc (tan_test): Add more tests and enable more
3691 tests for double and long double.
3692 * sysdeps/i386/fpu/libm-test-ulps: Update.
3693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3695 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3697 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3698 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3700 2012-03-16 Roland McGrath <roland@hack.frob.com>
3702 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3703 * configure.in: Use it for both main tree and add-ons.
3704 * configure: Regenerated.
3706 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3708 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3710 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3712 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3716 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3717 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3722 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3723 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3725 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3726 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3727 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3728 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3729 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3730 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3731 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3732 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3733 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3734 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3735 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3736 * math/libm-test.inc (cos_test): Add more tests and enable more
3737 tests for long double.
3738 (sin_test): Likewise.
3739 (sincos_test): Likewise.
3740 * sysdeps/i386/fpu/libm-test-ulps: Update.
3741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3743 2012-03-16 David S. Miller <davem@davemloft.net>
3745 * sysdeps/sparc/fpu/math_private.h: New file.
3747 2012-03-15 David S. Miller <davem@davemloft.net>
3749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3763 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3764 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3766 * sysdeps/sparc/sparc-ifunc.h: New file.
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3806 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3807 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3808 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3812 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3814 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3818 2012-03-15 Andreas Jaeger <aj@suse.de>
3821 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3822 ieee754/flt-32 implementation for sin, cos and sincos.
3823 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3824 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3825 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3826 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3827 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3828 ieee754/flt-32 implementation for tan.
3830 * math/libm-test.inc (cos_test): Enable some large input tests for
3832 (sin_test): Likewise.
3833 (sincos_test): Likewise.
3834 (tan_test): Add tests for large input.
3836 * sysdeps/i386/fpu/libm-test-ulps: Update.
3838 2012-03-15 Andreas Jaeger <aj@suse.de>
3841 * math/libm-test.inc (cos_test): Add more test cases.
3842 (sin_test): Likewise.
3843 (sincos_test): Likewise.
3845 2012-03-15 Andreas Jaeger <aj@suse.de>
3848 * math/libm-test.inc (cos_test): Add a test case for large input
3850 (sin_test): Likewise.
3851 (sincos_test): Likewise.
3853 2012-03-15 Andreas Jaeger <aj@suse.de>,
3854 Joseph Myers <joseph@codesourcery.com>
3857 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3858 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3859 * sysdeps/i386/fpu/branred.c: Likewise.
3860 * sysdeps/i386/fpu/dosincos.c: Likewise.
3861 * sysdeps/i386/fpu/mpa.c: Likewise.
3862 * sysdeps/i386/fpu/s_cos.S: Likewise.
3863 * sysdeps/i386/fpu/s_sin.S: Likewise.
3864 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3865 * sysdeps/i386/fpu/sincos32.c: Likewise.
3867 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3869 (libc_feupdateenv_53bit): Define.
3870 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3872 (libc_feupdateenv_53bit): Define.
3874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3875 53 bit (without extend i386 double precision).
3877 * math/libm-test.inc (sincos_test): Add tests for large input.
3881 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3883 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3887 2012-03-15 David S. Miller <davem@davemloft.net>
3889 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3890 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3891 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3892 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3917 fmin/fmax sysdep routines.
3918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3920 2012-03-14 David S. Miller <davem@davemloft.net>
3922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3929 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3942 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3949 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3994 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3999 * sysdeps/sparc/configure.in: New file.
4000 * sysdeps/sparc/configure: Generate.
4001 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4002 * configure: Regenerate.
4003 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4004 * config.make.in (have-as-vis3): New.
4005 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4006 available use -Av9d instead of -Av9a.
4007 * sysdeps/sparc/sparc64/Makefile: Likewise.
4008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4020 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4021 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4023 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4024 fzeros/fnegs to load 0x80000000 into a float register instead of
4026 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4028 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4032 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4033 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4034 ($(inst_includedir)/bits/syscall.h): Remove rule.
4035 ($(objpfx)bits/syscall.d): Include instead of
4036 $(objpfx)syscall-list.d.
4037 (generated): Change syscall-list.h and syscall-list.d to
4038 bits/syscall.h and bits/syscall.d.
4040 2012-03-14 Roland McGrath <roland@hack.frob.com>
4043 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4045 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4048 * math/s_csqrt.c: Include <float.h>.
4049 (__csqrt): Scale large or subnormal inputs.
4050 * math/s_csqrtf.c: Likewise.
4051 * math/s_csqrtl.c: Likewise.
4052 * math/libm-test.inc (csqrt_test): Add more tests.
4053 * sysdeps/i386/fpu/libm-test-ulps: Update.
4054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4057 * math/libm-test.inc (hypot_test): Add more tests.
4059 2012-03-13 David S. Miller <davem@davemloft.net>
4062 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4063 double-precision for the calculation instead of scaling.
4065 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4067 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4068 manipulate bits before adding and subtracting TWO52[sx].
4069 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4070 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4072 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4074 2012-03-13 David S. Miller <davem@davemloft.net>
4076 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4077 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4079 rtld-global-offsets.h
4080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4082 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4085 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4087 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4088 'err' in the ifdef scope in which it is actually used.
4090 * nss/nss_db/db-init.c: Include string.h
4092 2012-03-12 David S. Miller <davem@davemloft.net>
4094 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4095 masking out of the most significant byte of random value used.
4096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4097 Fix coding style in previous change.
4099 * sysdeps/unix/sysv/linux/kernel-features.h
4100 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4101 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4103 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4106 2012-03-11 David S. Miller <davem@davemloft.net>
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4109 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4111 for 'resultvar' otherwise things get truncated on 64-bit.
4113 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4114 Fix masking out of the most significant byte of random value used.
4116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4118 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4122 2012-03-09 David S. Miller <davem@davemloft.net>
4124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4125 variables with appropriate CPP guards.
4126 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4127 frame pointer, not the stack pointer. Correct layout comments. Fix test
4128 on resulting framesize and the management of the outregs buffer for pltexit.
4129 Preserve floating point return values across _dl_call_pltexit call.
4130 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4131 framesize and the management of the outregs buffer for pltexit.
4132 Preserve floating point return values across _dl_call_pltexit
4134 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4135 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4136 (print_exit): Fix format string for return register value.
4138 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4140 * sunrpc/Makefile (others): Add rpcgen.
4141 ($(objpfx)rpcgen): Remove special build rule and dependency on
4143 * sunrpc/rpcgen.c: New file.
4145 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4148 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4149 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4150 * sysdeps/i386/crti.S: Likewise.
4151 * sysdeps/i386/crtn.S: Likewise.
4152 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4153 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4154 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4155 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4156 * sysdeps/sh/crti.S: Likewise.
4157 * sysdeps/sh/crtn.S: Likewise.
4158 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4161 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4163 * locale/programs/locfile-kw.gperf: Likewise.
4164 * locale/programs/charmap-kw.h: Regenerated.
4165 * locale/programs/locfile-kw.h: Likewise.
4168 * intl/plural.y: Replace FSF snail mail address with URL.
4169 * intl/plural.c: Regenerated.
4171 2012-03-09 Richard Henderson <rth@twiddle.net>
4173 * include/math_private.h: Remove file.
4174 * math/math_private.h: Move file ...
4175 * sysdeps/generic/math_private.h: ... here.
4177 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4178 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4179 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4181 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4182 and <math_private.h>.
4183 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4184 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4185 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4186 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4187 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4271 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4272 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4273 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4274 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4275 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4276 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4277 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4278 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4279 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4280 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4281 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4282 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4283 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4284 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4285 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4286 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4287 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4288 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4289 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4290 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4291 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4294 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4295 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4296 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4297 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4298 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4299 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4300 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4301 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4302 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4303 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4304 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4305 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4306 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4307 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4308 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4309 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4310 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4311 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4312 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4313 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4315 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4316 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4317 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4318 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4319 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4320 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4321 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4322 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4323 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4324 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4325 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4326 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4327 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4328 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4329 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4330 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4331 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4332 * sysdeps/ieee754/k_standard.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4448 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4452 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4453 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4455 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4465 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4493 * sysdeps/ieee754/s_lib_version.c: Likewise.
4494 * sysdeps/ieee754/s_matherr.c: Likewise.
4495 * sysdeps/ieee754/s_signgam.c: Likewise.
4496 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4497 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4498 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4499 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4500 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4501 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4502 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4503 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4504 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4505 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4506 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4507 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4508 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4509 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4510 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4511 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4512 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4513 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4514 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4518 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4520 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4521 * sunrpc/rpc_main.c: Likewise.
4522 * sunrpc/rpc_svcout.c: Likewise.
4524 2012-03-09 David S. Miller <davem@davemloft.net>
4526 * include/math_private.h: New file.
4528 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4530 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4531 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4532 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4533 from <bits/socket_type.h>.
4534 (enum __socket_type): Don't define here.
4535 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4540 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4543 * Makerules ($(inst_includedir)/%.h): New rule.
4544 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4545 (install-others): Remove variable setting.
4546 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4548 2012-03-08 Richard Henderson <rth@twiddle.net>
4550 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4551 from macro to inline function; merge with the
4552 !__LIBC_INTERNAL_MATH_INLINES version.
4553 (__ieee754_sqrtf): Likewise.
4555 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4557 (__rintf, __floor, __floorf): Likewise.
4559 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4560 macro to inline function.
4561 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4563 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4564 not <math/math_private.h>.
4566 2012-03-08 David S. Miller <davem@davemloft.net>
4568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4570 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4572 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4574 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4576 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4577 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4579 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4581 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4582 be defined individually, they must be defined as a block. Define
4583 S for printing a string instead of hidint the different by using a
4584 macro for adding the 'l'.
4585 * stdio-common/tst-fphex-wide.c: Adjust.
4587 2012-03-07 Marek Polacek <polacek@redhat.com>
4589 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4591 2012-03-08 Marek Polacek <polacek@redhat.com>
4594 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4595 * stdio-common/tst-fphex.c: Define a few macros to make the
4596 test reusable. Use them.
4597 * stdio-common/tst-fphex-wide.c: New file.
4599 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4602 * manual/macros.texi (gnusystems): New macro.
4603 (nongnusystems): Likewise.
4604 (gnulinuxhurdsystems): Likewise.
4605 (gnuhurdsystems): Likewise..
4606 (gnulinuxsystems): Likewise.
4607 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4608 variants of the GNU system, not "GNU system".
4609 * manual/conf.texi: Likewise.
4610 * manual/errno.texi: Likewise. Update example of errno macro
4612 * manual/filesys.texi: Likewise.
4613 (getumask): Document as specific to GNU/Hurd.
4614 * manual/install.texi: Likewise. Reword some references to
4616 * manual/intro.texi: Likewise.
4617 * manual/io.texi: Likewise.
4618 (File Name Portability): Detail which constraints are inapplicable
4619 to all GNU systems and which are only inapplicable to GNU/Hurd.
4620 * manual/job.texi: Likewise.
4621 * manual/llio.texi: Likewise.
4622 (O_NOCTTY): Document as present on GNU/Linux.
4623 * manual/maint.texi: Likewise.
4624 * manual/memory.texi: Likewise.
4625 * manual/pattern.texi: Likewise.
4626 * manual/pipe.texi: Likewise.
4627 * manual/process.texi: Likewise.
4628 * manual/resource.texi: Likewise.
4629 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4631 * manual/setjmp.texi: Likewise.
4632 * manual/signal.texi: Likewise.
4633 * manual/startup.texi: Likewise.
4634 * manual/stdio.texi: Likewise.
4635 * manual/terminal.texi: Likewise.
4636 (ONLCR): Document as POSIX.
4637 (OXTABS): Document availability on GNU/Linux as XTABS.
4638 (ONOEOT): Document availability separately from other bits.
4639 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4640 * manual/time.texi: Likewise.
4641 * manual/users.texi: Likewise.
4642 * INSTALL: Regenerated.
4643 * sysdeps/gnu/errlist.c: Regenerated.
4645 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4646 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4647 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4649 * configure: Regenerated.
4651 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4653 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4654 default includes instead of AC_HEADER_CHECK.
4655 * sysdeps/i386/configure: Regenerated.
4658 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4659 * math/s_cacoshf.c (__cacoshf): Likewise.
4660 * math/s_cacoshl.c (__cacoshl): Likewise.
4661 * math/s_casinh.c (__casinh): Set signs of result from argument.
4662 * math/s_casinhf.c (__casinhf): Likewise.
4663 * math/s_casinhl.c (__casinhl): Likewise.
4664 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4665 (casinh_test): Add more tests.
4666 * sysdeps/i386/fpu/libm-test-ulps: Update.
4667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4669 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4671 * po/zh_TW.po: Update from translation team.
4673 * login/Makefile (distribute): Remove variable.
4674 * catgets/Makefile: Likewise.
4675 * mach/Makefile: Likewise.
4676 * malloc/Makefile: Likewise.
4677 * misc/Makefile: Likewise.
4678 * iconv/Makefile: Likewise.
4679 * nscd/Makefile: Likewise.
4680 * hurd/Makefile: Likewise.
4681 * manual/Makefile: Likewise.
4682 * locale/Makefile: Likewise.
4683 * intl/Makefile: Likewise.
4684 * conform/Makefile: Likewise.
4685 * nss/Makefile: Likewise.
4686 * time/Makefile: Likewise.
4687 * soft-fp/Makefile: Likewise.
4688 * dirent/Makefile: Likewise.
4689 * gmon/Makefile: Likewise.
4690 * po/Makefile: Likewise.
4691 * rt/Makefile: Likewise.
4692 * socket/Makefile: Likewise.
4693 * math/Makefile: Likewise.
4694 * signal/Makefile: Likewise.
4695 * debug/Makefile: Likewise.
4696 * elf/Makefile: Likewise.
4697 * timezone/Makefile: Likewise.
4698 * stdlib/Makefile: Likewise.
4699 * iconvdata/Makefile: Likewise.
4700 * sunrpc/Makefile: Likewise.
4701 * io/Makefile: Likewise.
4702 * argp/Makefile: Likewise.
4703 * inet/Makefile: Likewise.
4704 * hesiod/Makefile: Likewise.
4705 * grp/Makefile: Likewise.
4706 * csu/Makefile: Likewise.
4707 * wctype/Makefile: Likewise.
4708 * crypt/Makefile: Likewise.
4709 * libio/Makefile: Likewise.
4710 * string/Makefile: Likewise.
4711 * nis/Makefile: Likewise.
4712 * resolv/Makefile: Likewise.
4713 * stdio-common/Makefile: Likewise.
4714 * wcsmbs/Makefile: Likewise.
4715 * dlfcn/Makefile: Likewise.
4716 * posix/Makefile: Likewise.
4719 * timezone/Makefile: Don't install timezone files, just the programs
4722 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4724 * nss/databases.def: Add missing gshadow entry.
4726 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4728 2012-03-06 Marek Polacek <polacek@redhat.com>
4731 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4732 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4733 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4734 * stdio-common/tst-long-dbl-fphex.c: New file.
4736 2012-03-06 David S. Miller <davem@davemloft.net>
4738 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4739 (set_obp_int): New function.
4740 (get_obp_int): New function.
4741 (__get_clockfreq_via_dev_openprom): Likewise.
4742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4743 Avoid unused variable warnings on 'val' and use builtin_expect.
4744 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4746 (INLINE_CLONE_SYSCALL): Likewise.
4748 2012-03-05 David S. Miller <davem@davemloft.net>
4750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4752 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4756 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4758 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4760 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4763 Replace gettimeofday with __vdso_gettimeofday.
4765 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4766 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4767 __vdso_clock_gettime and __vdso_getcpu.
4769 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4770 time with __vdso_time.
4772 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4774 * manual/lang.texi (size_t): Note types to which size_t may be
4775 equivalent with the GNU C Library, but do not describe when
4776 differences between them are significant.
4778 2012-03-05 Andreas Jaeger <aj@suse.de>
4780 * sysdeps/i386/fpu/libm-test-ulps: Update.
4782 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4785 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4786 (__ieee754_pow): Save and restore rounding mode and use
4787 round-to-nearest for main computations.
4788 * math/libm-test.inc (pow_test_tonearest): New function.
4789 (pow_test_towardzero): Likewise.
4790 (pow_test_downward): Likewise.
4791 (pow_test_upward): Likewise.
4792 (main): Call the new functions.
4793 * sysdeps/i386/fpu/libm-test-ulps: Update.
4794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4797 * math/libm-test.inc (cosh_test_tonearest): New function.
4798 (cosh_test_towardzero): Likewise.
4799 (cosh_test_downward): Likewise.
4800 (cosh_test_upward): Likewise.
4801 (sinh_test_tonearest): Likewise.
4802 (sinh_test_towardzero): Likewise.
4803 (sinh_test_downward): Likewise.
4804 (sinh_test_upward): Likewise.
4805 (main): Call the new functions.
4806 * sysdeps/i386/fpu/libm-test-ulps: Update.
4807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4809 2012-03-05 Tom de Vries <tom@codesourcery.com>
4811 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4812 default stack guard is set in last bytes.
4813 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4815 2012-03-05 Kees Cook <keescook@chromium.org>
4817 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4820 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4821 possibly allocate from heap instead of stack.
4822 * stdio-common/bug-vfprintf-nargs.c: New file.
4823 * stdio-common/Makefile (tests): Add nargs overflow test.
4825 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4829 2012-03-03 Marek Polacek <polacek@redhat.com>
4831 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4832 * math/math_private.h: Likewise.
4833 * stdlib/tst-strtod.c: Likewise.
4834 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4835 * sysdeps/x86_64/bits/atomic.h: Likewise.
4837 2012-03-02 David S. Miller <davem@davemloft.net>
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4843 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4844 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4845 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4846 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4848 2012-03-02 Roland McGrath <roland@hack.frob.com>
4851 * manual/examples/README: New file, says the example source files
4852 can be used under GPL>=2.
4853 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4854 line containing just "*/".
4855 * manual/examples/add.c: Add copyright header (GPL>=2).
4856 * manual/examples/argp-ex1.c: Likewise.
4857 * manual/examples/argp-ex2.c: Likewise.
4858 * manual/examples/argp-ex3.c: Likewise.
4859 * manual/examples/argp-ex4.c: Likewise.
4860 * manual/examples/atexit.c: Likewise.
4861 * manual/examples/db.c: Likewise.
4862 * manual/examples/dir.c: Likewise.
4863 * manual/examples/dir2.c: Likewise.
4864 * manual/examples/execinfo.c: Likewise.
4865 * manual/examples/filecli.c: Likewise.
4866 * manual/examples/filesrv.c: Likewise.
4867 * manual/examples/fmtmsgexpl.c: Likewise.
4868 * manual/examples/genpass.c: Likewise.
4869 * manual/examples/inetcli.c: Likewise.
4870 * manual/examples/inetsrv.c: Likewise.
4871 * manual/examples/isockad.c: Likewise.
4872 * manual/examples/longopt.c: Likewise.
4873 * manual/examples/memopen.c: Likewise.
4874 * manual/examples/memstrm.c: Likewise.
4875 * manual/examples/mkfsock.c: Likewise.
4876 * manual/examples/mkisock.c: Likewise.
4877 * manual/examples/mygetpass.c: Likewise.
4878 * manual/examples/pipe.c: Likewise.
4879 * manual/examples/popen.c: Likewise.
4880 * manual/examples/rprintf.c: Likewise.
4881 * manual/examples/search.c: Likewise.
4882 * manual/examples/select.c: Likewise.
4883 * manual/examples/setjmp.c: Likewise.
4884 * manual/examples/sigh1.c: Likewise.
4885 * manual/examples/sigusr.c: Likewise.
4886 * manual/examples/stpcpy.c: Likewise.
4887 * manual/examples/strdupa.c: Likewise.
4888 * manual/examples/strftim.c: Likewise.
4889 * manual/examples/strncat.c: Likewise.
4890 * manual/examples/subopt.c: Likewise.
4891 * manual/examples/swapcontext.c: Likewise.
4892 * manual/examples/termios.c: Likewise.
4893 * manual/examples/testopt.c: Likewise.
4894 * manual/examples/testpass.c: Likewise.
4895 * manual/examples/timeval_subtract.c: Likewise.
4898 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4900 * manual/timeval_subtract.c.texi: ... here, new file.
4902 2012-03-02 David S. Miller <davem@davemloft.net>
4904 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4906 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4909 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4910 (__sin): Save and restore rounding mode and use round-to-nearest
4911 for all computations.
4912 (__cos): Save and restore rounding mode and use round-to-nearest
4913 for all computations.
4914 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4916 (tan): Save and restore rounding mode and use round-to-nearest for
4918 * math/libm-test.inc (cos_test_tonearest): New function.
4919 (cos_test_towardzero): Likewise.
4920 (cos_test_downward): Likewise.
4921 (cos_test_upward): Likewise.
4922 (sin_test_tonearest): Likewise.
4923 (sin_test_towardzero): Likewise.
4924 (sin_test_downward): Likewise.
4925 (sin_test_upward): Likewise.
4926 (tan_test_tonearest): Likewise.
4927 (tan_test_towardzero): Likewise.
4928 (tan_test_downward): Likewise.
4929 (tan_test_upward): Likewise.
4930 (main): Call the new functions.
4931 * sysdeps/i386/fpu/libm-test-ulps: Update.
4932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4935 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4936 small n, then large n, before computing and testing k+n.
4937 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4942 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4943 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4944 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4945 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4946 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4947 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4948 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4949 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4950 * math/libm-test.inc (scalbn_test): Add more tests.
4951 (scalbln_test): Likewise.
4953 * manual/filesys.texi (mode_t): Describe constraints on size and
4954 signedness, not exact equivalence to a particular type.
4956 (ino64_t): Likewise.
4958 (nlink_t): Likewise.
4959 (blkcnt_t): Likewise.
4960 (blkcnt64_t): Likewise.
4961 * manual/llio.texi (off_t): Likewise.
4964 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4965 (__ieee754_exp): Save and restore rounding mode and use
4966 round-to-nearest for all computations.
4967 * math/libm-test.inc (exp_test_tonearest): New function.
4968 (exp_test_towardzero): Likewise.
4969 (exp_test_downward): Likewise.
4970 (exp_test_upward): Likewise.
4971 (main): Call the new functions.
4972 * sysdeps/i386/fpu/libm-test-ulps: Update.
4973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4975 2012-03-01 Chris Demetriou <cgd@google.com>
4977 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4978 have predictable order.
4980 2012-03-01 David S. Miller <davem@davemloft.net>
4982 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4984 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4985 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4986 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4987 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4989 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4990 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4991 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4993 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4994 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4995 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4996 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4997 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5001 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5002 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5003 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5005 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5006 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5007 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5008 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5009 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5011 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5012 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5013 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5014 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5015 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5018 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5019 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5020 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5021 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5022 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5023 * sysdeps/sparc/elf/configure: Regenerated.
5025 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5027 * configure.in (AS, LD): Require binutils 2.20 or later.
5028 * configure: Regenerated.
5029 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5030 as required minimum version.
5031 * INSTALL: Regenerated.
5035 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5036 before squaring exponent.
5037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5038 bottom long double and 27 bits of top long double before squaring
5040 * math/libm-test.inc (erfc_test): Add more tests.
5041 * sysdeps/i386/fpu/libm-test-ulps: Update.
5042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5045 2012-03-01 Kai Tietz <ktietz@redhat.com>
5047 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5048 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5049 containing bit-fields.
5050 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5051 * soft-fp/single.h (_FP_UNION_S): Likewise.
5052 * soft-fp/double.h (_FP_UNION_D): Likewise.
5054 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5057 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5058 not include ../strcmp.S.
5059 [USE_AS_STRNCASECMP_L]: Likewise.
5060 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5061 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5062 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5063 (__strncasecmp_l_ia32): Define as alias to
5064 __strncasecmp_l_nonascii.
5067 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5068 * sysdeps/i386/fpu/libm-test-ulps: Update.
5069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5071 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5074 2012-02-29 Jeff Law <law@redhat.com>
5076 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5079 2012-02-29 Marek Polacek <polacek@redhat.com>
5082 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5083 * elf/Makefile: Add rules to run tst-unused-dep.out.
5085 2012-02-28 David S. Miller <davem@davemloft.net>
5087 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5088 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5090 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5091 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5092 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5094 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5096 * math/libm-test.inc (llround_test): Move one test from
5097 lround_test. Use TEST_f_L in moved test.
5098 (lround_test): Move misplaced test to llround_test. Add testcase
5101 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5103 * sysdeps/x86_64/fpu/e_expf.S: New file.
5104 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5106 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5109 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5110 of remain_len that may cause incomplete multi-byte character and
5112 * posix/bug-regex33.c: New file.
5113 * posix/Makefile (tests): Add bug-regex33.
5115 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5117 * manual/macros.texi: New file.
5118 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5119 * manual/libc.texinfo: Include macros.texi.
5120 * manual/creatute.texi: Likewise.
5121 * manual/install.texi: Likewise.
5122 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5123 @glibcadj{} in references to the GNU C Library.
5124 * manual/charset.texi: Likewise.
5125 * manual/conf.texi: Likewise.
5126 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5127 when not using those macros.
5128 * manual/creature.texi: Likewise.
5129 * manual/crypt.texi: Likewise.
5130 * manual/errno.texi: Likewise.
5131 * manual/filesys.texi: Likewise.
5132 * manual/header.texi: Likewise.
5133 * manual/install.texi: Likewise.
5134 * manual/intro.texi: Likewise.
5135 * manual/io.texi: Likewise.
5136 * manual/job.texi: Likewise.
5137 * manual/lang.texi: Likewise.
5138 * manual/libc.texiinfo: Likewise.
5139 * manual/llio.texi: Likewise.
5140 * manual/locale.texi: Likewise.
5141 * manual/maint.texi: Likewise.
5142 * manual/math.texi: Likewise.
5143 * manual/memory.texi: Likewise.
5144 * manual/message.texi: Likewise.
5145 * manual/nss.texi: Likewise.
5146 * manual/pattern.texi: Likewise.
5147 * manual/process.texi: Likewise.
5148 * manual/resource.texi: Likewise.
5149 * manual/search.texi: Likewise.
5150 * manual/setjmp.texi: Likewise.
5151 * manual/signal.texi: Likewise.
5152 * manual/socket.texi: Likewise.
5153 * manual/startup.texi: Likewise.
5154 * manual/stdio.texi: Likewise.
5155 * manual/string.texi: Likewise.
5156 * manual/sysinfo.texi: Likewise.
5157 * manual/syslog.texi: Likewise.
5158 * manual/terminal.texi: Likewise.
5159 * manual/time.texi: Likewise.
5160 * manual/users.texi: Likewise.
5161 * INSTALL: Regenerated.
5162 * NOTES: Regenerated.
5163 * sysdeps/gnu/errlist.c: Regenerated.
5165 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5167 * include/dirent.h: Include <dirstream.h> before
5170 2012-02-28 David S. Miller <davem@davemloft.net>
5172 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5173 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5174 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5175 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5177 2012-02-27 David S. Miller <davem@davemloft.net>
5179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5181 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5182 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5185 frame pointer instead of stack pointer relative arg slot.
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5187 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5188 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5190 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5193 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5195 2012-02-27 David S. Miller <davem@davemloft.net>
5197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5201 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5202 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5203 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5204 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5206 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5208 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5209 later. Allow versions 5-9.
5210 * configure: Regenerated.
5211 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5212 required minimum version and 4.6 as recommended version. Do not
5213 mention bugs in GCC 2.7 and 2.8.
5214 * INSTALL: Regenerated.
5216 2012-02-27 David S. Miller <davem@davemloft.net>
5218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5222 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5223 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5224 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5225 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5227 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5228 manipulate bits before adding and subtracting TWO112[sx].
5229 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5231 2012-02-27 Roland McGrath <roland@hack.frob.com>
5234 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5235 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5236 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5237 being in POSIX, because they are in 1003.1-2008.
5239 * rt/tst-aio.c: Include <fcntl.h>.
5240 * rt/tst-aio7.c: Likewise.
5241 * rt/tst-aio64.c: Likewise.
5243 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5245 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5247 * manual/install.texi (--with-headers): Describe headers as
5248 interface headers, not private headers.
5249 (Specific advice for GNU/Linux systems): Describe use of headers
5250 from "make headers_install", not private headers from older
5252 * INSTALL: Regenerated.
5253 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5255 * sysdeps/unix/sysv/linux/configure: Regenerated.
5257 * manual/llio.texi (fclean): Remove documentation.
5259 * manual/Makefile (libc-texi-generated): New variable. Include
5261 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5262 $(libc-texi-generated), not duplicated list of files.
5263 (version.texi, stamp-version): New rules.
5264 (realclean): Remove $(libc-texi-generated), not individual files
5265 from that list. Do not remove dir-add.texinfo.
5266 * manual/libc.texinfo: Comment out uses of edition numbers and
5267 references to printed manual. Remove last-updated dates.
5268 (EDITION): Comment out.
5270 (VERSION, UPDATED): Remove.
5271 (version.texi): Include.
5273 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5275 * sysdeps/posix/spawni.c: Include <signal.h>.
5276 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5277 * sysdeps/pthread/aio_fsync.c: Likewise.
5279 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5281 * conform/Makefile (tests): Run only when not cross-compiling and
5282 when fast-check is not defined.
5284 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5285 * conform/data/limits.h-data: Fixes for POSIX2008.
5286 * conform/run-conformtest.sh: Run all tests.
5287 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5289 * include/bits/dlfcn.h: Likewise.
5290 * include/langinfo.h: Likewise.
5291 * include/monetary.h: Likewise.
5292 * include/sys/poll.h: Likewise.
5294 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5296 * posix/spawn.h: Define __need_sigset_t.
5297 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5298 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5299 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5300 to get sigevent_t only.
5301 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5303 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5304 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5305 process_vm_writev only for __USE_GNU.
5306 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5308 * conform/Makefile: For now ignore errors from run-conformtest.
5309 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5310 POSIX to avoid namespace pollution. Don't prepend headers.
5311 * conform/data/aio.h-data: Fixes for POSIX testing.
5312 * conform/data/fcntl.h-data: Likewise.
5313 * conform/data/glob.h-data: Likewise.
5314 * conform/data/grp.h-data: Likewise.
5315 * conform/data/pthread.h-data: Likewise.
5316 * conform/data/pwd.h-data: Likewise.
5317 * conform/data/signal.h-data: Likewise.
5318 * conform/data/spawn.h-data: Likewise.
5319 * conform/data/stdio.h-data: Likewise.
5320 * conform/data/stdlib.h-data: Likewise.
5321 * conform/data/stropts.h-data: Likewise.
5322 * conform/data/sys/mman.h-data: Likewise.
5323 * conform/data/sys/stat.h-data: Likewise.
5324 * conform/data/sys/types.h-data: Likewise.
5325 * conform/data/sys/wait.h-data: Likewise.
5326 * conform/data/time.h-data: Likewise.
5327 * conform/data/unistd.h-data: Likewise.
5328 * conform/data/utime.h-data: Likewise.
5330 * io/sys/stat.h: fchmod was always in POSIX.
5331 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5332 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5333 * rt/aio.h: Define __need_timespec before including <time.h>.
5334 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5335 struct. Add forward declaration of pthread_attr_t and use it in
5337 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5338 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5339 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5340 always remove CLK_TCK definition.
5342 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5344 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5346 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5348 * conform/run-conformtest.sh: New file.
5349 * conform/Makefile: Run run-conformtest for tests.
5350 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5353 * conform/data/uchar.h-data: New file.
5354 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5355 * conform/data/arpa/inet.h-data: Likewise.
5356 * conform/data/assert.h-data: Likewise.
5357 * conform/data/complex.h-data: Likewise.
5358 * conform/data/cpio.h-data: Likewise.
5359 * conform/data/ctype.h-data: Likewise.
5360 * conform/data/dirent.h-data: Likewise.
5361 * conform/data/dlfcn.h-data: Likewise.
5362 * conform/data/errno.h-data: Likewise.
5363 * conform/data/fcntl.h-data: Likewise.
5364 * conform/data/float.h-data: Likewise.
5365 * conform/data/fmtmsg.h-data: Likewise.
5366 * conform/data/fnmatch.h-data: Likewise.
5367 * conform/data/ftw.h-data: Likewise.
5368 * conform/data/glob.h-data: Likewise.
5369 * conform/data/grp.h-data: Likewise.
5370 * conform/data/iconv.h-data: Likewise.
5371 * conform/data/inttypes.h-data: Likewise.
5372 * conform/data/langinfo.h-data: Likewise.
5373 * conform/data/libgen.h-data: Likewise.
5374 * conform/data/limits.h-data: Likewise.
5375 * conform/data/locale.h-data: Likewise.
5376 * conform/data/math.h-data: Likewise.
5377 * conform/data/monetary.h-data: Likewise.
5378 * conform/data/mqueue.h-data: Likewise.
5379 * conform/data/ndbm.h-data: Likewise.
5380 * conform/data/net/if.h-data: Likewise.
5381 * conform/data/netdb.h-data: Likewise.
5382 * conform/data/netinet/in.h-data: Likewise.
5383 * conform/data/nl_types.h-data: Likewise.
5384 * conform/data/poll.h-data: Likewise.
5385 * conform/data/pthread.h-data: Likewise.
5386 * conform/data/pwd.h-data: Likewise.
5387 * conform/data/regex.h-data: Likewise.
5388 * conform/data/sched.h-data: Likewise.
5389 * conform/data/search.h-data: Likewise.
5390 * conform/data/semaphore.h-data: Likewise.
5391 * conform/data/setjmp.h-data: Likewise.
5392 * conform/data/signal.h-data: Likewise.
5393 * conform/data/spawn.h-data: Likewise.
5394 * conform/data/stdarg.h-data: Likewise.
5395 * conform/data/stdio.h-data: Likewise.
5396 * conform/data/stdlib.h-data: Likewise.
5397 * conform/data/string.h-data: Likewise.
5398 * conform/data/strings.h-data: Likewise.
5399 * conform/data/stropts.h-data: Likewise.
5400 * conform/data/sys/ipc.h-data: Likewise.
5401 * conform/data/sys/mman.h-data: Likewise.
5402 * conform/data/sys/msg.h-data: Likewise.
5403 * conform/data/sys/resource.h-data: Likewise.
5404 * conform/data/sys/select.h-data: Likewise.
5405 * conform/data/sys/sem.h-data: Likewise.
5406 * conform/data/sys/shm.h-data: Likewise.
5407 * conform/data/sys/socket.h-data: Likewise.
5408 * conform/data/sys/stat.h-data: Likewise.
5409 * conform/data/sys/statvfs.h-data: Likewise.
5410 * conform/data/sys/time.h-data: Likewise.
5411 * conform/data/sys/timeb.h-data: Likewise.
5412 * conform/data/sys/times.h-data: Likewise.
5413 * conform/data/sys/types.h-data: Likewise.
5414 * conform/data/sys/uio.h-data: Likewise.
5415 * conform/data/sys/un.h-data: Likewise.
5416 * conform/data/sys/utsname.h-data: Likewise.
5417 * conform/data/sys/wait.h-data: Likewise.
5418 * conform/data/syslog.h-data: Likewise.
5419 * conform/data/tar.h-data: Likewise.
5420 * conform/data/termios.h-data: Likewise.
5421 * conform/data/utime.h-data: Likewise.
5422 * conform/data/utmpx.h-data: Likewise.
5423 * conform/data/varargs.h-data: Likewise.
5424 * conform/data/wchar.h-data: Likewise.
5425 * conform/data/wctype.h-data: Likewise.
5426 * conform/data/wordexp.h-data: Likewise.
5428 * include/stropts.h: New file.
5429 * include/uchar.h: New file.
5430 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5431 * include/assert.h: Likewise.
5432 * include/ctype.h: Likewise.
5433 * include/dirent.h: Likewise.
5434 * include/dlfcn.h: Likewise.
5435 * include/fcntl.h: Likewise.
5436 * include/fnmatch.h: Likewise.
5437 * include/glob.h: Likewise.
5438 * include/grp.h: Likewise.
5439 * include/libio.h: Likewise.
5440 * include/locale.h: Likewise.
5441 * include/math.h: Likewise.
5442 * include/net/if.h: Likewise.
5443 * include/netdb.h: Likewise.
5444 * include/netinet/in.h: Likewise.
5445 * include/pthread.h: Likewise.
5446 * include/pwd.h: Likewise.
5447 * include/regex.h: Likewise.
5448 * include/sched.h: Likewise.
5449 * include/search.h: Likewise.
5450 * include/setjmp.h: Likewise.
5451 * include/signal.h: Likewise.
5452 * include/stdio.h: Likewise.
5453 * include/stdlib.h: Likewise.
5454 * include/string.h: Likewise.
5455 * include/sys/cdefs.h: Likewise.
5456 * include/sys/mman.h: Likewise.
5457 * include/sys/msg.h: Likewise.
5458 * include/sys/resource.h: Likewise.
5459 * include/sys/select.h: Likewise.
5460 * include/sys/socket.h: Likewise.
5461 * include/sys/stat.h: Likewise.
5462 * include/sys/statvfs.h: Likewise.
5463 * include/sys/time.h: Likewise.
5464 * include/sys/times.h: Likewise.
5465 * include/sys/uio.h: Likewise.
5466 * include/sys/utsname.h: Likewise.
5467 * include/sys/wait.h: Likewise.
5468 * include/termios.h: Likewise.
5469 * include/time.h: Likewise.
5470 * include/ulimit.h: Likewise.
5471 * include/unistd.h: Likewise.
5472 * include/utime.h: Likewise.
5473 * include/wchar.h: Likewise.
5474 * include/wctype.h: Likewise.
5475 * include/wordexp.h: Likewise.
5477 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5479 * time/time.h: TIME_UTC must be a macro.
5480 Make timespec_get available for ISO C11 only as well.
5482 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5484 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5485 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5487 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5489 * configure.in: Use -o not -a in test for unsupported multi-arch.
5491 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5493 * manual/texinfo.tex: Update to version 2012-01-19.16.
5495 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5497 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5499 2012-02-24 Roland McGrath <roland@hack.frob.com>
5502 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5503 * manual/fdl-1.3.texi: New file.
5504 * manual/fdl-1.1.texi: File removed.
5507 * manual/libc.texinfo (FDL_VERSION): New @set.
5508 Use it for mention of FDL in cover text.
5509 (Documentation License): Use it in @include file name.
5511 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5512 Roland McGrath <roland@hack.frob.com>
5515 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5516 not LONG_LONG_MAX and LONG_LONG_MIN.
5517 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5518 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5520 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5522 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5526 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5527 manipulate bits before adding and subtracting TWO23[sx].
5528 * math/libm-test.inc (nearbyint_test): Add more tests.
5530 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5533 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5534 bits before adding and subtracting TWO23[sx].
5535 * math/libm-test.inc (rint_test): Add more tests.
5536 (rint_test_tonearest): Likewise.
5537 (rint_test_towardzero): Likewise.
5538 (rint_test_downward): Likewise.
5539 (rint_test_upward: Likewise.
5541 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5544 * include/stdc-predef.h: New file. Extracted from features.h.
5545 * include/features.h: Include stdc-predef.h.
5546 * Makefile (headers): Add stdc-predef.h.
5547 * CONFORMANCE (Compiler limitations): Update.
5549 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5551 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5553 2012-02-21 David S. Miller <davem@davemloft.net>
5555 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5556 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5558 2012-02-20 David S. Miller <davem@davemloft.net>
5560 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5561 using a normal save/restore sequence, rather than allocating a
5562 dummy stack frame just to store a frame pointer and restore.
5563 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5565 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5567 * manual/install.texi: Fix stray word in line-wrapped comment.
5569 2012-02-20 David S. Miller <davem@davemloft.net>
5571 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5572 both binutils and gcc support GOTDATA.
5574 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5575 "rd %pc" in the PIC register setup sequences.
5577 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5578 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5579 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5580 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5581 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5583 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5584 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5586 (SYSCALL_ERROR_HANDLER): Likewise.
5587 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5588 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5590 (SYSCALL_ERROR_HANDLER): Likewise.
5592 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5593 (HAVE_GCC_GOTDATA): New.
5594 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5595 relocation support in both binutils and gcc.
5596 * sysdeps/sparc/elf/configure: Regenerate.
5598 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5599 * sysdeps/sparc/sparc32/elf/configure: Delete.
5600 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5601 * sysdeps/sparc/sparc64/elf/configure: Delete.
5602 * sysdeps/sparc/elf/configure.in: New file.
5603 * sysdeps/sparc/elf/configure: Generate.
5605 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5606 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5607 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5608 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5609 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5611 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5613 * manual/install.texi: Do not mention specific glibc version
5615 * manual/libc.texinfo (VERSION, UPDATED): Update.
5616 (@copying): Use @copyright{} and range of years.
5618 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5621 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5622 [crti.S not in sysdirs] (generated): Do not append.
5623 [crti.S not in sysdirs] (omit-deps): Likewise.
5624 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5625 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5626 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5627 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5628 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5630 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5631 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5632 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5633 * csu/defs.awk: Remove file.
5634 * sysdeps/generic/initfini.c: Likewise.
5635 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5637 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5640 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5642 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5643 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5644 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5645 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5646 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5647 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5649 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5650 (__EPOLL_PACKED): Define to empty if not defined by
5652 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5656 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5658 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5659 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5661 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5663 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5667 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5669 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5671 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5672 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5673 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5676 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5678 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5679 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5681 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5683 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5684 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5686 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5688 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5691 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5693 * math/w_acos.c: Use non-signaling floating-point comparisons.
5694 * math/w_acosf.c: Likewise.
5695 * math/w_acosh.c: Likewise.
5696 * math/w_acoshf.c: Likewise.
5697 * math/w_acoshl.c: Likewise.
5698 * math/w_acosl.c: Likewise.
5699 * math/w_asin.c: Likewise.
5700 * math/w_asinf.c: Likewise.
5701 * math/w_asinl.c: Likewise.
5702 * math/w_atanh.c: Likewise.
5703 * math/w_atanhf.c: Likewise.
5704 * math/w_atanhl.c: Likewise.
5705 * math/w_exp2.c: Likewise.
5706 * math/w_exp2f.c: Likewise.
5707 * math/w_exp2l.c: Likewise.
5708 * math/w_j0.c: Likewise.
5709 * math/w_j0f.c: Likewise.
5710 * math/w_j0l.c: Likewise.
5711 * math/w_j1.c: Likewise.
5712 * math/w_j1f.c: Likewise.
5713 * math/w_j1l.c: Likewise.
5714 * math/w_jn.c: Likewise.
5715 * math/w_jnf.c: Likewise.
5716 * math/w_log.c: Likewise.
5717 * math/w_log10.c: Likewise.
5718 * math/w_log10f.c: Likewise.
5719 * math/w_log10l.c: Likewise.
5720 * math/w_log2.c: Likewise.
5721 * math/w_log2f.c: Likewise.
5722 * math/w_log2l.c: Likewise.
5723 * math/w_logf.c: Likewise.
5724 * math/w_logl.c: Likewise.
5725 * math/w_sqrt.c: Likewise.
5726 * math/w_sqrtf.c: Likewise.
5727 * math/w_sqrtl.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5730 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5731 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5732 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5734 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5737 * manual/string.texi (strnlen): Use correct parameter name in
5738 equivalent expression.
5740 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5743 * manual/users.texi (seteuid): Consistently use neweuid for
5746 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5749 * manual/nss.texi (Services in the NSS configuration): Correct
5750 list of services in example configuration file.
5752 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5755 * manual/arith.texi: Remove statements about negative zero
5756 behaving identically to zero.
5758 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5761 * manual/install.texi: Do not document upgrading from libc5.
5763 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5766 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5768 2012-02-18 David S. Miller <davem@davemloft.net>
5770 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5771 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5772 %o7 across the call.
5773 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5778 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5779 * sysdeps/sparc/crtn.S: Likewise.
5781 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5783 * aout/Makefile: Remove.
5785 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5788 * manual/examples/argp-ex1.c (main): Format definition in GNU
5790 * manual/examples/argp-ex2.c (main): Likewise.
5791 * manual/examples/argp-ex3.c (main): Likewise.
5792 * manual/examples/argp-ex4.c (main): Likewise.
5793 * manual/examples/longopt.c (main): Use new-style prototype
5795 * manual/examples/strncat.c (main): Specify return type and use
5796 (void) for arguments.
5797 * manual/examples/subopt.c (main): Use char **argv argument.
5799 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5802 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5805 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5808 * manual/string.texi (strchr): Change when strchrnul is
5811 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5814 * manual/locale.texi (setlocale): Document LOCPATH.
5816 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5819 * manual/process.texi (execle): Move @dots{} before last argument.
5821 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5824 * manual/charset.texi (Generic Charset Conversion): Fix typo
5825 (LC_TYPE -> LC_CTYPE).
5827 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5830 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5831 (scalbnf): Likewise.
5832 (scalbnl): Likewise.
5833 (scalbln): Likewise.
5834 (scalblnf): Likewise.
5835 (scalblnl): Likewise.
5836 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5840 * manual/filesys.texi (telldir): Use braces around return type.
5841 * manual/llio.texi (mmap): Add space after comma.
5843 * manual/math.texi (jn): Use @var{} on parameter names.
5849 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5851 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5853 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5854 (sched_get_priority_max): Likewise.
5855 * manual/signal.texi (sigvec): Add space after comma.
5856 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5858 (if_indextoname): Likewise.
5859 (if_freenameindex): Likewise.
5860 (sendto): Use ',' instead of '.' in prototype.
5861 * manual/startup.texi (syscall): Use @dots{} instead of literal
5863 * manual/stdio.texi (__fpending): Separate initial words of
5864 paragraph from @deftypefun line.
5865 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5867 (vsyslog): Use @var{} on parameter names.
5868 * manual/terminal.texi (stty): Use @var{} on parameter names.
5869 * manual/users.texi (getutmp): Use @var{} on parameter names.
5870 (getutmpx): Likewise.
5872 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5875 * manual/stdio.texi (fopen): Fix typos in description of
5878 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5881 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5882 get clock_id definition.
5884 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5887 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5888 (madvise): Cast every argument to void on its own.
5890 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5893 * manual/startup.texi (Exit Status): Fix typo.
5895 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5898 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5899 * manual/examples/argp-ex2.c: Likewise.
5900 * manual/examples/argp-ex3.c: Likewise.
5902 2012-02-16 Richard Henderson <rth@redhat.com>
5904 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5905 * sysdeps/s390/s390-32/initfini.c: Remove.
5906 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5907 * sysdeps/s390/s390-64/initfini.c: Remove.
5909 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5911 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5912 compiler output for sysdeps/generic/initfini.c.
5913 * sysdeps/sh/elf/initfini.c: Remove file.
5915 2012-02-16 David S. Miller <davem@davemloft.net>
5918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5920 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5921 * sysdeps/sparc/crti.S: New file.
5922 * sysdeps/sparc/crtn.S: New file.
5923 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5924 * sysdeps/sparc/sparc64/Makefile: Likewise.
5926 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5929 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5931 2012-02-15 Roland McGrath <roland@hack.frob.com>
5934 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5936 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5937 (write, read, close): Likewise.
5938 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5940 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5942 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5943 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5944 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5945 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5947 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5951 2012-02-14 Marek Polacek <polacek@redhat.com>
5953 * sysdeps/x86_64/crti.S: New file.
5954 * sysdeps/x86_64/crtn.S: New file.
5955 * sysdeps/x86_64/elf/initfini.c: Remove file.
5957 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5959 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5960 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5961 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5962 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5964 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5968 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5970 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5971 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5972 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5973 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5975 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5979 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5981 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5982 __feraiseexcept instead of feraiseexcept.
5984 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5985 nanosleep invocations.
5986 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5987 strings, and add error checking for a nanosleep invocations.
5989 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5991 Replace FSF snail mail address with URLs, as per GNU coding standards.
5992 Most of the snail mail addresses were wrong anyway, and omitting
5993 them makes the source code easier to maintain. Almost all of the
5994 changes are to license notices and to locale LC_IDENTIFICATION
5995 addresses, except for this one:
5996 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5997 not its snail mail address.
5999 2012-02-09 Richard Henderson <rth@twiddle.net>
6001 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6002 of kernel-features.h.
6004 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6006 2012-02-08 Marek Polacek <polacek@redhat.com>
6008 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6009 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6010 * sysdeps/gnu/_G_config.h: Likewise.
6011 * sysdeps/generic/_G_config.h: Likewise.
6013 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6015 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6019 * sysdeps/powerpc/powerpc32/crti.S: New file.
6020 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6021 * sysdeps/powerpc/powerpc64/crti.S: New file.
6022 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6024 * Makeconfig (have-initfini): Don't set.
6025 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6026 * configure.in (nopic_initfini): Don't substitute.
6027 * config.h.in (HAVE_INITFINI): Don't #undef.
6028 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6029 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6031 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6033 Support crti.S and crtn.S provided directly by architectures.
6034 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6035 [crti.S in sysdirs] (omit-deps): Likewise.
6036 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6037 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6038 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6039 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6040 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6041 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6042 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6043 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6044 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6045 compiler output for sysdeps/generic/initfini.c.
6046 * sysdeps/i386/elf/Makefile: Remove file.
6047 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6049 2012-02-07 Marek Polacek <polacek@redhat.com>
6051 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6052 * sysdeps/gnu/_G_config.h: Likewise.
6053 * sysdeps/mach/hurd/_G_config.h: Likewise.
6055 2012-02-07 Marek Polacek <polacek@redhat.com>
6057 * math/Makefile (tests): Add tst-CMPLX2.
6058 * math/tst-CMPLX2.c: New file.
6060 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6062 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6064 * math/libm-test.inc (jn_test): Add missing L suffix.
6066 2012-02-06 Marek Polacek <polacek@redhat.com>
6068 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6069 * sysdeps/i386/fpu/e_powf.S: Likewise.
6070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6071 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6072 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6073 * sysdeps/i386/fpu/e_pow.S: Likewise.
6074 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6075 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6076 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6077 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6078 * sysdeps/i386/fpu/e_log2.S: Likewise.
6079 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6080 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6081 * sysdeps/i386/fpu/e_powl.S: Likewise.
6082 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6083 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6084 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6085 * sysdeps/i386/fpu/e_logl.S: Likewise.
6086 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6087 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6088 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6089 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6090 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6091 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6092 * sysdeps/i386/fpu/e_log.S: Likewise.
6093 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6094 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6095 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6096 * sysdeps/i386/fpu/e_logf.S: Likewise.
6097 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6099 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6100 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6101 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6102 * sysdeps/i386/fpu/e_log10.S: Likewise.
6103 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6104 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6105 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6106 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6107 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6108 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6109 * sysdeps/i386/asm-syntax.h: Likewise.
6110 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6112 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6113 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6114 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6115 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6116 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6117 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6118 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6119 * sysdeps/powerpc/sysdep.h: Likewise.
6120 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6121 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6123 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6126 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6128 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6130 * sysdeps/i386/sysdep.h: Include <features.h>.
6131 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6134 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6136 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6138 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6141 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6143 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6144 (SETUP_PIC_REG): Use GET_PC_THUNK.
6145 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6148 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6150 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6151 for non-PIC compilation.
6152 (SETUP_PIC_REG): Add .p2align directive.
6153 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6154 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6155 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6156 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6157 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6158 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6159 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6160 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6161 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6162 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6163 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6164 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6165 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6166 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6167 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6168 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6169 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6170 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6171 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6172 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6173 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6174 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6175 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6176 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6177 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6179 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6180 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6181 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6182 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6183 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6184 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6185 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6186 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6187 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6188 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6189 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6190 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6191 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6192 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6193 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6195 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6197 * math/tst-CMPLX.c: Include <stdio.h>.
6199 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6201 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6203 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6204 * sysdeps/sparc/bits/mathdef.h: Likewise.
6206 2012-01-31 Marek Polacek <polacek@redhat.com>
6208 * libio/libio.h: Don't define _PARAMS.
6209 * locale/programs/config.h: Don't define PARAMS.
6210 * stdlib/strtol_l.c: Likewise.
6211 (__strtol_l): Remove PARAMS from the prototype.
6213 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6215 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6216 names. Just use the correct names. Remove unnecessary wrapper
6218 * malloc/arena.c: Likewise.
6219 * malloc/hooks.c: Likewise.
6221 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6222 ARENA_TEST says not to. Simplify test for creation of a new arena.
6223 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6225 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6227 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6229 (update_get_addr): New function.
6230 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6231 GET_ADDR_MODULE parameter.
6233 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6235 * crypt/cert.c: Remove __STDC__ conditionals.
6236 * crypt/crypt-entry.c: Likewise.
6237 * crypt/crypt_util.c: Likewise.
6238 * libio/filedoalloc.c: Likewise.
6239 * libio/fileops.c: Likewise.
6240 * libio/genops.c: Likewise.
6241 * libio/iofclose.c: Likewise.
6242 * libio/iofdopen.c: Likewise.
6243 * libio/iofopen.c: Likewise.
6244 * libio/iofopen64.c: Likewise.
6245 * libio/iogetdelim.c: Likewise.
6246 * libio/iopopen.c: Likewise.
6247 * libio/obprintf.c: Likewise.
6248 * libio/oldfileops.c: Likewise.
6249 * libio/oldiofclose.c: Likewise.
6250 * libio/oldiofdopen.c: Likewise.
6251 * libio/oldiofopen.c: Likewise.
6252 * libio/oldiopopen.c: Likewise.
6253 * libio/wfiledoalloc.c: Likewise.
6254 * libio/wgenops.c: Likewise.
6255 * locale/programs/xmalloc.c: Likewise.
6256 * misc/syslog.c: Likewise.
6257 * stdio-common/xbug.c: Likewise.
6258 * string/memchr.c: Likewise.
6259 * string/memcmp.c: Likewise.
6260 * string/memrchr.c: Likewise.
6261 * string/rawmemchr.c: Likewise.
6262 * sysdeps/posix/getcwd.c: Likewise.
6263 * time/strftime_l.c: Likewise.
6265 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6267 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6268 * config.make.in (config-cflags-sse2avx): Define.
6269 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6272 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6274 * scripts/config.guess: Update from upstream config git repository.
6275 * scripts/config.sub: Likewise.
6277 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6279 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6281 (R_TILEPRO_*, R_TILEGX_*): New macros.
6283 * scripts/firstversions.awk: Fix bug in version range handling.
6285 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6287 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6289 * include/sys/epoll.h: New file.
6290 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6293 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6295 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6296 Avoid unnecessary __WORDSIZE == 64 test.
6297 (fmaxf): Use VEX format if possible.
6302 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6303 * math/math_private.h: Remove libc_fegetround* and
6305 * sysdeps/i386/configure.in: Check for -msse2avx.
6306 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6307 also if SSE2AVX is defined.
6308 Remove libc_fegetround* and libc_fesetround*.
6309 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6310 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6311 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6313 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6314 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6315 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6316 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6317 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6319 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6321 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6325 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6327 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6330 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6332 * Makeconfig (libm): Define.
6333 * elf/Makefile: Add rules to build and run tst-relsort1.
6334 * elf/tst-relsort1.c: New file.
6335 * elf/tst-relsort1mod1.c: New file.
6336 * elf/tst-relsort1mod2.c: New file.
6338 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6340 * math/s_ldexp.c: Remove __STDC__ conditionals.
6341 * math/s_ldexpf.c: Likewise.
6342 * math/s_ldexpl.c: Likewise.
6343 * math/s_nextafter.c: Likewise.
6344 * math/s_nexttowardf.c: Likewise.
6345 * math/s_significand.c: Likewise.
6346 * math/s_significandf.c: Likewise.
6347 * math/s_significandl.c: Likewise.
6348 * math/w_jnl.c: Likewise.
6349 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6350 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6351 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6352 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6353 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6368 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6369 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6370 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6371 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6372 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6373 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6374 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6375 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6376 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6377 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6378 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6379 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6380 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6381 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6382 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6383 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6384 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6385 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6386 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6387 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6388 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6389 * sysdeps/ieee754/k_standard.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6451 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6456 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6464 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6465 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6469 * sysdeps/ieee754/s_matherr.c: Likewise.
6470 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6471 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6472 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6473 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6475 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6477 * crypt/md5.h: Remove __STDC__ conditionals.
6478 * libio/libioP.h: Likewise.
6479 * locale/programs/config.h: Likewise.
6480 * sysdeps/generic/sysdep.h: Likewise.
6481 * sysdeps/i386/asm-syntax.h: Likewise.
6482 * sysdeps/s390/asm-syntax.h: Likewise.
6483 * sysdeps/unix/sysdep.h: Likewise.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6487 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6489 * libio/libio.h: Remove __STDC__ conditionals.
6490 * malloc/obstack.h: Likewise.
6491 * math/complex.h: Likewise.
6492 * math/math.h: Likewise.
6493 * sysdeps/generic/_G_config.h: Likewise.
6494 * sysdeps/gnu/_G_config.h: Likewise.
6495 * sysdeps/mach/hurd/_G_config.h: Likewise.
6496 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6497 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6498 * sysdeps/sparc/bits/mathdef.h: Likewise.
6500 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6503 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6504 Clean up HAS_* macros.
6505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6506 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6508 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6510 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6511 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6512 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6514 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6516 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6518 * elf/tst-unique3.cc (gets): Remove declaration.
6519 * elf/tst-unique3lib.cc (gets): Likewise.
6520 * elf/tst-unique3lib2.cc (gets): Likewise.
6521 * elf/tst-unique4.cc (gets): Likewise.
6523 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6525 * include/stdio.h: Add C++ protection. Add gets declarations and
6527 * debug/tst-chk1.c: Don't declare gets here.
6528 * stdio-common/tst-gets.c: Likewise.
6530 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6532 * posix/glob: Remove directory.
6534 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6536 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6538 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6540 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6541 of the non-standard EPFNOSUPPORT.
6543 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6545 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6546 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6547 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6549 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6551 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6553 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6555 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6557 * nscd/grpcache.c (cache_addgr): Likewise.
6558 * nscd/hstcache.c (cache_addhst): Likewise.
6559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6560 * nscd/pwdcache.c (cache_addpw): Likewise.
6561 * nscd/servicescache.c (cache_addserv): Likewise.
6563 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6565 * malloc/malloc.c: Various cleanups.
6566 * malloc/hooks.c: Likewise.
6568 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6569 * stdlib/bug-fmtmsg1.c: New file.
6571 * stdlib/fmtmsg.c (init): Add missing unlock.
6572 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6574 2012-01-12 Marek Polacek <polacek@redhat.com>
6576 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6579 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6581 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6582 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6583 macro to ensure uniqueness of label name.
6584 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6585 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6587 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6589 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6591 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6592 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6593 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6596 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6598 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6600 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6601 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6602 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6604 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6606 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6607 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6608 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6611 * math/bits/math-finite.h: Add ldexp support.
6613 2012-01-10 Marek Polacek <polacek@redhat.com>
6615 * locale/programs/localedef.h (show_archive_content): Add noreturn
6618 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6620 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6622 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6624 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6626 * io/Makefile (headers): Add bits/poll2.h.
6628 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6631 typo #include statement.
6633 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6635 * include/sys/cdefs.h: Define __attribute_alloc_size.
6636 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6637 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6638 * elf/pldd.c: Likewise.
6639 * iconv/iconv_charmap.c: Likewise.
6640 * iconv/iconvconfig.c: Likewise.
6641 * iconv/strtab.c: Likewise.
6642 * locale/programs/locale.c: Likewise.
6643 * locale/programs/localedef.h: Likewise.
6644 * locale/programs/simple-hash.c: Likewise.
6645 * nscd/nscd.h: Likewise.
6646 * nss/makedb.c: Likewise.
6647 * sysdeps/generic/ldconfig.h: Likewise.
6648 * locale/programs/localedef.c: Remove xmalloc prototype.
6649 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6651 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6653 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6656 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6658 * math/Makefile (tests): Add tst-CMPLX.
6659 * math/tst-CMPLX.c: New file.
6661 * math/complex.h (CMPLXL): Fix typo.
6663 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6664 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6666 * debug/tst-chk1.c: Add poll and ppoll tests.
6667 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6668 * include/sys/poll.h: Add hidden proto for ppoll.
6669 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6670 * sysdeps/mach/hurd/ppoll.c: Likewise.
6671 * io/ppoll.c: Likewise.
6672 * debug/poll_chk.c: New file.
6673 * debug/ppoll_chk.c: New file.
6674 * include/bits/poll2.h: New file.
6675 * io/bits/poll2.h: New file.
6678 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6680 * configure.in: static is always set to yes. Remove.
6681 * config.make.in: Don't set build-static.
6682 * Makeconfig: Remove use of build-static.
6683 * dlfcn/Makefile: Likewise.
6684 * elf/Makefile: Likewise.
6685 * math/Makefile: Likewise.
6686 * misc/Makefile: Likewise.
6687 * nptl/Makefile: Likewise.
6688 * sysdeps/mach/hurd/Makefile: Likewise.
6690 * configure.in: PWD_P is not used anymore.
6691 * config.make.in: Remove PWD_P entry.
6693 * configure.in: Remove last remnants of RANLIB.
6694 No need to check for signed size_t anymore.
6695 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6697 Remove __builtin_expect test because we require at least gcc 3.4.
6698 * aclocal.m4: Likewise.
6700 * wcsmbs/mbrtoc16.c: Implement using towc function.
6701 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6702 * wcsmbs/wcsmbsload.c: Likewise.
6703 * iconv/gconv_simple.c: Likewise.
6704 * iconv/gconv_int.h: Likewise.
6705 * iconv/gconv_builtin.h: Likewise.
6706 * iconv/iconv_prog.c: Remove CHAR16 handling.
6708 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6710 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6712 * configure.in: Remove --with-elf and --enable-bounded options.
6713 Dont set base_machine for ia64. More non-ELF conditions removed.
6714 Remove testing and setting of leading underscore information.
6715 * config.make.in (build-bounded): Set to no.
6716 * config.h.in: Remove NO_UNDERSCORES entry.
6717 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6719 * csu/start.c: Remove !NO_UNDERSCORE code.
6720 * locale/localeinfo.h: Likewise.
6721 * sysdeps/generic/machine-gmon.h: Likewise.
6722 * sysdeps/generic/sysdep.h: Likewise.
6723 * sysdeps/i386/sysdep.h: Likewise.
6724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6725 * sysdeps/mach/sysdep.h: Likewise.
6726 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6727 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6728 * sysdeps/sh/sysdep.h: Likewise.
6729 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6730 * sysdeps/unix/i386/sysdep.S: Likewise.
6731 * sysdeps/unix/sparc/start.c: Likewise.
6732 * sysdeps/unix/sparc/sysdep.S: Likewise.
6733 * sysdeps/unix/sparc/sysdep.h: Likewise.
6734 * sysdeps/unix/start.c: Likewise.
6735 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6736 * sysdeps/x86_64/sysdep.h: Likewise.
6738 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6741 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6743 * argp/argp-fmtstream.h: Use const instead __const.
6744 * argp/argp.h: Likewise.
6745 * assert/assert.h: Likewise.
6746 * bits/fenv.h: Likewise.
6747 * bits/sched.h: Likewise.
6748 * bits/sigset.h: Likewise.
6749 * bits/sigthread.h: Likewise.
6750 * catgets/nl_types.h: Likewise.
6751 * conform/data/pthread.h-data: Likewise.
6752 * crypt/crypt-private.h: Likewise.
6753 * crypt/crypt.h: Likewise.
6754 * crypt/crypt_util.c: Likewise.
6755 * ctype/ctype.h: Likewise.
6756 * debug/execinfo.h: Likewise.
6757 * debug/mbsnrtowcs_chk.c: Likewise.
6758 * debug/mbsrtowcs_chk.c: Likewise.
6759 * debug/wcsnrtombs_chk.c: Likewise.
6760 * debug/wcsrtombs_chk.c: Likewise.
6761 * debug/wcstombs_chk.c: Likewise.
6762 * dirent/dirent.h: Likewise.
6763 * dlfcn/dlfcn.h: Likewise.
6764 * elf/neededtest4.c: Likewise.
6765 * grp/grp.h: Likewise.
6766 * gshadow/gshadow.h: Likewise.
6767 * iconv/gconv.h: Likewise.
6768 * iconv/gconv_int.h: Likewise.
6769 * iconv/gconv_simple.c: Likewise.
6770 * iconv/iconv.h: Likewise.
6771 * iconv/loop.c: Likewise.
6772 * iconv/skeleton.c: Likewise.
6773 * include/aio.h: Likewise.
6774 * include/aliases.h: Likewise.
6775 * include/argz.h: Likewise.
6776 * include/arpa/inet.h: Likewise.
6777 * include/assert.h: Likewise.
6778 * include/dirent.h: Likewise.
6779 * include/dlfcn.h: Likewise.
6780 * include/execinfo.h: Likewise.
6781 * include/fcntl.h: Likewise.
6782 * include/fenv.h: Likewise.
6783 * include/glob.h: Likewise.
6784 * include/grp.h: Likewise.
6785 * include/libintl.h: Likewise.
6786 * include/mntent.h: Likewise.
6787 * include/netdb.h: Likewise.
6788 * include/pwd.h: Likewise.
6789 * include/rpc/netdb.h: Likewise.
6790 * include/sched.h: Likewise.
6791 * include/search.h: Likewise.
6792 * include/shadow.h: Likewise.
6793 * include/signal.h: Likewise.
6794 * include/stdio.h: Likewise.
6795 * include/stdlib.h: Likewise.
6796 * include/string.h: Likewise.
6797 * include/sys/socket.h: Likewise.
6798 * include/sys/stat.h: Likewise.
6799 * include/sys/statfs.h: Likewise.
6800 * include/sys/statvfs.h: Likewise.
6801 * include/sys/syslog.h: Likewise.
6802 * include/sys/time.h: Likewise.
6803 * include/sys/uio.h: Likewise.
6804 * include/time.h: Likewise.
6805 * include/unistd.h: Likewise.
6806 * include/utmp.h: Likewise.
6807 * include/wchar.h: Likewise.
6808 * include/wctype.h: Likewise.
6809 * inet/aliases.h: Likewise.
6810 * inet/arpa/inet.h: Likewise.
6811 * inet/netinet/ether.h: Likewise.
6812 * inet/netinet/in.h: Likewise.
6813 * intl/libintl.h: Likewise.
6814 * io/bits/fcntl2.h: Likewise.
6815 * io/fcntl.h: Likewise.
6816 * io/ftw.h: Likewise.
6817 * io/sys/poll.h: Likewise.
6818 * io/sys/stat.h: Likewise.
6819 * io/sys/statfs.h: Likewise.
6820 * io/sys/statvfs.h: Likewise.
6821 * io/utime.h: Likewise.
6822 * libio/bits/stdio.h: Likewise.
6823 * libio/bits/stdio2.h: Likewise.
6824 * libio/libio.h: Likewise.
6825 * libio/libioP.h: Likewise.
6826 * libio/stdio.h: Likewise.
6827 * locale/lc-ctype.c: Likewise.
6828 * locale/locale.h: Likewise.
6829 * login/utmp.h: Likewise.
6830 * malloc/arena.c: Likewise.
6831 * malloc/malloc.c: Likewise.
6832 * malloc/malloc.h: Likewise.
6833 * malloc/mcheck.c: Likewise.
6834 * malloc/mtrace.c: Likewise.
6835 * math/bits/mathcalls.h: Likewise.
6836 * math/fenv.h: Likewise.
6837 * math/math_private.h: Likewise.
6838 * misc/bits/error.h: Likewise.
6839 * misc/bits/syslog.h: Likewise.
6840 * misc/err.h: Likewise.
6841 * misc/error.h: Likewise.
6842 * misc/fstab.h: Likewise.
6843 * misc/mntent.h: Likewise.
6844 * misc/regexp.h: Likewise.
6845 * misc/search.h: Likewise.
6846 * misc/sgtty.h: Likewise.
6847 * misc/sys/mman.h: Likewise.
6848 * misc/sys/syslog.h: Likewise.
6849 * misc/sys/uio.h: Likewise.
6850 * misc/sys/xattr.h: Likewise.
6851 * misc/ttyent.h: Likewise.
6852 * nis/rpcsvc/ypclnt.h: Likewise.
6853 * nss/nss.h: Likewise.
6854 * posix/bits/unistd.h: Likewise.
6855 * posix/fnmatch.h: Likewise.
6856 * posix/glob.h: Likewise.
6857 * posix/sched.h: Likewise.
6858 * posix/spawn.h: Likewise.
6859 * posix/sys/wait.h: Likewise.
6860 * posix/unistd.h: Likewise.
6861 * posix/wordexp.h: Likewise.
6862 * pwd/pwd.h: Likewise.
6863 * resolv/netdb.h: Likewise.
6864 * resource/sys/resource.h: Likewise.
6865 * rt/aio.h: Likewise.
6866 * rt/bits/mqueue2.h: Likewise.
6867 * rt/mqueue.h: Likewise.
6868 * shadow/shadow.h: Likewise.
6869 * signal/signal.h: Likewise.
6870 * socket/send.c: Likewise.
6871 * socket/sendto.c: Likewise.
6872 * socket/sys/socket.h: Likewise.
6873 * stdio-common/printf.h: Likewise.
6874 * stdlib/bits/stdlib.h: Likewise.
6875 * stdlib/fmtmsg.h: Likewise.
6876 * stdlib/monetary.h: Likewise.
6877 * stdlib/stdlib.h: Likewise.
6878 * stdlib/ucontext.h: Likewise.
6879 * streams/stropts.h: Likewise.
6880 * string/argz.h: Likewise.
6881 * string/bits/string2.h: Likewise.
6882 * string/string.h: Likewise.
6883 * string/strings.h: Likewise.
6884 * sunrpc/rpc/auth.h: Likewise.
6885 * sunrpc/rpc/auth_des.h: Likewise.
6886 * sunrpc/rpc/clnt.h: Likewise.
6887 * sunrpc/rpc/netdb.h: Likewise.
6888 * sunrpc/rpc/pmap_clnt.h: Likewise.
6889 * sunrpc/rpc/xdr.h: Likewise.
6890 * sysdeps/generic/inttypes.h: Likewise.
6891 * sysdeps/generic/net/if.h: Likewise.
6892 * sysdeps/generic/sys/swap.h: Likewise.
6893 * sysdeps/gnu/net/if.h: Likewise.
6894 * sysdeps/gnu/utmpx.h: Likewise.
6895 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6896 * sysdeps/i386/i486/bits/string.h: Likewise.
6897 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6898 * sysdeps/s390/bits/string.h: Likewise.
6899 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6900 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6901 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6902 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6903 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6904 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6905 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6906 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6907 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6908 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6909 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6910 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6911 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6912 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6913 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6914 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6915 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6917 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6920 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6921 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6922 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6923 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6924 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6925 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6926 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6927 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6928 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6929 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6930 * sysvipc/sys/ipc.h: Likewise.
6931 * sysvipc/sys/msg.h: Likewise.
6932 * sysvipc/sys/sem.h: Likewise.
6933 * sysvipc/sys/shm.h: Likewise.
6934 * termios/termios.h: Likewise.
6935 * time/sys/time.h: Likewise.
6936 * time/time.h: Likewise.
6937 * wcsmbs/bits/wchar2.h: Likewise.
6938 * wcsmbs/uchar.h: Likewise.
6939 * wcsmbs/wchar.h: Likewise.
6940 * wctype/wctype.h: Likewise.
6943 * Makeconfig: Remove all but ELF support including AIX support.
6944 * Makerules: Likewise.
6945 * config.h.in: Likewise.
6946 * config.make.in: Likewise.
6947 * configure: Likewise.
6948 * configure.in: Likewise.
6949 * csu/Makefile: Likewise.
6950 * csu/version.c: Likewise.
6951 * debug/Makefile: Likewise.
6952 * dlfcn/Makefile: Likewise.
6953 * elf/Makefile: Likewise.
6954 * extra-lib.mk: Likewise.
6955 * iconv/Makefile: Likewise.
6956 * include/libc-symbols.h: Likewise.
6957 * include/shlib-compat.h: Likewise.
6958 * resolv/Makefile: Likewise.
6959 * resolv/res_libc.c: Likewise.
6960 * rt/Makefile: Likewise.
6961 * sysdeps/i386/asm-syntax.h: Likewise.
6962 * sysdeps/i386/sysdep.h: Likewise.
6963 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6964 * sysdeps/mach/sysdep.h: Likewise.
6965 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6966 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6967 * sysdeps/s390/asm-syntax.h: Likewise.
6968 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6969 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6970 * sysdeps/sh/sysdep.h: Likewise.
6971 * sysdeps/unix/sparc/sysdep.h: Likewise.
6972 * sysdeps/wordsize-32/divdi3.c: Likewise.
6973 * sysdeps/x86_64/sysdep.h: Likewise.
6975 * argp/Versions: Remove _argp_unlock_xxx.
6978 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6979 * abilist/libBrokenLocale.abilist: Likewise.
6980 * abilist/libanl.abilist: Likewise.
6981 * abilist/libc.abilist: Likewise.
6982 * abilist/libcrypt.abilist: Likewise.
6983 * abilist/libdl.abilist: Likewise.
6984 * abilist/libm.abilist: Likewise.
6985 * abilist/libnsl.abilist: Likewise.
6986 * abilist/libpthread.abilist: Likewise.
6987 * abilist/libresolv.abilist: Likewise.
6988 * abilist/librt.abilist: Likewise.
6989 * abilist/libthread_db.abilist: Likewise.
6990 * abilist/libutil.abilist: Likewise.
6991 * abilist/libnss_db.abilist: New file.
6993 * scripts/abilist.awk: Add support for indirect functions.
6995 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6997 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6999 * shlib-versions: Remove entries for ports architectures.
7001 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7003 * elf/stackguard-macros.h: Remove support for IA-64.
7004 * elf/tst-auditmod1.c: Likewise.
7005 * sysdeps/generic/ldsodefs.h: Likewise.
7007 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7008 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7012 * configure.in: Remove --enable-omitfp support.
7014 * config.make.in: Likewise.
7015 * Makeconfig: Likewise.
7016 * manual/install.texi: Likewise.
7018 In case anyone cares, the IA-64 architecture could move to ports.
7019 * sysdeps/ia64/*: Removed.
7020 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7021 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7024 * configure.in: Remove entries for unsupported architectures.
7027 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7028 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7030 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7031 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7032 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7033 fall back to using wcrtomb.
7034 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7035 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7037 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7038 * wcsmbs/tst-c16c32-1.c: New file.
7040 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7043 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7045 * elf/tst-unique3.cc: Add explicit declaration of gets.
7046 * elf/tst-unique3lib.cc: Likewise.
7047 * elf/tst-unique3lib2.cc: Likewise.
7048 * elf/tst-unique4.cc: Likewise.
7050 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7052 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7055 * assert/assert.h (static_assert): Don't define for C++.
7056 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7057 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7059 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7061 * iconv/loop.c (single loop): Fix assertion in storing of
7064 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7066 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7068 * posix/getconf.c: Update copyright year.
7069 * nss/getent.c: Likewise.
7070 * nss/makedb.c: Likewise.
7071 * iconv/iconvconfig.c: Likewise.
7072 * iconv/iconv_prog.c: Likewise.
7073 * elf/ldconfig.c: Likewise.
7074 * elf/pldd.c: Likewise.
7075 * elf/sotruss.ksh: Likewise.
7076 * catgets/gencat.c: Likewise.
7077 * csu/version.c: Likewise.
7078 * elf/ldd.bash.in: Likewise.
7079 * elf/sprof.c (print_version): Likewise.
7080 * locale/programs/locale.c: Likewise.
7081 * locale/programs/localedef.c: Likewise.
7082 * login/programs/pt_chown.c: Likewise.
7083 * nscd/nscd.c (print_version): Likewise.
7084 * debug/xtrace.sh: Likewise.
7085 * malloc/memusage.sh: Likewise.
7086 * malloc/mtrace.pl: Likewise.
7087 * debug/catchsegv.sh: Likewise.
7089 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7091 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7094 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7097 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7098 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7100 * iconv/gconv_int.h: Likewise.
7101 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7102 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7103 from libc for GLIBC_2.16.
7104 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7105 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7106 * wcsmbs/uchar.h: Really define mbstate_t.
7107 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7108 * wcsmbs/c16rtomb.c: New file.
7109 * wcsmbs/mbrtoc16.c: New file.
7110 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7112 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7113 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7115 * wcsmbs/wchar.h: Add missing __restrict.
7117 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7120 * time/Makefile (routines): Add timespec_get.
7121 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7122 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7123 timespec for ISO C11.
7124 * time/timespec_get.c: New file.
7125 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7126 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7129 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7130 * stdlib/stdlib.h: Declare aligned_alloc.
7131 * Versions.def: Add GLIBC_2.16 for libc.
7132 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7135 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7138 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7142 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7145 * assert/assert.h (static_assert): Define.
7147 * version.h: Update for 2.16 development version.
7150 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7153 * version.h (RELEASE): Bump for 2.15 release.
7154 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7156 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7157 Patch by Marek Polacek <mpolacek@redhat.com>.
7159 * bits/byteswap.h: Protect long long constants with __extension__.
7160 * sysdeps/i386/bits/byteswap.h: Likewise.
7161 * sysdeps/ia64/bits/byteswap.h: Likewise.
7162 * sysdeps/s390/bits/byteswap.h: Likewise.
7163 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7165 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7170 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7172 2011-12-23 Marek Polacek <polacek@redhat.com>
7174 * elf/dl-addr.c (determine_info): Add inline keyword.
7175 * elf/tst-auditmod4b.c (check_avx): Likewise.
7176 * elf/tst-auditmod6b.c (check_avx): Likewise.
7177 * elf/tst-auditmod6c.c (check_avx): Likewise.
7178 * elf/tst-auditmod7b.c (check_avx): Likewise.
7180 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7182 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7185 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7188 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7189 processing for last bytes.
7191 2011-08-06 Bruno Haible <bruno@clisp.org>
7194 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7195 U+0385, not to U+1FEE.
7198 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7199 entry for U+00A5 U+0301.
7201 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7204 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7205 buffer for the output is too small.
7207 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7211 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7212 SSE flags if possible.
7214 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7217 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7218 processing for last bytes.
7220 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7222 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7223 (syscall-list-default-options, syscall-list-default-condition)
7224 (syscall-list-includes): Define.
7225 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7226 list of ABIs and options and #if conditions for each ABI. Do not
7227 handle common syscalls between ABIs specially.
7228 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7230 (syscall-list-variants, syscall-list-32bit-options)
7231 (syscall-list-32bit-condition, syscall-list-64bit-options)
7232 (syscall-list-64bit-condition): Define.
7233 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7234 (syscall-list-variants, syscall-list-32bit-options)
7235 (syscall-list-32bit-condition, syscall-list-64bit-options)
7236 (syscall-list-64bit-condition): Define.
7237 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7239 (syscall-list-variants, syscall-list-32bit-options)
7240 (syscall-list-32bit-condition, syscall-list-64bit-options)
7241 (syscall-list-64bit-condition): Define.
7242 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7244 (syscall-list-variants, syscall-list-32bit-options)
7245 (syscall-list-32bit-condition, syscall-list-64bit-options)
7246 (syscall-list-64bit-condition): Define.
7248 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7250 * locale/iso-639.def: Add brx entry.
7253 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7254 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7256 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7257 __feraiseexcept_renamed.
7259 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7262 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7263 EPOLLET with unsigned values.
7264 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7265 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7267 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7268 to large cancellation.
7269 * math/s_cacoshf.c: Likewise.
7270 * math/s_cacoshl.c: Likewise.
7272 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7276 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7277 * math/s_cacoshf.c: Likewise.
7278 * math/s_cacoshl.c: Likewise.
7280 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7283 * iconv/gconv.h: Define __GCONV_SWAP.
7284 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7285 * iconvdata/utf-16.c: Likewise.
7286 * iconvdata/utf-32.c: Likewise.
7288 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7291 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7292 numerator after shifting it by one limb.
7294 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7296 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7297 under [__USE_EXTERN_INLINES].
7299 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7302 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7304 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7306 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7307 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7309 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7310 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7311 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7312 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7313 for strncasecmp/strncasecmp_l compilation.
7314 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7315 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7317 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7320 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7323 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7326 * time/tzfile.c (__tzfile_read): Check values from file header.
7328 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7330 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7331 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7332 * powerpc/powerpc32/dl-start.S: Likewise.
7333 * powerpc/powerpc32/elf/start.S: Likewise.
7334 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7335 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7336 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7337 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7338 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7339 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7340 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7341 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7342 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7343 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7344 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7345 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7346 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7347 * powerpc/powerpc32/memset.S: Likewise.
7348 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7349 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7350 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7351 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7352 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7353 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7354 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7355 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7356 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7357 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7358 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7359 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7360 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7362 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7364 * math/libm-test.inc: Added more nearbyint tests.
7365 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7366 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7367 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7368 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7370 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7372 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7375 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7377 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7378 Add wcscpy-ssse3 wcscpy-c.
7379 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7380 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7381 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7382 * sysdeps/x86_64/wcschr.S: New file.
7383 * sysdeps/x86_64/wcsrchr.S: New file.
7384 * string/test-strcmp.c: Remove checking of wcscmp function for
7386 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7387 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7388 wcsrchr-sse2 wcsrchr-c.
7389 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7390 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7391 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7392 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7393 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7394 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7395 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7396 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7397 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7398 * wcsmbc/wcschr.c (WCSCHR): New macro.
7400 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7402 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7403 * wcsmbs/test-wcsrchr.c: New file.
7404 * string/test-strrchr.c: Add wcsrchr support.
7406 * wcsmbs/test-wcscpy.c: New file.
7407 * string/test-strcpy.c: Add wcscpy support.
7410 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7412 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7415 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7418 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7420 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7422 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7423 Minor optimizations.
7425 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7426 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7427 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7429 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7431 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7432 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7433 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7434 for gcc to avoid warnings.
7435 * inet/Makefile (tests): Add tst-checks.
7436 * inet/tst-checks.c: New file.
7438 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7441 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7444 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7445 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7447 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7449 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7451 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7454 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7456 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7458 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7459 conditional on GCC version.
7460 (__arch_compare_and_exchange_val_8_acq)
7461 (__arch_compare_and_exchange_val_16_acq)
7462 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7463 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7464 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7466 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7468 * sysdeps/sh/backtrace.c: New file.
7470 2011-12-02 Andreas Schwab <schwab@redhat.com>
7472 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7475 2011-12-01 Andreas Schwab <schwab@redhat.com>
7477 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7478 falling back to utime.
7480 2011-11-30 Andreas Schwab <schwab@redhat.com>
7482 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7483 expectations for float.
7485 2011-11-29 Andreas Schwab <schwab@redhat.com>
7487 * locale/weight.h (findidx): Add parameter len.
7488 * locale/weightwc.h (findidx): Likewise.
7489 * posix/fnmatch_loop.c (FCT): Adjust caller.
7490 * posix/regcomp.c (build_equiv_class): Likewise.
7491 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7492 * posix/regexec.c (check_node_accept_bytes): Likewise.
7493 * string/strcoll_l.c (STRCOLL): Likewise.
7494 * string/strxfrm_l.c (STRXFRM): Likewise.
7496 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7498 * Makefile.in: Remove CVSOPT handling.
7499 * configure.in: Remove use of AC_REVISION.
7500 * iconvdata/Makefile (distribute): No need to filter out CVS.
7501 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7504 2011-11-16 Andreas Schwab <schwab@redhat.com>
7506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7507 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7508 [USE_AS_STRNCASECMP_L]: Likewise.
7509 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7510 NO_TLS_DIRECT_SEG_REFS.
7511 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7512 Fix argument offsets for non-PIC.
7513 [USE_AS_STRNCASECMP_L]: Likewise.
7514 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7515 NO_TLS_DIRECT_SEG_REFS.
7517 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7519 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7521 * locale/loadlocale.c (_nl_load_locale): Likewise.
7523 2011-11-15 Andreas Schwab <schwab@redhat.com>
7525 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7526 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7527 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7528 (SYSCALL_GETTIME): Set errno on error.
7530 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7531 count references to noai6ai_cached.
7533 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7535 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7537 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7538 FD_CLOEXEC for /proc/self/maps.
7540 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7541 FD_CLOEXEC for /proc/meminfo.
7543 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7546 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7547 FD_CLOEXEC for given file.
7549 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7551 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7552 FD_CLOEXEC for /etc/hosts.
7553 (_gethtent): Likewise.
7555 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7557 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7558 cancellation and set FD_CLOEXEC for /etc/netgroup.
7560 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7561 reading /etc/publickey.
7563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7564 allow cancellation when reading /etc/group.
7566 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7568 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7570 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7571 when using data file.
7573 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7575 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7576 (write_nis_obj): Use "c" and "e" in fopen.
7578 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7580 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7582 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7584 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7586 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7589 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7591 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7593 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7595 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7596 file parsing and set FD_CLOEXEC.
7598 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7600 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7602 2011-11-14 Andreas Schwab <schwab@redhat.com>
7604 * malloc/arena.c (arena_get2): Don't call reused_arena when
7605 _int_new_arena failed.
7607 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7609 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7610 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7611 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7612 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7613 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7614 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7615 to compile strcasecmp and strncasecmp.
7616 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7617 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7621 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7623 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7624 locale-defines.sym to gen-as-const-headers.
7625 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7626 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7628 to compile strcasecmp and strncasecmp.
7629 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7630 strcasecmp_l and strncasecmp_l.
7631 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7632 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7633 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7634 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7635 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7636 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7637 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7638 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7639 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7640 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7641 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7643 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7645 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7646 result of SYSDEP_GETTIME_CPU to retval.
7647 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7648 parameter list to macro. Remove trailing semicolon. Adjust users.
7650 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7653 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7655 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7657 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7658 from unused variable.
7660 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7662 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7665 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7668 * sunrpc/rpc_prot.c (rejected): Fix case value.
7670 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7671 unsigned long long int to avoid warnings in shift.
7673 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7675 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7678 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7679 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7680 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7682 * nis/nis_table.c (nis_list): Use variable of correct type for
7683 result of __follow_path call.
7685 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7687 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7688 of math functions ceil, trunc, floor, round, and sqrt, when
7689 avaliable on the platform.
7690 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7692 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7693 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7694 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7696 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7698 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7699 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7701 2011-11-11 Roland McGrath <roland@hack.frob.com>
7703 * include/unistd.h: Fix __readlink return type.
7704 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7706 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7708 * stdlib/ucontext.h: Undo last change for makecontext.
7710 2011-11-11 Andreas Schwab <schwab@redhat.com>
7712 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7714 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7715 * setjmp/setjmp.h: Mark functions as non-leaf.
7716 * setjmp/bits/setjmp2.h: Likewise.
7717 * stdlib/ucontext.h: Likewise.
7719 2011-11-10 Andreas Schwab <schwab@redhat.com>
7721 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7722 (reused_arena): Don't check arena limit.
7723 (arena_get2): Atomically check arena limit.
7725 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7727 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7728 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7730 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7733 2011-11-07 Andreas Schwab <schwab@redhat.com>
7735 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7736 handler when locking.
7738 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7739 Fix size of allocated buffer.
7741 2011-11-04 Andreas Schwab <schwab@redhat.com>
7744 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7745 declarations for long double functions.
7746 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7748 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7750 2011-11-03 Andreas Schwab <schwab@redhat.com>
7752 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7755 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7758 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7760 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7762 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7764 * include/alloca.h (stackinfo_alloca_round): Define.
7765 (extend_alloca): Use it.
7766 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7767 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7770 * scripts/check-local-headers.sh: Ignore libaudit.h.
7772 * nscd/Makefile (extra-objs): Make recursively expanded.
7774 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7776 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7777 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7779 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7780 * posix/tst-rfc3484-2.c: Likewise.
7781 * posix/tst-rfc3484-3.c: Likewise.
7783 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7785 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7787 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7788 process_vm_writev from libc using GLIBC_2.15 version.
7790 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7792 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7794 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7797 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7800 * nss/getent.c (initgroups_keys): Show error message in case no group
7803 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7804 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7805 __bump_nl_timestamp.
7806 * nscd/connections (nscd_init): When host database is served open
7807 netlink socket and request notification about configuration changes.
7808 (main_loop_poll): Track netlink file descriptor and bump timestamp
7809 in case data becomes available.
7810 (main_loop_epoll): Likewise.
7811 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7812 (database_pers_head): Add extra_data fileds.
7813 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7814 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7815 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7818 in6ai data, call __free_in6ai.
7819 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7821 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7822 interface information. Reuse previous data if netlink timestamp
7824 (__bump_nl_timestamp): New function.
7825 (__free_in6ai): New function.
7827 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7829 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7830 close_not_cancel_no_status here.
7831 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7833 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7836 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7839 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7840 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7841 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7843 2011-07-03 Andreas Jaeger <aj@suse.de>
7846 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7847 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7848 * math/libm-test.inc (sin_test): Add test case.
7850 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7853 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7854 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7856 * elf/chroot_canon.c (chroot_canon): Cleanups.
7858 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7861 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7862 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7864 * string/test-strchr.c: Make usable for strchrnul testing.
7865 * string/test-strchrnul.c: New file.
7866 * string/Makefile (strop-tests): Add strchrnul.
7868 * po/it.po: Update from translation team.
7869 * po/es.po: Likewise.
7871 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7873 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7874 the three constants needed as parameters. Drop the others.
7875 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7876 __m128i_strloadu_tolower.
7877 Create and initialize variable zero and use it in all the places
7878 where _mm_setzero_si128 was used.
7880 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7881 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7882 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7883 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7885 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7886 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7887 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7888 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7889 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7890 __mpranred, __mptan.
7891 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7892 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7893 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7894 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7895 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7896 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7897 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7898 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7899 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7901 2011-10-28 Andreas Schwab <schwab@redhat.com>
7903 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7905 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7908 wide char related routines to wcsmbs subdir.
7910 2011-10-27 Andreas Schwab <schwab@redhat.com>
7913 * misc/sys/cdefs.h (__THROWNL): Define.
7914 * posix/unistd.h: Use __THREADNL instead of __THREAD
7915 for memory synchronization functions.
7917 2011-10-26 Roland McGrath <roland@hack.frob.com>
7920 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7922 * manual/stdio.texi (Obstack Streams): Node removed.
7924 2011-10-26 Andreas Schwab <schwab@redhat.com>
7926 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7927 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7930 * math/math_private.h (math_force_eval): Allow non-addressable
7932 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7934 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7936 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7939 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7940 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7941 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7942 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7943 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7944 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7945 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7946 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7948 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7949 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7950 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7951 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7952 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7953 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7954 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7955 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7956 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7957 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7958 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7959 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7960 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7961 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7962 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7963 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7964 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7965 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7966 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7968 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7969 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7971 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7972 place. Use VEX encoding when compiling for AVX.
7974 2011-10-25 Andreas Schwab <schwab@redhat.com>
7976 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7977 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7979 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7981 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7983 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7984 useless if() expression.
7985 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7986 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7987 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7988 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7989 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7992 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7994 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7995 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7996 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7997 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7998 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7999 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8000 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8001 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8003 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8005 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8007 2011-10-25 Andreas Schwab <schwab@redhat.com>
8009 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8011 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8013 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8015 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8016 .text section. Avoid duplicate constants.
8017 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8027 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8029 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8032 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8034 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8040 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8041 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8042 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8043 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8044 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8045 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8046 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8047 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8048 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8049 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8050 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8051 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8052 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8053 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8054 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8055 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8056 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8057 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8059 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8060 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8061 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8063 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8065 * sysdeps/x86_64/dla.h: Move to ...
8066 * sysdeps/x86_64/fpu/dla.h: ...here.
8067 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8068 situations. Use __builtin_fma only for gcc 4.6 and up.
8070 * config.make.in: Add have-mfma4 entry.
8071 * configure.in: Substitute libc_cv_cc_fma4.
8072 * math/Makefile (dbl-only-routines): Add sincostab.
8073 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8074 Use __sincostab not sincos.
8075 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8077 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8082 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8083 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8084 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8085 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8087 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8088 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8090 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8091 define aliases when function name is a macro.
8092 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8093 sysdeps/ieee754/dbl-64/sincos.tbl.
8094 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8095 fma4-enabled routines.
8096 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8097 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8098 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8099 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8100 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8101 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8102 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8103 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8104 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8105 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8106 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8107 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8108 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8109 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8110 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8111 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8112 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8113 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8114 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8115 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8116 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8117 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8118 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8119 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8120 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8121 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8122 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8123 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8124 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8125 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8127 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8129 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8138 2011-10-24 Andreas Schwab <schwab@redhat.com>
8140 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8142 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8144 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8146 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8150 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8151 Remove unused variable magic_bits.
8152 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8154 * string/strnlen.c: Define and use STRNLEN macro.
8155 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8156 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8157 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8158 * wcsmbs/wcslen.c: Define and use WCSLEN.
8159 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8160 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8161 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8162 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8163 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8164 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8165 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8167 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8170 strnlen-sse2-no-bsf.
8171 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8173 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8174 Add strnlen support.
8175 (USE_AS_STRNLEN): New macro.
8176 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8177 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8178 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8179 * sysdeps/x86_64/wcslen.S: New file.
8181 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8183 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8184 XMM-moves are used for copying on small sizes.
8186 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8188 * wcsmbs/Makefile (strop-tests): Add wcschr.
8189 * wcsmbs/test-wcschr.c: New file.
8190 * string/test-strchr.c: Update.
8194 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8196 * wcsmbs/Makefile (strop-tests): Add wcslen.
8197 * wcsmbs/test-wcslen.c: New file.
8198 * string/test-strlen.c: Update.
8202 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8204 * po/it.po: Update from translation team.
8206 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8208 * sysdeps/x86_64/wcscmp.S: Update.
8209 Fix wrong comparison semantics.
8210 wcscmp shall use signed comparison not unsigned.
8211 Don't use substraction to avoid overflow bug.
8212 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8213 * wcsmbc/wcscmp.c: Likewise.
8214 * string/test-strcmp.c: Likewise.
8215 Add new tests to check cases with negative values.
8217 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8219 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8220 * sysdeps/x86_64/dla.h: ...here. New file.
8221 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8231 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8234 __ynl_finite aliases.
8236 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8240 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8242 [DLA_FMA] (EMULV): Use DLA_FMA.
8243 [DLA_FMA] (MUL12): Use EMULV.
8244 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8245 that are not needed.
8246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8254 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8256 * math/s_nan.c: Undef __nan.
8257 * math/s_nanf.c: Undef __nanf.
8258 * math/s_nanl.c: Undef __nanl.
8259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8262 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8264 * math/s_catan.c: Add branch predictions.
8265 * math/s_catanf.c: Likewise.
8266 * math/s_catanh.c: Likewise.
8267 * math/s_catanhf.c: Likewise.
8268 * math/s_catanhl.c: Likewise.
8269 * math/s_catanl.c: Likewise.
8270 * math/s_cexp.c: Likewise.
8271 * math/s_cexpf.c: Likewise.
8272 * math/s_cexpl.c: Likewise.
8273 * math/s_clog.c: Likewise.
8274 * math/s_clog10.c: Likewise.
8275 * math/s_clog10f.c: Likewise.
8276 * math/s_clog10l.c: Likewise.
8277 * math/s_clogf.c: Likewise.
8278 * math/s_clogl.c: Likewise.
8279 * math/s_csqrt.c: Likewise.
8280 * math/s_csqrtf.c: Likewise.
8281 * math/s_csqrtl.c: Likewise.
8282 * math/s_ctanf.c: Likewise.
8283 * math/s_ctanh.c: Likewise.
8284 * math/s_ctanhf.c: Likewise.
8285 * math/s_ctanhl.c: Likewise.
8286 * math/s_ctanl.c: Likewise.
8288 * math/math_private.h: Define __nan, __nanf, __nanl.
8289 * math/s_cacosh.c: Include <math_private.h>.
8290 * math/s_cacoshl.c: Likewise.
8291 * math/s_casinh.c: Likewise.
8292 * math/s_casinhf.c: Likewise.
8293 * math/s_casinhl.c: Likewise.
8294 * math/s_ccos.c: Rely entire on ccosh.
8295 * math/s_ccosf.c: Rely entire on ccoshf.
8296 * math/s_ccosl.c: Rely entirely on ccoshl.
8297 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8298 Remove tests for FE_INVALID.
8299 * math/s_ccoshf.c: Likewise.
8300 * math/s_ccoshl.c: Likewise.
8301 * math/s_csin.c: Likewise.
8302 * math/s_csinf.c: Likewise.
8303 * math/s_csinh.c Likewise.
8304 * math/s_csinhf.c: Likewise.
8305 * math/s_csinhl.c: Likewise.
8306 * math/s_csinl.c: Likewise.
8307 * math/s_ctan.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8309 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8310 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8312 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8315 compilation problems.
8317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8320 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8322 * sysdeps/i386/configure.in: Test for -mfma4 option.
8323 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8324 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8325 COMMON_CPUID_INDEX_80000001.
8326 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8327 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8328 use it if FMA3 is not supported.
8329 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8331 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8332 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8334 2011-10-20 Andreas Schwab <schwab@redhat.com>
8337 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8338 it would create a cycle with a link time dependency.
8340 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8342 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8344 * string/Makefile (strop-tests): Add rawmemchr.
8345 * string/test-rawmemchr.c: New file.
8347 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8348 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8349 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8350 when compiling str{,n}casecmp and when AVX is available. Hook up
8351 new optimized code in initializers.
8353 2011-10-19 Andreas Schwab <schwab@redhat.com>
8355 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8356 __feraiseexcept instead of feraiseexcept.
8358 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8360 * math/math_private.h: Define defaults for libc_fetestexcept and
8362 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8363 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8364 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8365 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8366 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8367 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8368 libc_fetestexcept and libc_feupdateenv.
8370 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8371 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8372 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8373 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8374 libc_feholdexcept_setround.
8376 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8377 Add s_nearbyint-c and s_nearbyintf-c.
8378 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8380 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8381 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8382 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8383 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8385 * math/math_private.h: Define defaults for libc_fegetround,
8386 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8387 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8388 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8389 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8390 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8392 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8393 Remove comments and hacks for old compiler versions.
8394 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8395 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8398 2011-10-18 Andreas Schwab <schwab@redhat.com>
8400 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8401 (__feraiseexcept_renamed): Add __NTH.
8402 (feraiseexcept): Add __NTH. Rename local variables to fix
8403 namespace violations.
8405 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8407 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8409 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8411 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8412 recently added interfaces.
8413 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8415 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8416 about macro parameter expansion.
8418 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8419 __NO_MATH_INLINES is defined. Cleanups.
8421 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8422 and __floorf is target has SSE4.1.
8423 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8424 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8425 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8426 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8428 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8432 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8434 2011-10-17 Andreas Schwab <schwab@redhat.com>
8436 * misc/sys/cdefs.h: Fix last change.
8438 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8441 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8443 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8445 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8447 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8448 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8451 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8452 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8453 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8454 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8455 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8456 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8457 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8458 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8459 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8460 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8461 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8462 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8463 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8464 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8465 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8466 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8468 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8469 ceil, ceilf, floor, floorf.
8471 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8472 Perform IRELATIVE relocations last.
8474 * elf/do-rel.h: Add another parameter nrelative, replacing the
8475 local variable with the same name. Change name of the function
8476 to end in Rel or Rela (uppercase).
8477 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8478 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8479 elf_dynamic_do_##reloc function.
8481 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8483 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8484 is sufficient, at least on modern CPUs.
8486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8488 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8489 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8491 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8493 * math/bits/math-finite.h: Add entries for exp.
8494 * math/e_expl.c: Add __*_finite alias.
8495 * sysdeps/i386/fpu/e_exp.S: Likewise.
8496 * sysdeps/i386/fpu/e_expf.S: Likewise.
8497 * sysdeps/i386/fpu/e_expl.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8499 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8500 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8503 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8504 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8506 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8507 is sufficient, at least on modern CPUs.
8509 * ctype/ctype-info.c (__ctype_init): Define.
8510 * include/ctype.h (__ctype_init): Declare.
8511 (__ctype_b_loc): The variable is always initialized.
8512 (__ctype_toupper_loc): Likewise.
8513 (__ctype_tolower_loc): Likewise.
8514 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8515 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8517 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8519 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8521 * configure.in: Also look in $cxxmachine/include for C++ system
8524 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8526 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8527 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8528 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8529 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8530 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8531 (USE_AS_WMEMCMP): New macro.
8533 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8534 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8535 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8536 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8537 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8538 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8539 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8540 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8541 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8542 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8543 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8544 (USE_AS_WMEMCMP): New macro.
8545 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8546 * sysdeps/string/test-memcmp.c: Update.
8549 * wcsmbs/wmemcmp.c: Update.
8550 (WMEMCMP): New macro.
8553 2011-10-12 Andreas Jaeger <aj@suse.de>
8556 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8558 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8560 * libio/iofwide.c (do_length): Avoid warning.
8562 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8564 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8566 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8568 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8569 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8570 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8571 * sysdeps/i386/i686/fpu/e_log.S: New file.
8572 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8573 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8575 * ctype/ctype.h: Add support for inlined isXXX functions when
8578 2011-10-14 Andreas Schwab <schwab@redhat.com>
8580 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8582 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8584 2011-10-13 Roland McGrath <roland@hack.frob.com>
8587 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8589 2011-10-13 Andreas Schwab <schwab@redhat.com>
8591 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8592 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8595 * sysdeps/x86_64/memrchr.S: Check for zero size.
8597 * string/stratcliff.c: Add memrchr tests.
8599 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8602 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8603 rawmemchr-sse2 rawmemchr-sse2-bsf.
8604 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8605 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8606 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8607 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8608 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8609 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8610 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8611 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8612 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8613 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8614 * string/memrchr.c (MEMRCHR): New macro.
8616 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8618 Add integration with gcc's -ffinite-math-only and optimize wrapper
8620 * Versions.def: Define GLIBC_2.15 version for libm.
8621 * math/Makefile (headers): Add bits/math-finite.h.
8622 * math/bits/math-finite.h: New file.
8623 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8624 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8625 * math/e_acoshl.c: Add __*_finite alias.
8626 * math/e_acosl.c: Likewise.
8627 * math/e_asinl.c: Likewise.
8628 * math/e_atan2l.c: Likewise.
8629 * math/e_atanhl.c: Likewise.
8630 * math/e_coshl.c: Likewise.
8631 * math/e_exp10.c: Likewise.
8632 * math/e_exp10f.c: Likewise.
8633 * math/e_exp10l.c: Likewise.
8634 * math/e_exp2l.c: Likewise.
8635 * math/e_fmodl.c: Likewise.
8636 * math/e_gammal_r.c: Likewise.
8637 * math/e_hypotl.c: Likewise.
8638 * math/e_j0l.c: Likewise.
8639 * math/e_j1l.c: Likewise.
8640 * math/e_jnl.c: Likewise.
8641 * math/e_lgammal_r.c: Likewise.
8642 * math/e_log10l.c: Likewise.
8643 * math/e_log2l.c: Likewise.
8644 * math/e_logl.c: Likewise.
8645 * math/e_powl.c: Likewise.
8646 * math/e_sinhl.c: Likewise.
8647 * math/e_sqrtl.c: Likewise.
8648 * math/e_scalb.c: Completely rewritten and optimized.
8649 * math/e_scalbf.c: Likewise.
8650 * math/e_scalbl.c: Likewise.
8651 * math/w_acos.c: Likewise.
8652 * math/w_acosf.c: Likewise.
8653 * math/w_acosl.c: Likewise.
8654 * math/w_acosh.c: Likewise.
8655 * math/w_acoshf.c: Likewise.
8656 * math/w_acoshl.c: Likewise.
8657 * math/w_asin.c: Likewise.
8658 * math/w_asinf.c: Likewise.
8659 * math/w_asinl.c: Likewise.
8660 * math/w_atan2.c: Likewise.
8661 * math/w_atan2f.c: Likewise.
8662 * math/w_atan2l.c: Likewise.
8663 * math/w_atanh.c: Likewise.
8664 * math/w_atanhf.c: Likewise.
8665 * math/w_atanhl.c: Likewise.
8666 * math/w_exp10.c: Likewise.
8667 * math/w_exp10f.c: Likewise.
8668 * math/w_exp10l.c: Likewise.
8669 * math/w_fmod.c: Likewise.
8670 * math/w_fmodf.c: Likewise.
8671 * math/w_fmodl.c: Likewise.
8672 * math/w_j0.c: Likewise.
8673 * math/w_j0f.c: Likewise.
8674 * math/w_j0l.c: Likewise.
8675 * math/w_j1.c: Likewise.
8676 * math/w_j1f.c: Likewise.
8677 * math/w_j1l.c: Likewise.
8678 * math/w_jn.c: Likewise.
8679 * math/w_jnf.c: Likewise.
8680 * math/w_log.c: Likewise.
8681 * math/w_logf.c: Likewise.
8682 * math/w_logl.c: Likewise.
8683 * math/w_log10.c: Likewise.
8684 * math/w_log10f.c: Likewise.
8685 * math/w_log10l.c: Likewise.
8686 * math/w_log2.c: Likewise.
8687 * math/w_log2f.c: Likewise.
8688 * math/w_log2l.c: Likewise.
8689 * math/w_pow.c: Likewise.
8690 * math/w_powf.c: Likewise.
8691 * math/w_powl.c: Likewise.
8692 * math/w_remainder.c: Likewise.
8693 * math/w_remainderf.c: Likewise.
8694 * math/w_remainderl.c: Likewise.
8695 * math/w_scalb.c: Likewise.
8696 * math/w_scalbf.c: Likewise.
8697 * math/w_scalbl.c: Likewise.
8698 * math/w_sqrt.c: Likewise.
8699 * math/w_sqrtf.c: Likewise.
8700 * math/w_sqrtl.c: Likewise.
8701 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8702 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8704 * math/math_private.h: Declare __kernel_standard_f.
8705 * math/w_cosh.c: Remove cruft and optimize a bit.
8706 * math/w_coshf.c: Likewise.
8707 * math/w_coshl.c: Likewise.
8708 * math/w_exp2.c: Likewise.
8709 * math/w_exp2f.c: Likewise.
8710 * math/w_exp2l.c: Likewise.
8711 * math/w_hypot.c: Likewise.
8712 * math/w_hypotf.c: Likewise.
8713 * math/w_hypotl.c: Likewise.
8714 * math/w_lgamma.c: Likewise.
8715 * math/w_lgamma_r.c: Likewise.
8716 * math/w_lgammaf.c: Likewise.
8717 * math/w_lgammaf_r.c: Likewise.
8718 * math/w_lgammal.c: Likewise.
8719 * math/w_lgammal_r.c: Likewise.
8720 * math/w_sinh.c: Likewise.
8721 * math/w_sinhf.c: Likewise.
8722 * math/w_sinhl.c: Likewise.
8723 * math/w_tgamma.c: Likewise.
8724 * math/w_tgammaf.c: Likewise.
8725 * math/w_tgammal.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8727 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8728 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8729 Minor optimizations. Pretty printing. Remove cruft.
8730 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8731 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8732 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8733 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8734 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8735 * sysdeps/i386/fpu/e_asin.S: Likewise.
8736 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8737 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8738 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8739 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8740 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8741 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8742 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8743 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8744 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8745 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8746 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8747 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8748 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8749 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8750 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8751 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8752 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8753 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8754 * sysdeps/i386/fpu/e_log.S: Likewise.
8755 * sysdeps/i386/fpu/e_log10.S: Likewise.
8756 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8757 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8758 * sysdeps/i386/fpu/e_log2.S: Likewise.
8759 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8760 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8761 * sysdeps/i386/fpu/e_logf.S: Likewise.
8762 * sysdeps/i386/fpu/e_logl.S: Likewise.
8763 * sysdeps/i386/fpu/e_pow.S: Likewise.
8764 * sysdeps/i386/fpu/e_powf.S: Likewise.
8765 * sysdeps/i386/fpu/e_powl.S: Likewise.
8766 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8767 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8768 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8769 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8770 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8771 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8772 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8773 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8774 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8796 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8797 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8798 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8799 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8800 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8801 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8802 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8803 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8804 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8805 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8806 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8807 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8808 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8809 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8810 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8811 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8812 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8813 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8814 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8815 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8816 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8855 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8858 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8860 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8861 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8863 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8866 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8867 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8868 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8869 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8870 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8871 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8872 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8873 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8874 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8875 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8876 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8877 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8878 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8879 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8880 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8881 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8882 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8883 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8884 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8885 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8886 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8887 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8888 (__isnanf): Likewise.
8889 (__isinf_ns): Likewise.
8890 (__isinf_nsf): Likewise.
8891 (__finite): Likewise.
8892 (__finitef): Likewise.
8893 (__ieee754_sqrt): Define as macro.
8894 (__ieee754_sqrtf): Define as macro.
8895 (__ieee754_sqrtl): Define as macro.
8896 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8898 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8899 __FINITE_MATH_ONLY__ consistent.
8900 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8902 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8904 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8907 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8909 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8911 * po/ja.po: Update from translation team.
8913 2011-10-08 Roland McGrath <roland@hack.frob.com>
8915 * locale/programs/locarchive.c (prepare_address_space): New function.
8916 (create_archive, enlarge_archive, open_archive): Use it.
8918 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8919 inside [SHARED], where it is used.
8921 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8923 * nss/getent.c (netgroup_keys): Remove unused variable.
8924 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8926 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8928 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8929 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8930 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8931 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8932 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8933 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8934 * math/Makefile (libm-calls): Add s_isinf_ns.
8935 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8936 * math/multc3.c: Likewise.
8937 * math/s_casin.c: Likewise.
8938 * math/s_casinf.c: Likewise.
8939 * math/s_casinl.c: Likewise.
8940 * math/s_ccos.c: Likewise.
8941 * math/s_ccosf.c: Likewise.
8942 * math/s_ccosl.c: Likewise.
8943 * math/s_ctan.c: Likewise.
8944 * math/s_ctanf.c: Likewise.
8945 * math/s_ctanh.c: Likewise.
8946 * math/s_ctanhf.c: Likewise.
8947 * math/s_ctanhl.c: Likewise.
8948 * math/s_ctanl.c: Likewise.
8949 * math/w_fmod.c: Likewise.
8950 * math/w_fmodf.c: Likewise.
8951 * math/w_fmodl.c: Likewise.
8952 * math/w_remainder.c: Likewise.
8953 * math/w_remainderf.c: Likewise.
8954 * math/w_remainderl.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8956 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8959 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8960 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8961 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8962 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8964 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8966 * stdio-common/printf_fphex.c: Likewise.
8967 * stdio-common/printf_size.c: Likewise.
8969 * math/e_exp10.c: Include math_private.h using <...> not "...".
8970 * math/e_exp10f.c: Likewise.
8971 * math/e_exp10l.c: Likewise.
8972 * math/e_exp2l.c: Likewise.
8973 * math/e_j0l.c: Likewise.
8974 * math/e_j1l.c: Likewise.
8975 * math/e_jnl.c: Likewise.
8976 * math/e_lgammal_r.c: Likewise.
8977 * math/e_rem_pio2l.c: Likewise.
8978 * math/e_scalb.c: Likewise.
8979 * math/e_scalbf.c: Likewise.
8980 * math/e_scalbl.c: Likewise.
8981 * math/k_cosl.c: Likewise.
8982 * math/k_sinl.c: Likewise.
8983 * math/k_tanl.c: Likewise.
8984 * math/s_cacoshf.c: Likewise.
8985 * math/s_catan.c: Likewise.
8986 * math/s_catanf.c: Likewise.
8987 * math/s_catanh.c: Likewise.
8988 * math/s_catanhf.c: Likewise.
8989 * math/s_catanhl.c: Likewise.
8990 * math/s_catanl.c: Likewise.
8991 * math/s_ccosh.c: Likewise.
8992 * math/s_ccoshf.c: Likewise.
8993 * math/s_ccoshl.c: Likewise.
8994 * math/s_cexp.c: Likewise.
8995 * math/s_cexpf.c: Likewise.
8996 * math/s_cexpl.c: Likewise.
8997 * math/s_clog.c: Likewise.
8998 * math/s_clog10.c: Likewise.
8999 * math/s_clog10f.c: Likewise.
9000 * math/s_clog10l.c: Likewise.
9001 * math/s_clogf.c: Likewise.
9002 * math/s_clogl.c: Likewise.
9003 * math/s_csin.c: Likewise.
9004 * math/s_csinf.c: Likewise.
9005 * math/s_csinh.c: Likewise.
9006 * math/s_csinhf.c: Likewise.
9007 * math/s_csinhl.c: Likewise.
9008 * math/s_csinl.c: Likewise.
9009 * math/s_csqrt.c: Likewise.
9010 * math/s_csqrtf.c: Likewise.
9011 * math/s_csqrtl.c: Likewise.
9012 * math/s_ctan.c: Likewise.
9013 * math/s_ctanf.c: Likewise.
9014 * math/s_ctanh.c: Likewise.
9015 * math/s_ctanhf.c: Likewise.
9016 * math/s_ctanhl.c: Likewise.
9017 * math/s_ctanl.c: Likewise.
9018 * math/s_ldexp.c: Likewise.
9019 * math/s_ldexpf.c: Likewise.
9020 * math/s_ldexpl.c: Likewise.
9021 * math/s_significand.c: Likewise.
9022 * math/s_significandf.c: Likewise.
9023 * math/s_significandl.c: Likewise.
9024 * math/w_acos.c: Likewise.
9025 * math/w_acosf.c: Likewise.
9026 * math/w_acosh.c: Likewise.
9027 * math/w_acoshf.c: Likewise.
9028 * math/w_acoshl.c: Likewise.
9029 * math/w_acosl.c: Likewise.
9030 * math/w_asin.c: Likewise.
9031 * math/w_asinf.c: Likewise.
9032 * math/w_asinl.c: Likewise.
9033 * math/w_atan2.c: Likewise.
9034 * math/w_atan2f.c: Likewise.
9035 * math/w_atan2l.c: Likewise.
9036 * math/w_atanh.c: Likewise.
9037 * math/w_atanhf.c: Likewise.
9038 * math/w_atanhl.c: Likewise.
9039 * math/w_cosh.c: Likewise.
9040 * math/w_coshf.c: Likewise.
9041 * math/w_coshl.c: Likewise.
9042 * math/w_dremf.c: Likewise.
9043 * math/w_exp10.c: Likewise.
9044 * math/w_exp10f.c: Likewise.
9045 * math/w_exp10l.c: Likewise.
9046 * math/w_exp2.c: Likewise.
9047 * math/w_exp2f.c: Likewise.
9048 * math/w_fmod.c: Likewise.
9049 * math/w_fmodf.c: Likewise.
9050 * math/w_fmodl.c: Likewise.
9051 * math/w_hypot.c: Likewise.
9052 * math/w_hypotf.c: Likewise.
9053 * math/w_hypotl.c: Likewise.
9054 * math/w_j0.c: Likewise.
9055 * math/w_j0f.c: Likewise.
9056 * math/w_j0l.c: Likewise.
9057 * math/w_j1.c: Likewise.
9058 * math/w_j1f.c: Likewise.
9059 * math/w_j1l.c: Likewise.
9060 * math/w_jn.c: Likewise.
9061 * math/w_jnf.c: Likewise.
9062 * math/w_jnl.c: Likewise.
9063 * math/w_lgamma.c: Likewise.
9064 * math/w_lgamma_r.c: Likewise.
9065 * math/w_lgammaf.c: Likewise.
9066 * math/w_lgammaf_r.c: Likewise.
9067 * math/w_lgammal.c: Likewise.
9068 * math/w_lgammal_r.c: Likewise.
9069 * math/w_log.c: Likewise.
9070 * math/w_log10.c: Likewise.
9071 * math/w_log10f.c: Likewise.
9072 * math/w_log10l.c: Likewise.
9073 * math/w_log2.c: Likewise.
9074 * math/w_log2f.c: Likewise.
9075 * math/w_log2l.c: Likewise.
9076 * math/w_logf.c: Likewise.
9077 * math/w_logl.c: Likewise.
9078 * math/w_pow.c: Likewise.
9079 * math/w_powf.c: Likewise.
9080 * math/w_powl.c: Likewise.
9081 * math/w_remainder.c: Likewise.
9082 * math/w_remainderf.c: Likewise.
9083 * math/w_remainderl.c: Likewise.
9084 * math/w_scalb.c: Likewise.
9085 * math/w_scalbf.c: Likewise.
9086 * math/w_scalbl.c: Likewise.
9087 * math/w_sinh.c: Likewise.
9088 * math/w_sinhf.c: Likewise.
9089 * math/w_sinhl.c: Likewise.
9090 * math/w_sqrt.c: Likewise.
9091 * math/w_sqrtf.c: Likewise.
9092 * math/w_sqrtl.c: Likewise.
9093 * math/w_tgamma.c: Likewise.
9094 * math/w_tgammaf.c: Likewise.
9095 * math/w_tgammal.c: Likewise.
9097 * po/ja.po: Update from translation team.
9099 2011-09-29 Andreas Jaeger <aj@suse.de>
9102 * sunrpc/netname.c (netname2host): Fix logic.
9106 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9108 * math/w_remainder.c (__remainder): Likewise.
9109 * math/w_remainderf.c (__remainderf): Likewise.
9110 * math/libm-test.inc (remainder_test): Add test cases.
9112 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9114 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9117 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9119 * string/test-memcmp.c: Avoid unncessary #defines.
9120 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9122 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9124 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9125 Use new sse2 version for core i3 - i7 as it's faster
9127 (bit_Prefer_PMINUB_for_stringop): New.
9128 * sysdeps/x86_64/rawmemchr.S: Update.
9129 Replace with faster SSE2 version.
9130 * sysdeps/x86_64/memrchr.S: New file.
9131 * sysdeps/x86_64/memchr.S: Update.
9132 Replace with faster SSE2 version.
9134 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9136 * elf/dl-load.c (lose): Add cast to avoid warning.
9138 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9140 * po/ca.po: Update from translation team.
9142 * inet/getnetgrent_r.c: Hook up nscd.
9143 * nscd/Makefile (routines): Add nscd_netgroup.
9144 (nscd-modules): Add netgroupcache.
9145 (CFLAGS-netgroupcache.c): Define.
9146 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9147 (cache_search): Add const to second parameter.
9148 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9150 (dbs): Add netgrdb entry.
9151 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9152 (verify_persistent_db): Handle netgrdb.
9153 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9154 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9156 (netgroup_response_header): Define.
9157 (innetgroup_response_header): Define.
9158 (datahead): Add netgroup_response_header and innetgroup_response_header
9160 * nscd/nscd.conf: Add entries for netgroup cache.
9161 * nscd/nscd.h (dbtype): Add netgrdb.
9162 (_PATH_NSCD_NETGROUP_DB): Define.
9163 (netgroup_iov_disabled): Declare.
9164 (xmalloc, xcalloc, xrealloc): Move declarations here.
9165 (cache_search): Adjust prototype.
9166 Add netgroup-related prototypes.
9167 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9168 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9169 (__nscd_innetgr): Declare.
9170 * nscd/selinux.c (perms): Use access_vector_t as element type and
9171 add netgroup-related initializers.
9172 * nscd/netgroupcache.c: New file.
9173 * nscd/nscd_netgroup.c: New file.
9174 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9175 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9176 For four parameters use innetgr.
9177 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9178 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9179 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9180 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9182 * nscd/connections.c (register_traced_file): Don't register file
9183 for disabled databases.
9185 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9187 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9189 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9190 from tree and freeing node.
9192 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9194 * nss/nsswitch.c (__nss_database_lookup): Handle
9195 nss_parse_service_list out of memory case.
9197 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9199 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9202 2011-10-04 Andreas Schwab <schwab@redhat.com>
9204 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9205 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9207 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9208 elf_machine_rela, elf_machine_lazy_rel.
9209 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9210 (ELF_DYNAMIC_DO_REL): Likewise.
9211 (ELF_DYNAMIC_DO_RELA): Likewise.
9212 (ELF_DYNAMIC_RELOCATE): Likewise.
9213 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9214 to ELF_DYNAMIC_DO_REL.
9215 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9216 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9217 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9219 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9220 skip_ifunc, don't call ifunc function if non-zero.
9221 (elf_machine_rela): Likewise.
9222 (elf_machine_lazy_rel): Likewise.
9223 (elf_machine_lazy_rela): Likewise.
9224 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9225 (elf_machine_lazy_rel): Likewise.
9226 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9228 (elf_machine_lazy_rel): Likewise.
9229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9231 (elf_machine_lazy_rel): Likewise.
9232 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9233 (elf_machine_lazy_rel): Likewise.
9234 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9235 (elf_machine_lazy_rel): Likewise.
9236 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9237 (elf_machine_lazy_rel): Likewise.
9238 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9239 (elf_machine_lazy_rel): Likewise.
9240 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9241 (elf_machine_lazy_rel): Likewise.
9242 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9243 (elf_machine_lazy_rel): Likewise.
9245 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9247 * nss/nss_files/files-init.c (_nss_files_init): Use static
9248 initialization for all the *_traced_file variables.
9250 2011-09-28 Andreas Schwab <schwab@redhat.com>
9252 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9254 2011-09-27 Roland McGrath <roland@hack.frob.com>
9257 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9259 2011-09-27 Andreas Schwab <schwab@redhat.com>
9261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9262 Reread the line before reparsing it.
9264 2011-09-26 Andreas Schwab <schwab@redhat.com>
9266 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9268 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9269 Maxim Kuvyrkov <maxim@codesourcery.com>
9270 Joseph Myers <joseph@codesourcery.com>
9272 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9273 if needed for __stack_chk_guard.
9275 2011-09-19 Roland McGrath <roland@hack.frob.com>
9277 * sysdeps/posix/spawni.c (script_execute): Always define it.
9278 It will be optimized away if unused.
9279 (maybe_script_execute): New function.
9280 (__spawni): Call it.
9282 * Makerules: Don't include tls.make.
9283 (config-tls): Always set to thread.
9284 * tls.make.c: File removed.
9286 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9288 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9289 * config.make.in (CPPFLAGS-config): New substituted variable.
9291 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9293 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9296 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9297 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9299 2011-09-15 Roland McGrath <roland@hack.frob.com>
9301 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9302 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9304 (CALL_FAIL): Likewise.
9305 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9306 (CALL_FAIL): Macro removed.
9307 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9309 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9311 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9312 for __FINITE_MATH_ONLY__ == 1.
9314 2011-09-15 Andreas Schwab <schwab@redhat.com>
9316 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9317 __ieee754_sqrt instead of sqrt.
9318 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9319 __ieee754_sqrtf instead of sqrtf.
9320 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9321 __floorf instead of floorf.
9322 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9323 __floorf, __truncf instead of floorf, truncf.
9325 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9327 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9329 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9330 __extern_always_inline.
9331 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9334 2011-09-14 Andreas Schwab <schwab@redhat.com>
9336 * elf/rtld.c (dl_main): Also relocate in dependency order when
9337 doing symbol dependency testing.
9339 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9342 Always define `refsym'.
9344 2011-09-13 Andreas Schwab <schwab@redhat.com>
9346 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9347 (__FD_ELT): Renamed from __FDELT.
9348 * misc/bits/select2.h (__FD_ELT): Likewise.
9349 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9350 __FD_MASK instead of __FDELT, __FDMASK.
9351 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9353 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9356 * elf/Makefile (gen-ldd): Fix pattern.
9358 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9359 (init_tls): Likewise.
9361 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9363 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9365 2011-09-12 Andreas Schwab <schwab@redhat.com>
9367 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9368 `struct cmsghdr *' instead of `void *'.
9369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9372 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9374 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9376 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9379 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9381 * configure.in: Remove --with-tls option.
9382 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9383 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9384 out in case it is missing.
9385 * sysdeps/ia64/elf/configure.in: Likewise.
9386 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9387 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9388 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9389 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9390 * sysdeps/sh/elf/configure.in: Likewise.
9391 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9392 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9393 * sysdeps/x86_64/elf/configure.in: Likewise.
9394 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9395 * sysdeps/mach/hurd/tls.h: Likewise.
9398 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9401 * configure.in: Fix use of AC_INIT.
9403 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9405 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9407 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9409 * malloc/hooks.c: Likewise.
9412 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9413 variables statically.
9414 (narenas): Initialize.
9415 (list_lock): Initialize.
9416 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9417 initializtion of main_arena and list_lock. Small cleanups.
9418 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9419 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9420 Add initializers to main_arena and mp_.
9421 (malloc_state): Remove pagesize member. Change all users to use
9424 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9425 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9426 is always initialized.
9428 * malloc/malloc.c: Removed unused configurations and dead code.
9429 * malloc/arena.c: Likewise.
9430 * malloc/hooks.c: Likewise.
9431 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9433 * include/tls.h: Removed. USE___THREAD must always be defined.
9434 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9435 * elf/dl-libc.c: Likewise.
9436 * elf/dl-tsd.c: Likewise.
9437 * include/errno.h: Likewise.
9438 * include/netdb.h: Likewise.
9439 * include/resolv.h: Likewise.
9440 * inet/herrno-loc.c: Likewise.
9441 * inet/herrno.c: Likewise.
9442 * malloc/arena.c: Likewise.
9443 * malloc/hooks.c: Likewise.
9444 * malloc/malloc.c: Likewise.
9445 * resolv/res-state.c: Likewise.
9446 * resolv/res_libc.c: Likewise.
9447 * sysdeps/i386/dl-machine.h: Likewise.
9448 * sysdeps/ia64/dl-machine.h: Likewise.
9449 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9450 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9451 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9452 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9453 * sysdeps/sh/dl-machine.h: Likewise.
9454 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9455 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9456 * sysdeps/unix/i386/sysdep.S: Likewise.
9457 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9458 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9459 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9460 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9461 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9463 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9467 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9468 * sysdeps/x86_64/dl-machine.h: Likewise.
9469 * tls.make.c: Likewise.
9471 * configure.in: Remove --with-__thread option. Make tests for
9472 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9473 tls_model attribute fail if no support is available. Remove
9475 * Makeconfig: Adjust for dropped configure option. All features are
9477 * Makerules: Likewise.
9478 * Versions.def: Likewise.
9479 * argp/argp-fmtstream.c: Likewise.
9480 * argp/argp-fmtstream.h: Likewise.
9481 * argp/argp-help.c: Likewise.
9482 * assert/assert.c: Likewise.
9483 * config.h.in: Likewise.
9484 * config.make.in: Likewise.
9485 * configure: Likewise.
9486 * configure.in: Likewise.
9487 * csu/Versions: Likewise.
9488 * csu/init.c: Likewise.
9489 * elf/tst-audit2.c: Likewise.
9490 * elf/tst-tls10.c: Likewise.
9491 * elf/tst-tls10.h: Likewise.
9492 * elf/tst-tls11.c: Likewise.
9493 * elf/tst-tls12.c: Likewise.
9494 * elf/tst-tls14.c: Likewise.
9495 * elf/tst-tlsmod11.c: Likewise.
9496 * elf/tst-tlsmod12.c: Likewise.
9497 * elf/tst-tlsmod13.c: Likewise.
9498 * elf/tst-tlsmod13a.c: Likewise.
9499 * elf/tst-tlsmod14a.c: Likewise.
9500 * elf/tst-tlsmod15b.c: Likewise.
9501 * elf/tst-tlsmod16a.c: Likewise.
9502 * elf/tst-tlsmod16b.c: Likewise.
9503 * elf/tst-tlsmod7.c: Likewise.
9504 * elf/tst-tlsmod8.c: Likewise.
9505 * elf/tst-tlsmod9.c: Likewise.
9506 * gmon/gmon.c: Likewise.
9507 * grp/fgetgrent_r.c: Likewise.
9508 * grp/putgrent.c: Likewise.
9509 * hurd/fopenport.c: Likewise.
9510 * include/libc-symbols.h: Likewise.
9511 * include/tls.h: Likewise.
9512 * intl/gettextP.h: Likewise.
9513 * intl/loadinfo.h: Likewise.
9514 * locale/global-locale.c: Likewise.
9515 * locale/localeinfo.h: Likewise.
9516 * mach/devstream.c: Likewise.
9517 * malloc/arena.c: Likewise.
9518 * malloc/set-freeres.c: Likewise.
9519 * misc/err.c: Likewise.
9520 * misc/getttyent.c: Likewise.
9521 * misc/mntent_r.c: Likewise.
9522 * posix/getopt.c: Likewise.
9523 * posix/wordexp.c: Likewise.
9524 * pwd/fgetpwent_r.c: Likewise.
9525 * resolv/Versions: Likewise.
9526 * resolv/res_hconf.c: Likewise.
9527 * shadow/fgetspent_r.c: Likewise.
9528 * shadow/putspent.c: Likewise.
9529 * stdio-common/printf_fphex.c: Likewise.
9530 * stdio-common/tmpfile.c: Likewise.
9531 * stdlib/abort.c: Likewise.
9532 * stdlib/fmtmsg.c: Likewise.
9533 * sunrpc/auth_unix.c: Likewise.
9534 * sunrpc/clnt_perr.c: Likewise.
9535 * sunrpc/clnt_tcp.c: Likewise.
9536 * sunrpc/clnt_udp.c: Likewise.
9537 * sunrpc/clnt_unix.c: Likewise.
9538 * sunrpc/openchild.c: Likewise.
9539 * sunrpc/svc_simple.c: Likewise.
9540 * sunrpc/svc_tcp.c: Likewise.
9541 * sunrpc/svc_udp.c: Likewise.
9542 * sunrpc/svc_unix.c: Likewise.
9543 * sunrpc/xdr.c: Likewise.
9544 * sunrpc/xdr_array.c: Likewise.
9545 * sunrpc/xdr_rec.c: Likewise.
9546 * sunrpc/xdr_ref.c: Likewise.
9547 * sunrpc/xdr_stdio.c: Likewise.
9549 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9551 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9553 2011-07-03 Andreas Jaeger <aj@suse.de>
9555 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9556 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9557 regenerate with gen-libm-tests.pl.
9559 2010-05-12 Petr Baudis <pasky@suse.cz>
9562 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9563 around j0() zero points by switching to j1().
9564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9569 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9571 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9573 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9576 Patch in part by Pavel Roskin <proski@gnu.org>.
9579 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9581 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9582 Free memory block if necessary.
9585 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9586 be NULL. Don't lock in this case.
9588 2011-09-09 Roland McGrath <roland@hack.frob.com>
9590 * elf/elf.h (ELFOSABI_GNU): New macro.
9591 (ELFOSABI_LINUX): Define to that.
9593 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9595 * string/strncat.c (strncat): Undef the symbol in case it has been
9596 defined in bits/string.h.
9598 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9600 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9602 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9605 2011-08-17 Andreas Jaeger <aj@suse.de>
9607 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9609 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9610 Ian Lance Taylor <iant@google.com>
9612 * math/libm-test.inc (lround_test): New testcase.
9613 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9615 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9617 * Makefile: Remove support for automatic cvs check-ins.
9618 * Makerules: Likewise.
9619 * config.make.in: Likewise.
9620 * configure.in: Likewise.
9621 * intl/Makefile: Likewise.
9622 * locale/Makefile: Likewise.
9623 * po/Makefile: Likewise.
9624 * posix/Makefile: Likewise.
9625 * sysdeps/gnu/Makefile: Likewise.
9626 * sysdeps/mach/hurd/Makefile: Likewise.
9627 * sysdeps/sparc/sparc32/Makefile: Likewise.
9630 * posix/Makefile (bug-regex32-ENV): Define.
9631 Patch by John Stanley <jpsinthemix@verizon.net>.
9633 * misc/Makefile (headers): Add bits/select2.h.
9634 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9635 * misc/bits/select2.h: New file.
9636 * include/bits/select2.h: New file.
9637 * debug/Makefile (routines): Add fdelt_chk.
9638 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9639 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9641 * debug/fdelt_chk.c: New file.
9643 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9644 * wcsmbs/test-wmemcmp.c: Likewise.
9645 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9646 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9648 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9650 * string/Makefile (strop-tests): Add memcmp.
9651 * string/test-wmemcmp.c: New file.
9652 * string/test-memcmp.c: Add wmemcmp support.
9654 2011-09-08 Roland McGrath <roland@hack.frob.com>
9657 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9660 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9661 garbage value in a __mach_port_mod_refs call in the cases of the
9662 task-self and thread-self ports.
9664 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9666 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9668 2011-09-08 Andreas Schwab <schwab@redhat.com>
9670 * elf/dl-load.c (lose): Check for non-null L.
9672 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9674 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9676 * elf/dl-libc.c (dlerror_run): Pass back error code from
9680 * elf/dl-load.c (lose): Free l_origin if it is valid.
9682 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9684 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9685 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9686 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9687 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9688 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9689 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9691 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9693 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9694 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9695 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9696 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9697 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9698 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9699 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9700 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9701 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9702 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9704 2011-08-15 Alan Modra <amodra@gmail.com>
9707 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9708 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9709 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9710 ppc_mcount to static-only-routines.
9711 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9713 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9714 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9716 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9718 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9719 for finite and infinity parameters.
9721 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9724 and add nop instructions for throughput optimization.
9725 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9727 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9729 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9730 aligned copy for power7 with vector-scalar instructions.
9731 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9733 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9738 2011-09-07 Andreas Schwab <schwab@redhat.com>
9741 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9744 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9746 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9747 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9748 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9749 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9752 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9754 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9755 Forgot to demangle the pointer.
9757 * sysdeps/i386/sysdep.h: Define atom_text_section.
9758 * sysdeps/x86_64/sysdep.h: Likewise.
9759 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9760 section with atom_text_section.
9761 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9762 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9763 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9764 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9765 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9768 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9769 already be defined. Change to take two parameters and don't assign
9770 result to variable. Adjust all users.
9771 Define INTERNAL_GETTIME if not already defined.
9772 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9774 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9775 HAVE_CLOCK_GETTIME_VSYSCALL.
9776 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9778 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9779 gettimeofday vsyscall, just use time.
9781 2011-09-06 Andreas Schwab <schwab@redhat.com>
9783 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9786 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9788 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9792 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9793 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9794 syscall if possible.
9796 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9798 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9799 e_ident. Don't pass to find_mapsXX.
9800 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9802 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9805 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9806 * sysdeps/x86_64/multiarch/strchr.S: Update.
9807 Check bit_slow_BSF bit.
9808 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9809 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9810 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9812 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9815 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9818 (__spawni): Change last parameter to be flag. Test
9819 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9820 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9821 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9822 * posix/spawni.c: Likewise.
9823 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9824 * posix/spawnp.c: Likewise. Change normal version to use
9825 SPAWN_XFLAGS_USE_PATH.
9826 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9827 SPAWN_XFLAGS_TRY_SHELL.
9830 * posix/glob.h: Remove gcc 1.x support.
9833 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9835 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9838 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9840 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9841 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9842 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9843 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9844 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9845 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9847 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9849 * sysdeps/x86_64/wcscmp.S: New file.
9851 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9852 wcscmp-c wcscmp-sse2
9853 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9854 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9855 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9856 * wcsmbs/wcscmp.c: Allow renaming.
9858 2011-09-05 David S. Miller <davem@davemloft.net>
9860 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9861 stack slot, rather than the struct return pointer slot.
9862 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9863 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9865 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9867 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9869 * po/ja.po: Update from translation team.
9872 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9873 kernel in 64-bit binaries.
9875 2011-09-01 David S. Miller <davem@davemloft.net>
9877 * elf/elf.h (HWCAP_SPARC_*): Move to..
9878 * sysdeps/sparc/sysdep.h: this new file and add new values.
9879 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9880 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9881 _DL_HWCAP_COUNT to 24.
9882 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9884 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9885 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9886 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9888 instead of magic constants.
9889 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9891 2011-08-31 David S. Miller <davem@davemloft.net>
9893 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9895 Reimplement to do errno handling inline.
9896 (SYSCALL_ERROR_HANDLER): New macro.
9897 (__SYSCALL_STRING): Do not do errno handling in asm.
9898 (__CLONE_SYSCALL_STRING): Delete.
9899 (__INTERNAL_SYSCALL_STRING): Delete.
9900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9901 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9902 (PSEUDO): Reimplement to do errno handling inline.
9903 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9904 (SYSCALL_ERROR_HANDLER): New macro.
9905 (__SYSCALL_STRING): Do not do errno handling in asm.
9906 (__CLONE_SYSCALL_STRING): Delete.
9907 (__INTERNAL_SYSCALL_STRING): Delete.
9908 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9909 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9911 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9912 (inline_syscall*): Add 'err' argument.
9913 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9914 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9915 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9916 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9918 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9919 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9921 2011-08-30 Andreas Schwab <schwab@redhat.com>
9923 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9925 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9927 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9930 2011-08-24 David S. Miller <davem@davemloft.net>
9932 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9934 2011-08-24 Andreas Schwab <schwab@redhat.com>
9936 * elf/Makefile: Add rules to build and run unload8 test.
9937 * elf/unload8.c: New file.
9938 * elf/unload8mod1.c: New file.
9939 * elf/unload8mod1x.c: New file.
9940 * elf/unload8mod2.c: New file.
9941 * elf/unload8mod3.c: New file.
9943 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9946 2011-08-23 David S. Miller <davem@davemloft.net>
9948 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9949 subtract stack bias.
9950 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9951 %sp not %fp in calculations.
9952 (_JMPBUF_UNWINDS_ADJ): Likewise.
9954 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9955 (aio_suspend): Call it to force an exception region around the
9956 AIO_MISC_WAIT() invocation.
9958 2011-08-23 Andreas Schwab <schwab@redhat.com>
9960 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9963 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9965 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9967 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9969 (Elf64_FuncDesc): Remove.
9971 2011-08-22 David S. Miller <davem@davemloft.net>
9973 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9974 sigaltstack check, add missing cfi directives.
9975 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9976 missing cfi directives, and sigaltstack handling.
9978 2011-08-16 Andreas Schwab <schwab@redhat.com>
9981 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9982 object is seen twice.
9983 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9985 * elf/Makefile (distribute): Add tst-initorder2.c.
9986 (tests): Add tst-initorder2.
9987 (modules-names): Add tst-initorder2a tst-initorder2b
9988 tst-initorder2c tst-initorder2d. Add rules to build them.
9989 ($(objpfx)tst-initorder2.out): New rule.
9990 * elf/tst-initorder2.c: New file.
9991 * elf/tst-initorder2.exp: New file.
9993 2011-08-22 Andreas Schwab <schwab@redhat.com>
9995 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9997 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9998 dependencies back to end of function.
10000 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10001 $(elfobjdir)/ld.so.
10003 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10006 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10007 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10008 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10009 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10010 of __vdso_gettimeofday.
10011 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10012 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10014 (_libc_vdso_platform_setup): Remove initialization of
10015 __vdso_gettimeofday and __vdso_time.
10017 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10019 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10020 and fgetc_unlocked.
10021 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10024 * elf/dl-open.c (add_to_global): Report additions to the global scope
10025 for LD_DEBUG=scopes.
10026 (dl_open_worker): Also print scope of newly loaded dependencies.
10027 (_dl_show_scope): Indicate if there is no scope.
10030 * stdio-common/Makefile (tests): Add bug24.
10031 * stdio-common/bug24.c: New file.
10033 2011-08-19 Andreas Jaeger <aj@suse.de>
10036 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10037 non-existant file when using close-on-exec mode.
10039 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10042 the very first instruction.
10044 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10045 the CFI state in the end.
10046 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10047 inclusion of dl-trampoline.h.
10048 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10050 2011-08-19 Andreas Schwab <schwab@redhat.com>
10052 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10053 expectations for long double.
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10056 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10058 2011-08-14 David S. Miller <davem@davemloft.net>
10060 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10061 artificual limit depends upon the system page size.
10063 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10065 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10066 * resolv/Makefile: Define CFLAGS-libresolv.
10068 2011-08-17 Andreas Schwab <schwab@redhat.com>
10070 * nss/makedb.c (compute_tables): Make variables used in nested
10073 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10075 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10076 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10077 if buffer was too small.
10079 * elf/pldd.c (main): Attach to all threads in the process.
10080 Rewrite /proc handling to use *at functions.
10082 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10084 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10085 specifies first scope to show.
10086 (dl_open_worker): Update callers. Move printing scope of new
10087 object to before the relocation.
10088 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10089 * sysdeps/generic/ldsodefs.h: Update declaration.
10091 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10092 string for the scope number.
10094 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10096 * nscd/servicescache.c (cache_addserv): Make sure written is always
10099 2011-08-14 Roland McGrath <roland@hack.frob.com>
10101 * sysdeps/i386/i486/bits/atomic.h
10102 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10103 statement expression, so as to suppress "set but not used" warning.
10104 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10106 * string/strncat.c (STRNCAT): Use prototype definition.
10108 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10109 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10111 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10112 (localedef-modules): Add localedef.
10113 (locale-modules): Add locale.
10115 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10116 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10117 to avoid a warning.
10119 2011-08-14 David S. Miller <davem@davemloft.net>
10121 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10122 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10124 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10126 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10127 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10128 * elf/rtld.c (dl_main): Set l_name of vDSO.
10129 Call _dl_show_scope when DL_DEBUG_SCOPES.
10130 (process_dl_debug): Recognize scopes flag and also set it for all.
10131 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10132 Declare _dl_show_scope.
10134 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10135 (do_dlopen): Pass caller_dlopen to dl_open.
10136 (__libc_dlopen_mode): Initialize caller_dlopen.
10138 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10139 of libc. Make tolower call locale-independent. Optimize a bit by
10140 using isdigit instead of isalnum.
10141 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10143 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10145 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10146 was a dependency or dynamically loaded.
10148 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10150 * intl/l10nflist.c: Allow architecture-specific pop function.
10151 * sysdeps/x86_64/l10nflist.c: New file.
10153 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10156 2011-08-10 Andreas Schwab <schwab@redhat.com>
10158 * include/dirent.h: Add libc_hidden_proto for scandirat and
10159 scandirat64. Don't declare __scandirat64.
10160 * dirent/scandirat.c: Add libc_hidden_def.
10161 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10162 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10164 2011-08-10 David S. Miller <davem@davemloft.net>
10166 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10168 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10169 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10170 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10172 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10174 * Versions.def [libc]: Add GLIBC_2.15.
10175 * dirent/Makefile (routines): Add scandirat and scandirat64.
10176 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10178 * dirent/dirent.h: Declare scandirat and scandirat64.
10179 * dirent/scandirat.c: New file.
10180 * dirent/scandirat64.c: New file.
10181 * sysdeps/wordsize-64/scandirat.c: New file.
10182 * sysdeps/wordsize-64/scandirat64.c: New file.
10183 * dirent/opendir.c: Define opendirat.
10184 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10186 * dirent/scandir64.c: Adjust for scandir.c change.
10187 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10188 __scandirat64, and __scandir_cancel_handler.
10189 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10190 additional parameter and use openat instead of open (outside of ld.so).
10191 Add new __opendir as wrapper around __opendirat.
10192 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10193 here without requiring old scandirat implementation.
10195 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10197 * dirent/scandir.c (cancel_handler): Renamed to
10198 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10199 defined. Adjust users.
10200 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10201 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10203 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10205 * string/test-string.h (IMPL): Use __STRING to expand name and then
10208 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10211 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10213 * string/Makefile: Update.
10214 (strop-tests): Append strncat.
10215 * string/test-wcscmp.c: New file.
10216 New comprehensive test for wcscmp.
10217 * string/test-strcmp.c: Update.
10218 (WIDE): New define.
10220 2011-07-22 Andreas Schwab <schwab@redhat.com>
10222 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10225 2011-07-26 Andreas Schwab <schwab@redhat.com>
10227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10228 encoding to ACE if AI_IDN.
10230 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10232 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10233 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10235 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10237 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10238 Fix overflow bug in strncat.
10239 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10241 * string/test-strncat.c: Update.
10242 Add new tests for checking overflow bugs.
10244 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10247 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10248 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10249 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10250 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10251 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10252 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10253 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10254 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10256 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10257 (USE_AS_STRCAT): Define.
10258 Add strcat and strncat support.
10259 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10261 2011-07-25 Andreas Schwab <schwab@redhat.com>
10263 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10264 __n bigger than INT_MAX+1.
10265 (__strncmp_g): Likewise.
10267 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10269 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10270 * libio/stido.h: Likewise.
10272 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10277 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10278 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10279 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10280 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10281 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10284 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10289 (_dl_x86_64_save_sse): Likewise.
10291 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10293 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10295 (_dl_x86_64_save_sse): Likewise.
10297 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10299 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10301 2011-07-21 Andreas Schwab <schwab@redhat.com>
10303 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10305 (_dl_x86_64_save_sse): Use correct AVX check.
10307 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10309 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10310 bug in strncpy/strncat.
10311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10313 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10315 * string/tester.c (test_strcat): Add tests for different alignments
10316 of source and destination.
10317 (test_strncat): Likewise.
10319 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10322 * posix/glob.c (glob): Check passed in values before using them in
10323 expressions to avoid some overflows.
10324 (glob_in_dir): Likewise.
10327 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10328 check for AVX enablement so that we don't crash with old kernels and
10330 * elf/tst-audit4.c: Add same checks here.
10331 * elf/tst-audit6.c: Likewise.
10333 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10335 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10337 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10339 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10341 * po/cs.po: Update from translation team.
10342 * po/bg.po: Likewise.
10344 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10346 * misc/sys/cdefs.h: Add support for const attribute.
10347 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10348 to gnu_dev_{major,minor,makedev} functions.
10350 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10352 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10354 2011-07-20 Andreas Schwab <schwab@redhat.com>
10356 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10359 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10362 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10363 register in order to avoid conflicts with the soft frame pointer
10364 being held in r11 when necessary.
10365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10366 (INTERNAL_VSYSCALL_NCS): Likewise.
10368 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10370 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10371 * elf/dl-fini.c (_dl_fini): Adjust caller.
10372 * elf/dl-close.c (_dl_close_worker): Likewise.
10373 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10375 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10377 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10378 "aux_cache->nlibs < 0".
10380 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10381 in the reload-count case.
10383 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10386 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10387 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10388 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10389 * sysdeps/x86_64/multiarch/strcat.S: New file.
10390 * sysdeps/x86_64/multiarch/strncat.S: New file.
10391 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10392 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10393 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10394 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10395 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10396 (USE_AS_STRCAT): Define.
10397 Add strcat and strncat support.
10398 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10399 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10400 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10401 * string/strncat.c: Update.
10402 (USE_AS_STRNCAT): Define.
10403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10404 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10406 * sysdeps/x86_64/multiarch/init-arch.h
10407 (bit_Prefer_PMINUB_for_stringop): New.
10408 (index_Prefer_PMINUB_for_stringop): Likewise.
10409 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10410 bit_Prefer_PMINUB_for_stringop.
10412 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10414 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10416 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10417 of casting of buffer.
10418 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10419 buffer32 and buffer64.
10420 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10421 writes instead of casting of buffer.
10422 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10424 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10427 2011-07-19 Andreas Schwab <schwab@redhat.com>
10429 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10431 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10433 * nscd/nscd.c (termination_handler): Don't do anything for a database
10434 if it has not yet been initialized.
10436 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10438 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10440 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10442 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10444 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10446 * po/nl.po: Update from translation team.
10447 * po/sv.po: Likewise.
10449 2011-07-16 Roland McGrath <roland@hack.frob.com>
10451 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10452 now disallowed by GCC.
10454 * configure.in (use-default-link): Default to yes if a test -shared
10455 link meets our qualifications.
10456 * configure: Regenerated.
10458 * config.make.in (output-format): New variable.
10459 * configure.in: Check for ld --print-output-format support.
10460 * configure: Regenerated.
10461 * Makerules ($(common-objpfx)format.lds)
10462 [$(output-format) != unknown]: Just use $(output-format),
10463 instead of the linker-script munging.
10465 2011-07-14 Roland McGrath <roland@hack.frob.com>
10467 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10468 of $(common-objpfx)shlib.lds.
10469 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10471 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10472 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10474 * configure.in (-z relro check): Adjust test code to add a large
10475 writable data section after it.
10476 * configure: Regenerated.
10478 2011-07-11 Roland McGrath <roland@hack.frob.com>
10480 * configure.in (-z relro check): Fix test code to make the variable
10482 * configure: Regenerated.
10484 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10486 * nscd/nscd.h (struct traced_file): Define.
10487 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10488 elements. Add traced_files.
10489 (inotify_fd): Declare.
10490 (register_traced_file): Declare.
10491 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10492 (inotify_fd): Export.
10493 (resolv_conf_descr): Remove.
10494 (nscd_init): Move inotify descriptor creation to main.
10495 Don't register files for notification here.
10496 (register_traced_file): New function.
10497 (invalidate_cache): Don't use reset_res to determine whether to call
10498 res_init, go through the list of registered files.
10499 (main_loop_poll): The inotify descriptors are now stored in the
10500 structures for the traced files.
10501 (main_loop_epoll): Likewise
10502 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10503 to __nss_disable_nscd.
10504 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10505 for a database anymore. Check the records for all the registered
10507 * nss/Makefile (libnss_files-routines): Add files-init.
10508 (libnss_db-routines): Add db-init.
10509 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10510 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10511 * nss/nss_db/db-init.c: New file.
10512 * nss/nss_files/files-init.c: New file.
10513 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10514 __nss_lookup_function.
10515 (__nss_lookup_function): Call nss_load_library.
10516 (nss_load_all_libraries): New function.
10517 (__nss_disable_nscd): Take parameter with callback function for files
10518 to register. Set is_nscd. Load all the DSOs for the NSS modules
10519 used for the cached services.
10520 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10521 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10522 options for features to all the files in nscd.
10524 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10526 2011-07-10 Roland McGrath <roland@hack.frob.com>
10528 * csu/elf-init.c (__libc_csu_init): Comment typo.
10530 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10532 * po/pl.po: Update from translation team.
10533 * po/ja.po: Likewise.
10534 * po/ru.po: Likewise.
10535 * po/ko.po: Likewise.
10536 * po/fr.po: Likewise.
10538 2011-07-09 Roland McGrath <roland@hack.frob.com>
10540 * configure.in (.ctors/.dtors header and trailer check):
10541 Use an empirical test on a built program.
10542 * configure: Regenerated.
10544 * configure.in (-z relro check): Use an empirical test on a built DSO.
10545 Detect, but do not require, on ia64.
10546 * configure: Regenerated.
10548 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10549 Update tests that use readelf to use $READELF instead.
10550 * configure: Regenerated.
10552 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10554 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10555 if the result is not used.
10557 2011-07-05 Andreas Jaeger <aj@suse.de>
10560 * stdlib/tst-strtod.c: Add testcase.
10562 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10564 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10565 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10566 The latter has a higher limit. Take additional parameter to pass to
10568 (__pathconf): Pass file to __statfs_link_max.
10569 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10571 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10575 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10578 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10579 (__statfs_filesize_max): Likewise.
10580 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10582 2011-07-05 Andreas Jaeger <aj@suse.de>
10584 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10586 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10588 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10590 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10593 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10595 * Makefile (strop-tests): Add strncat.
10596 * string/test-strncat.c: New file.
10598 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10600 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10602 2011-06-21 Andreas Jaeger <aj@suse.de>
10604 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10605 Copy rule from iconvdata/Makefile.
10607 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10610 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10611 but no long options are defined, just return 'W'.
10613 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10616 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10618 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10620 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10622 (innetgr): Likewise.
10624 2011-07-05 Roland McGrath <roland@hack.frob.com>
10626 * config.make.in (install_root): Default to $(DESTDIR).
10628 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10630 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10632 2011-07-02 Roland McGrath <roland@hack.frob.com>
10634 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10636 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10637 containing directory rather than embedding absolute directory names.
10639 * scripts/check-local-headers.sh: Rewritten using awk.
10640 Match by word, not by line. Print error messages for matches.
10641 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10643 * Makerules [shlib-lds-flags empty]:
10644 ($(common-objpfx)libc_pic.opts): New target.
10645 ($(common-objpfx)libc_pic.os.clean): New target.
10646 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10648 * config.make.in (OBJCOPY): New variable.
10649 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10650 * configure: Regenerated.
10652 * config.make.in (use-default-link): New variable.
10653 * configure.in (use_default_link): Grok --with-default-link to set it.
10654 * configure: Regenerated.
10655 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10656 (shlib-lds, shlib-lds-flags): Define to empty.
10658 * Makerules (shlib-lds): New variable.
10659 (shlib-lds-flags): New variable.
10660 (build-shlib, build-moduile, build-module-asneeded): Use it.
10661 ($(common-objpfx)libc.so): Use $(shlib-lds).
10662 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10663 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10665 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10666 DT_FLAGS/DT_FLAGS_1 with zero flags.
10668 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10669 linker script munging.
10671 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10673 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10675 * crypt/sha512.c (sha512_process_block): Perform total addition using
10676 128-bit if possible.
10677 (__sha512_finish_ctx): Likewise.
10678 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10680 * crypt/sha256.c (SWAP64): Define.
10681 (sha256_process_block): Perform total addition using 64-bit if
10683 (__sha256_finish_ctx): Likewise.
10685 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10687 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10689 * nscd/hstcache.c (cache_addhst): Likewise.
10690 * nscd/grpcache.c (cache_addgr): Likewise.
10691 * nscd/aicache.c (addhstaiX): Likewise
10692 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10694 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10696 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10697 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10698 * nscd/hstcache.c (cache_addhst): Likewise.
10699 * nscd/grpcache.c (cache_addgr): Likewise.
10700 * nscd/aicache.c (addhstaiX): Likewise
10702 2011-07-01 Andreas Schwab <schwab@redhat.com>
10704 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10705 domain only when needed.
10707 2011-06-30 Andreas Schwab <schwab@redhat.com>
10709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10710 is always restored.
10712 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10714 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10715 are re-adding the entry.
10716 * nscd/servicescache.c (cache_addserv): Likewise.
10718 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10720 * sysdeps/generic/dl-irel.h: fix protection against multiple
10722 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10724 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10727 * malloc/memusage.sh: Fix quoting in message.
10728 * debug/xtrace.sh: Likewise.
10730 * configure.in: Remove support for --experimental-malloc option, make
10732 * config.make.in: Likewise.
10733 * malloc/Makefile: Likewise.
10735 2011-06-27 Andreas Schwab <schwab@redhat.com>
10737 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10738 two-byte characters.
10740 2011-06-27 Roland McGrath <roland@hack.frob.com>
10742 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10743 AC_CACHE_CHECK invocation.
10744 * configure: Regenerated.
10746 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10748 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10751 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10752 bit from old_res_options.
10754 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10756 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10757 value type for setfct.
10759 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10761 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10762 __gettimeofday instead of gettimeofday.
10764 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10766 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10768 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10770 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10772 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10775 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10778 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10779 strcpy-sse2-unaligned strncpy-sse2-unaligned
10780 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10781 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10782 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10783 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10784 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10785 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10786 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10787 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10788 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10789 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10790 (STRCPY): Support SSE2 and SSSE3 versions.
10792 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10795 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10796 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10797 kernels which artificially limit size of requests.
10799 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10802 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10803 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10804 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10805 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10806 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10807 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10808 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10809 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10810 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10811 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10812 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10813 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10814 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10815 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10817 Enable unaligned load optimization for Intel Core i3, i5 and i7
10819 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10821 (index_Fast_Unaligned_Load): Define.
10822 (HAS_FAST_UNALIGNED_LOAD): Define.
10824 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10826 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10828 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10831 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10832 until it is clear that the information is realy needed.
10833 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10835 2011-06-22 Andreas Schwab <schwab@redhat.com>
10837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10839 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10841 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10842 /sys/devices/system/cpu/online if it is usable.
10844 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10845 reading the information from the /proc filesystem to once a second.
10847 2011-06-21 Andreas Jaeger <aj@suse.de>
10849 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10850 NULL after inclusion of kernel headers.
10852 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10854 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10855 calls to internal_setent.
10858 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10859 addresses using gethostbyname4_r ignore IPv4 addresses.
10861 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10862 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10864 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10866 2011-06-20 David S. Miller <davem@davemloft.net>
10868 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10870 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10872 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10873 (elf_irel): Use it.
10874 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10875 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10876 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10877 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10878 * sysdeps/x86_64/dl-irel.h: Likewise.
10880 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10881 * elf/dl-sym.c: Likewise.
10883 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10885 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10886 need to dereference resplen2.
10888 2011-06-14 Andreas Schwab <schwab@redhat.com>
10890 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10892 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10894 * Makeconfig: Define vardbdir and inst_vardbdir.
10895 * nss/Makefile: Add rules to install db-Makefile.
10897 * nss/nss_db/db-XXX.c: Cleanup.
10899 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10900 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10902 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10903 * nss/makedb.c: Implement -g option to specify that value strings
10904 are generated and should not be added to table iterated over for
10906 * nss/nss_db/db-initgroups.c: New file.
10908 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10911 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10912 (internal_getgrouplist): Adjust to name change.
10913 Update use_initgroups_entry if this is not the first call.
10914 * nss/databases.def: Add initgroups entry.
10916 * nss/makedb.c (compute_tables): Check result of multiple hash table
10917 sizes to minimize maximum chain length.
10919 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10921 * Versions.def: Add entry for libnss_db.
10922 * shlib-versions: Likewise.
10923 * nss/Makefile: Add rules to build libnss_db.
10924 * nss/Versions: Add libnss_db information. Organize libnss_files
10926 * nss/db-Makefile: Add gshadow support. Change rules for the new
10927 makedb progra. Some minor improvements to generate smaller files.
10928 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10930 * nss/makedb.c: ...here.
10931 Improve database format to be smaller and require less memory at
10933 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10935 * nss/nss_db/db-netgrp.c: Likewise.
10936 * nss/nss_db/db-open.c: Likewise.
10937 * nss/nss_files/flies-XXX.x: Adjust comments.
10938 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10939 * nss/nss_files/files-grp.c: Likewise.
10940 * nss/nss_files/files-hosts.c: Likewise.
10941 * nss/nss_files/files-network.c: Likewise.
10942 * nss/nss_files/files-proto.c: Likewise.
10943 * nss/nss_files/files-pwd.c: Likewise.
10944 * nss/nss_files/files-rpc.c: Likewise.
10945 * nss/nss_files/files-service.c: Likewise.
10946 * nss/nss_files/files-sgrp.c: Likewise.
10947 * nss/nss_files/files-spwd.c: Likewise.
10948 * nss/nss_db/db-alias.c: Removed.
10949 * nss/nss_db/dummy-db.h: Removed.
10951 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10953 * nss/makedb.c: Rewritten to not use database library.
10954 * nss/Makefile: Update to build new makedb program.
10956 2011-06-14 Andreas Jaeger <aj@suse.de>
10958 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10959 memset declaration.
10961 2011-06-10 Andreas Schwab <schwab@redhat.com>
10963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10966 2011-06-10 Roland McGrath <roland@hack.frob.com>
10968 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10969 * elf/Makefile ($(objpfx)ld.so): Likewise.
10971 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10972 Don't list ld.so twice in dependencies.
10974 * posix/bug-regex31.c: Include <stdlib.h>.
10976 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10978 * nis/nss_compat/compat-spwd.c
10979 (getspent_next_nss_netgr): Remove unused variable.
10980 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10982 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10983 nonmembers" output to use the right array.
10985 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10987 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10989 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10990 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10991 * catgets/gencat.c (read_input_file): Likewise.
10992 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10994 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10995 variable definition inside #if's controlling its use.
10997 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10999 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11001 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11003 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11006 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11008 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11009 * configure: Regenerated.
11011 * Makerules: Revert last change.
11012 * elf/Makefile: Likewise.
11014 2011-06-09 Roland McGrath <roland@hack.frob.com>
11016 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11017 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11018 (reloc-link): Likewise.
11020 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11022 * elf/Makefile: Add rules to build pldd.
11023 * elf/pldd.c: New file.
11024 * elf/pldd-xx.c: New file.
11026 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11028 * version.h: Update for 2.15 development version.
11030 2011-06-07 David S. Miller <davem@davemloft.net>
11032 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11034 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11035 elf_machine_lazy_rel): Likewise.
11036 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11038 elf_machine_lazy_rel): Likewise.
11039 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11040 dl_hwcap via passed in argument.
11041 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11044 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11046 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11048 2011-06-06 Roland McGrath <roland@hack.frob.com>
11051 * manual/fdl-1.1.texi: New file, verbatim from:
11052 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11053 * manual/lgpl-2.1.texi: New file, verbatim from:
11054 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11055 * manual/Makefile (licenses): New variable, list those new file names.
11057 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11059 * manual/fdl.texi: File removed.
11060 * manual/lesser.texi: File removed.
11061 * manual/libc.texinfo (Copying, Documentation License):
11062 Use new @include file names, put @appendix directive before @include.
11064 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11067 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11068 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11069 (mq_open): Add __NTH.
11071 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11074 Assume Intel Core i3/i5/i7 processor if AVX is available.
11076 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11078 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11081 2011-05-31 Andreas Schwab <schwab@redhat.com>
11083 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11084 memory. Use alloca_account. Fix memory leak when retrying.
11086 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11088 * version.h (RELEASE): Bump for 2.14 release.
11089 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11091 * config.make.in (RANLIB): Remove entry.
11093 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11095 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11096 (libc.pot): Work around missing support for .ksh extension in xgettext.
11099 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11100 if both request failed.
11101 (send_dg): In case of server errors clear resplen or *resplen2.
11104 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11105 when there are multiple maps.
11106 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11107 (_dl_fini): Remove test here.
11109 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11111 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11114 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11115 bit from old_res_options.
11116 (gaih_inet): Likewise.
11119 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11122 * resolv/res_init.c (res_setoptions): Make the code more compact.
11125 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11129 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11131 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11134 * malloc/malloc.h: Declare malloc hook variables as volatile.
11136 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11140 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11141 raise in the comment.
11142 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11143 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11144 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11146 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11149 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11150 grow the buffers more if it already has to be sufficient.
11151 (build_wcs_upper_buffer): Likewise.
11152 * posix/regexec.c (check_matching): Likewise.
11153 (clean_state_log_if_needed): Likewise.
11154 (extend_buffers): Don't enlarge buffers beyond size of the input
11156 Patches mostly by Emil Wojak <emil@wojak.eu>.
11157 * posix/bug-regex32.c: New file.
11158 * posix/Makefile (tests): Add bug-regex32.
11160 * locale/findlocale.c (_nl_find_locale): Return right away if
11161 _nl_explode_name failed.
11162 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11164 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11166 * debug/xtrace.sh: Unify messages.
11167 * malloc/memusage.sh: Likewise.
11170 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11171 time symbol from vDSO. Substitute with vsyscall if not available.
11172 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11175 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11176 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11177 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11178 Add sendmmsg and internal_sendmmsg.
11179 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11180 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11181 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11183 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11184 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11185 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11187 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11190 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11191 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11193 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11197 * iconvdata/Makefile (tests): Add bug-iconv9.
11198 * iconvdata/bug-iconv9.c: New file.
11200 2011-05-27 Andreas Schwab <schwab@redhat.com>
11203 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11205 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11207 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11208 (struct user_regs_struct): Change intcs field back to cs.
11210 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11212 * po/ja.po: Update from translation team.
11214 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11217 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11218 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11220 2011-05-20 Andreas Schwab <schwab@redhat.com>
11222 * stdlib/longlong.h: Update from GCC.
11224 2011-05-23 Andreas Schwab <schwab@redhat.com>
11226 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11228 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11229 Add parameter name.
11230 (__sysconf): Pass it down.
11232 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11235 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11237 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11238 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11239 add in in __libc_use_alloca calls. Adjust callers.
11240 (glob): Use malloc in some situations.
11242 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11243 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11246 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11248 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11249 and CLOCK_BOOTTIME_ALARM.
11252 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11255 * string/_strerror.c (__strerror_r): Print negative errors as signed
11259 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11260 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11261 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11263 * configure.in: Fix typo in redirection and correct removal of test
11264 files in two cases.
11267 * locale/setlocale.c (new_composite_name): Fix test to check for
11268 identical name of all categories.
11271 * libio/filedoalloc.c (local_isatty): New function.
11272 (_IO_file_doallocate): Use local_isatty.
11273 * stdio-common/perror.c (perror): In case a new stream is used
11274 forward the stream error.
11275 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11278 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11283 * include/alloca.h (extend_alloca_account): Define.
11286 * posix/regex.h: Fix comments with documentation of user-accessible
11287 fields after compilation and describe correct free'ing of pattern
11288 after re_compile_pattern.
11289 Patch by Reuben Thomas <rrt@sc3d.org>.
11291 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11293 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11294 and -mno-altivec to prevent the compiler from using Altivec and/or
11295 VSX instructions when the corresponding registers are not available.
11297 2011-05-19 Andreas Schwab <schwab@redhat.com>
11299 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11301 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11303 * libio/freopen.c (freopen): Use __dup2, not dup2.
11304 * libio/freopen64.c (freopen64): Likewise.
11306 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11309 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11310 * math/Makefile (tests): Add test-powl.
11311 (CFLAGS-test-powl.c): Define.
11312 * math/test-powl.c: New file.
11314 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11316 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11318 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11321 * iconvdata/gb18030.c: Update to GB18020-2005.
11323 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11325 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11326 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11327 Patch by Aharon Robbins <arnold@skeeve.com>.
11330 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11334 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11335 through underflows.
11338 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11339 point to strings before performing equality test for error_one_per_line
11343 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11346 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11347 (struct user_fpregs_struct): Avoid __uint*_t types.
11350 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11351 symbol info. Use it instead of calling _dl_addr locally.
11352 (lock_and_info): New function.
11353 (tr_freehook): Call lock_and_info and pass symbol info as additional
11354 parameter to tr_where.
11355 (tr_mallochook): Likewise.
11356 (tr_reallochook): Likewise.
11357 (tr_memalignhook): Likewise.
11359 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11360 used and couldn't be at all thread-safe.
11362 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11364 * libio/freopen.c (freopen): Don't close old file descriptor
11365 before the new one is opened. Instead dup the new file descriptor
11366 to the old one after the new stream is created.
11367 * libio/freopen64.c (freopen64): Likewise.
11368 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11369 * libio/fileops.c (_IO_new_file_close_it): Handle new
11370 _IO_FLAGS2_NOCLOSE flag.
11371 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11372 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11373 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11374 _IO_FLAGS2_NOCLOSE flag.
11375 * include/unistd.h: Add hidden_proto for dup3.
11376 Define __have_dup3.
11377 * io/dup3.c: Define hidden symbol.
11378 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11381 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11382 when an incomplete long option is used.
11383 * posix/tst-getopt_long1.c: New file.
11384 * posix/Makefile (tests): Add tst-getopt_long1.
11387 * scripts/config.guess: Update from autoconf-2.68.
11388 * scripts/config.sub: Likewise.
11391 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11393 (has_cpuclock): ...this. New function.
11394 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11395 macro here based on has_cpuclock code.
11398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11399 First byte (not low byte) is now always NUL.
11400 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11402 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11403 Use non-cancelable interfaces.
11406 * locale/iso-639.def: Add entry for Sorani.
11409 * include/stdlib.h: Move include protection to the right place.
11410 Define abort_msg_s. Declare __abort_msg with it.
11411 * stdlib/abort.c (__abort_msg): Adjust type.
11412 * assert/assert.c (__assert_fail_base): New function. Majority
11413 of code from __assert_fail. Allocate memory for __abort_msg with
11415 (__assert_fail): Now call __assert_fail_base.
11416 * assert/assert-perr.c: Remove bulk of implementation. Use
11417 __assert_fail_base.
11418 * include/assert.hL Declare __assert_fail_base.
11419 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11421 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11423 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11427 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11428 until all modules are registered in the DTV.
11429 * elf/Makefile: Add rules to build and run tst-tls19.
11430 * elf/tst-tls19.c: New file.
11431 * elf/tst-tls19mod1.c: New file.
11432 * elf/tst-tls19mod2.c: New file.
11433 * elf/tst-tls19mod3.c: New file.
11434 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11437 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11441 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11442 two-byte sequence errors.
11443 * iconvdata/Makefile (tests): Add bug-iconv8.
11444 * iconvdata/bug-iconv8.c: New file.
11447 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11450 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11453 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11454 (dummy_getcfa): New function.
11455 (init): Get _Unwind_GetCFA address, use dummy if not found.
11456 (backtrace_helper): In recursion check, also check whether CFA changes.
11457 (__backtrace): Completely initialize arg.
11459 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11460 storing incomplete byte sequence in state object. Avoid testing for
11461 guaranteed too small input if we know there is enough data available.
11463 2011-05-11 Andreas Schwab <schwab@redhat.com>
11465 * Makeconfig (+link-pie): Indent.
11466 * Rules (binaries-pie): Define if $(have-fpie) and
11468 (binaries-shared): Also filter out $(binaries-pie).
11469 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11470 * nscd/Makefile (others-pie): Add nscd.
11471 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11472 ($(objpfx)nscd): Remove command override.
11473 * login/Makefile (others-pie): Add pt_chown.
11474 ($(objpfx)pt_chown): Remove command override.
11475 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11476 remove command overrides.
11478 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11480 * libio/tst_putwc.c: Fix error messages.
11483 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11484 currently writing and seek to current position when not.
11485 * libio/Makefile (tests): Add bug-fclose1.
11486 * libio/bug-fclose1.c: New file.
11488 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11491 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11492 don't set DF_1_NODELETE here.
11493 (do_lookup_x): When entering new entry test for copy relocation
11494 and if necessary set DF_1_NODELETE flag.
11495 * elf/tst-unique4.cc: New file.
11496 * elf/tst-unique4.h: New file.
11497 * elf/tst-unique4lib.cc: New file.
11498 * elf/Makefile: Add rules to build and run tst-unique4.
11499 Patch by Piotr Bury <pbury@goahead.com>.
11501 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11504 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11507 * misc/mntent_r.c (addmntent): Flush the stream after the output
11510 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11511 (is_trusted_path_normalize): Skip initial colon. Append slash
11512 to empty buffer. Duplicate is_trusted_path code but allow
11513 constructed patch to be prefix.
11514 (is_dst): Allow $ORIGIN followed by /.
11515 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11516 Correct testing of result of is_trusted_path_normalize
11517 (decompose_rpath): Fix warning.
11519 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11522 * grp/initgroups.c (internal_getgrouplist): When we found the service
11523 list through the initgroups entry in nsswitch.conf do not always
11524 continue on a successful lookup. Don't always use the
11525 __nss_group_database value if it is set.
11526 * nss/nsswitch.conf (initgroups): Change action for successful db
11527 lookup to continue for compatibility.
11529 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11532 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11534 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11536 * iconvdata/tst-tables.sh: Likewise.
11537 * iconvdata/cp770.c: New file.
11538 * iconvdata/cp771.c: New file.
11539 * iconvdata/cp772.c: New file.
11540 * iconvdata/cp773.c: New file.
11541 * iconvdata/cp774.c: New file.
11542 * iconvdata/testdata/CP770: New file.
11543 * iconvdata/testdata/CP770..UTF8: New file.
11544 * iconvdata/testdata/CP771: New file.
11545 * iconvdata/testdata/CP771..UTF8: New file.
11546 * iconvdata/testdata/CP772: New file.
11547 * iconvdata/testdata/CP772..UTF8: New file.
11548 * iconvdata/testdata/CP773: New file.
11549 * iconvdata/testdata/CP773..UTF8: New file.
11550 * iconvdata/testdata/CP774: New file.
11551 * iconvdata/testdata/CP774..UTF8: New file.
11553 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11555 * iconvdata/gen-8bit-gap.sh: Likewise.
11556 * iconvdata/gen-8bit.sh: Likewise.
11558 * locale/iso-639.def: Add ary entry.
11561 * locale/C-translit.h.in: Add U20A1 transliteration.
11564 * locale/iso-639.def: Add wae entry.
11565 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11568 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11572 * locale/C-translit.h.in: Add entry for U20B9.
11573 Patch by pravin.d.s@gmail.com.
11575 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11578 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11579 ENAMETOOLONG use generic getcwd.
11580 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11581 in rtld. Use *stat64.
11582 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11583 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11584 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11585 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11586 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11587 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11588 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11589 __fstatat64 macros.
11590 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11591 * dirent/rewinddir.c: Add libc_hidden_def.
11592 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11593 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11595 * include/dirent.h (__alloc_dir): Add flags parameter.
11596 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11597 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11599 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11600 from fdopendir if O_CLOEXEC is already set.
11602 2011-03-15 Alan Modra <amodra@gmail.com>
11604 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11605 l_tls_firstbyte_offset non-zero. Save padding offset in
11606 l_tls_firstbyte_offset for later use.
11607 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11608 freeing static tls block.
11610 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11612 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11613 where #ifdef was intended. The intent is to prevent ARG_MAX from
11614 being defined by the kernel headers.
11616 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11619 * resolv/resolv.h: Define RES_NOTLDQUERY.
11620 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11621 no-tld-query and set RES_NOTLDQUERY.
11622 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11623 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11624 modern BIND to search name as TLD unless forbidden.
11626 2011-05-07 Petr Baudis <pasky@suse.cz>
11627 Ulrich Drepper <drepper@gmail.com>
11630 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11631 (is_trusted_path): ...to here.
11632 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11633 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11634 using is_trusted_path_normalize() in setuid scripts.
11636 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11638 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11639 __BEGIN/__END_DECLS.
11641 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11644 NSS_STATUS_NOTFOUND if no record was found.
11646 2011-05-05 Andreas Schwab <schwab@redhat.com>
11648 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11649 (headers-not-in-tirpc): Remove rpc/netdb.h
11650 * resolv/netdb.h: Revert last change.
11652 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11654 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11655 circular dependency between libgcc.a and libc.a.
11657 2011-05-05 Andreas Schwab <schwab@redhat.com>
11659 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11660 * nis/Makefile: Don't install rpcsvc/*.
11661 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11662 instead of <rpc/types.h>.
11663 (MAXHOSTNAMELEN): Define.
11665 2011-05-03 Andreas Schwab <schwab@redhat.com>
11667 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11669 2011-04-28 Maciej Babinski <mbabinski@google.com>
11672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11673 gethostbyname4_r when IPv6 results are possible.
11675 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11678 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11679 _PC_PIPE_BUF handling.
11681 2011-04-30 Bruno Haible <bruno@clisp.org>
11684 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11685 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11687 * inet/getnameinfo.c (getnameinfo): Likewise.
11689 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11691 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11692 to groups setting in database lookup.
11693 * nss/nsswitch.conf: Add initgroups entry.
11695 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11698 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11700 Patch by Eric Blake <eblake@redhat.com>.
11702 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11704 * sunrpc/Makefile (need-export-routines): Add svc_run.
11705 (routines): Remove svc_run.
11706 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11707 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11708 * sunrpc/svc_run.c (svc_run): Likewise.
11709 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11711 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11713 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11714 problem in reallocation in last patch.
11716 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11718 * sunrpc/Makefile: Move inclusion of Rules.
11720 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11722 * nss/nss_files/files-initgroups.c: New file.
11723 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11724 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11725 _nss_files_initgroups_dyn.
11727 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11729 * elf/elf.h (R_ARM_IRELATIVE): Define.
11731 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11733 * po/ru.po: Update from translation team.
11735 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11737 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11740 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11743 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11744 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11745 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11746 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11747 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11749 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11751 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11753 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11754 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11755 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11757 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11760 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11762 * stdlib/bug-getcontext.c: New file.
11763 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11765 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11767 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11768 instructions into .machine "z9-109".
11769 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11770 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11772 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11774 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11775 between environment variables and auxiliary vector.
11777 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11779 * Makefile: Add rules to build linkobj/libc.so.
11780 * include/libc-symbols.h: Define libc_hidden_nolink.
11781 * include/rpc/auth.h: Mark functions which are to be hidden.
11782 * include/rpc/auth_des.h: Likewise.
11783 * include/rpc/auth_unix.h: Likewise.
11784 * include/rpc/clnt.h: Likewise.
11785 * include/rpc/des_crypt.h: Likewise.
11786 * include/rpc/key_prot.h: Likewise.
11787 * include/rpc/pmap_clnt.h: Likewise.
11788 * include/rpc/pmap_prot.h: Likewise.
11789 * include/rpc/pmap_rmt.h: Likewise.
11790 * include/rpc/rpc_msg.h: Likewise.
11791 * include/rpc/svc.h: Likewise.
11792 * include/rpc/svc_auth.h: Likewise.
11793 * include/rpc/xdr.h: Likewise.
11794 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11795 * nss/Makefile: Likewise.
11796 * sunrpc/Makefile: Don't install headers. Build library with normal
11797 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11798 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11799 for the compat linking library. Remove use of INTDEF/INTUSE.
11800 * sunrpc/auth_none.c: Likewise.
11801 * sunrpc/auth_unix.c: Likewise.
11802 * sunrpc/authdes_prot.c: Likewise.
11803 * sunrpc/authuxprot.c: Likewise.
11804 * sunrpc/clnt_gen.c: Likewise.
11805 * sunrpc/clnt_perr.c: Likewise.
11806 * sunrpc/clnt_raw.c: Likewise.
11807 * sunrpc/clnt_simp.c: Likewise.
11808 * sunrpc/clnt_tcp.c: Likewise.
11809 * sunrpc/clnt_udp.c: Likewise.
11810 * sunrpc/clnt_unix.c: Likewise.
11811 * sunrpc/des_crypt.c: Likewise.
11812 * sunrpc/des_soft.c: Likewise.
11813 * sunrpc/get_myaddr.c: Likewise.
11814 * sunrpc/key_call.c: Likewise.
11815 * sunrpc/key_prot.c: Likewise.
11816 * sunrpc/netname.c: Likewise.
11817 * sunrpc/pm_getmaps.c: Likewise.
11818 * sunrpc/pm_getport.c: Likewise.
11819 * sunrpc/pmap_clnt.c: Likewise.
11820 * sunrpc/pmap_prot.c: Likewise.
11821 * sunrpc/pmap_prot2.c: Likewise.
11822 * sunrpc/pmap_rmt.c: Likewise.
11823 * sunrpc/publickey.c: Likewise.
11824 * sunrpc/rpc_cmsg.c: Likewise.
11825 * sunrpc/rpc_common.c: Likewise.
11826 * sunrpc/rpc_dtable.c: Likewise.
11827 * sunrpc/rpc_prot.c: Likewise.
11828 * sunrpc/rpc_thread.c: Likewise.
11829 * sunrpc/rtime.c: Likewise.
11830 * sunrpc/svc.c: Likewise.
11831 * sunrpc/svc_auth.c: Likewise.
11832 * sunrpc/svc_authux.c: Likewise.
11833 * sunrpc/svc_raw.c: Likewise.
11834 * sunrpc/svc_run.c: Likewise.
11835 * sunrpc/svc_simple.c: Likewise.
11836 * sunrpc/svc_tcp.c: Likewise.
11837 * sunrpc/svc_udp.c: Likewise.
11838 * sunrpc/svc_unix.c: Likewise.
11839 * sunrpc/svcauth_des.c: Likewise.
11840 * sunrpc/xcrypt.c: Likewise.
11841 * sunrpc/xdr.c: Likewise.
11842 * sunrpc/xdr_array.c: Likewise.
11843 * sunrpc/xdr_float.c: Likewise.
11844 * sunrpc/xdr_intXX_t.c: Likewise.
11845 * sunrpc/xdr_mem.c: Likewise.
11846 * sunrpc/xdr_rec.c: Likewise.
11847 * sunrpc/xdr_ref.c: Likewise.
11848 * sunrpc/xdr_sizeof.c: Likewise.
11849 * sunrpc/xdr_stdio.c: Likewise.
11851 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11854 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11855 * sysdeps/ia64/dl-tls.h: Likewise.
11856 * sysdeps/powerpc/dl-tls.h: Likewise.
11857 * sysdeps/s390/dl-tls.h: Likewise.
11858 * sysdeps/sh/dl-tls.h: Likewise.
11859 * sysdeps/sparc/dl-tls.h: Likewise.
11860 * sysdeps/x86_64/dl-tls.h: Likewise.
11861 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11863 2011-03-14 Andreas Schwab <schwab@redhat.com>
11865 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11866 rpath element also skip the following colon.
11867 (expand_dynamic_string_token): Add is_path parameter and pass
11868 down to DL_DST_REQUIRED and _dl_dst_substitute.
11869 (decompose_rpath): Call expand_dynamic_string_token with
11870 non-zero is_path. Ignore empty rpaths.
11871 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11874 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11879 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11882 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11883 Patch by Filipe David Manana <fdmanana@apache.org>.
11885 2011-04-07 Andreas Schwab <schwab@redhat.com>
11887 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11888 Maintain aligned stack.
11889 (CHECK_RSP): Remove unused macro.
11891 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11893 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11894 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11896 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11898 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11900 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11902 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11905 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11906 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11907 * sysdeps/x86_64/memmove.c: New file.
11908 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11909 (memcpy): Renamed to ...
11910 (__new_memcpy): This.
11911 (memcpy): Provide GLIBC_2_14 memcpy.
11912 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11913 (memcpy): Provide GLIBC_2_2_5 memcpy.
11915 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11918 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11920 2011-03-30 Andreas Schwab <schwab@redhat.com>
11922 * misc/syncfs.c: New file.
11923 * misc/Makefile (routines): Add syncfs.
11924 * posix/unistd.h: Declare syncfs.
11925 * sysdeps/unix/syscalls.list: Add syncfs.
11927 2011-04-01 Andreas Schwab <schwab@redhat.com>
11929 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11931 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11932 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11934 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11936 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11939 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11943 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11945 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11947 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11949 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11950 sync_file_range.c with -fexceptions.
11951 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11952 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11953 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11954 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11955 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11956 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11958 sync_file_range as cancellation point
11959 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11960 now a wrapper around __call_sync_file_range with cancellation handling.
11961 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11962 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11963 function name to __call_sync_file_range.
11964 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11965 Add call_sync_file_range.
11967 2011-04-01 Andreas Schwab <schwab@redhat.com>
11969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11972 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11974 * iconv/iconv.h: Fix typo in comment.
11975 * io/fcntl.h: Likewise.
11976 * libio/stdio.h: Likewise.
11977 * posix/spawn.h: Likewise.
11978 * posix/unistd.h: Likewise.
11979 * stdlib/stdlib.h: Likewise.
11980 * time/time.h: Likewise.
11981 * wcsmbs/wchar.h: Likewise.
11983 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11984 open_by_handle): Add.
11985 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11986 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11987 Augment a few comments.
11988 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11990 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11992 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11993 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11996 * io/fcntl.h (AT_EMPTY_PATH): Define.
11998 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12000 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12001 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12002 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12004 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12005 * Versions.def: Add GLIBC_2.14.
12006 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12009 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12011 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12013 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12015 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12018 * string/test-strncmp.c (do_page_test): New function.
12019 (check2): Likewise.
12020 (test_main): Call check2.
12021 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12023 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12027 Handle cache information in CPU leaf 4.
12028 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12030 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12033 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12034 character representation.
12035 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12037 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12039 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12040 END(__isnan) to END(__isnanf) to match function entry point/label
12041 EALIGN(__isnanf,...).
12043 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12045 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12047 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12050 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12051 copy from the symbol referenced in the relocation to initialize the
12053 Patch by Piotr Bury <pbury@goahead.com>.
12054 * elf/Makefile: Add rules to build and tst-unique3.
12055 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12056 * elf/tst-unique3.cc: New file.
12057 * elf/tst-unique3.h: New file.
12058 * elf/tst-unique3lib.cc: New file.
12059 * elf/tst-unique3lib2.cc: New file.
12061 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12063 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12065 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12066 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12069 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12071 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12072 to-be-loaded object along a path to loader is ld.so.
12074 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12075 Ulrich Drepper <drepper@gmail.com>
12077 * sysdeps/x86_64/memset.S: After aligning destination, code
12078 branches to different locations depending on the value of
12079 misalignment, when multiarch is enabled. Fix this.
12081 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12083 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12084 Set _x86_64_preferred_memory_instruction for AMD processsors.
12085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12086 Set bit_Prefer_SSE_for_memop for AMD processors.
12088 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12090 * libio/fmemopen.c (fmemopen): Optimize a bit.
12092 2011-03-03 Andreas Schwab <schwab@redhat.com>
12094 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12096 2011-03-03 Roland McGrath <roland@redhat.com>
12098 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12100 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12102 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12103 __bzero_ultra1 instead of __memset_ultra1.
12105 2011-02-23 Andreas Schwab <schwab@redhat.com>
12106 Ulrich Drepper <drepper@gmail.com>
12109 * include/link.h (struct link_map): Add l_orig_initfini.
12110 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12111 returning unsuccessfully.
12112 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12113 close of a file loaded at startup, restore the original l_initfini
12115 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12116 list, store the pointer.
12117 * elf/Makefile ($(objpfx)noload-mem): New rule.
12118 (noload-ENV): Define.
12119 (tests): Add $(objpfx)noload-mem.
12120 * elf/noload.c: Include <memcheck.h>.
12121 (main): Call mtrace. Close all opened handles.
12123 2011-02-17 Andreas Schwab <schwab@redhat.com>
12126 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12127 dependencies are missing.
12129 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12131 Fix __if_freereq crash: Unlike the generic version which uses free,
12133 * sysdeps/mach/hurd/ifreq.h: New file.
12135 2011-01-27 Petr Baudis <pasky@suse.cz>
12136 Ulrich Drepper <drepper@gmail.com>
12139 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12140 to extend_alloca().
12141 * stdio-common/bug23.c: New file.
12142 * stdio-common/Makefile (tests): Add bug23.
12144 2010-09-28 Andreas Schwab <schwab@redhat.com>
12145 Ulrich Drepper <drepper@gmail.com>
12148 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12149 before performing relro protection. At old place add assertion
12150 to make sure nothing changed.
12152 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12153 Glauber de Oliveira Costa <glommer@gmail.com>
12155 * elf/elf.h: Add new ARM TLS relocs.
12157 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12160 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12162 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12164 * sysdeps/wordsize-64/tst-writev.c: New file.
12166 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12168 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12169 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12170 insns in _dl_start to prevent a TOC reference before relocs are
12173 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12176 * Makeconfig: Remove RANLIB definition.
12177 * Makerules: Don't use RANLIB.
12178 * aclocal.m4: Remove ranlib test.
12179 * configure.in: No need to check for ranlib.
12180 * elf/rtld-Rules: Don't use RANLIB.
12182 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12184 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12186 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12187 inclusion protection macro.
12189 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12190 SIGRTMIN and SIGRTMAX and print information in that case only when
12191 SIGRTMIN is defined.
12193 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12195 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12196 arginfo fn returning -1.
12198 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12199 and thousands string is zero terminated.
12201 2011-02-03 Andreas Schwab <schwab@redhat.com>
12203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12204 sysdeps/unix/sysv/linux/bits/socket.h.
12206 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12208 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12209 (__CPU_COUNT): Remove old macros.
12210 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12211 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12212 (__CPU_ALLOC, __CPU_FREE): Add macros.
12213 (__sched_cpualloc, __sched_cpufree): Add declarations.
12215 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12217 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12218 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12219 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12220 (readdhstai): Return value of addhstaiX call.
12221 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12222 (addgrbyX): Return value returned by cache_addgr.
12223 (readdgrbyname): Return value returned by addgrbyX.
12224 (readdgrbygid): Likewise.
12225 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12226 (addpwbyX): Return value returned by cache_addpw.
12227 (readdpwbyname): Return value returned by addhstbyX.
12228 (readdpwbyuid): Likewise.
12229 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12230 (addservbyX): Return value returned by cache_addserv.
12231 (readdservbyname): Return value returned by addservbyX:
12232 (readdservbyport): Likewise.
12233 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12234 (addhstbyX): Return value returned by cache_addhst.
12235 (readdhstbyname): Return value returned by addhstbyX.
12236 (readdhstbyaddr): Likewise.
12237 (readdhstbynamev6): Likewise.
12238 (readdhstbyaddrv6): Likewise.
12239 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12240 (readdinitgroups): Return value returned by addinitgroupsX.
12241 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12242 (prune_cache): Keep track of timeout value of re-added entries.
12243 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12244 * nscd/nscd.h: Adjust prototypes of readd* functions.
12246 2011-02-04 Roland McGrath <roland@redhat.com>
12248 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12249 (nis_stats): Likewise.
12250 * nis/nis_modify.c (nis_modify): Likewise.
12251 * nis/nis_remove.c (nis_remove): Likewise.
12252 * nis/nis_add.c (nis_add): Likewise.
12254 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12256 * posix/fnmatch_loop.c: Add some consts.
12258 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12260 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12263 * config.make.in (config-cflags-novzeroupper): Define.
12264 * configure.in: Substitute libc_cv_cc_novzeroupper.
12265 * elf/Makefile (AVX-CFLAGS): Define.
12266 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12267 (CFLAGS-tst-auditmod4a.c): Likewise.
12268 (CFLAGS-tst-auditmod4b.c): Likewise.
12269 (CFLAGS-tst-auditmod6b.c): Likewise.
12270 (CFLAGS-tst-auditmod6c.c): Likewise.
12271 (CFLAGS-tst-auditmod7b.c): Likewise.
12272 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12274 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12276 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12277 function to the callback.
12278 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12280 2011-02-02 Andreas Schwab <schwab@redhat.com>
12282 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12285 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12288 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12290 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12292 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12295 * elf/Makefile: Add rules to build and run new test.
12296 * elf/tst-initorder.c: New file.
12297 * elf/tst-initorder.exp: New file.
12298 * elf/tst-initordera1.c: New file.
12299 * elf/tst-initordera2.c: New file.
12300 * elf/tst-initordera3.c: New file.
12301 * elf/tst-initordera4.c: New file.
12302 * elf/tst-initorderb1.c: New file.
12303 * elf/tst-initorderb2.c: New file.
12304 * elf/tst-order-a1.c: New file.
12305 * elf/tst-order-a2.c: New file.
12306 * elf/tst-order-a3.c: New file.
12307 * elf/tst-order-a4.c: New file.
12308 * elf/tst-order-b1.c: New file.
12309 * elf/tst-order-b2.c: New file.
12310 * elf/tst-order-main.c: New file.
12311 New test case by George Gensure <werkt0@gmail.com>.
12313 2010-10-01 Andreas Schwab <schwab@redhat.com>
12315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12316 decoding ACE if AI_CANONIDN.
12318 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12320 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12322 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12324 * version.h (RELEASE): Bump for 2.13 release.
12325 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12327 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12329 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12331 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12332 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12333 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12334 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12336 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12338 * posix/getconf.c: Update copyright year.
12339 * catgets/gencat.c: Likewise.
12340 * csu/version.c: Likewise.
12341 * debug/catchsegv.sh: Likewise.
12342 * debug/xtrace.sh: Likewise.
12343 * elf/ldconfig.c: Likewise.
12344 * elf/ldd.bash.in: Likewise.
12345 * elf/sprof.c (print_version): Likewise.
12346 * iconv/iconv_prog.c: Likewise.
12347 * iconv/iconvconfig.c: Likewise.
12348 * locale/programs/locale.c: Likewise.
12349 * locale/programs/localedef.c: Likewise.
12350 * malloc/memusage.sh: Likewise.
12351 * malloc/mtrace.pl: Likewise.
12352 * nscd/nscd.c (print_version): Likewise.
12353 * nss/getent.c: Likewise.
12355 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12356 PF_CAIF, and PF_ALG.
12357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12359 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12361 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12362 (modules-names): Use them.
12363 (ifunc-test-modules, ifunc-pie-tests): Define.
12364 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12365 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12366 (test-extras): Likewise.
12367 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12368 $(compile-command.c).
12369 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12370 (all-built-dso): Define.
12371 (check-textrel.out, check-execstack.out): Depend on it.
12373 * configure.in: Don't override --enable-multi-arch.
12375 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12378 * nscd/hstcache.c (tryagain): Define.
12379 (cache_addhst): Return tryagain not notfound for temporary errors.
12380 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12383 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12386 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12387 to make the syscall.
12388 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12391 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12392 and fall back to matching as normal character if the string ends before
12393 the matching ']' is found. This is what POSIX requires.
12394 * posix/testfnm.c: Adjust test result.
12395 * posix/globtest.sh: Adjust test result. Add new test.
12396 * posix/tst-fnmatch.input: Likewise.
12397 * posix/tst-fnmatch2.c: Add new test.
12399 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12401 * elf/Makefile (check-execstack): Revert last change. Depend on
12403 (check-execstack.h): New target.
12404 (generated): Add check-execstack.h.
12405 * elf/check-execstack.c: Include "check-execstack.h".
12406 (main): Revert last change.
12407 (handle_file): Return zero if GNU_STACK is absent and
12408 DEFAULT_STACK_PERMS doesn't include PF_X.
12410 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12412 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12413 in child fails because the descriptor is already closed.
12414 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12415 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12416 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12419 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12423 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12424 temporary buffer used to handle multi lookups locally.
12425 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12427 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12429 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12432 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12434 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12435 alignment for SSE2.
12437 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12440 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12441 characters. When rounding increased number of integer digits recompute
12443 * stdio-common/tst-grouping.c: New file.
12444 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12446 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12448 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12449 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12451 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12453 * bits/select.h: Likewise.
12455 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12457 * po/ja.po: Update from translation team.
12459 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12462 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12463 implementation just like for lxstat, fxstatat, et al.
12465 2010-12-27 Jim Meyering <meyering@redhat.com>
12468 * posix/regexec.c (build_trtable): Return failure indication upon
12469 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12471 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12474 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12475 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12476 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12477 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12480 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12483 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12484 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12486 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12488 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12489 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12490 script has SORT_BY_INIT_PRIORITY.
12491 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12492 NO_CTORS_DTORS_SECTIONS is defined.
12493 * elf/soinit.c: Likewise.
12494 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12495 NO_CTORS_DTORS_SECTIONS is defined.
12496 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12497 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12498 * sysdeps/sh/init-first.c: Likewise.
12499 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12501 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12503 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12504 always use the slow path.
12506 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12508 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12509 similar rule which adds the sysdep directories to the header search in
12510 order to pick up the correct platform stackinfo.h.
12511 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12512 perform test if it is, otherwise return successfully without testing.
12513 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12514 DEFAULT_STACK_PERMS define in stackinfo.h.
12515 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12516 defined in stackinfo.h.
12517 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12518 DEFAULT_STACK_PERMS defined in stackinfo.h.
12519 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12520 * sysdeps/ia64/stackinfo.h: Likewise.
12521 * sysdeps/s390/stackinfo.h: Likewise.
12522 * sysdeps/sh/stackinfo.h: Likewise.
12523 * sysdeps/sparc/stackinfo.h: Likewise.
12524 * sysdeps/x86_64/stackinfo.h: Likewise.
12525 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12526 PF_X for powerpc64. Retain PF_X for powerpc32.
12528 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12530 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12532 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12533 GETDENTS_64BIT_ALIGNED.
12535 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12537 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12539 2010-12-10 Andreas Schwab <schwab@redhat.com>
12541 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12544 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12545 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12547 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12548 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12550 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12553 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12556 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12558 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12560 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12562 * po/it.po: Update from translation team.
12564 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12569 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12571 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12573 2010-11-24 Andreas Schwab <schwab@redhat.com>
12575 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12577 (gaih_getanswer_slice): Likewise.
12579 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12583 2010-05-31 Petr Baudis <pasky@suse.cz>
12586 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12587 silently even in the chroot mode.
12589 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12591 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12592 last patch a bit. Pretty printing
12594 2010-05-31 Petr Baudis <pasky@suse.cz>
12597 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12598 initialization of skip_initgroups_dyn.
12600 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12602 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12603 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12605 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12607 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12609 2010-11-11 Andreas Schwab <schwab@redhat.com>
12611 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12612 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12613 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12614 ($(objpfx)tst-fnmatch-mem): New rule.
12615 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12616 * posix/tst-fnmatch.c (main): Call mtrace.
12618 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12621 Support Intel processor model 6 and model 0x2c.
12623 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12625 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12628 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12631 * string/test-strncasecmp.c (check_result): New function.
12632 (do_one_test): Use it.
12633 (check1): New function.
12634 (test_main): Use it.
12635 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12636 Support strcasecmp and strncasecmp.
12638 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12641 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12642 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12644 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12646 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12650 * sysdeps/x86_64/multiarch/bzero.S: New file.
12651 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12652 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12653 * sysdeps/x86_64/multiarch/memset.S: New file.
12654 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12656 Set bit_Prefer_SSE_for_memop for Intel processors.
12657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12659 (index_Prefer_SSE_for_memop): Define.
12660 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12662 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12664 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12665 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12667 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12670 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12671 (__x86_64_raw_data_cache_size_half): Likewise.
12672 (__x86_64_raw_shared_cache_size): Likewise.
12673 (__x86_64_raw_shared_cache_size_half): Likewise.
12675 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12676 (__x86_64_raw_data_cache_size_half): Likewise.
12677 (__x86_64_raw_shared_cache_size): Likewise.
12678 (__x86_64_raw_shared_cache_size_half): Likewise.
12679 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12680 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12681 and __x86_64_raw_shared_cache_size_half. Round
12682 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12683 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12684 to multiple of 256 bytes.
12686 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12689 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12690 of inacessible symlinks. Verify result of symlink before returning it.
12691 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12692 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12694 2010-10-28 Erich Ritz <erichritz@gmail.com>
12696 * math/math.h (isinf): Fix typo in comment.
12698 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12700 * po/da.po: Update from translation team.
12702 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12704 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12705 is added to the list.
12707 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12708 Ulrich Drepper <drepper@gmail.com>
12710 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12711 the global list here. Move code to...
12712 (_dl_add_to_namespace_list): ...here. New function.
12713 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12714 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12715 * elf/dl-load.c (lose): Don't remove the element from the list.
12716 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12717 (_dl_map_object): Likewise.
12719 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12722 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12723 into all bytes of SSE register.
12724 Patch by Richard Li <richardpku@gmail.com>.
12726 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12729 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12732 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12734 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12735 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12736 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12742 2010-10-22 Andreas Schwab <schwab@redhat.com>
12744 * include/dlfcn.h (__RTLD_SECURE): Define.
12745 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12746 mode & __RTLD_SECURE instead.
12747 (open_path): Rename preloaded parameter to secure.
12748 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12749 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12750 * elf/dl-deps.c (openaux): Likewise.
12751 * elf/rtld.c (struct map_args): Remove is_preloaded.
12752 (map_doit): Don't use it.
12753 (dl_main): Likewise.
12754 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12755 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12757 2010-09-09 Andreas Schwab <schwab@redhat.com>
12759 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12760 (sysd-rules-targets): Remove duplicates.
12761 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12762 rtld-%.$o dependency.
12764 2010-10-18 Andreas Schwab <schwab@redhat.com>
12766 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12767 _dl_map_object do it.
12769 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12771 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12772 fast fma builtins, define the macros in the C99 standard.
12773 (FP_FAST_FMAF): Likewise.
12774 (FP_FAST_FMAL): Likewise.
12775 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12777 * bits/mathdef.h: Update copyright year.
12778 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12780 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12782 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12783 builtins, define the macros in the C99 standard.
12784 (FP_FAST_FMAF): Likewise.
12785 (FP_FAST_FMAL): Likewise.
12786 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12788 (FP_FAST_FMAF): Likewise.
12790 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12793 * math/libm-test.inc (fma_test): Some new testcases.
12794 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12795 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12796 y and infinite z. Do multiplication by C already in long double.
12797 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12798 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12799 y and infinite z. Do bitwise or of inexact bit into u.d.
12800 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12801 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12802 * sysdeps/i386/fpu/s_fma.S: Removed.
12803 * sysdeps/i386/fpu/s_fmal.S: Removed.
12805 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12808 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12810 computation is not scheduled after fetestexcept. Fix value
12811 of minimum denormal long double.
12813 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12816 * math/libm-test.inc (fma_test): Add some more tests.
12817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12820 2010-10-15 Andreas Schwab <schwab@redhat.com>
12822 * scripts/data/localplt-s390-linux-gnu.data: New file.
12823 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12825 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12828 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12829 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12831 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12833 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12835 if one of x and y is very large and the other is subnormal.
12836 * sysdeps/s390/fpu/s_fmaf.c: New file.
12837 * sysdeps/s390/fpu/s_fma.c: New file.
12838 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12839 * sysdeps/powerpc/fpu/s_fma.S: New file.
12840 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12841 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12842 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12844 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12847 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12849 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12850 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12851 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12852 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12853 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12854 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12857 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12860 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12861 * posix/bug-regex31.input: Add test case.
12863 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12865 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12866 * posix/bug-regex31.input: New file.
12869 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12870 (parse_sub_exp): Fix last change, use postorder.
12872 * posix/bug-regex31.c: New file.
12873 * posix/Makefile: Add rules to build and run bug-regex31.
12875 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12878 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12881 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12882 to have entries in sys_siglist.
12885 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12888 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12891 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12892 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12893 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12894 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12895 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12896 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12897 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12898 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12899 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12900 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12901 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12902 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12903 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12904 * math/ftestexcept.c (fetestexcept): Likewise.
12905 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12906 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12907 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12908 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12909 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12910 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12911 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12913 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12916 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12919 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12921 * string/bug-strstr1.c: New file.
12922 * string/Makefile: Add rules to build and run bug-strstr1.
12924 2010-10-05 Eric Blake <eblake@redhat.com>
12927 * string/str-two-way.h (two_way_long_needle): Always clear memory
12928 when skipping input due to the shift table.
12930 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12933 * malloc/mcheck.c: Handle large requests.
12936 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12937 for strncmp and strncasecmp.
12938 * string/stratcliff.c: Add tests for strcmp and strncmp.
12939 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12941 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12943 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12946 2010-09-30 Andreas Jaeger <aj@suse.de>
12948 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12949 (CGROUP_SUPER_MAGIC): Define.
12950 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12951 Handle btrfs and cgroup file systems.
12952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12955 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12957 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12958 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12960 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12963 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12964 trying to locate the ELF header.
12966 2010-09-27 Andreas Schwab <schwab@redhat.com>
12969 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12970 Mask out sign-bit copies when constructing f_fsid.
12972 2010-09-24 Petr Baudis <pasky@suse.cz>
12974 * debug/stack_chk_fail_local.c: Add missing licence exception.
12975 * debug/warning-nop.c: Likewise.
12977 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12979 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12980 implementing getdents64 using getdents syscall, set d_type if
12981 __ASSUME_GETDENTS32_D_TYPE.
12983 2010-09-16 Andreas Schwab <schwab@redhat.com>
12985 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12986 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12988 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12991 * posix/unistd.h: Undo change of feature selection for ftruncate from
12994 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12996 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12999 2010-09-20 Andreas Schwab <schwab@redhat.com>
13001 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13003 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13005 2010-09-14 Andreas Schwab <schwab@redhat.com>
13007 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13008 variables after CHECK_SP call.
13009 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13011 2010-09-13 Andreas Schwab <schwab@redhat.com>
13012 Ulrich Drepper <drepper@redhat.com>
13014 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13015 re-relocationg ld.so.
13016 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13017 _dl_init_paths call.
13018 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13021 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13023 * resolv/res_init.c (__res_vinit): Count the default server we added.
13025 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13026 Ulrich Drepper <drepper@redhat.com>
13029 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13030 (____longjmp_chk): Use %ebx for saving value across system call.
13033 2010-09-06 Andreas Schwab <schwab@redhat.com>
13035 * manual/Makefile: Don't mix pattern rules with normal rules.
13037 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13039 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13041 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13042 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13043 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13044 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13048 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13051 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13052 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13054 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13056 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13057 * sysdeps/x86_64/addmul_1.S: Likewise.
13058 * sysdeps/x86_64/lshift.S: Likewise.
13059 * sysdeps/x86_64/mul_1.S: Likewise.
13060 * sysdeps/x86_64/rshift.S: Likewise.
13061 * sysdeps/x86_64/sub_n.S: Likewise.
13062 * sysdeps/x86_64/submul_1.S: Likewise.
13064 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13066 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13067 Define __sched_param instead of SCHED_* and sched_param when
13068 <bits/sched.h> is included with __need_schedparam defined.
13069 * bits/sched.h [__need_schedparam]
13070 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13071 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13072 (__defined_schedparam): Define to 1.
13073 (__sched_param): New structure, identical to sched_param.
13074 (__need_schedparam): Undefine.
13076 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13078 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13079 (epoll_create1): Declare.
13081 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13083 2010-08-31 Andreas Schwab <schwab@redhat.com>
13086 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13087 shifting retval into place.
13089 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13091 * nis/rpcsvc/nis.h: Update copyright notice.
13092 * nis/rpcsvc/nis.x: Likewise.
13093 * nis/rpcsvc/nis_callback.h: Likewise.
13094 * nis/rpcsvc/nis_callback.x: Likewise.
13095 * nis/rpcsvc/nis_object.x: Likewise.
13096 * nis/rpcsvc/nis_tags.h: Likewise.
13097 * nis/rpcsvc/yp.h: Likewise.
13098 * nis/rpcsvc/yp.x: Likewise.
13099 * nis/rpcsvc/ypupd.h: Likewise.
13100 * nis/yp_xdr.c: Likewise.
13101 * nis/ypupdate_xdr.c: Likewise.
13103 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13104 mainly the body of pmap_getport. Add parameters to specify timeouts.
13105 (pmap_getport): Use __libc_rpc_getport.
13106 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13107 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13108 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13110 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13115 2010-08-27 Roland McGrath <roland@redhat.com>
13117 * sysdeps/i386/i686/multiarch/Makefile
13118 (CFLAGS-varshift.c): New variable.
13120 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13122 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13123 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13125 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13127 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13129 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13131 * sysdeps/x86_64/strlen.S: Unroll the loop.
13132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13133 strlen-sse2 strlen-sse2-bsf.
13134 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13135 __strlen_no_bsf if bit_Slow_BSF is set.
13136 (__strlen_sse42): Removed.
13137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13138 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13140 2010-08-25 Roland McGrath <roland@redhat.com>
13142 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13143 * sysdeps/x86_64/multiarch/varshift.c: New file.
13144 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13145 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13146 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13147 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13149 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13152 strlen-sse2 strlen-sse2-bsf.
13153 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13154 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13155 (__strlen_sse2): Removed.
13156 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13157 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13159 bit_Slow_BSF for Atom.
13160 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13161 (index_Slow_BSF): Define.
13162 (HAS_SLOW_BSF): Define.
13164 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13167 * resolv/res_init.c (__res_vinit): When no server address at all
13168 is given default to loopback.
13170 2010-08-24 Roland McGrath <roland@redhat.com>
13172 * configure.in: Remove config-name.h generation.
13173 * configure: Regenerated.
13174 * config-name.in: File removed.
13175 * scripts/config-uname.sh: New file.
13176 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13177 ($(objdir)config-name.h): New target.
13179 * sunrpc/rpc_parse.h: Avoid nested comment.
13181 2010-08-24 Richard Henderson <rth@redhat.com>
13182 Ulrich Drepper <drepper@redhat.com>
13183 H.J. Lu <hongjiu.lu@intel.com>
13185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13187 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13188 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13189 _mm_alignr_epi8 with _mm_loadu_si128.
13190 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13191 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13192 (__m128i_shift_right): Removed.
13193 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13194 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13195 * sysdeps/x86_64/multiarch/varshift.h: New file.
13196 * sysdeps/x86_64/multiarch/varshift.S: New file.
13198 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13200 * configure.in: Move assembler checks to before sysdep dir checking.
13202 2010-08-20 Petr Baudis <pasky@suse.cz>
13204 * LICENSES: Sync the sunrpc license.
13206 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13208 * sunrpc/auth_des.c: Update copyright notice once again.
13209 * sunrpc/auth_none.c: Likewise.
13210 * sunrpc/auth_unix.c: Likewise.
13211 * sunrpc/authdes_prot.c: Likewise.
13212 * sunrpc/authuxprot.c: Likewise.
13213 * sunrpc/bindrsvprt.c: Likewise.
13214 * sunrpc/clnt_gen.c: Likewise.
13215 * sunrpc/clnt_perr.c: Likewise.
13216 * sunrpc/clnt_raw.c: Likewise.
13217 * sunrpc/clnt_simp.c: Likewise.
13218 * sunrpc/clnt_tcp.c: Likewise.
13219 * sunrpc/clnt_udp.c: Likewise.
13220 * sunrpc/clnt_unix.c: Likewise.
13221 * sunrpc/des_crypt.c: Likewise.
13222 * sunrpc/des_soft.c: Likewise.
13223 * sunrpc/get_myaddr.c: Likewise.
13224 * sunrpc/getrpcport.c: Likewise.
13225 * sunrpc/key_call.c: Likewise.
13226 * sunrpc/key_prot.c: Likewise.
13227 * sunrpc/openchild.c: Likewise.
13228 * sunrpc/pm_getmaps.c: Likewise.
13229 * sunrpc/pm_getport.c: Likewise.
13230 * sunrpc/pmap_clnt.c: Likewise.
13231 * sunrpc/pmap_prot.c: Likewise.
13232 * sunrpc/pmap_prot2.c: Likewise.
13233 * sunrpc/pmap_rmt.c: Likewise.
13234 * sunrpc/rpc/auth.h: Likewise.
13235 * sunrpc/rpc/auth_unix.h: Likewise.
13236 * sunrpc/rpc/clnt.h: Likewise.
13237 * sunrpc/rpc/des_crypt.h: Likewise.
13238 * sunrpc/rpc/key_prot.h: Likewise.
13239 * sunrpc/rpc/netdb.h: Likewise.
13240 * sunrpc/rpc/pmap_clnt.h: Likewise.
13241 * sunrpc/rpc/pmap_prot.h: Likewise.
13242 * sunrpc/rpc/pmap_rmt.h: Likewise.
13243 * sunrpc/rpc/rpc.h: Likewise.
13244 * sunrpc/rpc/rpc_des.h: Likewise.
13245 * sunrpc/rpc/rpc_msg.h: Likewise.
13246 * sunrpc/rpc/svc.h: Likewise.
13247 * sunrpc/rpc/svc_auth.h: Likewise.
13248 * sunrpc/rpc/types.h: Likewise.
13249 * sunrpc/rpc/xdr.h: Likewise.
13250 * sunrpc/rpc_clntout.c: Likewise.
13251 * sunrpc/rpc_cmsg.c: Likewise.
13252 * sunrpc/rpc_common.c: Likewise.
13253 * sunrpc/rpc_cout.c: Likewise.
13254 * sunrpc/rpc_dtable.c: Likewise.
13255 * sunrpc/rpc_hout.c: Likewise.
13256 * sunrpc/rpc_main.c: Likewise.
13257 * sunrpc/rpc_parse.c: Likewise.
13258 * sunrpc/rpc_parse.h: Likewise.
13259 * sunrpc/rpc_prot.c: Likewise.
13260 * sunrpc/rpc_sample.c: Likewise.
13261 * sunrpc/rpc_scan.c: Likewise.
13262 * sunrpc/rpc_scan.h: Likewise.
13263 * sunrpc/rpc_svcout.c: Likewise.
13264 * sunrpc/rpc_tblout.c: Likewise.
13265 * sunrpc/rpc_util.c: Likewise.
13266 * sunrpc/rpc_util.h: Likewise.
13267 * sunrpc/rpcinfo.c: Likewise.
13268 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13269 * sunrpc/rpcsvc/key_prot.x: Likewise.
13270 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13271 * sunrpc/rpcsvc/mount.x: Likewise.
13272 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13273 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13274 * sunrpc/rpcsvc/rex.x: Likewise.
13275 * sunrpc/rpcsvc/rstat.x: Likewise.
13276 * sunrpc/rpcsvc/rusers.x: Likewise.
13277 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13278 * sunrpc/rpcsvc/spray.x: Likewise.
13279 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13280 * sunrpc/rtime.c: Likewise.
13281 * sunrpc/svc.c: Likewise.
13282 * sunrpc/svc_auth.c: Likewise.
13283 * sunrpc/svc_authux.c: Likewise.
13284 * sunrpc/svc_raw.c: Likewise.
13285 * sunrpc/svc_run.c: Likewise.
13286 * sunrpc/svc_simple.c: Likewise.
13287 * sunrpc/svc_tcp.c: Likewise.
13288 * sunrpc/svc_udp.c: Likewise.
13289 * sunrpc/svc_unix.c: Likewise.
13290 * sunrpc/svcauth_des.c: Likewise.
13291 * sunrpc/xcrypt.c: Likewise.
13292 * sunrpc/xdr.c: Likewise.
13293 * sunrpc/xdr_array.c: Likewise.
13294 * sunrpc/xdr_float.c: Likewise.
13295 * sunrpc/xdr_mem.c: Likewise.
13296 * sunrpc/xdr_rec.c: Likewise.
13297 * sunrpc/xdr_ref.c: Likewise.
13298 * sunrpc/xdr_sizeof.c: Likewise.
13299 * sunrpc/xdr_stdio.c: Likewise.
13301 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13304 2010-08-19 Andreas Schwab <schwab@redhat.com>
13306 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13308 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13310 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13311 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13312 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13313 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13314 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13315 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13316 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13317 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13318 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13319 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13320 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13321 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13322 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13323 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13325 2010-07-26 Anton Blanchard <anton@samba.org>
13327 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13328 * malloc/arena.c (heap_trim): Likewise.
13330 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13332 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13334 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13335 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13337 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13339 * sysdeps/i386/elf/Makefile: New file.
13341 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13343 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13344 from fanotify_init.
13345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13348 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13350 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13352 * sysdeps/multiarch/strcmp.S: Likewise.
13354 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13356 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13357 strncase_l-nonascii.
13358 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13359 Add strncase_l-ssse3.
13360 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13361 * sysdeps/x86_64/strcmp.S: Likewise.
13362 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13363 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13364 * sysdeps/x86_64/strncase.S: New file.
13365 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13366 * sysdeps/x86_64/strncase_l.S: New file.
13367 * string/Makefile (strop-tests): Add strncasecmp.
13368 * string/test-strncasecmp.c: New file.
13370 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13373 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13374 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13376 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13378 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13380 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13382 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13383 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13384 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13386 2010-05-01 Alan Modra <amodra@gmail.com>
13388 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13389 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13390 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13391 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13392 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13393 tidying. Don't tail-call __sigjmp_save for static lib.
13394 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13396 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13397 (CALL_MCOUNT): Add eh info, and nop after bl.
13398 (TAIL_CALL_SYSCALL_ERROR): New macro.
13399 (PSEUDO_RET): Use it.
13400 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13401 Correct save location of integer regs and cr.
13402 (_dl_profile_resolve): Correct cr save location. Delete nops
13403 after bl when SHARED. Reduce cfi size a little by better
13404 placement of cfi directives.
13405 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13406 make a stack frame. Instead use parm save area as a temp.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13408 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13410 Don't make a stack frame for parent, use parm save area.
13411 Increase child stack frame to 112 bytes. Don't save unused reg,
13412 and adjust reg usage. Set up cfi on error recovery and
13413 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13415 (__makecontext): Add dummy nop after jump to exit.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13417 Use correct parm save area and cr save, reduce stack frame.
13418 Correct cfi for possible PSEUDO_RET frame setup.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13420 Branch to local label emitted by PSEUDO_RET rather than
13423 2010-08-12 Andreas Schwab <schwab@redhat.com>
13426 * locale/programs/locale.c (print_assignment): New function.
13427 (show_locale_vars): Use it.
13429 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13431 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13433 (struct statfs64): Likewise.
13434 (_STATFS_F_FLAGS): Define.
13435 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13436 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13437 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13438 (ST_VALID): Define locally.
13439 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13440 __statvfs_getflags, use the provided value.
13441 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13442 __ASSUME_STATFS_F_FLAGS.
13444 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13446 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13447 Add sys/fanotify.h.
13448 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13449 fanotify_mask for GLIBC_2.13.
13450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13451 fanotify_init and fanotify_mark.
13452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13453 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13455 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13457 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13458 prlimit64 for GLIBC_2.13.
13459 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13461 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13464 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13465 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13466 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13469 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13472 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13473 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13475 * nss/Makefile: Add rules to build and run tst-nss-test1.
13476 * shlib-versions: Add entry for libnss_test1.
13477 * nss/nss_test1.c: New file.
13478 * nss/tst-nss-test1.c: New file.
13480 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13481 (__nss_configure_lookup): Set appropriate entry in
13482 __nss_configure_lookup to true.
13483 * nss/nsswitch.h: Define enum with indeces of databases in
13484 databases and __nss_database_custom arrays. Declare
13485 __nss_database_custom.
13486 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13487 to avoid using nscd when custom rules are installed.
13488 * nss/getXXbyYY_r.c: Likewise.
13489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13491 * nss/nss_files/files-parse.c: Whitespace fixes.
13493 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13496 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13497 * posix/fnmatch_loop.c: Likewise.
13499 2010-07-17 Andi Kleen <ak@linux.intel.com>
13501 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13502 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13503 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13504 * Versions.def [GLIBC_2.13]: Add.
13506 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13508 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13509 Also fail if tpwd after pwuid call is NULL.
13511 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13513 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13514 when converting to ms.
13516 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13518 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13519 EOPNOTSUPP errors with ENOTTY.
13520 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13521 EOPNOTSUPP errors with ENOTTY.
13523 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13525 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13526 Add strcasecmp_l-ssse3.
13527 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13529 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13530 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13531 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13533 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13535 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13537 * string/Makefile (strop-tests): Add strcasecmp.
13538 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13539 strcasecmp_l-nonascii.
13540 (gen-as-const-headers): Add locale-defines.sym.
13541 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13542 * sysdeps/x86_64/strcasecmp.S: New file.
13543 * sysdeps/x86_64/strcasecmp_l.S: New file.
13544 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13545 * sysdeps/x86_64/locale-defines.sym: New file.
13546 * string/test-strcasecmp.c: New file.
13548 * string/test-strcasestr.c: Test both ends of the range of characters.
13549 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13551 2010-07-29 Roland McGrath <roland@redhat.com>
13554 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13556 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13558 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13561 2010-07-27 Andreas Schwab <schwab@redhat.com>
13563 * manual/memory.texi (Malloc Tunable Parameters): Document
13566 2010-07-26 Roland McGrath <roland@redhat.com>
13569 * configure.in (-fgnu89-inline check): Set and substitute
13570 gnu89_inline, not libc_cv_gnu89_inline.
13571 * configure: Regenerated.
13572 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13574 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13576 * string/test-strnlen.c: New file.
13577 * string/Makefile (strop-tests): Add strnlen.
13578 * string/tester.c (test_strnlen): Add a few more test cases.
13579 * string/tst-strlen.c: Better error reporting.
13581 * sysdeps/x86_64/strnlen.S: New file.
13583 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13585 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13586 lower-latency instructions.
13588 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13590 * string/test-strcasestr.c: New file.
13591 * string/test-strstr.c: New file.
13592 * string/Makefile (strop-tests): Add strstr and strcasestr.
13593 * string/str-two-way.h: Don't undefine MAX.
13594 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13596 2010-07-21 Andreas Schwab <schwab@redhat.com>
13598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13599 strcasestr-nonascii.
13600 (CFLAGS-strcasestr-nonascii.c): Define.
13601 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13602 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13603 Remove unused attribute.
13605 2010-07-20 Roland McGrath <roland@redhat.com>
13607 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13608 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13609 ld.so.cache was broken. With it, there is no way to disable dsocaps
13610 like LD_HWCAP_MASK can disable hwcaps.
13612 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13614 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13616 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13618 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13619 call in strcasestr.
13620 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13621 __strcasestr_sse42_nonascii.
13622 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13623 strcasestr-nonascii.c.
13624 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13626 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13628 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13630 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13631 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13633 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13635 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13638 2010-07-06 Andreas Schwab <schwab@redhat.com>
13641 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13644 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13646 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13647 _PC_PIPE_BUF using F_GETPIPE_SZ.
13649 2010-07-05 Roland McGrath <roland@redhat.com>
13651 * manual/arith.texi (Rounding Functions): Fix rint description
13652 implicit in round description.
13654 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13656 * elf/Makefile: Fix linking for a few tests to make recent linker
13659 2010-06-30 Andreas Schwab <schwab@redhat.com>
13661 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13662 $(common-objpfx)libc_nonshared.a.
13664 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13666 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13667 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13668 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13669 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13670 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13671 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13672 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13673 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13688 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13689 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13690 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13691 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13692 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13693 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13694 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13695 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13696 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13697 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13698 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13699 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13715 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13717 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13718 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13719 * string/memmove.c (memmove): Renamed to ...
13720 (MEMMOVE): ...this. Default to memmove.
13721 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13722 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13725 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13726 mempcpy-ssse3-back memmove-ssse3-back.
13727 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13728 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13729 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13730 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13731 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13732 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13733 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13734 * sysdeps/x86_64/multiarch/memmove.c: New file.
13735 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13736 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13737 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13738 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13739 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13740 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13742 (index_Fast_Copy_Backward): Define.
13743 (HAS_ARCH_FEATURE): Define.
13744 (HAS_FAST_REP_STRING): Define.
13745 (HAS_FAST_COPY_BACKWARD): Define.
13747 2010-06-21 Andreas Schwab <schwab@redhat.com>
13749 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13750 Restore proper fallback handling.
13752 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13755 * posix/group_member.c (__group_member): Correct checking loop.
13757 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13758 OOM in getpwuid_r correctly. Return error number when the caller
13759 should return, otherwise -1.
13760 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13761 call returning > 0 value.
13762 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13764 2010-06-07 Andreas Schwab <schwab@redhat.com>
13766 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13767 libc_nonshared.a from targets in modules-names.
13769 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13771 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13774 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13776 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13777 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13778 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13779 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13781 2010-06-02 Andreas Schwab <schwab@redhat.com>
13783 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13785 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13787 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13793 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13794 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13796 2010-06-14 Roland McGrath <roland@redhat.com>
13798 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13800 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13802 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13803 __REDIRECT followed by __THROW.
13804 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13805 * posix/getopt.h (getopt): Likewise.
13807 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13809 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13810 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13811 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13813 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13814 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13816 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13818 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13820 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13824 Properly check family and model.
13826 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13828 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13830 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13832 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13834 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13836 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13839 2010-05-19 Andreas Schwab <schwab@redhat.com>
13841 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13844 2010-05-21 Andreas Schwab <schwab@redhat.com>
13846 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13847 and internal_recvmmsg.
13848 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13849 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13850 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13851 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13853 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13854 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13855 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13857 2010-05-20 Andreas Schwab <schwab@redhat.com>
13859 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13861 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13863 POWER7 optimizations.
13864 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13865 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13867 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13869 * version.h: Update for 2.13 development version.
13871 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13873 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13874 exceptions. Return 0.
13876 2010-05-07 Roland McGrath <roland@redhat.com>
13878 * elf/ldconfig.c (main): Add a const.
13880 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13882 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13883 (args_options): Add no-idn option.
13884 (ahosts_keys_int): Add idn_flags to ai_flags.
13885 (parse_option): Handle 'i' option to clear idn_flags.
13887 * malloc/malloc.c (_int_free): Possible race in the most recently
13888 added check. Only act on the data if no current modification
13891 See ChangeLog.17 for earlier changes.