1 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4 __strtoul_internal rather than strtoul.
6 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14 which preserves existing values.
15 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20 TIMEOUT values. Return EINVAL for NFDS values either negative or
21 greater than FD_SETSIZE.
23 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26 allocated, call __vm_protect to finish enabling the existing space, and
27 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28 allocate the remainder.
30 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38 sysdeps/mach/hurd/readlink.c.
40 * posix/tst-sysconf.c (posix_options): Only use
41 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42 _POSIX_SYNCHRONIZED_IO when they are defined
43 * sysdeps/mach/hurd/bits/posix_opt.h:
44 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45 (_XOPEN_REALTIME): Undefine macro.
46 (_XOPEN_REALTIME_THREADS): Undefine macro.
47 (_XOPEN_SHM): Undefine macro.
48 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52 (_POSIX_ASYNC_IO): Undefine macro.
53 (_POSIX_PRIORITIZED_IO): Undefine macro.
54 (_POSIX_SPIN_LOCKS): Define macro to -1.
56 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57 SA_NODEFER, SA_RESETHAND.
58 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64 * elf/Makefile (pldd-modules): Define unconditionally.
66 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
68 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
70 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
73 Return ENOENT when name is empty.
74 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
78 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
80 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
84 Fix mlock in all cases except non-readable pages.
85 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
86 instead of VM_PROT_ALL as parameter to __vm_wire function.
88 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
89 (__mkdir): When path is `/', just fail with EEXIST.
90 * sysdeps/mach/hurd/mkdirat.c: Likewise.
92 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
94 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
95 <sys/uio.h> (for writev).
96 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
97 and <sys/param.h> (for MIN).
99 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
101 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
102 REQUESTED_TIME. Properly set the remaining time and return EINTR
105 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
107 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
108 Depend on against $(link-rpcuserlibs).
110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
112 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
113 (__libc_stack_end): Do not use attribute_relro.
114 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
115 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
116 to libthread-provided value.
117 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
120 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
123 * bits/libc-lock.h (__libc_once_get): New macro.
124 * sysdeps/mach/bits/libc-lock.h: Likewise.
125 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
127 instead of using implementation details.
129 * libio/fileops.c: Unconditionally include <kernel-features.h>.
130 * libio/freopen.c: Likewise.
131 * libio/freopen64.c: Likewise.
132 * misc/syslog.c: Likewise.
133 * nscd/connections.c: Likewise.
134 * nscd/netgroupcache.c: Likewise.
135 * sysdeps/posix/getcwd.c: Likewise.
137 2012-05-10 Roland McGrath <roland@hack.frob.com>
139 * math/w_ilogbf.c: Add #include <limits.h>.
141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
143 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
144 path instead of returning without unlocking.
146 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
147 immediate-write ioctls.
148 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
150 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
152 * sysdeps/mach/hurd/i386/init-first.c (init): Use
153 __builtin_frame_address instead of making assumptions about the
154 location of the return address relative to DATA. Force early load of
156 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
157 __builtin_frame_address.
160 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
161 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
162 implement dup3 and do some further code clean-ups.
163 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
164 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
166 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
168 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
170 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
171 HURD_CRITICAL_END around holding _hurd_dtable_lock.
172 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
173 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
174 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
177 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
178 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
179 when handler == SIG_ERR, not when handler != SIG_ERR.
181 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
183 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
184 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
187 accept4 for GNU Hurd.
188 * include/sys/socket.h (__libc_accept4): New prototype.
189 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
190 to implement __libc_accept4.
191 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
193 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
195 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
196 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
197 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
200 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
202 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
204 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
206 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
207 assertion on O_CLOEXEC flag.
208 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
209 * hurd/intern-fd.c: Likewise.
210 * hurd/port2fd.c: Likewise.
212 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
215 * bits/in.h (IPV6_PKTINFO): Define new macro.
216 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
218 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
223 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
225 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
226 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
227 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
228 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
229 * math/libm-test.inc (logb_test) : Additional logb tests.
231 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
232 Andreas Jaeger <aj@suse.de>
234 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
235 * configure: Regenerated.
236 * config.h.in (LINK_OBSOLETE_RPC): New macro.
237 * config.make.in (link-obsolete-rpc): New substituted variable.
238 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
239 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
240 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
241 (shared-only-routines): Don't set it under [link-obsolete-rpc],
242 so that libc.a contains the symbols.
243 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
244 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
245 * sunrpc/auth_none.c: Likewise.
246 * sunrpc/auth_unix.c: Likewise.
247 * sunrpc/authdes_prot.c: Likewise.
248 * sunrpc/authuxprot.c: Likewise.
249 * sunrpc/clnt_gen.c: Likewise.
250 * sunrpc/clnt_perr.c: Likewise.
251 * sunrpc/clnt_raw.c: Likewise.
252 * sunrpc/clnt_simp.c: Likewise.
253 * sunrpc/clnt_tcp.c: Likewise.
254 * sunrpc/clnt_udp.c: Likewise.
255 * sunrpc/clnt_unix.c: Likewise.
256 * sunrpc/des_crypt.c: Likewise.
257 * sunrpc/des_soft.c: Likewise.
258 * sunrpc/get_myaddr.c: Likewise.
259 * sunrpc/key_call.c: Likewise.
260 * sunrpc/key_prot.c: Likewise.
261 * sunrpc/netname.c: Likewise.
262 * sunrpc/pm_getmaps.c: Likewise.
263 * sunrpc/pm_getport.c: Likewise.
264 * sunrpc/pmap_clnt.c: Likewise.
265 * sunrpc/pmap_prot.c: Likewise.
266 * sunrpc/pmap_prot2.c: Likewise.
267 * sunrpc/pmap_rmt.c: Likewise.
268 * sunrpc/publickey.c: Likewise.
269 * sunrpc/rpc_cmsg.c: Likewise.
270 * sunrpc/rpc_common.c: Likewise.
271 * sunrpc/rpc_dtable.c: Likewise.
272 * sunrpc/rpc_prot.c: Likewise.
273 * sunrpc/rpc_thread.c: Likewise.
274 * sunrpc/rtime.c: Likewise.
275 * sunrpc/svc.c: Likewise.
276 * sunrpc/svc_auth.c: Likewise.
277 * sunrpc/svc_raw.c: Likewise.
278 * sunrpc/svc_run.c: Likewise.
279 * sunrpc/svc_tcp.c: Likewise.
280 * sunrpc/svc_udp.c: Likewise.
281 * sunrpc/svc_unix.c: Likewise.
282 * sunrpc/svcauth_des.c: Likewise.
283 * sunrpc/xcrypt.c: Likewise.
284 * sunrpc/xdr.c: Likewise.
285 * sunrpc/xdr_array.c: Likewise.
286 * sunrpc/xdr_float.c: Likewise.
287 * sunrpc/xdr_intXX_t.c: Likewise.
288 * sunrpc/xdr_mem.c: Likewise.
289 * sunrpc/xdr_rec.c: Likewise.
290 * sunrpc/xdr_ref.c: Likewise.
291 * sunrpc/xdr_sizeof.c: Likewise.
292 * sunrpc/xdr_stdio.c: Likewise.
294 2012-05-10 Roland McGrath <roland@hack.frob.com>
296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
297 change. Update copyright years.
299 2012-05-10 Joseph Myers <joseph@codesourcery.com>
301 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
303 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
304 Joseph Myers <joseph@codesourcery.com>
305 Paul Pluzhnikov <ppluzhnikov@google.com>
308 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
310 [cross-compiling] (extra-libs): Likewise.
311 [cross-compiling] (extra-libs-others): Likewise.
312 [cross-compiling] (librpcsvc-routines): Likewise.
313 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
314 [cross-compiling] (omit-deps): Likewise.
315 (sunrpc-CPPFLAGS): New variable.
316 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
317 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
318 (cross-rpcgen-objs): New variable.
319 (extra-objs): Append $(cross-rpcgen-objs).
320 ($(cross-rpcgen-objs)): New rule.
321 ($(objpfx)cross-rpcgen): Likewise.
322 (rpcgen-cmd): Define to use $(built-program-file). Expand
324 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
325 ($(objpfx)x%.stmp): Likewise.
326 * sunrpc/proto.h [IS_IN_build] (_): Define.
327 [IS_IN_build] (_libc_intl_domainname): Likewise.
329 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
332 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
333 and R_X86_64_TPOFF64.
335 2012-05-10 Joseph Myers <joseph@codesourcery.com>
337 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
338 sysdeps/unix/sysv/syscalls.list.
341 * sysdeps/unix/sysv/syscalls.list: Remove file.
343 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
346 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
347 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
348 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
349 (__LC_IDENTIFICATION): Make these macros useful in #if
350 expressions, as required by C99.
352 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
354 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
355 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
358 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
360 * stdlib/longlong.h: Updated from GCC.
362 2012-05-09 Andreas Jaeger <aj@suse.de>
364 * nscd/nscd.c (run_modes): Make named enum, reorder so that
365 default is first entry.
366 (run_mode): Set type.
367 (main): Remove informal message about syslog.
371 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
378 (nearbyint): Likewise.
379 (nearbyintf): Likewise.
381 2012-05-09 Andreas Jaeger <aj@suse.de>
382 Pedro Alves <palves@redhat.com>
384 * nscd/nscd.c (run_mode): Use enum.
385 (main): Cleanup coding style issue.
387 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
388 Andreas Jaeger <aj@suse.de>
390 * nscd/nscd.c (go_background): Replaced with...
391 (run_mode): ... this.
392 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
393 (options): Add -F --foreground.
394 (main): Implement it.
395 (parse_opt): Parse it.
397 2012-05-09 Andreas Jaeger <aj@suse.de>
400 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
401 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
402 -Wconversion warning.
403 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
406 2012-05-09 Joseph Myers <joseph@codesourcery.com>
408 * conform/data/locale.h-data (NULL): Use macro-constant. Require
410 (LC_ALL): Use macro-int-constant.
411 (LC_COLLATE): Likewise.
412 (LC_CTYPE): Likewise.
413 (LC_MESSAGES): Likewise.
414 (LC_MONETARY): Likewise.
415 (LC_NUMERIC): Likewise.
417 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
418 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
420 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
422 [C99-based standards] (float_t): Expect type.
423 [C99-based standards] (double_t): Expect type.
424 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
426 [C99-based standards] (HUGE_VALL): Likewise.
427 [C99-based standards] (INFINITY): Likewise.
428 [C99-based standards] (NAN): Likewise.
429 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
430 [C99-based standards] (FP_NAN): Likewise.
431 [C99-based standards] (FP_NORMAL): Likewise.
432 [C99-based standards] (FP_SUBNORMAL): Likewise.
433 [C99-based standards] (FP_ZERO): Likewise.
434 [C99-based standards] (FP_FAST_FMA): Use
435 optional-macro-int-constant. Specify type. Require == 1.
436 [C99-based standards] (FP_FAST_FMAF): Likewise.
437 [C99-based standards] (FP_FAST_FMAL): Likewise.
438 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
439 [C99-based standards] (FP_ILOGBNAN): Likewise.
440 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
442 [C99-based standards] (MATH_ERREXCEPT): Likewise.
443 [C99-based standards] (math_errhandling): Specify type.
444 [ISO99 || ISO11] (signgam): Do not allow.
445 [non-C99-based standards] (copysignf): Do not allow.
446 [non-C99-based standards] (exp2f): Likewise.
447 [non-C99-based standards] (log2f): Likewise.
448 [non-C99-based standards] (modff): Allow.
449 [non-C99-based standards] (erff): Do not allow.
450 [non-C99-based standards] (erfcf): Likewise.
451 [non-C99-based standards] (gammaf): Likewise.
452 [non-C99-based standards] (hypotf): Likewise.
453 [non-C99-based standards] (j0f): Likewise.
454 [non-C99-based standards] (j1f): Likewise.
455 [non-C99-based standards] (jnf): Likewise.
456 [non-C99-based standards] (lgammaf): Likewise.
457 [non-C99-based standards] (tgammaf): Likewise.
458 [non-C99-based standards] (y0f): Likewise.
459 [non-C99-based standards] (y1f): Likewise.
460 [non-C99-based standards] (ynf): Likewise.
461 [non-C99-based standards] (isnanf): Likewise.
462 [non-C99-based standards] (acoshf): Likewise.
463 [non-C99-based standards] (asinhf): Likewise.
464 [non-C99-based standards] (atanhf): Likewise.
465 [non-C99-based standards] (cbrtf): Likewise.
466 [non-C99-based standards] (expm1f): Likewise.
467 [non-C99-based standards] (ilogbf): Likewise.
468 [non-C99-based standards] (log1pf): Likewise.
469 [non-C99-based standards] (logbf): Likewise.
470 [non-C99-based standards] (nextafterf): Likewise.
471 [non-C99-based standards] (remainderf): Likewise.
472 [non-C99-based standards] (rintf): Likewise.
473 [non-C99-based standards] (scalbf): Likewise.
474 [non-C99-based standards] (copysignl): Likewise.
475 [non-C99-based standards] (exp2l): Likewise.
476 [non-C99-based standards] (log2l): Likewise.
477 [non-C99-based standards] (modfl): Allow.
478 [non-C99-based standards] (erfl): Do not allow.
479 [non-C99-based standards] (erfcl): Likewise.
480 [non-C99-based standards] (gammal): Likewise.
481 [non-C99-based standards] (hypotl): Likewise.
482 [non-C99-based standards] (j0l): Likewise.
483 [non-C99-based standards] (j1l): Likewise.
484 [non-C99-based standards] (jnl): Likewise.
485 [non-C99-based standards] (lgammal): Likewise.
486 [non-C99-based standards] (tgammal): Likewise.
487 [non-C99-based standards] (y0l): Likewise.
488 [non-C99-based standards] (y1l): Likewise.
489 [non-C99-based standards] (ynl): Likewise.
490 [non-C99-based standards] (isnanl): Likewise.
491 [non-C99-based standards] (acoshl): Likewise.
492 [non-C99-based standards] (asinhl): Likewise.
493 [non-C99-based standards] (atanhl): Likewise.
494 [non-C99-based standards] (cbrtl): Likewise.
495 [non-C99-based standards] (expm1l): Likewise.
496 [non-C99-based standards] (ilogbl): Likewise.
497 [non-C99-based standards] (log1pl): Likewise.
498 [non-C99-based standards] (logbl): Likewise.
499 [non-C99-based standards] (nextafterl): Likewise.
500 [non-C99-based standards] (remainderl): Likewise.
501 [non-C99-based standards] (rintl): Likewise.
502 [non-C99-based standards] (scalbl): Likewise.
503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
504 [non-C99-based standards] (FP_*): Do not allow.
505 [C99-based standards] (FP_*): Change to
506 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
507 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
509 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
511 [X/Open-based standards] (SIG_HOLD): Likewise.
513 (SIGABRT): Use macro-int-constant. Specify type. Require
520 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
521 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
522 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
523 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
524 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
525 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
526 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
527 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
528 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
529 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
530 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
531 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
532 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
533 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
534 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
535 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
536 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
537 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
538 [X/Open-based standards] (SIGTRAP): Likewise.
539 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
540 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
541 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
542 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
543 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
546 2012-05-08 Ian Wienand <ianw@vmware.com>
549 * time/tzset.c (__tzset_parse_tz): Update default rules for
550 daylight time changes in the Energy Policy Act of 2005.
552 2012-05-09 Andreas Jaeger <aj@suse.de>
555 * elf/ldconfig.c (parse_conf): Change string to make clear that
556 ldconfig only issued a warning if ld.so.conf does not exist.
558 2012-05-08 David S. Miller <davem@davemloft.net>
560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
561 movxtod instead of popping the value on the stack.
563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
565 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
567 * config.h.in: Add HAVE_ARM_PCS_VFP.
569 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
572 * include/features.h: Warn if user requests __FORTIFY_SOURCE
573 checking but the checks are disabled for any reason.
575 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
577 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
578 and ELF64_R_TYPE with ELFW(R_TYPE).
580 2012-05-08 Joseph Myers <joseph@codesourcery.com>
582 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
585 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
586 (settimeofday): Likewise.
588 2012-05-08 Mike Frysinger <vapier@gentoo.org>
590 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
591 a struct th_u2 inside the union, and move tu_block/tu_code into
592 a new th_u3 union of tu_block/tu_code inside of that. Move
593 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
594 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
595 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
596 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
597 (th_stuff): Change to th_u1.tu_stuff.
599 (th_msg): Change to th_u1.th_u2.tu_data.
601 2012-05-07 David S. Miller <davem@davemloft.net>
603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
606 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
607 (SETUP_PIC_REG): Use it.
608 (SETUP_PIC_REG_LEAF): Use it.
610 2012-05-07 Joseph Myers <joseph@codesourcery.com>
614 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
616 (EXPL_FINITE): Likewise.
618 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
619 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
621 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
623 (EXPL_FINITE): Likewise.
625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
626 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
628 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
629 test of -max_value argument for long double.
630 * sysdeps/i386/fpu/libm-test-ulps: Update.
631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
633 2012-05-06 David S. Miller <davem@davemloft.net>
635 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
636 quad soft-float symbols whose references which are compiler
638 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
640 2012-05-06 Joseph Myers <joseph@codesourcery.com>
644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
646 (EXPL_FINITE): Likewise.
650 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
651 Adjust comments for base varying.
652 (__expl_finite): Change alias to EXPL_FINITE.
653 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
655 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
656 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
657 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
658 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
661 (EXPL_FINITE): Likewise.
665 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
666 Adjust comments for base varying.
667 (__expl_finite): Change alias to EXPL_FINITE.
668 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
673 * math/libm-test.inc (check_float_internal): Correct ulp
674 calculation for subnormal expected results.
676 2012-05-06 Andreas Jaeger <aj@suse.de>
678 * Makeconfig (+math-flags): New, set to -frounding-math.
679 (+cflags): Add +math-flags so that all of glibc gets compiled with
682 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
684 2012-05-05 Joseph Myers <joseph@codesourcery.com>
686 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
692 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
693 (__ieee754_expl): Allow for and saturate large arguments.
694 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
695 (u_threshold): Likewise.
696 (__exp): Call __ieee754_exp before checking for overflow and
698 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
699 (u_threshold): Likewise.
700 (__expf): Call __ieee754_expf before checking for overflow and
702 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
703 (u_threshold): Likewise.
704 (__expl): Call __ieee754_expl before checking for overflow and
706 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
707 (__ieee754_expl): Allow for and saturate large arguments.
708 * math/libm-test.inc (exp_test): Add another test. Do not allow
709 missing overflow exception on overflow.
710 (expm1_test): Do not allow missing overflow exception on overflow.
712 * sysdeps/i386/fpu/e_expl.c: Move to ...
713 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
714 rather than using inline asm.
715 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
716 * sysdeps/x86_64/fpu/e_expl.S: Copy from
717 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
719 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
726 2012-05-04 Joseph Myers <joseph@codesourcery.com>
728 * sysdeps/unix/syscalls.list (adjtime): Add entry from
729 sysdeps/unix/common/syscalls.list.
732 (ftruncate): Likewise.
733 (getrusage): Likewise.
734 (gettimeofday): Likewise.
736 (setregid): Likewise.
737 (setreuid): Likewise.
738 (sigaction): Likewise.
739 (truncate): Likewise.
741 * sysdeps/unix/common/syscalls.list: Remove file.
742 * sysdeps/unix/bsd/Implies: Don't include unix/common.
743 * sysdeps/unix/sysv/linux/Implies: Likewise.
745 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
747 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
749 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
753 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
756 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
759 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
762 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
765 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
768 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
771 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
775 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
779 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
782 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
786 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
790 2012-05-04 Joseph Myers <joseph@codesourcery.com>
792 * sysdeps/unix/common/bits/dirent.h: Remove file.
793 * sysdeps/unix/common/bits/fcntl.h: Likewise.
795 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
796 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
797 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
798 * sysdeps/unix/bsd/isatty.c: Likewise.
799 * sysdeps/unix/bsd/tcdrain.c: Likewise.
800 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
801 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
803 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
807 long double comparison inaccuracies.
808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
811 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
813 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
816 2012-05-04 Joseph Myers <joseph@codesourcery.com>
819 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
820 nonzero digits before rounding a hex value.
821 * stdlib/tst-strtod.c (tests): Add another test.
823 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
825 * sysdeps/s390/fpu/libm-test-ulps: Update.
827 2012-05-03 Andreas Jaeger <aj@suse.de>
829 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
830 does not get optimized out.
831 (malloc_opt_barrier): New.
833 2012-05-03 Andreas Jaeger <aj@suse.de>
834 Roland McGrath <roland@hack.frob.com>
836 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
837 intermediate file deletion.
838 (generated): Add .symlist files.
840 2012-05-03 Joseph Myers <joseph@codesourcery.com>
843 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
844 Redirect under this condition.
845 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
846 [__USE_GNU] (__dprintf_chk): Not under this condition.
847 [__USE_GNU] (__vdprintf_chk): Likewise.
848 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
849 under this condition.
850 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
851 [__USE_XOPEN2K8] (dprintf): Define under this condition.
852 [__USE_XOPEN2K8] (vdprintf): Likewise.
853 [__USE_GNU] (__dprintf_chk): Not under this condition.
854 [__USE_GNU] (__vdprintf_chk): Likewise.
855 [__USE_GNU] (dprintf): Likewise.
856 [__USE_GNU] (vdprintf): Likewise.
858 2012-05-03 Roland McGrath <roland@hack.frob.com>
860 * elf/Makefile (common-generated): Set this instead of generated for
861 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
862 $(all-built-dso)-derived lists.
864 2012-05-03 Andreas Jaeger <aj@suse.de>
866 * sysdeps/i386/fpu/libm-test-ulps: Update.
870 * scripts/gen-FAQ.pl: Likewise.
871 * manual/install.texi (Installation): Point to online location of
873 * Makefile (files-for-dist): Remove FAQ.
876 2012-05-02 Allan McRae <allan@archlinux.org>
878 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
879 (LDFLAGS-reldepmod5.so): Likewise.
880 (LDFLAGS-reldep6mod1.so): Likewise.
881 (LDFLAGS-reldep6mod4.so): Likewise.
882 (LDFLAGS-reldep8mod3.so): Likewise.
883 (LDFLAGS-unload4mod1.so): Likewise.
884 (LDFLAGS-unload4mod2.so): Likewise.
885 (LDFLAGS-tst-initorder): Likewise.
886 (LDFLAGS-tst-initordera2.so): Likewise.
887 (LDFLAGS-tst-initordera3.so): Likewise.
888 (LDFLAGS-tst-initordera4.so): Likewise.
889 (LDFLAGS-tst-initorderb2.so): Likewise.
890 (LDFLAGS-noload): Likewise.
891 (LDFLAGS-next): Likewise.
892 (LDFLAGS-order2mod1.so): Likewise.
893 (LDFLAGS-order2mod2.so): Likewise.
894 (LDFLAGS-tst-initorder2): Likewise.
895 (LDFLAGS-tst-initorder2a.so): Likewise.
896 (LDFLAGS-tst-initorder2b.so): Likewise.
897 (LDFLAGS-tst-initorder2c.so): Likewise.
898 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
900 2012-05-02 David S. Miller <davem@davemloft.net>
902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
904 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
907 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
909 2012-05-02 Andreas Jaeger <aj@suse.de>
911 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
912 since we manipulate rounding mode.
913 (CPPFLAGS-test-idouble.c): Likewise.
914 (CPPFLAGS-test-ifloat.c): Likewise.
915 (CFLAGS-test-ldouble.c): Likewise.
916 (CFLAGS-test-double.c): Likewise.
917 (CFLAGS-test-float.c): Likewise.
918 (CFLAGS-test-misc.c): Likewise.
919 (CFLAGS-test-test-fenv.c): Likewise.
921 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
925 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
926 comparisons to determine direction to adjust input.
928 2012-05-01 Roland McGrath <roland@hack.frob.com>
930 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
931 output to the target.
933 * scripts/localplt.awk: New file.
934 * elf/Makefile ($(objpfx)check-localplt): Target removed.
935 (check-localplt-CFLAGS): Variable removed.
936 ($(all-built-dso:=.jmprel)): New static pattern rule.
937 (generated): Add those targets.
938 (localplt-built-dso): New variable.
939 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
941 * elf/check-localplt.c: File removed.
943 * scripts/check-execstack.awk: New file.
944 * elf/Makefile ($(objpfx)check-execstack): Target removed.
945 (check-execstack-CFLAGS): Variable removed.
946 ($(objpfx)check-execstack.h): Target removed.
947 ($(objpfx)execstack-default): New target.
948 (generated): Add that instead of check-execstack.h.
949 ($(all-built-dso:=.phdr)): New static pattern rule.
950 (generated): Add those targets.
951 * elf/check-execstack.c: File removed.
953 * scripts/check-textrel.awk: New file.
954 * elf/Makefile ($(objpfx)check-textrel): Target removed.
955 (check-textrel-CFLAGS): Variable removed.
956 (all-built-dso): Use := to define.o
957 ($(all-built-dso:=.dyn)): New static pattern rule.
958 (generated): Add those targets.
959 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
960 * config.make.in (READELF): New substituted variable.
961 * elf/check-textrel.c: File removed.
963 2012-05-01 Joseph Myers <joseph@codesourcery.com>
965 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
967 * conform/data/ctype.h-data [C99-based standards] (isblank):
969 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
970 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
972 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
973 Specify type. Require positive value.
976 [ISO || POSIX] (EILSEQ): Do not expect.
977 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
978 Specify type. Require positive value.
979 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
980 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
981 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
982 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
983 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
984 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
985 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
986 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
987 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
988 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
989 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
990 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
991 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
992 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
993 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
994 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
995 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
996 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
997 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
998 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
999 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1000 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1001 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1002 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1003 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1004 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1005 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1006 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1007 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1008 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1009 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1010 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1011 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1012 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1013 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1014 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1015 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1016 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1017 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1018 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1019 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1020 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1021 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1022 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1023 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1024 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1025 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1026 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1027 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1028 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1029 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1030 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1031 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1032 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1033 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1034 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1035 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1036 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1037 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1038 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1039 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1040 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1041 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1042 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1043 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1044 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1045 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1046 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1047 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1048 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1049 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1050 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1051 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1052 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1053 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1054 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1055 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1057 (FLT_ROUNDS): Expect as macro, not constant.
1058 (FLT_MANT_DIG): Use macro-int-constant.
1059 (DBL_MANT_DIG): Likewise.
1060 (LDBL_MANT_DIG): Likewise.
1061 (FLT_DIG): Likewise.
1062 (DBL_DIG): Likewise.
1063 (LDBL_DIG): Likewise.
1064 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1065 (DBL_MIN_EXP): Likewise.
1066 (LDBL_MIN_EXP): Likewise.
1067 (FLT_MAX_EXP): Use macro-int-constant.
1068 (DBL_MAX_EXP): Likewise.
1069 (LDBL_MAX_EXP): Likewise.
1070 (FLT_MAX_10_EXP): Likewise.
1071 (DBL_MAX_10_EXP): Likewise.
1072 (LDBL_MAX_10_EXP): Likewise.
1073 (FLT_MAX): Use macro-constant.
1074 (DBL_MAX): Likewise.
1075 (LDBL_MAX): Likewise.
1076 (FLT_EPSILON): Use macro-constant. Give upper bound.
1077 (DBL_EPSILON): Likewise.
1078 (LDBL_EPSILON): Likewise.
1079 (FLT_MIN): Likewise.
1080 (DBL_MIN): Likewise.
1081 (LDBL_MIN): Likewise.
1082 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1083 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1084 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1085 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1086 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1087 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1088 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1089 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1090 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1091 [ISO11] (FLT_TRUE_MIN): Likewise.
1092 [ISO11] (LDBL_TRUE_MIN): Likewise.
1093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1094 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1095 (SCHAR_MIN): Use macro-int-constant. Specify type.
1096 (SCHAR_MAX): Likewise.
1097 (UCHAR_MAX): Likewise.
1098 (CHAR_MIN): Likewise.
1099 (CHAR_MAX): Likewise.
1100 (MB_LEN_MAX): Use macro-int-constant.
1101 (SHRT_MIN): Use macro-int-constant. Specify type.
1102 (SHRT_MAX): Likewise.
1103 (USHRT_MAX): Likewise.
1104 (INT_MAX): Likewise.
1105 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1107 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1109 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1111 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1112 bound negative. Suffix upper bound with "L".
1113 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1115 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1117 [C99-based standards] (LLONG_MAX): Likewise.
1118 [C99-based standards] (ULLONG_MAX): Likewise.
1119 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1121 [ISO11] (max_align_t): Require type.
1122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1124 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1125 from $CFLAGS, without defining away __attribute__ calls.
1126 (checknamespace): Use $CFLAGS_namespace.
1128 * conform/conformtest.pl (@keywords): Only include C99 keywords
1129 for standards based on C99 or C11.
1131 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1133 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1136 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1137 usability of symbols in #if.
1139 * conform/conformtest.pl: If macro or constant types start
1140 "promoted:", expect the symbol to be of the following type
1141 promoted by the integer promotions.
1143 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1144 in one place. Also handle "macro-constant".
1146 * conform/conformtest.pl: Only accept expected macro values with
1147 "==". Parse all "macro" lines in one place.
1148 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1150 * conform/conformtest.pl: Handle braced types on "constant" lines
1151 instead of handling "typed-constant".
1152 * conform/data/signal.h-data: Use "constant" instead of
1155 * conform/conformtest.pl: Handle "optional-" at start of lines in
1156 one place rather than duplicating several cases. Handle each
1157 format of "macro" line with initial "optional-".
1159 * conform/conformtest.pl: Only accept expected constant or
1160 optional-constant values with "==". Parse all "constant" lines in
1161 one place. Parse all "optional-constant" lines in one place.
1162 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1163 * conform/data/fmtmsg.h-data: Likewise.
1164 * conform/data/netinet/in.h-data: Likewise.
1165 * conform/data/tar.h-data: Likewise.
1166 * conform/data/limits.h-data: Use "==" form on "constant" and
1167 "optional-constant" lines.
1169 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1170 Use -std=c99 for XOPEN2K.
1171 (@knownproblems): Remove.
1172 (newtoken): Don't check %isknown.
1174 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1175 Do not expect macro.
1176 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1188 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1189 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1193 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1194 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1206 [XPG3] (acosh): Likewise.
1207 [XPG3] (asinh): Likewise.
1208 [XPG3] (atanh): Likewise.
1209 [XPG3] (cbrt): Likewise.
1210 [XPG3] (expm1): Likewise.
1211 [XPG3] (ilogb): Likewise.
1212 [XPG3] (log1p): Likewise.
1213 [XPG3] (logb): Likewise.
1214 [XPG3] (nextafter): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1217 [XPG3] (remainder): Likewise.
1218 [XPG3] (rint): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1226 [UNIX98 || XOPEN2K] (scalb): Expect.
1227 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1228 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1365 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1366 _XOPEN_SOURCE_EXTENDED for XPG4.
1368 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1370 * Makeconfig (localtime): Remove variable.
1371 (inst_localtime-file): Likewise.
1373 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1394 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1398 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1399 comparisons to determine direction to adjust input.
1400 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1401 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1402 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1404 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1411 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1413 * math/libm-test.inc (nexttoward_test): Add more tests.
1415 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1418 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1419 in version GLIBC_2.1, not GLIBC_2.0.
1420 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1423 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1426 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1428 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1429 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1430 * math/libm-test.inc (acos_test): Add more tests.
1431 (asin_test): Likewise.
1432 * sysdeps/i386/fpu/libm-test-ulps: Update.
1433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1436 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1438 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1439 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1440 * math/libm-test.inc (acos_test_tonearest): New function.
1441 (acos_test_towardzero): Likewise.
1442 (acos_test_downward): Likewise.
1443 (acos_test_upward): Likewise.
1444 (asin_test_tonearest): Likewise.
1445 (asin_test_towardzero): Likewise.
1446 (asin_test_downward): Likewise.
1447 (asin_test_upward): Likewise.
1448 (main): Call the new functions.
1449 * sysdeps/i386/fpu/libm-test-ulps: Update.
1450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1454 * math/e_exp10.c: Include <float.h>.
1455 (__ieee754_exp10): Handle underflow here rather than multiplying
1456 large negative argument by M_LN10.
1457 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1459 * math/e_exp10l.c: Include <float.h>.
1460 (__ieee754_exp10l): Handle underflow here rather than multiplying
1461 large negative argument by M_LN10l.
1462 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1463 spurious overflow exception on underflow.
1465 2012-04-29 Marek Polacek <polacek@redhat.com>
1467 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1468 (__fortify_function): New macro.
1469 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1470 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1471 __extern_always_inline.
1472 * libio/bits/stdio2.h: Likewise.
1473 * libio/bits/stdio.h: Likewise.
1474 * string/string.h: Likewise.
1475 * string/bits/string3.h: Likewise.
1476 * include/stdio.h: Likewise.
1477 * stdlib/bits/stdlib.h: Likewise.
1478 * stdlib/stdlib.h: Likewise.
1479 * rt/bits/mqueue2.h: Likewise.
1480 * rt/mqueue.h: Likewise.
1481 * posix/bits/unistd.h: Likewise.
1482 * posix/unistd.h: Likewise.
1483 * io/bits/poll2.h: Likewise.
1484 * io/bits/fcntl2.h: Likewise.
1485 * io/fcntl.h: Likewise.
1486 * io/sys/poll.h: Likewise.
1487 * misc/bits/syslog.h: Likewise.
1488 * misc/bits/syslog-ldbl.h: Likewise.
1489 * misc/sys/syslog.h: Likewise.
1490 * socket/bits/socket2.h: Likewise.
1491 * socket/sys/socket.h: Likewise.
1492 * debug/tst-chk1.c: Likewise.
1493 * wcsmbs/bits/wchar2.h: Likewise.
1494 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1495 * wcsmbs/wchar.h: Likewise.
1497 2012-04-29 Andreas Jaeger <aj@suse.de>
1499 * Makerules (tests): Remove enable-check-abi protection.
1500 (check-abi-warn): Remove.
1501 (check-abi-%): Remove check-abi-warn usage.
1503 * configure.in: Remove check-abi configure option.
1504 * configure: Regenerated.
1505 * config.make.in (enable-check-abi): Remove.
1507 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1510 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1511 double functions to double *_finite functions.
1514 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1515 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1517 * stdio-common/Makefile (tests): Add tst-sprintf3.
1518 * stdio-common/tst-sprintf3.c: New file.
1520 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1521 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1523 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1525 * conform/conformtest.pl: Remove duplicate typed-constant
1528 2012-04-28 David S. Miller <davem@davemloft.net>
1530 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1531 (check-abi-%): Remove AWK script prerequisite and explicit
1533 (check-abi): Rewrite to just diff the symlist with the abilist.
1534 (config-tls, config-abi-config): Delete, no longer used.
1535 (update-abi-%): Remove AWK script and explicit abilist directory.
1536 (update-abi): Rewrite to simply compare and conditionally copy the
1537 symlist and the sysdep abilist file. Remove update-abi-config
1539 * abilist/ld.abilist: Remove.
1540 * abilist/libBrokenLocale.abilist: Remove.
1541 * abilist/libanl.abilist: Remove.
1542 * abilist/libcrypt.abilist: Remove.
1543 * abilist/libdl.abilist: Remove.
1544 * abilist/librt.abilist: Remove.
1545 * abilist/libthread_db.abilist: Remove.
1546 * abilist/libutil.abilist: Remove.
1547 * scripts/extract-abilist.awk: Remove.
1548 * scripts/merge-abilist.awk: Remove.
1549 * sysdeps/generic/libcidn.abilist: New file.
1550 * sysdeps/generic/libnss_compat.abilist: New file.
1551 * sysdeps/generic/libnss_db.abilist: New file.
1552 * sysdeps/generic/libnss_dns.abilist: New file.
1553 * sysdeps/generic/libnss_files.abilist: New file.
1554 * sysdeps/generic/libnss_hesiod.abilist: New file.
1555 * sysdeps/generic/libnss_nis.abilist: New file.
1556 * sysdeps/generic/libnss_nisplus.abilist: New file.
1557 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1558 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1559 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1561 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1562 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1563 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1564 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1565 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1566 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1567 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1568 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1569 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1571 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1572 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1573 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1574 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1576 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1577 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1578 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1579 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1580 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1581 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1583 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1584 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1585 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1587 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1690 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1691 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1692 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1695 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1696 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1697 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1698 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1699 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1700 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1701 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1702 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1703 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1755 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1757 * conform/conformtest.pl: Fix typo in handling typed-constant from
1760 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1762 * README: Cut down references to pre-2.6 Linux kernels and
1763 Linuxthreads. Update lists of configurations in libc and ports
1764 and sort alphabetically. Say "or newer" with Linux kernel version
1767 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1769 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1772 * math/libm-test.inc (logb_test_downward): New test to expose
1773 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1776 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1779 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1781 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1782 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1784 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1786 * sysdeps/unix/i386/brk.S: Remove file.
1787 * sysdeps/unix/i386/dl-brk.S: Likewise.
1788 * sysdeps/unix/i386/pipe.S: Likewise.
1789 * sysdeps/unix/i386/sigreturn.S: Likewise.
1790 * sysdeps/unix/i386/syscall.S: Likewise.
1791 * sysdeps/unix/i386/vfork.S: Likewise.
1792 * sysdeps/unix/i386/wait.S: Likewise.
1794 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1795 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1797 * configure.in (arm*-none*): Do not allow without
1798 --enable-hacker-mode.
1799 (netbsd*): Remove case setting base_os.
1800 (386bsd*): Likewise.
1801 (freebsd*): Likewise.
1805 (ultrix*): Likewise.
1806 (newsos*): Likewise.
1816 (solaris[2-9]*): Likewise.
1818 * configure: Regenerated.
1820 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1824 overflow or cancellation in calculating denominator.
1825 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1827 down expression to avoid unexpected rounding in newer GCCs.
1828 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1830 2012-04-26 David S. Miller <davem@davemloft.net>
1832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1833 long-double compat symbols.
1834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1848 2012-04-25 David S. Miller <davem@davemloft.net>
1850 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1851 HWCAP_* values only after the memory barriers have been defined.
1852 (atomic_full_barrier): Define.
1853 (atomic_read_barrier): Define.
1854 (atomic_write_barrier): Define.
1856 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1858 * shlib-versions: Add libgcc_s version information.
1859 * sysdeps/generic/libgcc_s.h: Remove.
1860 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1862 * sysdeps/gnu/unwind-resume.c: Likewise.
1863 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1865 2012-04-25 David S. Miller <davem@davemloft.net>
1867 * sysdeps/unix/sparc/brk.S: Delete.
1868 * sysdeps/unix/sparc/dl-brk.S: Delete.
1869 * sysdeps/unix/sparc/pipe.S: Delete.
1870 * sysdeps/unix/sparc/sysdep.S: Delete.
1871 * sysdeps/unix/sparc/sysdep.h: Delete.
1872 * sysdeps/unix/sparc/vfork.S: Delete.
1873 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1874 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1876 ret_ERRVAL, r0, r1, MOVE): Define.
1877 (JUMPTARGET): Remove.
1878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1879 sysdeps/unix/sparc/sysdep.h
1880 (ENTRY, END): Remove.
1881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1883 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1885 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1886 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1889 * timezone/README: Update upstream location and email address for
1891 * timezone/zdump.c: Update from tzcode 2012b.
1892 * timezone/zic.c: Likewise.
1894 * configure.in (libc_cv_as_needed): Remove test.
1895 * configure: Regenerated.
1896 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1897 conditional definition.
1898 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1899 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1900 * config.make.in (have-as-needed): Remove variable.
1902 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1903 Paul Pluzhnikov <ppluzhnikov@google.com>
1905 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1908 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1910 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1911 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1912 * sysdeps/sh/strlen.S: Likewise.
1914 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1916 * sysdeps/unix/fork.S: Remove file.
1917 * sysdeps/unix/i386/fork.S: Likewise.
1918 * sysdeps/unix/sparc/fork.S: Likewise.
1920 * sysdeps/unix/system.c: Remove file.
1921 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1923 * sysdeps/unix/getegid.S: Remove file.
1924 * sysdeps/unix/geteuid.S: Likewise.
1926 2012-04-24 Roland McGrath <roland@hack.frob.com>
1928 * scripts/check-localplt.awk: New file.
1929 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1931 * scripts/data/localplt-generic.data: Add a comment.
1933 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1934 NODE when __dir_mkfile failed.
1935 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1936 Reported by Ludovic Courtès <ludo@gnu.org>.
1938 2012-04-24 Andreas Jaeger <aj@suse.de>
1940 * Makerules (common-clean): Also remove gen-as-const-headers
1943 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1945 * Makerules (native-compile): Do not change working directory for
1946 build. Use $(OUTPUT_OPTION) in command.
1947 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1949 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1952 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1953 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1954 * math/libm-test.inc (floor_test): Add more tests.
1955 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1957 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1959 * sysdeps/unix/getdents.c: Remove file.
1960 * sysdeps/unix/sysv/getdents.c: Likewise.
1961 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1963 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1964 sysdeps/unix/mman/syscalls.list.
1966 (mprotect): Likewise.
1969 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1970 * sysdeps/unix/mman/syscalls.list: Remove.
1971 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1973 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1974 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1975 * configure: Regenerated.
1976 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1978 * config.make.in (libgcc_s_suffix): Remove variable.
1980 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1982 * sysdeps/unix/sysv/gethostname.c: Move to ...
1983 * sysdeps/posix/gethostname.c: ... here.
1985 * sysdeps/unix/execve.S: Remove file.
1987 * sysdeps/unix/_exit.S: Remove file.
1989 2012-04-23 Andreas Jaeger <aj@suse.de>
1992 * manual/Makefile: Remove make dist support, there's no
1993 need for a stand-alone documentation tar ball.
1994 (TEXI2DVI): Define always, it's not in Makeconfig.
1998 (glibc-doc-$(edition).tar): Removed
2002 (ETAGS): Remove, it's in Makeconfig.
2003 (move-if-change): Remove, it's in Makeconfig.
2005 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2008 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2009 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2010 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2011 (strtod_l, strtof_l, strtold_l): Remove __wur.
2012 It is not necessarily an error to ignore strtol's return value.
2013 One can reliably look at the stored endptr to decide whether
2014 the number had valid syntax.
2016 2012-04-21 Andreas Jaeger <aj@suse.de>
2019 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2021 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2023 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2024 * sysdeps/unix/sysv/Versions: Remove file.
2026 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2031 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2035 version from __vm86.
2037 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2039 * sysdeps/unix/common/lxstat.c: Remove file.
2040 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2042 * sysdeps/unix/sysv/Makefile: Remove file.
2044 * sysdeps/unix/sysv/direct.h: Remove file.
2046 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2047 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2048 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2049 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2050 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2051 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2052 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2054 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2056 * sysdeps/unix/xmknod.c: Remove file.
2057 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2059 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2061 * sysdeps/unix/sysv/i386/time.S: Remove file.
2063 * sysdeps/unix/fxstat.c: Remove file.
2064 * sysdeps/unix/xstat.c: Likewise.
2065 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2067 * sysdeps/unix/sysv/sigaction.c: Remove file.
2069 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2070 (sysdep_headers): Remove variable.
2071 [termio.h not in sysdep_headers] (generated): Likewise.
2072 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2073 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2074 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2075 * sysdeps/unix/sysv/tcflow.c: Likewise.
2076 * sysdeps/unix/sysv/tcflush.c: Likewise.
2077 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2078 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2079 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2080 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2081 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2083 * sysdeps/unix/siglist.c: Remove file.
2085 * sysdeps/unix/getppid.S: Remove file.
2087 * sysdeps/unix/mkdir.c: Remove file.
2088 * sysdeps/unix/rmdir.c: Likewise.
2090 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2092 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2094 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2095 errlist-compat value.
2097 2012-04-18 David S. Miller <davem@davemloft.net>
2099 * sysdeps/generic/memcopy.h (reg_char): Delete.
2100 * debug/strcat_chk.c: Use char, not reg_char.
2101 * debug/strcpy_chk.c: Likewise.
2102 * debug/strncat_chk.c: Likewise.
2103 * debug/strncpy_chk.c: Likewise.
2104 * string/memchr.c: Likewise.
2105 * string/memrchr.c: Likewise.
2106 * string/rawmemchr.c: Likewise.
2107 * string/strcat.c: Likewise.
2108 * string/strchr.c: Likewise.
2109 * string/strchrnul.c: Likewise.
2110 * string/strcmp.c: Likewise.
2111 * string/strcpy.c: Likewise.
2112 * string/strncat.c: Likewise.
2113 * string/strncmp.c: Likewise.
2114 * string/strncpy.c: Likewise.
2116 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2118 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2119 __builtin_memcopy is called when src and dest ranges are known to not
2122 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2125 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2126 fwd_align_merge macro call.
2127 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2128 bwd_align_merge macro call.
2129 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2131 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2133 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2134 bwd_align_merge macros.
2135 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2136 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2139 2012-04-18 David S. Miller <davem@davemloft.net>
2141 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2143 2012-04-18 Andreas Jaeger <aj@suse.de>
2146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2147 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2148 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2150 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2151 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2152 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2154 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2155 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2156 Adjust for changed ldbl-128 files.
2158 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2159 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2162 2012-04-17 David S. Miller <davem@davemloft.net>
2164 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2166 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2168 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2169 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2170 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2171 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2172 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2173 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2175 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2179 * math/libm-test.inc: Add ilogb errno and exception tests.
2180 * math/w_ilogb.c: New file: ilogb wrapper.
2181 * math/w_ilogbf.c: New file: ilogbf wrapper.
2182 * math/w_ilogbl.c: New file: ilogbl wrapper.
2183 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2184 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2185 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2186 exception being thrown with 0.0 as argument.
2187 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2188 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2189 exception being thrown with 0.0 as argument.
2190 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2191 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2192 exception being thrown with 0.0 as argument.
2193 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2194 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2195 exception being thrown with 0.0 as argument.
2196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2197 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2199 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2200 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2201 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2202 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2203 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2204 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2206 2012-04-17 Petr Baudis <pasky@ucw.cz>
2208 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2211 2012-04-16 Marek Polacek <polacek@redhat.com>
2213 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2215 2012-04-16 Marek Polacek <polacek@redhat.com>
2217 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2218 operands of fdivp instruction.
2220 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2222 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2223 * elf/tst-auditmod3b.c: Likewise.
2224 * elf/tst-auditmod4b.c: Likewise.
2225 * elf/tst-auditmod5b.c: Likewise.
2226 * elf/tst-auditmod6b.c: Likewise.
2227 * elf/tst-auditmod6c.c: Likewise.
2228 * elf/tst-auditmod7b.c: Likewise.
2229 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2230 * sysdeps/x86_64/preconfigure.in: Likewise.
2231 * sysdeps/x86_64/preconfigure: Regenerated.
2233 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2235 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2238 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2241 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2243 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2246 * locale/iso-639.def: Fix gl language name. Spotted by
2249 2012-04-12 Roland McGrath <roland@hack.frob.com>
2252 * libio/libio.h (__io_write_fn): Update comment.
2254 2012-04-12 Petr Baudis <pasky@ucw.cz>
2257 * stdio.texi (Hook Functions): The user provided writer function
2258 is not allowed to return -1.
2260 2012-04-11 David S. Miller <davem@davemloft.net>
2262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2264 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2266 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2267 Add a leading slash to rtkaio.
2269 2012-04-11 Jim Meyering <meyering@redhat.com>
2272 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2273 It is not necessarily an error to ignore fwrite's return
2274 value. One can reliably use ferror to test for errors after
2277 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2279 * bits/types.h (__snseconds_t): New type.
2280 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2282 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2284 (__SNSECONDS_T_TYPE): Likewise.
2285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2286 (__SNSECONDS_T_TYPE): Likewise.
2287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2288 (__SNSECONDS_T_TYPE): Likewise.
2290 2012-04-10 Andreas Jaeger <aj@suse.de>
2293 * manual/time.texi (Processor Time): Return type of times is
2294 elapsed real time since an arbitrary point in the past.
2295 (CPU Time): Move CLK_TCK from here...
2296 (Processor Time): ...to here. Correct description.
2297 * manual/conf.texi (Constants for Sysconf): Correct description of
2300 2012-04-10 David S. Miller <davem@davemloft.net>
2303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2304 where the is a gap between DT_REL(A) and DT_JMPREL.
2306 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2308 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2309 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2310 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2312 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2314 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2315 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2316 (dl_main): Handle --inhibit-cache.
2317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2319 * elf/dl-load.c (_dl_map_object): Use it.
2320 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2322 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2325 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2326 (__ieee754_powl): Saturate large exponents rather than testing for
2327 overflow of y*log2(x).
2328 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2329 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2333 * math/s_ctan.c: Include <float.h>.
2334 (__ctan): Avoid internal overflow or cancellation in calculating
2336 * math/s_ctanf.c: Likewise.
2337 * math/s_ctanl.c: Likewise.
2338 * math/s_ctanh.c: Likewise.
2339 * math/s_ctanhf.c: Likewise.
2340 * math/s_ctanhl.c: Likewise.
2341 * math/libm-test.inc (ctan_test): Add more tests.
2342 (ctanh_test): Likewise.
2343 * sysdeps/i386/fpu/libm-test-ulps: Update.
2344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2346 2012-04-09 Andreas Jaeger <aj@suse.de>
2349 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2350 is an optional BSD extension.
2353 * manual/stdio.texi (Opening Streams): Document additional fopen
2356 2012-04-09 Roland McGrath <roland@hack.frob.com>
2358 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2359 %eax without telling the compiler.
2361 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2364 * manual/install.texi: Use sourceware.org.
2366 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2369 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2370 (__ieee754_pow): Generate overflow and underflow using huge*huge
2371 and tiny*tiny rather than just returning constant infinity or zero
2372 for large exponents.
2373 * math/libm-test.inc (pow_test): Require overflow exceptions for
2374 applicable cases of large exponents.
2377 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2378 (__ieee754_pow): Use iterative multiplication algorithm only for
2379 integer exponents with absolute value below 1024. Check for odd
2380 integer exponents when using algorithm for real exponents.
2381 * math/libm-test.inc (pow_test): Add more tests.
2382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2384 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2387 * math/libm-test.inc (exp_test): Do not allow overflow exception
2390 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2393 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2394 instead of __kernel_standard_f.
2396 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2398 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2399 * sysdeps/x86_64/memset_chk.S: Likewise.
2401 2012-04-08 Andreas Jaeger <aj@suse.de>
2404 * manual/startup.texi (Environment Access): Describe return value
2405 for putenv and setenv.
2408 * manual/filesys.texi (Directory Entries): Add description for
2412 * manual/filesys.texi (Directory Entries): Clarify that it's file
2413 system not operating system in the description of DT_UNKNOWN.
2416 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2418 2012-04-08 Stephen Compall <s11@member.fsf.org>
2421 * manual/llio.texi (Opening and Closing Files): Add cross
2422 reference to explain mode argument.
2424 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2426 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2427 * sysdeps/x86_64/memset_chk.S: Likewise.
2429 2012-04-07 David S. Miller <davem@davemloft.net>
2431 * elf/elf.h (R_SPARC_WDISP10): Define.
2432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2435 R_SPARC_SIZE64 and R_SPARC_H34.
2437 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2439 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2440 conditions and remove no longer applicable assertion.
2442 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2444 * bits/byteswap.h: Include <features.h>.
2445 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2446 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2448 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2450 * bits/byteswap.h (__bswap_16): Removed.
2451 Include <bits/byteswap-16.h> to get __bswap_16.
2452 * sysdeps/i386/bits/byteswap.h: Likewise.
2453 * sysdeps/s390/bits/byteswap.h: Likewise.
2454 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2455 * bits/byteswap-16.h: New file.
2456 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2457 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2458 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2459 * string/Makefile (headers): Add bits/byteswap-16.h.
2461 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2464 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2466 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2467 * nss/tst-nss-static.c: New.
2469 2012-04-06 Robert Millan <rmh@gnu.org>
2472 * manual/llio.texi (File Position Primitive): lseek
2473 refers to WHENCE when it really means OFFSET.
2475 2012-04-06 Andreas Jaeger <aj@suse.de>
2477 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2478 strncmp declarations.
2480 * abilist/libc.abilist: Add __poll and __ppoll.
2482 2012-04-05 David S. Miller <davem@davemloft.net>
2484 * scripts/check-local-headers.sh: Accept a host triplet in the
2485 path matched by the exclude regexp.
2487 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2489 * sysdeps/powerpc/powerpc32/dl-machine.h
2490 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2491 * sysdeps/s390/s390-32/dl-machine.h
2492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2493 * sysdeps/sparc/sparc32/dl-machine.h
2494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2495 * sysdeps/sparc/sparc64/dl-machine.h
2496 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2498 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2500 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2501 undefined symbol errors.
2503 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2506 2012-04-05 Michael Matz <matz@suse.de>
2509 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2511 2012-04-05 Andreas Jaeger <aj@suse.de>
2514 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2517 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2519 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2520 which ROUND is no valid rounding mode.
2522 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2524 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2526 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2528 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2530 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2531 an exception using FPU order intentionally.
2533 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2535 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2536 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2537 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2538 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2540 2012-04-05 Simon Josefsson <simon@josefsson.org>
2543 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2544 EINVAL when BUFLEN is too smal.
2546 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2549 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2550 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2552 2012-04-03 Andreas Jaeger <aj@suse.de>
2555 * manual/setjmp.texi (System V contexts): Fix sentence.
2558 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2559 New macro for this case.
2560 [!__GNUC__] (__bswap_64): New inline function for this case.
2561 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2562 * bits/byteswap.h: Likewise.
2563 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2564 ull, guard with __GLIBC_HAVE_LONG_LONG.
2566 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2567 __GLIBC_HAVE_LONG_LONG.
2569 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2570 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2572 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2575 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2576 inptr and inend, rather than using last_ch.
2578 2012-04-02 David S. Miller <davem@davemloft.net>
2580 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2581 * stdio-common/printf-parse.h (read_int): Change return type to
2582 'int', return -1 on INT_MAX overflow.
2583 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2584 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2585 overflows INT_MAX. Check for overflow of in-format-string precision
2586 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2587 SIZE_MAX not INT_MAX for integer overflow test.
2588 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2589 skip the construct in the format string but do not record anything.
2590 * stdio-common/bug22.c: Adjust to test both width/prevision
2591 INT_MAX overflow as well as total length INT_MAX overflow. Check
2592 explicitly for proper errno values.
2594 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2596 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2598 * string/test-strcmp.c [! WIDE]: Likewise.
2599 * time/tst-mktime2.c: Likewise for INT_MAX.
2600 * string/test-string.h: #include <sys/param.h> for MIN.
2602 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2603 * sysdeps/i386/init-first.c (init): Likewise.
2604 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2605 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2606 * sysdeps/sh/init-first.c (init): Likewise.
2608 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2610 * po/ru.po: Update from translation team.
2611 * po/vi.po: Likewise.
2613 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2615 * resolv/nss_dns/dns-host.c: Merge copyright years.
2617 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2620 Optimize memcpy with prefetch if
2621 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2622 src, dst pointers have unequal 16 byte alignments.
2624 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2627 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2628 from a CNAME entry and return the minimum ttl for the query.
2629 (gaih_getanswer_slice): Likewise.
2631 2012-03-30 Jeff Law <law@redhat.com>
2633 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2635 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2636 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2638 * resolv/nss_dns/dns-host.c: Update copyright year.
2640 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2642 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2643 requests to save a system call. Fix check that all bytes are sent.
2645 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2646 comments for sendmmsg.
2648 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2651 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2652 with only 1 character between 0x0041 and 0x01b0.
2653 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2654 * wcsmbs/tst-mbsnrtowcs.c: New file.
2656 2012-03-29 David S. Miller <davem@davemloft.net>
2658 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2659 small copies by hand.
2661 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2664 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2665 _nss_compat_initgroups_dyn): Fall back to malloc/free
2666 for large group memberships.
2668 2012-03-28 David S. Miller <davem@davemloft.net>
2670 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2671 that branches into memcpy.
2672 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2673 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2675 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2678 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2680 * sysdeps/sparc/mempcpy.S: New file.
2682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2683 the IFUNC routine in the libc case.
2684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2686 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2688 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2689 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2690 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2691 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2692 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2693 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2695 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2696 loop to 256 bytes instead of 64 bytes and fix test signedness.
2698 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2699 * sysdeps/sparc/sparc32/Makefile: rather than here...
2700 * sysdeps/sparc/sparc64/Makefile: and here.
2702 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2704 * malloc/mallocbug.c: Avoid warnings about unused variables.
2706 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2709 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2710 in the right place. Discard and retry query if response is
2711 larger than input buffer size.
2713 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2718 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2719 x for large integer exponent.
2720 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2721 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2722 sign of result as needed afterwards.
2723 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2724 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2725 result for underflowing pow the same as for overflow.
2726 (__kernel_standard_l): Handle powl overflow and underflow here
2727 rather than calling __kernel_standard.
2728 * math/libm-test.inc (pow_test): Add more tests.
2743 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2744 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2745 (__kernel_standard_l): New function.
2746 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2748 * math/w_acosl.c (__acosl): Likewise.
2749 * math/w_asinl.c (__asinl): Likewise.
2750 * math/w_atan2l.c (__atan2l): Likewise.
2751 * math/w_atanhl.c (__atanhl): Likewise.
2752 * math/w_coshl.c (__coshl): Likewise.
2753 * math/w_exp10l.c (__exp10l): Likewise.
2754 * math/w_exp2l.c (__exp2l): Likewise.
2755 * math/w_fmodl.c (__fmodl): Likewise.
2756 * math/w_hypotl.c (__hypotl): Likewise.
2757 * math/w_j0l.c (__j0l, __y0l): Likewise.
2758 * math/w_j1l.c (__j1l, __y1l): Likewise.
2759 * math/w_jnl.c (__jnl, __ynl): Likewise.
2760 * math/w_lgammal.c (__lgammal): Likewise.
2761 * math/w_log10l.c (__log10l): Likewise.
2762 * math/w_log2l.c (__log2l): Likewise.
2763 * math/w_logl.c (__logl): Likewise.
2764 * math/w_powl.c (__powl): Likewise.
2765 * math/w_remainderl.c (__remainderl): Likewise.
2766 * math/w_scalbl.c (sysv_scalbl): Likewise.
2767 * math/w_sinhl.c (__sinhl): Likewise.
2768 * math/w_sqrtl.c (__sqrtl): Likewise.
2769 * math/w_tgammal.c (__tgammal): Likewise.
2770 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2771 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2772 * math/libm-test.inc (acos_test): Add more tests.
2773 (acosh_test): Likewise.
2774 (asin_test): Likewise.
2775 (atanh_test): Likewise.
2776 (exp_test): Likewise.
2777 (exp10_test): Likewise.
2778 (exp2_test): Likewise.
2779 (expm1_test): Likewise.
2780 (lgamma_test): Likewise.
2781 (log_test): Likewise.
2782 (log10_test): Likewise.
2783 (log1p_test): Likewise.
2784 (log2_test): Likewise.
2785 (pow_test): Do not allow some spurious overflow exceptions.
2786 (sqrt_test): Add more tests.
2787 (tgamma_test): Likewise.
2788 (y0_test): Likewise.
2789 (y1_test): Likewise.
2790 (yn_test): Likewise.
2792 2012-03-27 Anton Blanchard <anton@samba.org>
2794 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2796 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2798 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2800 2012-03-27 David S. Miller <davem@davemloft.net>
2802 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2804 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2807 2012-03-27 Andreas Jaeger <aj@suse.de>
2809 * sysdeps/x86_64/elf/configure.in: Moved to ...
2810 * sysdeps/x86_64/configure.in: ... here.
2811 * sysdeps/x86_64/elf/start.S: Moved to ...
2812 * sysdeps/x86_64/start.S: ... here.
2813 * sysdeps/x86_64/elf/configure: Delete.
2815 * sysdeps/x86_64/configure.in: Merge contents from
2816 sysdeps/i386/configure.in (without i686 check).
2818 * sysdeps/i386/elf/Versions: Merge into ...
2819 * sysdeps/i386/Versions: ... this.
2820 * sysdeps/i386/elf/Versions: Delete file.
2821 * sysdeps/i386/elf/start.S: Moved to ...
2822 * sysdeps/i386/start.S: ...here.
2823 * sysdeps/i386/elf/configure.in: Merge into...
2824 * sysdeps/i386/configure.in: ...here.
2825 * sysdeps/i386/elf/configure.in: Delete file.
2826 * sysdeps/i386/elf/configure: Delete file.
2828 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2829 * debug/backtracesyms.c: ... here.
2830 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2831 * debug/backtracesymsfd.c: ... here.
2832 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2833 * sysdeps/generic/ifunc-sel.h: ... here.
2835 * sysdeps/unix/i386/start.c: Delete file.
2836 * sysdeps/unix/sparc/start.c: Delete file.
2837 * sysdeps/unix/start.c: Delete file.
2839 * sysdeps/sh/elf/configure.in: Moved to ...
2840 * sysdeps/sh/configure.in: ... here.
2841 * sysdeps/sh/elf/start.S: Moved to ...
2842 * sysdeps/sh/start.S: ... here.
2843 * sysdeps/sh/elf/configure: Delete file.
2845 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2846 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2847 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2848 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2849 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2850 * sysdeps/powerpc/powerpc64/start.S: here.
2851 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2852 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2853 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2854 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2855 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2857 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2858 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2859 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2860 * sysdeps/powerpc/powerpc32/start.S: ... here.
2861 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2862 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2863 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2865 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2866 * sysdeps/powerpc/ifunc-sel.h: ... here.
2867 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2868 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2870 * sysdeps/sparc/elf/configure.in: Moved to ...
2871 * sysdeps/sparc/configure.in: ... here.
2872 * sysdeps/sparc/elf/configure: Delete file.
2873 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2874 * sysdeps/sparc/sparc32/start.S: ... here.
2875 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2876 * sysdeps/sparc/sparc64/start.S: ... here.
2877 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2878 * sysdeps/sparc/sparc32/Makefile: ... this.
2879 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2880 * sysdeps/sparc/sparc64/Makefile: ... this.
2882 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2883 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2884 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2885 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2886 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2887 * sysdeps/s390/s390-32/setjmp.S: ... here.
2888 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2889 * sysdeps/s390/s390-32/configure.in: ... here.
2890 * sysdeps/s390/s390-32/elf/configure: Delete file.
2891 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2892 * sysdeps/s390/s390-32/start.S: ... here.
2894 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2895 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2896 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2897 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2898 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2899 * sysdeps/s390/s390-64/setjmp.S: ... here.
2900 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2901 * sysdeps/s390/s390-64/configure.in: ... here
2902 * sysdeps/s390/s390-64/elf/configure: Delete file.
2903 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2904 * sysdeps/s390/s390-64/start.S: ... here.
2905 * sysdeps/s390/s390-64/elf/configure: Delete.
2907 * configure.in: Remove support for elf directories in sysdeps.
2909 * configure: Regenerated.
2910 * sysdeps/i386/configure: Regenerated.
2911 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2912 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2913 * sysdeps/s390/s390-32/configure: Regenerated.
2914 * sysdeps/s390/s390-64/configure: Regenerated.
2915 * sysdeps/sh/configure: Regenerated.
2916 * sysdeps/sparc/configure: Regenerated.
2917 * sysdeps/x86_64/configure: Regenerated.
2919 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2924 denormal result into account.
2926 2012-03-25 Roland McGrath <roland@hack.frob.com>
2928 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2929 Reported by Allan McRae <allan@archlinux.org>.
2931 2012-03-23 Jeff Law <law@redhat.com>
2933 * nss/getnssent.c (__nss_getent): Fix typo.
2935 2012-03-23 David S. Miller <davem@davemloft.net>
2937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2939 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2941 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2942 to pad to uint64_t for each field.
2943 (dl_tls_index): Replace unsigned long with uint64_t.
2945 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2946 Paul Pluzhnikov <ppluzhnikov@google.com>
2949 * grp/Makefile (otherlibs): Don't set it.
2950 * inet/Makefile (otherlibs): Likewise.
2951 * login/Makefile (otherlibs): Likewise.
2952 * nscd/Makefile (otherlibs): Likewise.
2953 * posix/Makefile (otherlibs): Likewise.
2954 * pwd/Makefile (otherlibs): Likewise.
2955 * rt/Makefile (otherlibs): Likewise.
2956 * sunrpc/Makefile (otherlibs): Likewise.
2957 * nss/Makefile (otherlibs): Likewise.
2958 Add libnss_files to routines and static-only-routines.
2959 ($(objpfx)getent): Remove rule.
2960 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2961 static-only-routines.
2963 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2966 * math/s_cexp.c: Include <float.h>.
2967 (__cexp): Handle exp result overflowing not necessarily
2968 overflowing both real and imaginary parts of result.
2969 * math/s_cexpf.c: Likewise.
2970 * math/s_cexpl.c: Likewise.
2971 * math/libm-test.inc (cexp_test): Add more tests.
2972 * sysdeps/i386/fpu/libm-test-ulps: Update.
2973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2975 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2977 * include/link.h (ELFW): New macro.
2978 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2979 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2981 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2983 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2986 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2988 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2990 (struct La_x32_retval): Likewise.
2992 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2994 * sysdeps/x86_64/preconfigure.in: New file.
2995 * sysdeps/x86_64/preconfigure: New generated file.
2997 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3000 * math/e_exp2l.c: Include <float.h>.
3001 (__ieee754_exp2l): Handle overflow and underflow cases
3002 separately. Only pass fractional part of argument to
3004 * math/libm-test.inc (exp2_test): Add more tests.
3006 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3007 negating x to take absolute value.
3008 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3010 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3011 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3013 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3014 computing low part if x was negated.
3015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3017 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3019 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3021 (pltexit): Cast int_retval to ptrdiff_t.
3022 * elf/tst-auditmod3b.c: Likewise.
3023 * elf/tst-auditmod4b.c: Likewise.
3024 * elf/tst-auditmod5b.c: Likewise.
3025 * elf/tst-auditmod6b.c: Likewise.
3026 * elf/tst-auditmod6c.c: Likewise.
3027 * elf/tst-auditmod7b.c: Likewise.
3029 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3030 and x32_gnu_pltexit.
3032 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3034 (La_x32_regs): New macro.
3035 (La_x32_retval): Likewise.
3036 (la_x32_gnu_pltenter): New function prototype.
3037 (la_x32_gnu_pltexit): Likewise.
3039 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3041 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3046 * configure.in (libc_cv_cc_nofma): Check for option to disable
3047 generation of FMA instructions.
3048 * configure: Regenerate.
3049 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3050 * sysdeps/ieee754/dbl-64/Makefile: New file.
3051 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3052 Remove brandred-fma4.
3053 (CFLAGS-brandred-fma4.c): Remove.
3054 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3055 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3057 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3060 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3062 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3063 LLONG_MAX != LONG_MAX.
3064 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3065 (_fitoa_word): Likewise.
3066 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3067 LLONG_MAX != LONG_MAX.
3068 * stdio-common/_itowa.h: Include <_itoa.h>.
3069 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3070 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3071 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3072 only if not defined.
3073 (_ITOA_WORD_TYPE): Likewise.
3074 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3075 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3077 2012-03-21 David S. Miller <davem@davemloft.net>
3079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3081 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3083 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3084 of x86_64 when setting libc_cv_slibdir, libdir and
3086 * sysdeps/unix/sysv/linux/configure: Regenerated.
3088 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3090 * manual/lang.texi (Old Varargs): Remove section.
3091 (How Variadic): Update menu.
3092 (va_start): Do not mention varargs.h.
3094 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3095 Joseph Myers <joseph@codesourcery.com>
3097 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3099 * configure: Regenerated.
3101 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3103 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3104 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3107 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3110 * Makefile (files-for-dist): Remove NOTES.
3111 (NOTES): Remove rule.
3112 * README: Don't refer to NOTES.
3113 * manual/creature.texi: Don't include macros.texi.
3114 * manual/intro.texi (creature.texi): Remove comment referring to
3117 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3118 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3119 * configure: Regenerated.
3120 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3122 (libc_cv_as_i686): Likewise.
3123 (libc_cv_cc_avx): Likewise.
3124 (libc_cv_cc_sse2avx): Likewise.
3125 (libc_cv_cc_fma4): Likewise.
3126 (libc_cv_cc_novzeroupper): Likewise.
3127 * sysdeps/i386/configure: Regenerated.
3130 * sysdeps/i386/fpu/s_cexp.S: Remove.
3131 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3132 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3133 * math/libm-test.inc (cexp_test): Add more tests.
3134 * sysdeps/i386/fpu/libm-test-ulps: Update.
3135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3137 2012-03-21 Allan McRae <allan@archlinux.org>
3139 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3141 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3144 * math/w_exp2.c: Do not include <float.h>.
3145 (o_threshold, u_threshold): Remove.
3146 (__exp2): Calculate result before checking finiteness and calling
3148 * math/w_exp2f.c: Likewise.
3149 * math/w_exp2l.c: Likewise.
3150 * math/libm-test.inc (exp2_test): Require overflow exception for
3154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3155 range of signed 64-bit integers before using fistpll. Remove
3156 checks for whether integers fit in mantissa bits.
3157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3158 the range of signed 32-bit integers before using fistpl. Remove
3159 checks for whether integers fit in mantissa bits.
3160 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3161 (__ieee754_powl): Test for y outside the range of signed 64-bit
3162 integers before using fistpll. Reduce 64-bit values to 63-bit
3164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3165 divide-by-zero is raised for zero to large negative powers.
3166 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3167 (__ieee754_powl): Test for y outside the range of signed 64-bit
3168 integers before using fistpll. Reduce 64-bit values to 63-bit
3170 * math/libm-test.inc (pow_test): Add more tests.
3172 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3174 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3175 <stdio-common/_itoa.h>.
3176 * debug/segfault.c: Likewise.
3177 * elf/dl-cache.c: Likewise.
3178 * elf/dl-minimal.c: Likewise.
3179 * elf/dl-misc.c: Likewise.
3180 * elf/dl-sysdep.c: Likewise.
3181 * elf/dl-version.c: Likewise.
3182 * elf/rtld.c: Likewise.
3183 * hurd/hurdsock.c: Likewise.
3184 * hurd/lookup-retry.c: Likewise.
3185 * malloc/malloc.c: Likewise.
3186 * malloc/mtrace.c: Likewise.
3187 * nscd/nscd_getgr_r.c: Likewise.
3188 * nscd/nscd_getpw_r.c: Likewise.
3189 * nscd/nscd_getserv_r.c: Likewise.
3190 * posix/getopt_init.c: Likewise.
3191 * posix/wordexp.c: Likewise.
3192 * stdio-common/_itoa.c: Likewise.
3193 * stdio-common/printf_fphex.c: Likewise.
3194 * stdio-common/vfprintf.c: Likewise.
3195 * string/_strerror.c: Likewise.
3196 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3197 * sysdeps/i386/i686/hp-timing.h: Likewise.
3198 * sysdeps/mach/_strerror.c: Likewise.
3199 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3200 * sysdeps/mach/hurd/sethostid.c: Likewise.
3201 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3202 * sysdeps/mach/xpg-strerror.c: Likewise.
3203 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3204 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3205 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3206 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3207 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3208 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3209 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3210 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3211 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3212 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3213 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3214 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3215 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3216 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3217 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3218 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3219 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3220 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3221 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3222 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3223 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3225 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3227 * stdio-common/_itoa.h: Moved to ...
3228 * sysdeps/generic/_itoa.h: Here.
3230 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3232 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3233 instead of "_itoa.h" and "_itowa.h".
3234 * stdio-common/vfprintf.: Likewise.
3236 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3238 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3240 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3241 (__signbit): Likwise.
3245 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3247 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3250 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3252 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3253 OVERFLOW_EXCEPTION_OK.
3254 * math/libm-test.inc ("Philosophy"): Update comment about
3256 (OVERFLOW_EXCEPTION): Define.
3257 (OVERFLOW_EXCEPTION_OK): Likewise.
3258 (INVALID_EXCEPTION_OK): Renumber.
3259 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3260 (IGNORE_ZERO_INF_SIGN): Likewise.
3261 (test_exceptions): Handle FE_OVERFLOW.
3262 (exp10_test): Expect overflow exceptions.
3263 (exp2_test): Likewise.
3264 (expm1_test): Likewise.
3265 (nextafter_test): Likewise.
3266 (pow_test): Likewise.
3267 (scalbn_test): Likewise.
3268 (scalbln_test): Likewise.
3270 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3272 * sysdeps/x86_64/bits/atomic.h
3273 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3275 (atomic_exchange_acq): Likewise.
3276 (__arch_exchange_and_add_body): Likewise.
3277 (__arch_add_body): Likewise.
3278 (atomic_add_negative): Likewise.
3279 (atomic_add_zero): Likewise.
3281 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3283 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3284 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3286 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3288 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3289 Check __x86_64__ instead of __WORDSIZE.
3291 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3293 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3295 2012-03-19 David S. Miller <davem@davemloft.net>
3297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3299 * sysdeps/sparc/fpu/fenv_private.h: New file.
3300 * sysdeps/sparc/fpu/math_private.h: Use it.
3301 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3303 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3304 (libc_feholdexcept_setroundl): Remove.
3305 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3307 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3308 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3310 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3312 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3313 int64_t instead of long int.
3314 (INSERT_WORDS64): Likwise.
3316 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3318 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3319 _Unwind_GetCFA return to _Unwind_Ptr first.
3321 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3324 * math/s_clog.c: Include <float.h>.
3325 (__clog): Scale large or subnormal inputs.
3326 * math/s_clogf.c: Likewise.
3327 * math/s_clogl.c: Likewise.
3328 * math/s_clog10.c: Include <float.h>.
3329 (M_LOG10_2): Define.
3330 (__clog10): Scale large or subnormal inputs.
3331 * math/s_clog10f.c: Likewise.
3332 * math/s_clog10l.c: Likewise.
3333 * math/libm-test.inc (clog_test): Add more tests.
3334 (clog10_test): Likewise.
3335 * sysdeps/i386/fpu/libm-test-ulps: Update.
3336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3339 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3341 * math/libm-test.inc (atan2_test): Add another test.
3343 * Makerules (common-objdir-compile): Remove.
3344 * sysdeps/unix/Makefile (config-generated): Do not add
3345 $(unix-generated) to variable.
3346 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3347 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3349 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3351 [generic bits/local_lim.h] (before-compile): Do not append to
3353 [generic bits/local_lim.h] (common-generated): Likewise.
3354 [generic sys/param.h] (before-compile): Do not append to variable.
3355 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3356 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3357 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3360 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3361 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3362 [generic sys/param.h] ($(addprefix
3363 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3364 [generic sys/param.h] (common-generated): Do not append to
3366 [generic sys/param.h] (sysdep_headers): Likewise.
3367 [generic bits/errno.h] (before-compile): Do not append to
3369 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3371 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3372 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3373 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3374 [generic bits/errno.h] (common-generated): Do not append to
3376 [generic bits/ioctls.h] (before-compile): Do not append to
3378 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3380 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3381 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3384 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3385 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3386 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3387 [generic bits/ioctls.h] (common-generated): Do not append to
3389 [generic sys/syscall.h] (syscall.h): Remove variable.
3390 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3392 [generic sys/syscall.h] (before-compile): Do not append to
3394 [generic sys/syscall.h] (common-generated): Likewise.
3395 * sysdeps/unix/errnos-tmpl.c: Remove file.
3396 * sysdeps/unix/errnos.awk: Likewise.
3397 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3398 * sysdeps/unix/ioctls.awk: Likewise.
3399 * sysdeps/unix/mk-local_lim.c: Likewise.
3400 * sysdeps/unix/snarf-ioctls: Likewise.
3402 2012-03-19 Richard Henderson <rth@twiddle.net>
3404 * sysdeps/i386/fpu/fenv_private.h: New file.
3405 * sysdeps/i386/fpu/math_private.h: Use it.
3406 (math_opt_barrier, math_force_eval): Remove.
3407 (libc_feholdexcept_setround_53bit): Remove.
3408 (libc_feupdateenv_53bit): Remove.
3409 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3410 (math_opt_barrier, math_force_eval): Remove.
3411 (libc_feholdexcept): Remove.
3412 (libc_feholdexcept_setround): Remove.
3413 (libc_fetestexcept, libc_fesetenv): Remove.
3414 (libc_feupdateenv_test): Remove.
3415 (libc_feupdateenv, libc_feholdsetround): Remove.
3416 (libc_feresetround): Remove.
3418 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3419 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3421 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3422 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3423 (libc_feupdateenv_testl): New.
3424 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3425 (libc_feupdateenv_testf): New.
3426 (libc_feupdateenv): Use libc_feupdateenv_test.
3427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3428 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3430 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3431 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3432 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3433 (libc_feresetround_noex): New.
3434 (libc_feresetround_noexf): New.
3435 (libc_feresetround_noexl): New.
3436 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3437 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3438 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3442 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3444 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3445 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3446 SET_RESTORE_ROUND_NOEX.
3447 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3448 SET_RESTORE_ROUND_NOEXF.
3449 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3450 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3451 (libc_feholdsetroundf): New.
3452 (libc_feresetround, libc_feresetroundf): New.
3454 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3455 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3456 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3458 * sysdeps/generic/math_private.h: Include <fenv.h>.
3459 (default_libc_feholdexcept): New.
3460 (default_libc_feholdexcept_setround): New.
3461 (default_libc_fesetenv, default_libc_feupdateenv): New.
3462 (libc_feholdexcept): Only define if undefined.
3463 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3464 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3465 (libc_feholdexcept_setroundl): Likewise.
3466 (libc_feholdexcept_setround_53bit): Likewise.
3467 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3468 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3469 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3470 (libc_feupdateenv_53bit): Likewise.
3471 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3472 (libc_feholdexcept): Convert from macro to inline function.
3473 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3474 (libc_fesetenv, libc_feupdateenv): Likewise.
3476 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3477 not previously defined.
3478 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3479 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3480 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3481 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3482 * sysdeps/ieee754/flt-32/math_private.h: New file.
3483 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3484 math_private.h below SET_FLOAT_WORD.
3485 (__isnan, __isinf_ns, __finite): Remove.
3486 (__isnanf, __isinf_nsf, __finitef): Remove.
3488 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3492 2012-03-17 David S. Miller <davem@davemloft.net>
3495 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3498 2012-03-16 David S. Miller <davem@davemloft.net>
3500 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3504 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3506 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3507 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3508 sysdep_routines when subdir is sysvipc.
3509 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3512 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3514 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3516 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3519 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3521 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3522 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3523 (__lround): Renamed to ...
3524 (__llround): This. Replace long int with long long int.
3525 Define lround functions as aliases of llround functions.
3526 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3528 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3530 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3531 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3532 adresses to uintptr_t. Replace "long int" and "unsigned long
3533 int" with "greg_t" on va_arg.
3535 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3537 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3538 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3540 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3541 Move e_machine check before EI_CLASS check. Handle x32
3542 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3543 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3544 SKIP_EM_IA_64 and include
3545 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3547 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3548 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3549 (add_system_dir): New macro.
3551 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3552 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3554 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3565 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3567 * math/w_j0f.c (j0f): Likewise.
3569 * math/w_j0l.c (__j0l): Likewise.
3571 * math/w_j1.c (j1): Likewise.
3573 * math/w_j1f.c (j1f): Likewise.
3575 * math/w_j1l.c (__j1l): Likewise.
3577 * math/w_jn.c (jn): Likewise.
3579 * math/w_jnf.c (jnf): Likewise.
3581 * math/w_jnl.c (__jnl): Likewise.
3583 * math/libm-test.inc (j0_test): Add more tests.
3584 (j1_test): Likewise.
3585 (jn_test): Likewise. Add trailing semicolon to existing test.
3586 (y0_test): Likewise.
3587 (y1_test): Likewise.
3588 * sysdeps/i386/fpu/libm-test-ulps: Update.
3589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3593 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3594 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3595 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3596 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3597 (__tanl): Set errno for infinite argument.
3598 * sysdeps/i386/fpu/mptan.c: Remove.
3599 * sysdeps/i386/fpu/s_tan.S: Likewise.
3600 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3601 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3602 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3603 * math/libm-test.inc (tan_test): Add more tests and enable more
3604 tests for double and long double.
3605 * sysdeps/i386/fpu/libm-test-ulps: Update.
3606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3608 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3610 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3611 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3613 2012-03-16 Roland McGrath <roland@hack.frob.com>
3615 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3616 * configure.in: Use it for both main tree and add-ons.
3617 * configure: Regenerated.
3619 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3621 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3623 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3625 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3629 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3630 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3635 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3638 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3639 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3640 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3641 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3642 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3643 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3644 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3645 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3646 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3647 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3648 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3649 * math/libm-test.inc (cos_test): Add more tests and enable more
3650 tests for long double.
3651 (sin_test): Likewise.
3652 (sincos_test): Likewise.
3653 * sysdeps/i386/fpu/libm-test-ulps: Update.
3654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3656 2012-03-16 David S. Miller <davem@davemloft.net>
3658 * sysdeps/sparc/fpu/math_private.h: New file.
3660 2012-03-15 David S. Miller <davem@davemloft.net>
3662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3676 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3677 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3679 * sysdeps/sparc/sparc-ifunc.h: New file.
3680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3725 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3727 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3731 2012-03-15 Andreas Jaeger <aj@suse.de>
3734 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3735 ieee754/flt-32 implementation for sin, cos and sincos.
3736 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3737 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3738 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3739 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3740 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3741 ieee754/flt-32 implementation for tan.
3743 * math/libm-test.inc (cos_test): Enable some large input tests for
3745 (sin_test): Likewise.
3746 (sincos_test): Likewise.
3747 (tan_test): Add tests for large input.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3751 2012-03-15 Andreas Jaeger <aj@suse.de>
3754 * math/libm-test.inc (cos_test): Add more test cases.
3755 (sin_test): Likewise.
3756 (sincos_test): Likewise.
3758 2012-03-15 Andreas Jaeger <aj@suse.de>
3761 * math/libm-test.inc (cos_test): Add a test case for large input
3763 (sin_test): Likewise.
3764 (sincos_test): Likewise.
3766 2012-03-15 Andreas Jaeger <aj@suse.de>,
3767 Joseph Myers <joseph@codesourcery.com>
3770 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3771 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3772 * sysdeps/i386/fpu/branred.c: Likewise.
3773 * sysdeps/i386/fpu/dosincos.c: Likewise.
3774 * sysdeps/i386/fpu/mpa.c: Likewise.
3775 * sysdeps/i386/fpu/s_cos.S: Likewise.
3776 * sysdeps/i386/fpu/s_sin.S: Likewise.
3777 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3778 * sysdeps/i386/fpu/sincos32.c: Likewise.
3780 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3782 (libc_feupdateenv_53bit): Define.
3783 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3785 (libc_feupdateenv_53bit): Define.
3787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3788 53 bit (without extend i386 double precision).
3790 * math/libm-test.inc (sincos_test): Add tests for large input.
3794 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3796 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3800 2012-03-15 David S. Miller <davem@davemloft.net>
3802 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3803 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3804 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3805 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3830 fmin/fmax sysdep routines.
3831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3833 2012-03-14 David S. Miller <davem@davemloft.net>
3835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3907 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3912 * sysdeps/sparc/configure.in: New file.
3913 * sysdeps/sparc/configure: Generate.
3914 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3915 * configure: Regenerate.
3916 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3917 * config.make.in (have-as-vis3): New.
3918 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3919 available use -Av9d instead of -Av9a.
3920 * sysdeps/sparc/sparc64/Makefile: Likewise.
3921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3936 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3937 fzeros/fnegs to load 0x80000000 into a float register instead of
3939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3941 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3945 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3946 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3947 ($(inst_includedir)/bits/syscall.h): Remove rule.
3948 ($(objpfx)bits/syscall.d): Include instead of
3949 $(objpfx)syscall-list.d.
3950 (generated): Change syscall-list.h and syscall-list.d to
3951 bits/syscall.h and bits/syscall.d.
3953 2012-03-14 Roland McGrath <roland@hack.frob.com>
3956 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3958 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3961 * math/s_csqrt.c: Include <float.h>.
3962 (__csqrt): Scale large or subnormal inputs.
3963 * math/s_csqrtf.c: Likewise.
3964 * math/s_csqrtl.c: Likewise.
3965 * math/libm-test.inc (csqrt_test): Add more tests.
3966 * sysdeps/i386/fpu/libm-test-ulps: Update.
3967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3970 * math/libm-test.inc (hypot_test): Add more tests.
3972 2012-03-13 David S. Miller <davem@davemloft.net>
3975 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3976 double-precision for the calculation instead of scaling.
3978 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3980 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3981 manipulate bits before adding and subtracting TWO52[sx].
3982 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3983 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3985 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3987 2012-03-13 David S. Miller <davem@davemloft.net>
3989 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3990 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3992 rtld-global-offsets.h
3993 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3995 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4000 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4001 'err' in the ifdef scope in which it is actually used.
4003 * nss/nss_db/db-init.c: Include string.h
4005 2012-03-12 David S. Miller <davem@davemloft.net>
4007 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4008 masking out of the most significant byte of random value used.
4009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4010 Fix coding style in previous change.
4012 * sysdeps/unix/sysv/linux/kernel-features.h
4013 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4014 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4016 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4019 2012-03-11 David S. Miller <davem@davemloft.net>
4021 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4022 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4024 for 'resultvar' otherwise things get truncated on 64-bit.
4026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4027 Fix masking out of the most significant byte of random value used.
4029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4031 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4035 2012-03-09 David S. Miller <davem@davemloft.net>
4037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4038 variables with appropriate CPP guards.
4039 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4040 frame pointer, not the stack pointer. Correct layout comments. Fix test
4041 on resulting framesize and the management of the outregs buffer for pltexit.
4042 Preserve floating point return values across _dl_call_pltexit call.
4043 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4044 framesize and the management of the outregs buffer for pltexit.
4045 Preserve floating point return values across _dl_call_pltexit
4047 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4048 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4049 (print_exit): Fix format string for return register value.
4051 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4053 * sunrpc/Makefile (others): Add rpcgen.
4054 ($(objpfx)rpcgen): Remove special build rule and dependency on
4056 * sunrpc/rpcgen.c: New file.
4058 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4061 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4062 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4063 * sysdeps/i386/crti.S: Likewise.
4064 * sysdeps/i386/crtn.S: Likewise.
4065 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4066 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4067 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4068 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4069 * sysdeps/sh/crti.S: Likewise.
4070 * sysdeps/sh/crtn.S: Likewise.
4071 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4074 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4076 * locale/programs/locfile-kw.gperf: Likewise.
4077 * locale/programs/charmap-kw.h: Regenerated.
4078 * locale/programs/locfile-kw.h: Likewise.
4081 * intl/plural.y: Replace FSF snail mail address with URL.
4082 * intl/plural.c: Regenerated.
4084 2012-03-09 Richard Henderson <rth@twiddle.net>
4086 * include/math_private.h: Remove file.
4087 * math/math_private.h: Move file ...
4088 * sysdeps/generic/math_private.h: ... here.
4090 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4091 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4092 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4094 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4095 and <math_private.h>.
4096 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4097 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4098 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4099 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4100 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4101 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4132 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4136 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4139 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4142 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4147 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4150 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4151 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4155 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4184 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4187 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4189 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4190 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4191 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4193 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4196 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4197 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4198 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4199 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4200 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4201 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4202 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4203 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4206 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4207 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4210 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4215 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4217 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4219 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4220 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4221 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4222 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4223 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4224 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4225 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4226 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4227 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4229 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4230 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4231 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4234 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4236 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4237 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4238 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4239 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4240 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4242 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4243 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4244 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4245 * sysdeps/ieee754/k_standard.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4373 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4378 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4395 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4406 * sysdeps/ieee754/s_lib_version.c: Likewise.
4407 * sysdeps/ieee754/s_matherr.c: Likewise.
4408 * sysdeps/ieee754/s_signgam.c: Likewise.
4409 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4410 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4411 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4412 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4413 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4414 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4415 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4416 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4417 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4418 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4419 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4420 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4423 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4426 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4431 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4433 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4434 * sunrpc/rpc_main.c: Likewise.
4435 * sunrpc/rpc_svcout.c: Likewise.
4437 2012-03-09 David S. Miller <davem@davemloft.net>
4439 * include/math_private.h: New file.
4441 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4443 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4444 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4445 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4446 from <bits/socket_type.h>.
4447 (enum __socket_type): Don't define here.
4448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4453 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4456 * Makerules ($(inst_includedir)/%.h): New rule.
4457 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4458 (install-others): Remove variable setting.
4459 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4461 2012-03-08 Richard Henderson <rth@twiddle.net>
4463 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4464 from macro to inline function; merge with the
4465 !__LIBC_INTERNAL_MATH_INLINES version.
4466 (__ieee754_sqrtf): Likewise.
4468 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4470 (__rintf, __floor, __floorf): Likewise.
4472 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4473 macro to inline function.
4474 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4477 not <math/math_private.h>.
4479 2012-03-08 David S. Miller <davem@davemloft.net>
4481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4483 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4485 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4487 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4489 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4490 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4492 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4494 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4495 be defined individually, they must be defined as a block. Define
4496 S for printing a string instead of hidint the different by using a
4497 macro for adding the 'l'.
4498 * stdio-common/tst-fphex-wide.c: Adjust.
4500 2012-03-07 Marek Polacek <polacek@redhat.com>
4502 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4504 2012-03-08 Marek Polacek <polacek@redhat.com>
4507 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4508 * stdio-common/tst-fphex.c: Define a few macros to make the
4509 test reusable. Use them.
4510 * stdio-common/tst-fphex-wide.c: New file.
4512 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4515 * manual/macros.texi (gnusystems): New macro.
4516 (nongnusystems): Likewise.
4517 (gnulinuxhurdsystems): Likewise.
4518 (gnuhurdsystems): Likewise..
4519 (gnulinuxsystems): Likewise.
4520 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4521 variants of the GNU system, not "GNU system".
4522 * manual/conf.texi: Likewise.
4523 * manual/errno.texi: Likewise. Update example of errno macro
4525 * manual/filesys.texi: Likewise.
4526 (getumask): Document as specific to GNU/Hurd.
4527 * manual/install.texi: Likewise. Reword some references to
4529 * manual/intro.texi: Likewise.
4530 * manual/io.texi: Likewise.
4531 (File Name Portability): Detail which constraints are inapplicable
4532 to all GNU systems and which are only inapplicable to GNU/Hurd.
4533 * manual/job.texi: Likewise.
4534 * manual/llio.texi: Likewise.
4535 (O_NOCTTY): Document as present on GNU/Linux.
4536 * manual/maint.texi: Likewise.
4537 * manual/memory.texi: Likewise.
4538 * manual/pattern.texi: Likewise.
4539 * manual/pipe.texi: Likewise.
4540 * manual/process.texi: Likewise.
4541 * manual/resource.texi: Likewise.
4542 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4544 * manual/setjmp.texi: Likewise.
4545 * manual/signal.texi: Likewise.
4546 * manual/startup.texi: Likewise.
4547 * manual/stdio.texi: Likewise.
4548 * manual/terminal.texi: Likewise.
4549 (ONLCR): Document as POSIX.
4550 (OXTABS): Document availability on GNU/Linux as XTABS.
4551 (ONOEOT): Document availability separately from other bits.
4552 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4553 * manual/time.texi: Likewise.
4554 * manual/users.texi: Likewise.
4555 * INSTALL: Regenerated.
4556 * sysdeps/gnu/errlist.c: Regenerated.
4558 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4559 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4560 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4562 * configure: Regenerated.
4564 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4566 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4567 default includes instead of AC_HEADER_CHECK.
4568 * sysdeps/i386/configure: Regenerated.
4571 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4572 * math/s_cacoshf.c (__cacoshf): Likewise.
4573 * math/s_cacoshl.c (__cacoshl): Likewise.
4574 * math/s_casinh.c (__casinh): Set signs of result from argument.
4575 * math/s_casinhf.c (__casinhf): Likewise.
4576 * math/s_casinhl.c (__casinhl): Likewise.
4577 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4578 (casinh_test): Add more tests.
4579 * sysdeps/i386/fpu/libm-test-ulps: Update.
4580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4582 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4584 * po/zh_TW.po: Update from translation team.
4586 * login/Makefile (distribute): Remove variable.
4587 * catgets/Makefile: Likewise.
4588 * mach/Makefile: Likewise.
4589 * malloc/Makefile: Likewise.
4590 * misc/Makefile: Likewise.
4591 * iconv/Makefile: Likewise.
4592 * nscd/Makefile: Likewise.
4593 * hurd/Makefile: Likewise.
4594 * manual/Makefile: Likewise.
4595 * locale/Makefile: Likewise.
4596 * intl/Makefile: Likewise.
4597 * conform/Makefile: Likewise.
4598 * nss/Makefile: Likewise.
4599 * time/Makefile: Likewise.
4600 * soft-fp/Makefile: Likewise.
4601 * dirent/Makefile: Likewise.
4602 * gmon/Makefile: Likewise.
4603 * po/Makefile: Likewise.
4604 * rt/Makefile: Likewise.
4605 * socket/Makefile: Likewise.
4606 * math/Makefile: Likewise.
4607 * signal/Makefile: Likewise.
4608 * debug/Makefile: Likewise.
4609 * elf/Makefile: Likewise.
4610 * timezone/Makefile: Likewise.
4611 * stdlib/Makefile: Likewise.
4612 * iconvdata/Makefile: Likewise.
4613 * sunrpc/Makefile: Likewise.
4614 * io/Makefile: Likewise.
4615 * argp/Makefile: Likewise.
4616 * inet/Makefile: Likewise.
4617 * hesiod/Makefile: Likewise.
4618 * grp/Makefile: Likewise.
4619 * csu/Makefile: Likewise.
4620 * wctype/Makefile: Likewise.
4621 * crypt/Makefile: Likewise.
4622 * libio/Makefile: Likewise.
4623 * string/Makefile: Likewise.
4624 * nis/Makefile: Likewise.
4625 * resolv/Makefile: Likewise.
4626 * stdio-common/Makefile: Likewise.
4627 * wcsmbs/Makefile: Likewise.
4628 * dlfcn/Makefile: Likewise.
4629 * posix/Makefile: Likewise.
4632 * timezone/Makefile: Don't install timezone files, just the programs
4635 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4637 * nss/databases.def: Add missing gshadow entry.
4639 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4641 2012-03-06 Marek Polacek <polacek@redhat.com>
4644 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4645 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4646 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4647 * stdio-common/tst-long-dbl-fphex.c: New file.
4649 2012-03-06 David S. Miller <davem@davemloft.net>
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4652 (set_obp_int): New function.
4653 (get_obp_int): New function.
4654 (__get_clockfreq_via_dev_openprom): Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4656 Avoid unused variable warnings on 'val' and use builtin_expect.
4657 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4659 (INLINE_CLONE_SYSCALL): Likewise.
4661 2012-03-05 David S. Miller <davem@davemloft.net>
4663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4665 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4673 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4676 Replace gettimeofday with __vdso_gettimeofday.
4678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4679 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4680 __vdso_clock_gettime and __vdso_getcpu.
4682 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4683 time with __vdso_time.
4685 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4687 * manual/lang.texi (size_t): Note types to which size_t may be
4688 equivalent with the GNU C Library, but do not describe when
4689 differences between them are significant.
4691 2012-03-05 Andreas Jaeger <aj@suse.de>
4693 * sysdeps/i386/fpu/libm-test-ulps: Update.
4695 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4698 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4699 (__ieee754_pow): Save and restore rounding mode and use
4700 round-to-nearest for main computations.
4701 * math/libm-test.inc (pow_test_tonearest): New function.
4702 (pow_test_towardzero): Likewise.
4703 (pow_test_downward): Likewise.
4704 (pow_test_upward): Likewise.
4705 (main): Call the new functions.
4706 * sysdeps/i386/fpu/libm-test-ulps: Update.
4707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4710 * math/libm-test.inc (cosh_test_tonearest): New function.
4711 (cosh_test_towardzero): Likewise.
4712 (cosh_test_downward): Likewise.
4713 (cosh_test_upward): Likewise.
4714 (sinh_test_tonearest): Likewise.
4715 (sinh_test_towardzero): Likewise.
4716 (sinh_test_downward): Likewise.
4717 (sinh_test_upward): Likewise.
4718 (main): Call the new functions.
4719 * sysdeps/i386/fpu/libm-test-ulps: Update.
4720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4722 2012-03-05 Tom de Vries <tom@codesourcery.com>
4724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4725 default stack guard is set in last bytes.
4726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4728 2012-03-05 Kees Cook <keescook@chromium.org>
4730 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4733 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4734 possibly allocate from heap instead of stack.
4735 * stdio-common/bug-vfprintf-nargs.c: New file.
4736 * stdio-common/Makefile (tests): Add nargs overflow test.
4738 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4742 2012-03-03 Marek Polacek <polacek@redhat.com>
4744 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4745 * math/math_private.h: Likewise.
4746 * stdlib/tst-strtod.c: Likewise.
4747 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4748 * sysdeps/x86_64/bits/atomic.h: Likewise.
4750 2012-03-02 David S. Miller <davem@davemloft.net>
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4756 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4759 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4761 2012-03-02 Roland McGrath <roland@hack.frob.com>
4764 * manual/examples/README: New file, says the example source files
4765 can be used under GPL>=2.
4766 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4767 line containing just "*/".
4768 * manual/examples/add.c: Add copyright header (GPL>=2).
4769 * manual/examples/argp-ex1.c: Likewise.
4770 * manual/examples/argp-ex2.c: Likewise.
4771 * manual/examples/argp-ex3.c: Likewise.
4772 * manual/examples/argp-ex4.c: Likewise.
4773 * manual/examples/atexit.c: Likewise.
4774 * manual/examples/db.c: Likewise.
4775 * manual/examples/dir.c: Likewise.
4776 * manual/examples/dir2.c: Likewise.
4777 * manual/examples/execinfo.c: Likewise.
4778 * manual/examples/filecli.c: Likewise.
4779 * manual/examples/filesrv.c: Likewise.
4780 * manual/examples/fmtmsgexpl.c: Likewise.
4781 * manual/examples/genpass.c: Likewise.
4782 * manual/examples/inetcli.c: Likewise.
4783 * manual/examples/inetsrv.c: Likewise.
4784 * manual/examples/isockad.c: Likewise.
4785 * manual/examples/longopt.c: Likewise.
4786 * manual/examples/memopen.c: Likewise.
4787 * manual/examples/memstrm.c: Likewise.
4788 * manual/examples/mkfsock.c: Likewise.
4789 * manual/examples/mkisock.c: Likewise.
4790 * manual/examples/mygetpass.c: Likewise.
4791 * manual/examples/pipe.c: Likewise.
4792 * manual/examples/popen.c: Likewise.
4793 * manual/examples/rprintf.c: Likewise.
4794 * manual/examples/search.c: Likewise.
4795 * manual/examples/select.c: Likewise.
4796 * manual/examples/setjmp.c: Likewise.
4797 * manual/examples/sigh1.c: Likewise.
4798 * manual/examples/sigusr.c: Likewise.
4799 * manual/examples/stpcpy.c: Likewise.
4800 * manual/examples/strdupa.c: Likewise.
4801 * manual/examples/strftim.c: Likewise.
4802 * manual/examples/strncat.c: Likewise.
4803 * manual/examples/subopt.c: Likewise.
4804 * manual/examples/swapcontext.c: Likewise.
4805 * manual/examples/termios.c: Likewise.
4806 * manual/examples/testopt.c: Likewise.
4807 * manual/examples/testpass.c: Likewise.
4808 * manual/examples/timeval_subtract.c: Likewise.
4811 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4813 * manual/timeval_subtract.c.texi: ... here, new file.
4815 2012-03-02 David S. Miller <davem@davemloft.net>
4817 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4819 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4822 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4823 (__sin): Save and restore rounding mode and use round-to-nearest
4824 for all computations.
4825 (__cos): Save and restore rounding mode and use round-to-nearest
4826 for all computations.
4827 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4829 (tan): Save and restore rounding mode and use round-to-nearest for
4831 * math/libm-test.inc (cos_test_tonearest): New function.
4832 (cos_test_towardzero): Likewise.
4833 (cos_test_downward): Likewise.
4834 (cos_test_upward): Likewise.
4835 (sin_test_tonearest): Likewise.
4836 (sin_test_towardzero): Likewise.
4837 (sin_test_downward): Likewise.
4838 (sin_test_upward): Likewise.
4839 (tan_test_tonearest): Likewise.
4840 (tan_test_towardzero): Likewise.
4841 (tan_test_downward): Likewise.
4842 (tan_test_upward): Likewise.
4843 (main): Call the new functions.
4844 * sysdeps/i386/fpu/libm-test-ulps: Update.
4845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4849 small n, then large n, before computing and testing k+n.
4850 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4855 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4856 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4863 * math/libm-test.inc (scalbn_test): Add more tests.
4864 (scalbln_test): Likewise.
4866 * manual/filesys.texi (mode_t): Describe constraints on size and
4867 signedness, not exact equivalence to a particular type.
4869 (ino64_t): Likewise.
4871 (nlink_t): Likewise.
4872 (blkcnt_t): Likewise.
4873 (blkcnt64_t): Likewise.
4874 * manual/llio.texi (off_t): Likewise.
4877 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4878 (__ieee754_exp): Save and restore rounding mode and use
4879 round-to-nearest for all computations.
4880 * math/libm-test.inc (exp_test_tonearest): New function.
4881 (exp_test_towardzero): Likewise.
4882 (exp_test_downward): Likewise.
4883 (exp_test_upward): Likewise.
4884 (main): Call the new functions.
4885 * sysdeps/i386/fpu/libm-test-ulps: Update.
4886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4888 2012-03-01 Chris Demetriou <cgd@google.com>
4890 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4891 have predictable order.
4893 2012-03-01 David S. Miller <davem@davemloft.net>
4895 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4897 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4898 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4899 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4900 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4902 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4903 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4904 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4906 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4907 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4908 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4909 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4910 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4915 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4918 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4920 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4925 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4926 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4934 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4935 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4936 * sysdeps/sparc/elf/configure: Regenerated.
4938 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4940 * configure.in (AS, LD): Require binutils 2.20 or later.
4941 * configure: Regenerated.
4942 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4943 as required minimum version.
4944 * INSTALL: Regenerated.
4948 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4949 before squaring exponent.
4950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4951 bottom long double and 27 bits of top long double before squaring
4953 * math/libm-test.inc (erfc_test): Add more tests.
4954 * sysdeps/i386/fpu/libm-test-ulps: Update.
4955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4958 2012-03-01 Kai Tietz <ktietz@redhat.com>
4960 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4961 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4962 containing bit-fields.
4963 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4964 * soft-fp/single.h (_FP_UNION_S): Likewise.
4965 * soft-fp/double.h (_FP_UNION_D): Likewise.
4967 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4970 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4971 not include ../strcmp.S.
4972 [USE_AS_STRNCASECMP_L]: Likewise.
4973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4974 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4975 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4976 (__strncasecmp_l_ia32): Define as alias to
4977 __strncasecmp_l_nonascii.
4980 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4981 * sysdeps/i386/fpu/libm-test-ulps: Update.
4982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4984 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4987 2012-02-29 Jeff Law <law@redhat.com>
4989 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4992 2012-02-29 Marek Polacek <polacek@redhat.com>
4995 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4996 * elf/Makefile: Add rules to run tst-unused-dep.out.
4998 2012-02-28 David S. Miller <davem@davemloft.net>
5000 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5001 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5007 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5009 * math/libm-test.inc (llround_test): Move one test from
5010 lround_test. Use TEST_f_L in moved test.
5011 (lround_test): Move misplaced test to llround_test. Add testcase
5014 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5016 * sysdeps/x86_64/fpu/e_expf.S: New file.
5017 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5019 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5022 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5023 of remain_len that may cause incomplete multi-byte character and
5025 * posix/bug-regex33.c: New file.
5026 * posix/Makefile (tests): Add bug-regex33.
5028 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5030 * manual/macros.texi: New file.
5031 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5032 * manual/libc.texinfo: Include macros.texi.
5033 * manual/creatute.texi: Likewise.
5034 * manual/install.texi: Likewise.
5035 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5036 @glibcadj{} in references to the GNU C Library.
5037 * manual/charset.texi: Likewise.
5038 * manual/conf.texi: Likewise.
5039 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5040 when not using those macros.
5041 * manual/creature.texi: Likewise.
5042 * manual/crypt.texi: Likewise.
5043 * manual/errno.texi: Likewise.
5044 * manual/filesys.texi: Likewise.
5045 * manual/header.texi: Likewise.
5046 * manual/install.texi: Likewise.
5047 * manual/intro.texi: Likewise.
5048 * manual/io.texi: Likewise.
5049 * manual/job.texi: Likewise.
5050 * manual/lang.texi: Likewise.
5051 * manual/libc.texiinfo: Likewise.
5052 * manual/llio.texi: Likewise.
5053 * manual/locale.texi: Likewise.
5054 * manual/maint.texi: Likewise.
5055 * manual/math.texi: Likewise.
5056 * manual/memory.texi: Likewise.
5057 * manual/message.texi: Likewise.
5058 * manual/nss.texi: Likewise.
5059 * manual/pattern.texi: Likewise.
5060 * manual/process.texi: Likewise.
5061 * manual/resource.texi: Likewise.
5062 * manual/search.texi: Likewise.
5063 * manual/setjmp.texi: Likewise.
5064 * manual/signal.texi: Likewise.
5065 * manual/socket.texi: Likewise.
5066 * manual/startup.texi: Likewise.
5067 * manual/stdio.texi: Likewise.
5068 * manual/string.texi: Likewise.
5069 * manual/sysinfo.texi: Likewise.
5070 * manual/syslog.texi: Likewise.
5071 * manual/terminal.texi: Likewise.
5072 * manual/time.texi: Likewise.
5073 * manual/users.texi: Likewise.
5074 * INSTALL: Regenerated.
5075 * NOTES: Regenerated.
5076 * sysdeps/gnu/errlist.c: Regenerated.
5078 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5080 * include/dirent.h: Include <dirstream.h> before
5083 2012-02-28 David S. Miller <davem@davemloft.net>
5085 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5086 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5087 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5088 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5090 2012-02-27 David S. Miller <davem@davemloft.net>
5092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5094 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5095 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5098 frame pointer instead of stack pointer relative arg slot.
5099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5103 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5106 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5108 2012-02-27 David S. Miller <davem@davemloft.net>
5110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5116 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5117 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5119 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5121 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5122 later. Allow versions 5-9.
5123 * configure: Regenerated.
5124 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5125 required minimum version and 4.6 as recommended version. Do not
5126 mention bugs in GCC 2.7 and 2.8.
5127 * INSTALL: Regenerated.
5129 2012-02-27 David S. Miller <davem@davemloft.net>
5131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5137 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5138 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5141 manipulate bits before adding and subtracting TWO112[sx].
5142 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5144 2012-02-27 Roland McGrath <roland@hack.frob.com>
5147 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5148 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5149 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5150 being in POSIX, because they are in 1003.1-2008.
5152 * rt/tst-aio.c: Include <fcntl.h>.
5153 * rt/tst-aio7.c: Likewise.
5154 * rt/tst-aio64.c: Likewise.
5156 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5158 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5160 * manual/install.texi (--with-headers): Describe headers as
5161 interface headers, not private headers.
5162 (Specific advice for GNU/Linux systems): Describe use of headers
5163 from "make headers_install", not private headers from older
5165 * INSTALL: Regenerated.
5166 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5168 * sysdeps/unix/sysv/linux/configure: Regenerated.
5170 * manual/llio.texi (fclean): Remove documentation.
5172 * manual/Makefile (libc-texi-generated): New variable. Include
5174 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5175 $(libc-texi-generated), not duplicated list of files.
5176 (version.texi, stamp-version): New rules.
5177 (realclean): Remove $(libc-texi-generated), not individual files
5178 from that list. Do not remove dir-add.texinfo.
5179 * manual/libc.texinfo: Comment out uses of edition numbers and
5180 references to printed manual. Remove last-updated dates.
5181 (EDITION): Comment out.
5183 (VERSION, UPDATED): Remove.
5184 (version.texi): Include.
5186 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5188 * sysdeps/posix/spawni.c: Include <signal.h>.
5189 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5190 * sysdeps/pthread/aio_fsync.c: Likewise.
5192 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5194 * conform/Makefile (tests): Run only when not cross-compiling and
5195 when fast-check is not defined.
5197 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5198 * conform/data/limits.h-data: Fixes for POSIX2008.
5199 * conform/run-conformtest.sh: Run all tests.
5200 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5202 * include/bits/dlfcn.h: Likewise.
5203 * include/langinfo.h: Likewise.
5204 * include/monetary.h: Likewise.
5205 * include/sys/poll.h: Likewise.
5207 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5209 * posix/spawn.h: Define __need_sigset_t.
5210 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5211 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5212 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5213 to get sigevent_t only.
5214 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5218 process_vm_writev only for __USE_GNU.
5219 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5221 * conform/Makefile: For now ignore errors from run-conformtest.
5222 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5223 POSIX to avoid namespace pollution. Don't prepend headers.
5224 * conform/data/aio.h-data: Fixes for POSIX testing.
5225 * conform/data/fcntl.h-data: Likewise.
5226 * conform/data/glob.h-data: Likewise.
5227 * conform/data/grp.h-data: Likewise.
5228 * conform/data/pthread.h-data: Likewise.
5229 * conform/data/pwd.h-data: Likewise.
5230 * conform/data/signal.h-data: Likewise.
5231 * conform/data/spawn.h-data: Likewise.
5232 * conform/data/stdio.h-data: Likewise.
5233 * conform/data/stdlib.h-data: Likewise.
5234 * conform/data/stropts.h-data: Likewise.
5235 * conform/data/sys/mman.h-data: Likewise.
5236 * conform/data/sys/stat.h-data: Likewise.
5237 * conform/data/sys/types.h-data: Likewise.
5238 * conform/data/sys/wait.h-data: Likewise.
5239 * conform/data/time.h-data: Likewise.
5240 * conform/data/unistd.h-data: Likewise.
5241 * conform/data/utime.h-data: Likewise.
5243 * io/sys/stat.h: fchmod was always in POSIX.
5244 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5245 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5246 * rt/aio.h: Define __need_timespec before including <time.h>.
5247 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5248 struct. Add forward declaration of pthread_attr_t and use it in
5250 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5252 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5253 always remove CLK_TCK definition.
5255 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5257 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5259 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5261 * conform/run-conformtest.sh: New file.
5262 * conform/Makefile: Run run-conformtest for tests.
5263 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5266 * conform/data/uchar.h-data: New file.
5267 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5268 * conform/data/arpa/inet.h-data: Likewise.
5269 * conform/data/assert.h-data: Likewise.
5270 * conform/data/complex.h-data: Likewise.
5271 * conform/data/cpio.h-data: Likewise.
5272 * conform/data/ctype.h-data: Likewise.
5273 * conform/data/dirent.h-data: Likewise.
5274 * conform/data/dlfcn.h-data: Likewise.
5275 * conform/data/errno.h-data: Likewise.
5276 * conform/data/fcntl.h-data: Likewise.
5277 * conform/data/float.h-data: Likewise.
5278 * conform/data/fmtmsg.h-data: Likewise.
5279 * conform/data/fnmatch.h-data: Likewise.
5280 * conform/data/ftw.h-data: Likewise.
5281 * conform/data/glob.h-data: Likewise.
5282 * conform/data/grp.h-data: Likewise.
5283 * conform/data/iconv.h-data: Likewise.
5284 * conform/data/inttypes.h-data: Likewise.
5285 * conform/data/langinfo.h-data: Likewise.
5286 * conform/data/libgen.h-data: Likewise.
5287 * conform/data/limits.h-data: Likewise.
5288 * conform/data/locale.h-data: Likewise.
5289 * conform/data/math.h-data: Likewise.
5290 * conform/data/monetary.h-data: Likewise.
5291 * conform/data/mqueue.h-data: Likewise.
5292 * conform/data/ndbm.h-data: Likewise.
5293 * conform/data/net/if.h-data: Likewise.
5294 * conform/data/netdb.h-data: Likewise.
5295 * conform/data/netinet/in.h-data: Likewise.
5296 * conform/data/nl_types.h-data: Likewise.
5297 * conform/data/poll.h-data: Likewise.
5298 * conform/data/pthread.h-data: Likewise.
5299 * conform/data/pwd.h-data: Likewise.
5300 * conform/data/regex.h-data: Likewise.
5301 * conform/data/sched.h-data: Likewise.
5302 * conform/data/search.h-data: Likewise.
5303 * conform/data/semaphore.h-data: Likewise.
5304 * conform/data/setjmp.h-data: Likewise.
5305 * conform/data/signal.h-data: Likewise.
5306 * conform/data/spawn.h-data: Likewise.
5307 * conform/data/stdarg.h-data: Likewise.
5308 * conform/data/stdio.h-data: Likewise.
5309 * conform/data/stdlib.h-data: Likewise.
5310 * conform/data/string.h-data: Likewise.
5311 * conform/data/strings.h-data: Likewise.
5312 * conform/data/stropts.h-data: Likewise.
5313 * conform/data/sys/ipc.h-data: Likewise.
5314 * conform/data/sys/mman.h-data: Likewise.
5315 * conform/data/sys/msg.h-data: Likewise.
5316 * conform/data/sys/resource.h-data: Likewise.
5317 * conform/data/sys/select.h-data: Likewise.
5318 * conform/data/sys/sem.h-data: Likewise.
5319 * conform/data/sys/shm.h-data: Likewise.
5320 * conform/data/sys/socket.h-data: Likewise.
5321 * conform/data/sys/stat.h-data: Likewise.
5322 * conform/data/sys/statvfs.h-data: Likewise.
5323 * conform/data/sys/time.h-data: Likewise.
5324 * conform/data/sys/timeb.h-data: Likewise.
5325 * conform/data/sys/times.h-data: Likewise.
5326 * conform/data/sys/types.h-data: Likewise.
5327 * conform/data/sys/uio.h-data: Likewise.
5328 * conform/data/sys/un.h-data: Likewise.
5329 * conform/data/sys/utsname.h-data: Likewise.
5330 * conform/data/sys/wait.h-data: Likewise.
5331 * conform/data/syslog.h-data: Likewise.
5332 * conform/data/tar.h-data: Likewise.
5333 * conform/data/termios.h-data: Likewise.
5334 * conform/data/utime.h-data: Likewise.
5335 * conform/data/utmpx.h-data: Likewise.
5336 * conform/data/varargs.h-data: Likewise.
5337 * conform/data/wchar.h-data: Likewise.
5338 * conform/data/wctype.h-data: Likewise.
5339 * conform/data/wordexp.h-data: Likewise.
5341 * include/stropts.h: New file.
5342 * include/uchar.h: New file.
5343 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5344 * include/assert.h: Likewise.
5345 * include/ctype.h: Likewise.
5346 * include/dirent.h: Likewise.
5347 * include/dlfcn.h: Likewise.
5348 * include/fcntl.h: Likewise.
5349 * include/fnmatch.h: Likewise.
5350 * include/glob.h: Likewise.
5351 * include/grp.h: Likewise.
5352 * include/libio.h: Likewise.
5353 * include/locale.h: Likewise.
5354 * include/math.h: Likewise.
5355 * include/net/if.h: Likewise.
5356 * include/netdb.h: Likewise.
5357 * include/netinet/in.h: Likewise.
5358 * include/pthread.h: Likewise.
5359 * include/pwd.h: Likewise.
5360 * include/regex.h: Likewise.
5361 * include/sched.h: Likewise.
5362 * include/search.h: Likewise.
5363 * include/setjmp.h: Likewise.
5364 * include/signal.h: Likewise.
5365 * include/stdio.h: Likewise.
5366 * include/stdlib.h: Likewise.
5367 * include/string.h: Likewise.
5368 * include/sys/cdefs.h: Likewise.
5369 * include/sys/mman.h: Likewise.
5370 * include/sys/msg.h: Likewise.
5371 * include/sys/resource.h: Likewise.
5372 * include/sys/select.h: Likewise.
5373 * include/sys/socket.h: Likewise.
5374 * include/sys/stat.h: Likewise.
5375 * include/sys/statvfs.h: Likewise.
5376 * include/sys/time.h: Likewise.
5377 * include/sys/times.h: Likewise.
5378 * include/sys/uio.h: Likewise.
5379 * include/sys/utsname.h: Likewise.
5380 * include/sys/wait.h: Likewise.
5381 * include/termios.h: Likewise.
5382 * include/time.h: Likewise.
5383 * include/ulimit.h: Likewise.
5384 * include/unistd.h: Likewise.
5385 * include/utime.h: Likewise.
5386 * include/wchar.h: Likewise.
5387 * include/wctype.h: Likewise.
5388 * include/wordexp.h: Likewise.
5390 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5392 * time/time.h: TIME_UTC must be a macro.
5393 Make timespec_get available for ISO C11 only as well.
5395 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5397 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5398 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5400 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5402 * configure.in: Use -o not -a in test for unsupported multi-arch.
5404 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5406 * manual/texinfo.tex: Update to version 2012-01-19.16.
5408 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5410 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5412 2012-02-24 Roland McGrath <roland@hack.frob.com>
5415 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5416 * manual/fdl-1.3.texi: New file.
5417 * manual/fdl-1.1.texi: File removed.
5420 * manual/libc.texinfo (FDL_VERSION): New @set.
5421 Use it for mention of FDL in cover text.
5422 (Documentation License): Use it in @include file name.
5424 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5425 Roland McGrath <roland@hack.frob.com>
5428 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5429 not LONG_LONG_MAX and LONG_LONG_MIN.
5430 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5431 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5433 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5435 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5439 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5440 manipulate bits before adding and subtracting TWO23[sx].
5441 * math/libm-test.inc (nearbyint_test): Add more tests.
5443 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5446 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5447 bits before adding and subtracting TWO23[sx].
5448 * math/libm-test.inc (rint_test): Add more tests.
5449 (rint_test_tonearest): Likewise.
5450 (rint_test_towardzero): Likewise.
5451 (rint_test_downward): Likewise.
5452 (rint_test_upward: Likewise.
5454 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5457 * include/stdc-predef.h: New file. Extracted from features.h.
5458 * include/features.h: Include stdc-predef.h.
5459 * Makefile (headers): Add stdc-predef.h.
5460 * CONFORMANCE (Compiler limitations): Update.
5462 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5464 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5466 2012-02-21 David S. Miller <davem@davemloft.net>
5468 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5469 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5471 2012-02-20 David S. Miller <davem@davemloft.net>
5473 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5474 using a normal save/restore sequence, rather than allocating a
5475 dummy stack frame just to store a frame pointer and restore.
5476 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5478 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5480 * manual/install.texi: Fix stray word in line-wrapped comment.
5482 2012-02-20 David S. Miller <davem@davemloft.net>
5484 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5485 both binutils and gcc support GOTDATA.
5487 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5488 "rd %pc" in the PIC register setup sequences.
5490 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5491 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5492 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5493 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5494 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5497 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5499 (SYSCALL_ERROR_HANDLER): Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5503 (SYSCALL_ERROR_HANDLER): Likewise.
5505 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5506 (HAVE_GCC_GOTDATA): New.
5507 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5508 relocation support in both binutils and gcc.
5509 * sysdeps/sparc/elf/configure: Regenerate.
5511 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5512 * sysdeps/sparc/sparc32/elf/configure: Delete.
5513 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5514 * sysdeps/sparc/sparc64/elf/configure: Delete.
5515 * sysdeps/sparc/elf/configure.in: New file.
5516 * sysdeps/sparc/elf/configure: Generate.
5518 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5519 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5520 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5521 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5522 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5524 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5526 * manual/install.texi: Do not mention specific glibc version
5528 * manual/libc.texinfo (VERSION, UPDATED): Update.
5529 (@copying): Use @copyright{} and range of years.
5531 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5534 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5535 [crti.S not in sysdirs] (generated): Do not append.
5536 [crti.S not in sysdirs] (omit-deps): Likewise.
5537 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5538 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5539 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5540 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5541 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5543 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5544 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5545 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5546 * csu/defs.awk: Remove file.
5547 * sysdeps/generic/initfini.c: Likewise.
5548 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5550 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5553 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5555 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5556 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5557 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5560 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5562 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5563 (__EPOLL_PACKED): Define to empty if not defined by
5565 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5569 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5571 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5572 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5573 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5574 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5576 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5580 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5582 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5589 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5594 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5596 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5597 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5599 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5601 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5604 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5606 * math/w_acos.c: Use non-signaling floating-point comparisons.
5607 * math/w_acosf.c: Likewise.
5608 * math/w_acosh.c: Likewise.
5609 * math/w_acoshf.c: Likewise.
5610 * math/w_acoshl.c: Likewise.
5611 * math/w_acosl.c: Likewise.
5612 * math/w_asin.c: Likewise.
5613 * math/w_asinf.c: Likewise.
5614 * math/w_asinl.c: Likewise.
5615 * math/w_atanh.c: Likewise.
5616 * math/w_atanhf.c: Likewise.
5617 * math/w_atanhl.c: Likewise.
5618 * math/w_exp2.c: Likewise.
5619 * math/w_exp2f.c: Likewise.
5620 * math/w_exp2l.c: Likewise.
5621 * math/w_j0.c: Likewise.
5622 * math/w_j0f.c: Likewise.
5623 * math/w_j0l.c: Likewise.
5624 * math/w_j1.c: Likewise.
5625 * math/w_j1f.c: Likewise.
5626 * math/w_j1l.c: Likewise.
5627 * math/w_jn.c: Likewise.
5628 * math/w_jnf.c: Likewise.
5629 * math/w_log.c: Likewise.
5630 * math/w_log10.c: Likewise.
5631 * math/w_log10f.c: Likewise.
5632 * math/w_log10l.c: Likewise.
5633 * math/w_log2.c: Likewise.
5634 * math/w_log2f.c: Likewise.
5635 * math/w_log2l.c: Likewise.
5636 * math/w_logf.c: Likewise.
5637 * math/w_logl.c: Likewise.
5638 * math/w_sqrt.c: Likewise.
5639 * math/w_sqrtf.c: Likewise.
5640 * math/w_sqrtl.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5644 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5645 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5647 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5650 * manual/string.texi (strnlen): Use correct parameter name in
5651 equivalent expression.
5653 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5656 * manual/users.texi (seteuid): Consistently use neweuid for
5659 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5662 * manual/nss.texi (Services in the NSS configuration): Correct
5663 list of services in example configuration file.
5665 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5668 * manual/arith.texi: Remove statements about negative zero
5669 behaving identically to zero.
5671 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5674 * manual/install.texi: Do not document upgrading from libc5.
5676 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5679 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5681 2012-02-18 David S. Miller <davem@davemloft.net>
5683 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5684 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5685 %o7 across the call.
5686 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5691 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5692 * sysdeps/sparc/crtn.S: Likewise.
5694 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5696 * aout/Makefile: Remove.
5698 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5701 * manual/examples/argp-ex1.c (main): Format definition in GNU
5703 * manual/examples/argp-ex2.c (main): Likewise.
5704 * manual/examples/argp-ex3.c (main): Likewise.
5705 * manual/examples/argp-ex4.c (main): Likewise.
5706 * manual/examples/longopt.c (main): Use new-style prototype
5708 * manual/examples/strncat.c (main): Specify return type and use
5709 (void) for arguments.
5710 * manual/examples/subopt.c (main): Use char **argv argument.
5712 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5715 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5718 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5721 * manual/string.texi (strchr): Change when strchrnul is
5724 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5727 * manual/locale.texi (setlocale): Document LOCPATH.
5729 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5732 * manual/process.texi (execle): Move @dots{} before last argument.
5734 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5737 * manual/charset.texi (Generic Charset Conversion): Fix typo
5738 (LC_TYPE -> LC_CTYPE).
5740 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5743 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5744 (scalbnf): Likewise.
5745 (scalbnl): Likewise.
5746 (scalbln): Likewise.
5747 (scalblnf): Likewise.
5748 (scalblnl): Likewise.
5749 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5753 * manual/filesys.texi (telldir): Use braces around return type.
5754 * manual/llio.texi (mmap): Add space after comma.
5756 * manual/math.texi (jn): Use @var{} on parameter names.
5762 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5764 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5766 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5767 (sched_get_priority_max): Likewise.
5768 * manual/signal.texi (sigvec): Add space after comma.
5769 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5771 (if_indextoname): Likewise.
5772 (if_freenameindex): Likewise.
5773 (sendto): Use ',' instead of '.' in prototype.
5774 * manual/startup.texi (syscall): Use @dots{} instead of literal
5776 * manual/stdio.texi (__fpending): Separate initial words of
5777 paragraph from @deftypefun line.
5778 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5780 (vsyslog): Use @var{} on parameter names.
5781 * manual/terminal.texi (stty): Use @var{} on parameter names.
5782 * manual/users.texi (getutmp): Use @var{} on parameter names.
5783 (getutmpx): Likewise.
5785 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5788 * manual/stdio.texi (fopen): Fix typos in description of
5791 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5794 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5795 get clock_id definition.
5797 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5800 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5801 (madvise): Cast every argument to void on its own.
5803 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5806 * manual/startup.texi (Exit Status): Fix typo.
5808 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5811 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5812 * manual/examples/argp-ex2.c: Likewise.
5813 * manual/examples/argp-ex3.c: Likewise.
5815 2012-02-16 Richard Henderson <rth@redhat.com>
5817 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5818 * sysdeps/s390/s390-32/initfini.c: Remove.
5819 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5820 * sysdeps/s390/s390-64/initfini.c: Remove.
5822 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5824 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5825 compiler output for sysdeps/generic/initfini.c.
5826 * sysdeps/sh/elf/initfini.c: Remove file.
5828 2012-02-16 David S. Miller <davem@davemloft.net>
5831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5833 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5834 * sysdeps/sparc/crti.S: New file.
5835 * sysdeps/sparc/crtn.S: New file.
5836 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5837 * sysdeps/sparc/sparc64/Makefile: Likewise.
5839 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5842 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5844 2012-02-15 Roland McGrath <roland@hack.frob.com>
5847 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5849 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5850 (write, read, close): Likewise.
5851 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5853 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5855 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5856 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5858 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5860 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5864 2012-02-14 Marek Polacek <polacek@redhat.com>
5866 * sysdeps/x86_64/crti.S: New file.
5867 * sysdeps/x86_64/crtn.S: New file.
5868 * sysdeps/x86_64/elf/initfini.c: Remove file.
5870 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5872 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5873 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5874 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5875 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5877 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5881 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5883 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5884 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5885 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5886 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5888 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5892 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5894 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5895 __feraiseexcept instead of feraiseexcept.
5897 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5898 nanosleep invocations.
5899 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5900 strings, and add error checking for a nanosleep invocations.
5902 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5904 Replace FSF snail mail address with URLs, as per GNU coding standards.
5905 Most of the snail mail addresses were wrong anyway, and omitting
5906 them makes the source code easier to maintain. Almost all of the
5907 changes are to license notices and to locale LC_IDENTIFICATION
5908 addresses, except for this one:
5909 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5910 not its snail mail address.
5912 2012-02-09 Richard Henderson <rth@twiddle.net>
5914 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5915 of kernel-features.h.
5917 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5919 2012-02-08 Marek Polacek <polacek@redhat.com>
5921 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5922 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5923 * sysdeps/gnu/_G_config.h: Likewise.
5924 * sysdeps/generic/_G_config.h: Likewise.
5926 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5928 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5932 * sysdeps/powerpc/powerpc32/crti.S: New file.
5933 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5934 * sysdeps/powerpc/powerpc64/crti.S: New file.
5935 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5937 * Makeconfig (have-initfini): Don't set.
5938 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5939 * configure.in (nopic_initfini): Don't substitute.
5940 * config.h.in (HAVE_INITFINI): Don't #undef.
5941 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5942 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5944 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5946 Support crti.S and crtn.S provided directly by architectures.
5947 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5948 [crti.S in sysdirs] (omit-deps): Likewise.
5949 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5950 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5951 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5952 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5953 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5954 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5955 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5956 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5957 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5958 compiler output for sysdeps/generic/initfini.c.
5959 * sysdeps/i386/elf/Makefile: Remove file.
5960 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5962 2012-02-07 Marek Polacek <polacek@redhat.com>
5964 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5965 * sysdeps/gnu/_G_config.h: Likewise.
5966 * sysdeps/mach/hurd/_G_config.h: Likewise.
5968 2012-02-07 Marek Polacek <polacek@redhat.com>
5970 * math/Makefile (tests): Add tst-CMPLX2.
5971 * math/tst-CMPLX2.c: New file.
5973 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5977 * math/libm-test.inc (jn_test): Add missing L suffix.
5979 2012-02-06 Marek Polacek <polacek@redhat.com>
5981 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5982 * sysdeps/i386/fpu/e_powf.S: Likewise.
5983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5984 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5985 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5986 * sysdeps/i386/fpu/e_pow.S: Likewise.
5987 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5989 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5990 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5991 * sysdeps/i386/fpu/e_log2.S: Likewise.
5992 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5994 * sysdeps/i386/fpu/e_powl.S: Likewise.
5995 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5996 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5997 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5998 * sysdeps/i386/fpu/e_logl.S: Likewise.
5999 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6000 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6001 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6002 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6004 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6005 * sysdeps/i386/fpu/e_log.S: Likewise.
6006 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6007 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6008 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6009 * sysdeps/i386/fpu/e_logf.S: Likewise.
6010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6012 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6013 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6014 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6015 * sysdeps/i386/fpu/e_log10.S: Likewise.
6016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6021 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6022 * sysdeps/i386/asm-syntax.h: Likewise.
6023 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6026 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6027 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6029 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6030 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6031 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6032 * sysdeps/powerpc/sysdep.h: Likewise.
6033 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6036 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6039 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6041 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6043 * sysdeps/i386/sysdep.h: Include <features.h>.
6044 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6047 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6051 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6054 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6056 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6057 (SETUP_PIC_REG): Use GET_PC_THUNK.
6058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6061 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6064 for non-PIC compilation.
6065 (SETUP_PIC_REG): Add .p2align directive.
6066 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6067 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6068 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6069 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6074 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6075 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6076 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6077 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6078 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6079 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6080 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6081 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6082 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6108 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6110 * math/tst-CMPLX.c: Include <stdio.h>.
6112 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6114 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6116 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6117 * sysdeps/sparc/bits/mathdef.h: Likewise.
6119 2012-01-31 Marek Polacek <polacek@redhat.com>
6121 * libio/libio.h: Don't define _PARAMS.
6122 * locale/programs/config.h: Don't define PARAMS.
6123 * stdlib/strtol_l.c: Likewise.
6124 (__strtol_l): Remove PARAMS from the prototype.
6126 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6128 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6129 names. Just use the correct names. Remove unnecessary wrapper
6131 * malloc/arena.c: Likewise.
6132 * malloc/hooks.c: Likewise.
6134 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6135 ARENA_TEST says not to. Simplify test for creation of a new arena.
6136 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6138 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6140 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6142 (update_get_addr): New function.
6143 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6144 GET_ADDR_MODULE parameter.
6146 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6148 * crypt/cert.c: Remove __STDC__ conditionals.
6149 * crypt/crypt-entry.c: Likewise.
6150 * crypt/crypt_util.c: Likewise.
6151 * libio/filedoalloc.c: Likewise.
6152 * libio/fileops.c: Likewise.
6153 * libio/genops.c: Likewise.
6154 * libio/iofclose.c: Likewise.
6155 * libio/iofdopen.c: Likewise.
6156 * libio/iofopen.c: Likewise.
6157 * libio/iofopen64.c: Likewise.
6158 * libio/iogetdelim.c: Likewise.
6159 * libio/iopopen.c: Likewise.
6160 * libio/obprintf.c: Likewise.
6161 * libio/oldfileops.c: Likewise.
6162 * libio/oldiofclose.c: Likewise.
6163 * libio/oldiofdopen.c: Likewise.
6164 * libio/oldiofopen.c: Likewise.
6165 * libio/oldiopopen.c: Likewise.
6166 * libio/wfiledoalloc.c: Likewise.
6167 * libio/wgenops.c: Likewise.
6168 * locale/programs/xmalloc.c: Likewise.
6169 * misc/syslog.c: Likewise.
6170 * stdio-common/xbug.c: Likewise.
6171 * string/memchr.c: Likewise.
6172 * string/memcmp.c: Likewise.
6173 * string/memrchr.c: Likewise.
6174 * string/rawmemchr.c: Likewise.
6175 * sysdeps/posix/getcwd.c: Likewise.
6176 * time/strftime_l.c: Likewise.
6178 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6180 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6181 * config.make.in (config-cflags-sse2avx): Define.
6182 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6185 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6187 * scripts/config.guess: Update from upstream config git repository.
6188 * scripts/config.sub: Likewise.
6190 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6192 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6194 (R_TILEPRO_*, R_TILEGX_*): New macros.
6196 * scripts/firstversions.awk: Fix bug in version range handling.
6198 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6200 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6202 * include/sys/epoll.h: New file.
6203 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6206 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6208 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6209 Avoid unnecessary __WORDSIZE == 64 test.
6210 (fmaxf): Use VEX format if possible.
6215 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6216 * math/math_private.h: Remove libc_fegetround* and
6218 * sysdeps/i386/configure.in: Check for -msse2avx.
6219 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6220 also if SSE2AVX is defined.
6221 Remove libc_fegetround* and libc_fesetround*.
6222 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6223 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6232 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6234 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6236 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6240 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6243 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6245 * Makeconfig (libm): Define.
6246 * elf/Makefile: Add rules to build and run tst-relsort1.
6247 * elf/tst-relsort1.c: New file.
6248 * elf/tst-relsort1mod1.c: New file.
6249 * elf/tst-relsort1mod2.c: New file.
6251 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6253 * math/s_ldexp.c: Remove __STDC__ conditionals.
6254 * math/s_ldexpf.c: Likewise.
6255 * math/s_ldexpl.c: Likewise.
6256 * math/s_nextafter.c: Likewise.
6257 * math/s_nexttowardf.c: Likewise.
6258 * math/s_significand.c: Likewise.
6259 * math/s_significandf.c: Likewise.
6260 * math/s_significandl.c: Likewise.
6261 * math/w_jnl.c: Likewise.
6262 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6263 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6264 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6265 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6266 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6267 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6268 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6269 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6270 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6271 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6272 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6278 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6281 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6282 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6283 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6284 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6286 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6287 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6293 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6294 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6296 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6298 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6302 * sysdeps/ieee754/k_standard.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6378 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6382 * sysdeps/ieee754/s_matherr.c: Likewise.
6383 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6384 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6388 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6390 * crypt/md5.h: Remove __STDC__ conditionals.
6391 * libio/libioP.h: Likewise.
6392 * locale/programs/config.h: Likewise.
6393 * sysdeps/generic/sysdep.h: Likewise.
6394 * sysdeps/i386/asm-syntax.h: Likewise.
6395 * sysdeps/s390/asm-syntax.h: Likewise.
6396 * sysdeps/unix/sysdep.h: Likewise.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6400 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6402 * libio/libio.h: Remove __STDC__ conditionals.
6403 * malloc/obstack.h: Likewise.
6404 * math/complex.h: Likewise.
6405 * math/math.h: Likewise.
6406 * sysdeps/generic/_G_config.h: Likewise.
6407 * sysdeps/gnu/_G_config.h: Likewise.
6408 * sysdeps/mach/hurd/_G_config.h: Likewise.
6409 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6410 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6411 * sysdeps/sparc/bits/mathdef.h: Likewise.
6413 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6416 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6417 Clean up HAS_* macros.
6418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6419 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6421 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6429 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6431 * elf/tst-unique3.cc (gets): Remove declaration.
6432 * elf/tst-unique3lib.cc (gets): Likewise.
6433 * elf/tst-unique3lib2.cc (gets): Likewise.
6434 * elf/tst-unique4.cc (gets): Likewise.
6436 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6438 * include/stdio.h: Add C++ protection. Add gets declarations and
6440 * debug/tst-chk1.c: Don't declare gets here.
6441 * stdio-common/tst-gets.c: Likewise.
6443 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6445 * posix/glob: Remove directory.
6447 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6449 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6451 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6453 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6454 of the non-standard EPFNOSUPPORT.
6456 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6458 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6459 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6460 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6462 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6464 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6466 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6468 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6470 * nscd/grpcache.c (cache_addgr): Likewise.
6471 * nscd/hstcache.c (cache_addhst): Likewise.
6472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6473 * nscd/pwdcache.c (cache_addpw): Likewise.
6474 * nscd/servicescache.c (cache_addserv): Likewise.
6476 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6478 * malloc/malloc.c: Various cleanups.
6479 * malloc/hooks.c: Likewise.
6481 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6482 * stdlib/bug-fmtmsg1.c: New file.
6484 * stdlib/fmtmsg.c (init): Add missing unlock.
6485 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6487 2012-01-12 Marek Polacek <polacek@redhat.com>
6489 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6492 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6494 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6495 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6496 macro to ensure uniqueness of label name.
6497 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6498 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6500 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6504 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6505 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6509 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6513 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6514 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6515 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6517 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6519 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6520 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6524 * math/bits/math-finite.h: Add ldexp support.
6526 2012-01-10 Marek Polacek <polacek@redhat.com>
6528 * locale/programs/localedef.h (show_archive_content): Add noreturn
6531 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6533 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6535 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6537 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6539 * io/Makefile (headers): Add bits/poll2.h.
6541 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6544 typo #include statement.
6546 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6548 * include/sys/cdefs.h: Define __attribute_alloc_size.
6549 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6550 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6551 * elf/pldd.c: Likewise.
6552 * iconv/iconv_charmap.c: Likewise.
6553 * iconv/iconvconfig.c: Likewise.
6554 * iconv/strtab.c: Likewise.
6555 * locale/programs/locale.c: Likewise.
6556 * locale/programs/localedef.h: Likewise.
6557 * locale/programs/simple-hash.c: Likewise.
6558 * nscd/nscd.h: Likewise.
6559 * nss/makedb.c: Likewise.
6560 * sysdeps/generic/ldconfig.h: Likewise.
6561 * locale/programs/localedef.c: Remove xmalloc prototype.
6562 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6564 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6566 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6569 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6571 * math/Makefile (tests): Add tst-CMPLX.
6572 * math/tst-CMPLX.c: New file.
6574 * math/complex.h (CMPLXL): Fix typo.
6576 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6577 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6579 * debug/tst-chk1.c: Add poll and ppoll tests.
6580 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6581 * include/sys/poll.h: Add hidden proto for ppoll.
6582 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6583 * sysdeps/mach/hurd/ppoll.c: Likewise.
6584 * io/ppoll.c: Likewise.
6585 * debug/poll_chk.c: New file.
6586 * debug/ppoll_chk.c: New file.
6587 * include/bits/poll2.h: New file.
6588 * io/bits/poll2.h: New file.
6591 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6593 * configure.in: static is always set to yes. Remove.
6594 * config.make.in: Don't set build-static.
6595 * Makeconfig: Remove use of build-static.
6596 * dlfcn/Makefile: Likewise.
6597 * elf/Makefile: Likewise.
6598 * math/Makefile: Likewise.
6599 * misc/Makefile: Likewise.
6600 * nptl/Makefile: Likewise.
6601 * sysdeps/mach/hurd/Makefile: Likewise.
6603 * configure.in: PWD_P is not used anymore.
6604 * config.make.in: Remove PWD_P entry.
6606 * configure.in: Remove last remnants of RANLIB.
6607 No need to check for signed size_t anymore.
6608 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6610 Remove __builtin_expect test because we require at least gcc 3.4.
6611 * aclocal.m4: Likewise.
6613 * wcsmbs/mbrtoc16.c: Implement using towc function.
6614 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6615 * wcsmbs/wcsmbsload.c: Likewise.
6616 * iconv/gconv_simple.c: Likewise.
6617 * iconv/gconv_int.h: Likewise.
6618 * iconv/gconv_builtin.h: Likewise.
6619 * iconv/iconv_prog.c: Remove CHAR16 handling.
6621 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6623 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6625 * configure.in: Remove --with-elf and --enable-bounded options.
6626 Dont set base_machine for ia64. More non-ELF conditions removed.
6627 Remove testing and setting of leading underscore information.
6628 * config.make.in (build-bounded): Set to no.
6629 * config.h.in: Remove NO_UNDERSCORES entry.
6630 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6632 * csu/start.c: Remove !NO_UNDERSCORE code.
6633 * locale/localeinfo.h: Likewise.
6634 * sysdeps/generic/machine-gmon.h: Likewise.
6635 * sysdeps/generic/sysdep.h: Likewise.
6636 * sysdeps/i386/sysdep.h: Likewise.
6637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6638 * sysdeps/mach/sysdep.h: Likewise.
6639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6641 * sysdeps/sh/sysdep.h: Likewise.
6642 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6643 * sysdeps/unix/i386/sysdep.S: Likewise.
6644 * sysdeps/unix/sparc/start.c: Likewise.
6645 * sysdeps/unix/sparc/sysdep.S: Likewise.
6646 * sysdeps/unix/sparc/sysdep.h: Likewise.
6647 * sysdeps/unix/start.c: Likewise.
6648 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6649 * sysdeps/x86_64/sysdep.h: Likewise.
6651 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6654 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6656 * argp/argp-fmtstream.h: Use const instead __const.
6657 * argp/argp.h: Likewise.
6658 * assert/assert.h: Likewise.
6659 * bits/fenv.h: Likewise.
6660 * bits/sched.h: Likewise.
6661 * bits/sigset.h: Likewise.
6662 * bits/sigthread.h: Likewise.
6663 * catgets/nl_types.h: Likewise.
6664 * conform/data/pthread.h-data: Likewise.
6665 * crypt/crypt-private.h: Likewise.
6666 * crypt/crypt.h: Likewise.
6667 * crypt/crypt_util.c: Likewise.
6668 * ctype/ctype.h: Likewise.
6669 * debug/execinfo.h: Likewise.
6670 * debug/mbsnrtowcs_chk.c: Likewise.
6671 * debug/mbsrtowcs_chk.c: Likewise.
6672 * debug/wcsnrtombs_chk.c: Likewise.
6673 * debug/wcsrtombs_chk.c: Likewise.
6674 * debug/wcstombs_chk.c: Likewise.
6675 * dirent/dirent.h: Likewise.
6676 * dlfcn/dlfcn.h: Likewise.
6677 * elf/neededtest4.c: Likewise.
6678 * grp/grp.h: Likewise.
6679 * gshadow/gshadow.h: Likewise.
6680 * iconv/gconv.h: Likewise.
6681 * iconv/gconv_int.h: Likewise.
6682 * iconv/gconv_simple.c: Likewise.
6683 * iconv/iconv.h: Likewise.
6684 * iconv/loop.c: Likewise.
6685 * iconv/skeleton.c: Likewise.
6686 * include/aio.h: Likewise.
6687 * include/aliases.h: Likewise.
6688 * include/argz.h: Likewise.
6689 * include/arpa/inet.h: Likewise.
6690 * include/assert.h: Likewise.
6691 * include/dirent.h: Likewise.
6692 * include/dlfcn.h: Likewise.
6693 * include/execinfo.h: Likewise.
6694 * include/fcntl.h: Likewise.
6695 * include/fenv.h: Likewise.
6696 * include/glob.h: Likewise.
6697 * include/grp.h: Likewise.
6698 * include/libintl.h: Likewise.
6699 * include/mntent.h: Likewise.
6700 * include/netdb.h: Likewise.
6701 * include/pwd.h: Likewise.
6702 * include/rpc/netdb.h: Likewise.
6703 * include/sched.h: Likewise.
6704 * include/search.h: Likewise.
6705 * include/shadow.h: Likewise.
6706 * include/signal.h: Likewise.
6707 * include/stdio.h: Likewise.
6708 * include/stdlib.h: Likewise.
6709 * include/string.h: Likewise.
6710 * include/sys/socket.h: Likewise.
6711 * include/sys/stat.h: Likewise.
6712 * include/sys/statfs.h: Likewise.
6713 * include/sys/statvfs.h: Likewise.
6714 * include/sys/syslog.h: Likewise.
6715 * include/sys/time.h: Likewise.
6716 * include/sys/uio.h: Likewise.
6717 * include/time.h: Likewise.
6718 * include/unistd.h: Likewise.
6719 * include/utmp.h: Likewise.
6720 * include/wchar.h: Likewise.
6721 * include/wctype.h: Likewise.
6722 * inet/aliases.h: Likewise.
6723 * inet/arpa/inet.h: Likewise.
6724 * inet/netinet/ether.h: Likewise.
6725 * inet/netinet/in.h: Likewise.
6726 * intl/libintl.h: Likewise.
6727 * io/bits/fcntl2.h: Likewise.
6728 * io/fcntl.h: Likewise.
6729 * io/ftw.h: Likewise.
6730 * io/sys/poll.h: Likewise.
6731 * io/sys/stat.h: Likewise.
6732 * io/sys/statfs.h: Likewise.
6733 * io/sys/statvfs.h: Likewise.
6734 * io/utime.h: Likewise.
6735 * libio/bits/stdio.h: Likewise.
6736 * libio/bits/stdio2.h: Likewise.
6737 * libio/libio.h: Likewise.
6738 * libio/libioP.h: Likewise.
6739 * libio/stdio.h: Likewise.
6740 * locale/lc-ctype.c: Likewise.
6741 * locale/locale.h: Likewise.
6742 * login/utmp.h: Likewise.
6743 * malloc/arena.c: Likewise.
6744 * malloc/malloc.c: Likewise.
6745 * malloc/malloc.h: Likewise.
6746 * malloc/mcheck.c: Likewise.
6747 * malloc/mtrace.c: Likewise.
6748 * math/bits/mathcalls.h: Likewise.
6749 * math/fenv.h: Likewise.
6750 * math/math_private.h: Likewise.
6751 * misc/bits/error.h: Likewise.
6752 * misc/bits/syslog.h: Likewise.
6753 * misc/err.h: Likewise.
6754 * misc/error.h: Likewise.
6755 * misc/fstab.h: Likewise.
6756 * misc/mntent.h: Likewise.
6757 * misc/regexp.h: Likewise.
6758 * misc/search.h: Likewise.
6759 * misc/sgtty.h: Likewise.
6760 * misc/sys/mman.h: Likewise.
6761 * misc/sys/syslog.h: Likewise.
6762 * misc/sys/uio.h: Likewise.
6763 * misc/sys/xattr.h: Likewise.
6764 * misc/ttyent.h: Likewise.
6765 * nis/rpcsvc/ypclnt.h: Likewise.
6766 * nss/nss.h: Likewise.
6767 * posix/bits/unistd.h: Likewise.
6768 * posix/fnmatch.h: Likewise.
6769 * posix/glob.h: Likewise.
6770 * posix/sched.h: Likewise.
6771 * posix/spawn.h: Likewise.
6772 * posix/sys/wait.h: Likewise.
6773 * posix/unistd.h: Likewise.
6774 * posix/wordexp.h: Likewise.
6775 * pwd/pwd.h: Likewise.
6776 * resolv/netdb.h: Likewise.
6777 * resource/sys/resource.h: Likewise.
6778 * rt/aio.h: Likewise.
6779 * rt/bits/mqueue2.h: Likewise.
6780 * rt/mqueue.h: Likewise.
6781 * shadow/shadow.h: Likewise.
6782 * signal/signal.h: Likewise.
6783 * socket/send.c: Likewise.
6784 * socket/sendto.c: Likewise.
6785 * socket/sys/socket.h: Likewise.
6786 * stdio-common/printf.h: Likewise.
6787 * stdlib/bits/stdlib.h: Likewise.
6788 * stdlib/fmtmsg.h: Likewise.
6789 * stdlib/monetary.h: Likewise.
6790 * stdlib/stdlib.h: Likewise.
6791 * stdlib/ucontext.h: Likewise.
6792 * streams/stropts.h: Likewise.
6793 * string/argz.h: Likewise.
6794 * string/bits/string2.h: Likewise.
6795 * string/string.h: Likewise.
6796 * string/strings.h: Likewise.
6797 * sunrpc/rpc/auth.h: Likewise.
6798 * sunrpc/rpc/auth_des.h: Likewise.
6799 * sunrpc/rpc/clnt.h: Likewise.
6800 * sunrpc/rpc/netdb.h: Likewise.
6801 * sunrpc/rpc/pmap_clnt.h: Likewise.
6802 * sunrpc/rpc/xdr.h: Likewise.
6803 * sysdeps/generic/inttypes.h: Likewise.
6804 * sysdeps/generic/net/if.h: Likewise.
6805 * sysdeps/generic/sys/swap.h: Likewise.
6806 * sysdeps/gnu/net/if.h: Likewise.
6807 * sysdeps/gnu/utmpx.h: Likewise.
6808 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6809 * sysdeps/i386/i486/bits/string.h: Likewise.
6810 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6811 * sysdeps/s390/bits/string.h: Likewise.
6812 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6813 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6814 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6815 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6816 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6817 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6818 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6820 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6821 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6822 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6823 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6824 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6825 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6826 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6827 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6834 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6835 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6836 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6837 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6838 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6840 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6841 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6842 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6843 * sysvipc/sys/ipc.h: Likewise.
6844 * sysvipc/sys/msg.h: Likewise.
6845 * sysvipc/sys/sem.h: Likewise.
6846 * sysvipc/sys/shm.h: Likewise.
6847 * termios/termios.h: Likewise.
6848 * time/sys/time.h: Likewise.
6849 * time/time.h: Likewise.
6850 * wcsmbs/bits/wchar2.h: Likewise.
6851 * wcsmbs/uchar.h: Likewise.
6852 * wcsmbs/wchar.h: Likewise.
6853 * wctype/wctype.h: Likewise.
6856 * Makeconfig: Remove all but ELF support including AIX support.
6857 * Makerules: Likewise.
6858 * config.h.in: Likewise.
6859 * config.make.in: Likewise.
6860 * configure: Likewise.
6861 * configure.in: Likewise.
6862 * csu/Makefile: Likewise.
6863 * csu/version.c: Likewise.
6864 * debug/Makefile: Likewise.
6865 * dlfcn/Makefile: Likewise.
6866 * elf/Makefile: Likewise.
6867 * extra-lib.mk: Likewise.
6868 * iconv/Makefile: Likewise.
6869 * include/libc-symbols.h: Likewise.
6870 * include/shlib-compat.h: Likewise.
6871 * resolv/Makefile: Likewise.
6872 * resolv/res_libc.c: Likewise.
6873 * rt/Makefile: Likewise.
6874 * sysdeps/i386/asm-syntax.h: Likewise.
6875 * sysdeps/i386/sysdep.h: Likewise.
6876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6877 * sysdeps/mach/sysdep.h: Likewise.
6878 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6879 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6880 * sysdeps/s390/asm-syntax.h: Likewise.
6881 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6883 * sysdeps/sh/sysdep.h: Likewise.
6884 * sysdeps/unix/sparc/sysdep.h: Likewise.
6885 * sysdeps/wordsize-32/divdi3.c: Likewise.
6886 * sysdeps/x86_64/sysdep.h: Likewise.
6888 * argp/Versions: Remove _argp_unlock_xxx.
6891 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6892 * abilist/libBrokenLocale.abilist: Likewise.
6893 * abilist/libanl.abilist: Likewise.
6894 * abilist/libc.abilist: Likewise.
6895 * abilist/libcrypt.abilist: Likewise.
6896 * abilist/libdl.abilist: Likewise.
6897 * abilist/libm.abilist: Likewise.
6898 * abilist/libnsl.abilist: Likewise.
6899 * abilist/libpthread.abilist: Likewise.
6900 * abilist/libresolv.abilist: Likewise.
6901 * abilist/librt.abilist: Likewise.
6902 * abilist/libthread_db.abilist: Likewise.
6903 * abilist/libutil.abilist: Likewise.
6904 * abilist/libnss_db.abilist: New file.
6906 * scripts/abilist.awk: Add support for indirect functions.
6908 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6910 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6912 * shlib-versions: Remove entries for ports architectures.
6914 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6916 * elf/stackguard-macros.h: Remove support for IA-64.
6917 * elf/tst-auditmod1.c: Likewise.
6918 * sysdeps/generic/ldsodefs.h: Likewise.
6920 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6921 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6925 * configure.in: Remove --enable-omitfp support.
6927 * config.make.in: Likewise.
6928 * Makeconfig: Likewise.
6929 * manual/install.texi: Likewise.
6931 In case anyone cares, the IA-64 architecture could move to ports.
6932 * sysdeps/ia64/*: Removed.
6933 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6934 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6937 * configure.in: Remove entries for unsupported architectures.
6940 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6941 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6943 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6944 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6945 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6946 fall back to using wcrtomb.
6947 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6948 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6950 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6951 * wcsmbs/tst-c16c32-1.c: New file.
6953 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6956 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6958 * elf/tst-unique3.cc: Add explicit declaration of gets.
6959 * elf/tst-unique3lib.cc: Likewise.
6960 * elf/tst-unique3lib2.cc: Likewise.
6961 * elf/tst-unique4.cc: Likewise.
6963 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6965 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6968 * assert/assert.h (static_assert): Don't define for C++.
6969 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6970 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6972 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6974 * iconv/loop.c (single loop): Fix assertion in storing of
6977 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6979 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6981 * posix/getconf.c: Update copyright year.
6982 * nss/getent.c: Likewise.
6983 * nss/makedb.c: Likewise.
6984 * iconv/iconvconfig.c: Likewise.
6985 * iconv/iconv_prog.c: Likewise.
6986 * elf/ldconfig.c: Likewise.
6987 * elf/pldd.c: Likewise.
6988 * elf/sotruss.ksh: Likewise.
6989 * catgets/gencat.c: Likewise.
6990 * csu/version.c: Likewise.
6991 * elf/ldd.bash.in: Likewise.
6992 * elf/sprof.c (print_version): Likewise.
6993 * locale/programs/locale.c: Likewise.
6994 * locale/programs/localedef.c: Likewise.
6995 * login/programs/pt_chown.c: Likewise.
6996 * nscd/nscd.c (print_version): Likewise.
6997 * debug/xtrace.sh: Likewise.
6998 * malloc/memusage.sh: Likewise.
6999 * malloc/mtrace.pl: Likewise.
7000 * debug/catchsegv.sh: Likewise.
7002 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7004 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7007 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7010 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7011 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7013 * iconv/gconv_int.h: Likewise.
7014 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7015 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7016 from libc for GLIBC_2.16.
7017 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7018 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7019 * wcsmbs/uchar.h: Really define mbstate_t.
7020 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7021 * wcsmbs/c16rtomb.c: New file.
7022 * wcsmbs/mbrtoc16.c: New file.
7023 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7025 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7026 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7028 * wcsmbs/wchar.h: Add missing __restrict.
7030 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7033 * time/Makefile (routines): Add timespec_get.
7034 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7035 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7036 timespec for ISO C11.
7037 * time/timespec_get.c: New file.
7038 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7039 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7042 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7043 * stdlib/stdlib.h: Declare aligned_alloc.
7044 * Versions.def: Add GLIBC_2.16 for libc.
7045 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7048 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7051 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7055 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7058 * assert/assert.h (static_assert): Define.
7060 * version.h: Update for 2.16 development version.
7063 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7066 * version.h (RELEASE): Bump for 2.15 release.
7067 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7069 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7070 Patch by Marek Polacek <mpolacek@redhat.com>.
7072 * bits/byteswap.h: Protect long long constants with __extension__.
7073 * sysdeps/i386/bits/byteswap.h: Likewise.
7074 * sysdeps/ia64/bits/byteswap.h: Likewise.
7075 * sysdeps/s390/bits/byteswap.h: Likewise.
7076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7078 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7083 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7085 2011-12-23 Marek Polacek <polacek@redhat.com>
7087 * elf/dl-addr.c (determine_info): Add inline keyword.
7088 * elf/tst-auditmod4b.c (check_avx): Likewise.
7089 * elf/tst-auditmod6b.c (check_avx): Likewise.
7090 * elf/tst-auditmod6c.c (check_avx): Likewise.
7091 * elf/tst-auditmod7b.c (check_avx): Likewise.
7093 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7098 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7101 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7102 processing for last bytes.
7104 2011-08-06 Bruno Haible <bruno@clisp.org>
7107 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7108 U+0385, not to U+1FEE.
7111 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7112 entry for U+00A5 U+0301.
7114 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7117 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7118 buffer for the output is too small.
7120 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7124 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7125 SSE flags if possible.
7127 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7131 processing for last bytes.
7133 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7135 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7136 (syscall-list-default-options, syscall-list-default-condition)
7137 (syscall-list-includes): Define.
7138 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7139 list of ABIs and options and #if conditions for each ABI. Do not
7140 handle common syscalls between ABIs specially.
7141 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7143 (syscall-list-variants, syscall-list-32bit-options)
7144 (syscall-list-32bit-condition, syscall-list-64bit-options)
7145 (syscall-list-64bit-condition): Define.
7146 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7147 (syscall-list-variants, syscall-list-32bit-options)
7148 (syscall-list-32bit-condition, syscall-list-64bit-options)
7149 (syscall-list-64bit-condition): Define.
7150 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7152 (syscall-list-variants, syscall-list-32bit-options)
7153 (syscall-list-32bit-condition, syscall-list-64bit-options)
7154 (syscall-list-64bit-condition): Define.
7155 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7157 (syscall-list-variants, syscall-list-32bit-options)
7158 (syscall-list-32bit-condition, syscall-list-64bit-options)
7159 (syscall-list-64bit-condition): Define.
7161 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7163 * locale/iso-639.def: Add brx entry.
7166 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7167 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7169 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7170 __feraiseexcept_renamed.
7172 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7175 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7176 EPOLLET with unsigned values.
7177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7180 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7181 to large cancellation.
7182 * math/s_cacoshf.c: Likewise.
7183 * math/s_cacoshl.c: Likewise.
7185 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7189 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7190 * math/s_cacoshf.c: Likewise.
7191 * math/s_cacoshl.c: Likewise.
7193 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7196 * iconv/gconv.h: Define __GCONV_SWAP.
7197 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7198 * iconvdata/utf-16.c: Likewise.
7199 * iconvdata/utf-32.c: Likewise.
7201 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7205 numerator after shifting it by one limb.
7207 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7210 under [__USE_EXTERN_INLINES].
7212 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7215 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7217 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7219 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7220 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7222 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7223 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7224 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7225 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7226 for strncasecmp/strncasecmp_l compilation.
7227 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7228 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7230 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7233 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7236 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7239 * time/tzfile.c (__tzfile_read): Check values from file header.
7241 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7243 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7244 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7245 * powerpc/powerpc32/dl-start.S: Likewise.
7246 * powerpc/powerpc32/elf/start.S: Likewise.
7247 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7248 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7249 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7250 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7251 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7252 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7253 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7254 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7255 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7256 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7257 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7258 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7259 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7260 * powerpc/powerpc32/memset.S: Likewise.
7261 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7262 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7263 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7264 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7265 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7266 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7267 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7268 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7269 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7270 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7272 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7273 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7275 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7277 * math/libm-test.inc: Added more nearbyint tests.
7278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7283 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7285 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7288 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7290 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7291 Add wcscpy-ssse3 wcscpy-c.
7292 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7293 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7294 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7295 * sysdeps/x86_64/wcschr.S: New file.
7296 * sysdeps/x86_64/wcsrchr.S: New file.
7297 * string/test-strcmp.c: Remove checking of wcscmp function for
7299 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7300 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7301 wcsrchr-sse2 wcsrchr-c.
7302 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7303 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7304 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7305 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7306 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7307 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7308 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7309 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7310 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7311 * wcsmbc/wcschr.c (WCSCHR): New macro.
7313 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7315 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7316 * wcsmbs/test-wcsrchr.c: New file.
7317 * string/test-strrchr.c: Add wcsrchr support.
7319 * wcsmbs/test-wcscpy.c: New file.
7320 * string/test-strcpy.c: Add wcscpy support.
7323 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7328 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7331 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7333 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7336 Minor optimizations.
7338 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7339 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7340 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7342 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7344 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7345 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7346 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7347 for gcc to avoid warnings.
7348 * inet/Makefile (tests): Add tst-checks.
7349 * inet/tst-checks.c: New file.
7351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7354 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7357 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7358 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7360 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7362 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7364 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7367 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7369 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7371 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7372 conditional on GCC version.
7373 (__arch_compare_and_exchange_val_8_acq)
7374 (__arch_compare_and_exchange_val_16_acq)
7375 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7376 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7377 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7379 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7381 * sysdeps/sh/backtrace.c: New file.
7383 2011-12-02 Andreas Schwab <schwab@redhat.com>
7385 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7388 2011-12-01 Andreas Schwab <schwab@redhat.com>
7390 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7391 falling back to utime.
7393 2011-11-30 Andreas Schwab <schwab@redhat.com>
7395 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7396 expectations for float.
7398 2011-11-29 Andreas Schwab <schwab@redhat.com>
7400 * locale/weight.h (findidx): Add parameter len.
7401 * locale/weightwc.h (findidx): Likewise.
7402 * posix/fnmatch_loop.c (FCT): Adjust caller.
7403 * posix/regcomp.c (build_equiv_class): Likewise.
7404 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7405 * posix/regexec.c (check_node_accept_bytes): Likewise.
7406 * string/strcoll_l.c (STRCOLL): Likewise.
7407 * string/strxfrm_l.c (STRXFRM): Likewise.
7409 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7411 * Makefile.in: Remove CVSOPT handling.
7412 * configure.in: Remove use of AC_REVISION.
7413 * iconvdata/Makefile (distribute): No need to filter out CVS.
7414 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7417 2011-11-16 Andreas Schwab <schwab@redhat.com>
7419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7420 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7421 [USE_AS_STRNCASECMP_L]: Likewise.
7422 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7423 NO_TLS_DIRECT_SEG_REFS.
7424 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7425 Fix argument offsets for non-PIC.
7426 [USE_AS_STRNCASECMP_L]: Likewise.
7427 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7428 NO_TLS_DIRECT_SEG_REFS.
7430 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7432 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7434 * locale/loadlocale.c (_nl_load_locale): Likewise.
7436 2011-11-15 Andreas Schwab <schwab@redhat.com>
7438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7439 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7441 (SYSCALL_GETTIME): Set errno on error.
7443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7444 count references to noai6ai_cached.
7446 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7448 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7450 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7451 FD_CLOEXEC for /proc/self/maps.
7453 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7454 FD_CLOEXEC for /proc/meminfo.
7456 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7459 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7460 FD_CLOEXEC for given file.
7462 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7464 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7465 FD_CLOEXEC for /etc/hosts.
7466 (_gethtent): Likewise.
7468 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7470 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7471 cancellation and set FD_CLOEXEC for /etc/netgroup.
7473 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7474 reading /etc/publickey.
7476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7477 allow cancellation when reading /etc/group.
7479 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7481 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7483 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7484 when using data file.
7486 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7488 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7489 (write_nis_obj): Use "c" and "e" in fopen.
7491 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7493 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7495 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7497 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7499 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7502 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7504 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7506 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7508 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7509 file parsing and set FD_CLOEXEC.
7511 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7513 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7515 2011-11-14 Andreas Schwab <schwab@redhat.com>
7517 * malloc/arena.c (arena_get2): Don't call reused_arena when
7518 _int_new_arena failed.
7520 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7523 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7528 to compile strcasecmp and strncasecmp.
7529 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7530 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7534 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7537 locale-defines.sym to gen-as-const-headers.
7538 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7539 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7541 to compile strcasecmp and strncasecmp.
7542 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7543 strcasecmp_l and strncasecmp_l.
7544 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7545 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7546 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7547 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7548 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7549 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7550 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7551 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7552 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7553 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7554 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7556 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7558 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7559 result of SYSDEP_GETTIME_CPU to retval.
7560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7561 parameter list to macro. Remove trailing semicolon. Adjust users.
7563 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7566 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7570 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7571 from unused variable.
7573 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7575 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7578 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7581 * sunrpc/rpc_prot.c (rejected): Fix case value.
7583 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7584 unsigned long long int to avoid warnings in shift.
7586 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7588 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7592 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7593 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7595 * nis/nis_table.c (nis_list): Use variable of correct type for
7596 result of __follow_path call.
7598 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7600 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7601 of math functions ceil, trunc, floor, round, and sqrt, when
7602 avaliable on the platform.
7603 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7605 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7606 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7607 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7609 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7611 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7614 2011-11-11 Roland McGrath <roland@hack.frob.com>
7616 * include/unistd.h: Fix __readlink return type.
7617 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7619 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7621 * stdlib/ucontext.h: Undo last change for makecontext.
7623 2011-11-11 Andreas Schwab <schwab@redhat.com>
7625 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7627 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7628 * setjmp/setjmp.h: Mark functions as non-leaf.
7629 * setjmp/bits/setjmp2.h: Likewise.
7630 * stdlib/ucontext.h: Likewise.
7632 2011-11-10 Andreas Schwab <schwab@redhat.com>
7634 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7635 (reused_arena): Don't check arena limit.
7636 (arena_get2): Atomically check arena limit.
7638 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7640 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7641 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7646 2011-11-07 Andreas Schwab <schwab@redhat.com>
7648 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7649 handler when locking.
7651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7652 Fix size of allocated buffer.
7654 2011-11-04 Andreas Schwab <schwab@redhat.com>
7657 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7658 declarations for long double functions.
7659 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7661 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7663 2011-11-03 Andreas Schwab <schwab@redhat.com>
7665 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7668 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7671 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7673 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7675 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7677 * include/alloca.h (stackinfo_alloca_round): Define.
7678 (extend_alloca): Use it.
7679 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7680 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7683 * scripts/check-local-headers.sh: Ignore libaudit.h.
7685 * nscd/Makefile (extra-objs): Make recursively expanded.
7687 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7689 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7692 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7693 * posix/tst-rfc3484-2.c: Likewise.
7694 * posix/tst-rfc3484-3.c: Likewise.
7696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7698 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7700 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7701 process_vm_writev from libc using GLIBC_2.15 version.
7703 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7705 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7707 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7710 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7713 * nss/getent.c (initgroups_keys): Show error message in case no group
7716 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7717 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7718 __bump_nl_timestamp.
7719 * nscd/connections (nscd_init): When host database is served open
7720 netlink socket and request notification about configuration changes.
7721 (main_loop_poll): Track netlink file descriptor and bump timestamp
7722 in case data becomes available.
7723 (main_loop_epoll): Likewise.
7724 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7725 (database_pers_head): Add extra_data fileds.
7726 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7727 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7728 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7731 in6ai data, call __free_in6ai.
7732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7734 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7735 interface information. Reuse previous data if netlink timestamp
7737 (__bump_nl_timestamp): New function.
7738 (__free_in6ai): New function.
7740 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7743 close_not_cancel_no_status here.
7744 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7746 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7749 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7752 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7753 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7754 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7756 2011-07-03 Andreas Jaeger <aj@suse.de>
7759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7760 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7761 * math/libm-test.inc (sin_test): Add test case.
7763 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7766 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7767 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7769 * elf/chroot_canon.c (chroot_canon): Cleanups.
7771 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7774 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7777 * string/test-strchr.c: Make usable for strchrnul testing.
7778 * string/test-strchrnul.c: New file.
7779 * string/Makefile (strop-tests): Add strchrnul.
7781 * po/it.po: Update from translation team.
7782 * po/es.po: Likewise.
7784 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7787 the three constants needed as parameters. Drop the others.
7788 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7789 __m128i_strloadu_tolower.
7790 Create and initialize variable zero and use it in all the places
7791 where _mm_setzero_si128 was used.
7793 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7794 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7795 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7798 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7799 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7800 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7801 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7803 __mpranred, __mptan.
7804 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7805 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7806 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7807 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7811 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7812 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7814 2011-10-28 Andreas Schwab <schwab@redhat.com>
7816 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7818 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7821 wide char related routines to wcsmbs subdir.
7823 2011-10-27 Andreas Schwab <schwab@redhat.com>
7826 * misc/sys/cdefs.h (__THROWNL): Define.
7827 * posix/unistd.h: Use __THREADNL instead of __THREAD
7828 for memory synchronization functions.
7830 2011-10-26 Roland McGrath <roland@hack.frob.com>
7833 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7835 * manual/stdio.texi (Obstack Streams): Node removed.
7837 2011-10-26 Andreas Schwab <schwab@redhat.com>
7839 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7843 * math/math_private.h (math_force_eval): Allow non-addressable
7845 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7847 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7852 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7859 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7861 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7862 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7863 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7864 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7865 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7866 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7867 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7868 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7871 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7872 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7874 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7875 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7876 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7877 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7879 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7881 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7882 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7885 place. Use VEX encoding when compiling for AVX.
7887 2011-10-25 Andreas Schwab <schwab@redhat.com>
7889 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7890 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7892 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7894 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7896 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7897 useless if() expression.
7898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7903 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7904 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7908 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7910 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7911 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7912 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7918 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7920 2011-10-25 Andreas Schwab <schwab@redhat.com>
7922 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7926 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7928 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7929 .text section. Avoid duplicate constants.
7930 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7938 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7939 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7941 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7942 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7943 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7946 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7953 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7954 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7955 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7956 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7957 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7972 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7973 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7974 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7976 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7978 * sysdeps/x86_64/dla.h: Move to ...
7979 * sysdeps/x86_64/fpu/dla.h: ...here.
7980 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7981 situations. Use __builtin_fma only for gcc 4.6 and up.
7983 * config.make.in: Add have-mfma4 entry.
7984 * configure.in: Substitute libc_cv_cc_fma4.
7985 * math/Makefile (dbl-only-routines): Add sincostab.
7986 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7987 Use __sincostab not sincos.
7988 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7990 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7995 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7996 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7997 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7998 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8001 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8003 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8004 define aliases when function name is a macro.
8005 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8006 sysdeps/ieee754/dbl-64/sincos.tbl.
8007 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8008 fma4-enabled routines.
8009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8010 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8011 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8012 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8014 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8015 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8018 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8019 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8021 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8032 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8034 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8040 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8051 2011-10-24 Andreas Schwab <schwab@redhat.com>
8053 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8055 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8059 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8063 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8064 Remove unused variable magic_bits.
8065 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8067 * string/strnlen.c: Define and use STRNLEN macro.
8068 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8069 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8071 * wcsmbs/wcslen.c: Define and use WCSLEN.
8072 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8073 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8074 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8075 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8076 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8077 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8080 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8083 strnlen-sse2-no-bsf.
8084 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8086 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8087 Add strnlen support.
8088 (USE_AS_STRNLEN): New macro.
8089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8091 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8092 * sysdeps/x86_64/wcslen.S: New file.
8094 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8096 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8097 XMM-moves are used for copying on small sizes.
8099 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8101 * wcsmbs/Makefile (strop-tests): Add wcschr.
8102 * wcsmbs/test-wcschr.c: New file.
8103 * string/test-strchr.c: Update.
8107 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8109 * wcsmbs/Makefile (strop-tests): Add wcslen.
8110 * wcsmbs/test-wcslen.c: New file.
8111 * string/test-strlen.c: Update.
8115 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8117 * po/it.po: Update from translation team.
8119 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8121 * sysdeps/x86_64/wcscmp.S: Update.
8122 Fix wrong comparison semantics.
8123 wcscmp shall use signed comparison not unsigned.
8124 Don't use substraction to avoid overflow bug.
8125 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8126 * wcsmbc/wcscmp.c: Likewise.
8127 * string/test-strcmp.c: Likewise.
8128 Add new tests to check cases with negative values.
8130 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8132 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8133 * sysdeps/x86_64/dla.h: ...here. New file.
8134 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8144 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8147 __ynl_finite aliases.
8149 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8153 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8155 [DLA_FMA] (EMULV): Use DLA_FMA.
8156 [DLA_FMA] (MUL12): Use EMULV.
8157 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8158 that are not needed.
8159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8167 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8169 * math/s_nan.c: Undef __nan.
8170 * math/s_nanf.c: Undef __nanf.
8171 * math/s_nanl.c: Undef __nanl.
8172 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8175 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8177 * math/s_catan.c: Add branch predictions.
8178 * math/s_catanf.c: Likewise.
8179 * math/s_catanh.c: Likewise.
8180 * math/s_catanhf.c: Likewise.
8181 * math/s_catanhl.c: Likewise.
8182 * math/s_catanl.c: Likewise.
8183 * math/s_cexp.c: Likewise.
8184 * math/s_cexpf.c: Likewise.
8185 * math/s_cexpl.c: Likewise.
8186 * math/s_clog.c: Likewise.
8187 * math/s_clog10.c: Likewise.
8188 * math/s_clog10f.c: Likewise.
8189 * math/s_clog10l.c: Likewise.
8190 * math/s_clogf.c: Likewise.
8191 * math/s_clogl.c: Likewise.
8192 * math/s_csqrt.c: Likewise.
8193 * math/s_csqrtf.c: Likewise.
8194 * math/s_csqrtl.c: Likewise.
8195 * math/s_ctanf.c: Likewise.
8196 * math/s_ctanh.c: Likewise.
8197 * math/s_ctanhf.c: Likewise.
8198 * math/s_ctanhl.c: Likewise.
8199 * math/s_ctanl.c: Likewise.
8201 * math/math_private.h: Define __nan, __nanf, __nanl.
8202 * math/s_cacosh.c: Include <math_private.h>.
8203 * math/s_cacoshl.c: Likewise.
8204 * math/s_casinh.c: Likewise.
8205 * math/s_casinhf.c: Likewise.
8206 * math/s_casinhl.c: Likewise.
8207 * math/s_ccos.c: Rely entire on ccosh.
8208 * math/s_ccosf.c: Rely entire on ccoshf.
8209 * math/s_ccosl.c: Rely entirely on ccoshl.
8210 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8211 Remove tests for FE_INVALID.
8212 * math/s_ccoshf.c: Likewise.
8213 * math/s_ccoshl.c: Likewise.
8214 * math/s_csin.c: Likewise.
8215 * math/s_csinf.c: Likewise.
8216 * math/s_csinh.c Likewise.
8217 * math/s_csinhf.c: Likewise.
8218 * math/s_csinhl.c: Likewise.
8219 * math/s_csinl.c: Likewise.
8220 * math/s_ctan.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8222 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8225 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8228 compilation problems.
8230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8233 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8235 * sysdeps/i386/configure.in: Test for -mfma4 option.
8236 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8237 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8238 COMMON_CPUID_INDEX_80000001.
8239 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8240 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8241 use it if FMA3 is not supported.
8242 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8244 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8247 2011-10-20 Andreas Schwab <schwab@redhat.com>
8250 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8251 it would create a cycle with a link time dependency.
8253 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8255 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8257 * string/Makefile (strop-tests): Add rawmemchr.
8258 * string/test-rawmemchr.c: New file.
8260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8261 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8262 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8263 when compiling str{,n}casecmp and when AVX is available. Hook up
8264 new optimized code in initializers.
8266 2011-10-19 Andreas Schwab <schwab@redhat.com>
8268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8269 __feraiseexcept instead of feraiseexcept.
8271 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8273 * math/math_private.h: Define defaults for libc_fetestexcept and
8275 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8276 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8277 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8278 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8279 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8281 libc_fetestexcept and libc_feupdateenv.
8283 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8284 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8285 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8286 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8287 libc_feholdexcept_setround.
8289 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8290 Add s_nearbyint-c and s_nearbyintf-c.
8291 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8293 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8296 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8298 * math/math_private.h: Define defaults for libc_fegetround,
8299 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8300 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8301 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8303 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8305 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8306 Remove comments and hacks for old compiler versions.
8307 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8308 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8311 2011-10-18 Andreas Schwab <schwab@redhat.com>
8313 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8314 (__feraiseexcept_renamed): Add __NTH.
8315 (feraiseexcept): Add __NTH. Rename local variables to fix
8316 namespace violations.
8318 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8322 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8324 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8325 recently added interfaces.
8326 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8328 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8329 about macro parameter expansion.
8331 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8332 __NO_MATH_INLINES is defined. Cleanups.
8334 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8335 and __floorf is target has SSE4.1.
8336 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8337 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8338 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8339 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8341 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8345 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8347 2011-10-17 Andreas Schwab <schwab@redhat.com>
8349 * misc/sys/cdefs.h: Fix last change.
8351 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8354 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8356 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8358 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8363 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8366 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8367 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8368 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8369 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8370 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8371 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8373 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8374 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8375 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8377 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8378 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8379 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8381 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8382 ceil, ceilf, floor, floorf.
8384 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8385 Perform IRELATIVE relocations last.
8387 * elf/do-rel.h: Add another parameter nrelative, replacing the
8388 local variable with the same name. Change name of the function
8389 to end in Rel or Rela (uppercase).
8390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8391 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8392 elf_dynamic_do_##reloc function.
8394 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8396 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8397 is sufficient, at least on modern CPUs.
8399 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8401 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8402 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8404 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8406 * math/bits/math-finite.h: Add entries for exp.
8407 * math/e_expl.c: Add __*_finite alias.
8408 * sysdeps/i386/fpu/e_exp.S: Likewise.
8409 * sysdeps/i386/fpu/e_expf.S: Likewise.
8410 * sysdeps/i386/fpu/e_expl.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8412 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8415 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8416 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8419 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8420 is sufficient, at least on modern CPUs.
8422 * ctype/ctype-info.c (__ctype_init): Define.
8423 * include/ctype.h (__ctype_init): Declare.
8424 (__ctype_b_loc): The variable is always initialized.
8425 (__ctype_toupper_loc): Likewise.
8426 (__ctype_tolower_loc): Likewise.
8427 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8428 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8430 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8432 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8434 * configure.in: Also look in $cxxmachine/include for C++ system
8437 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8439 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8440 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8441 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8442 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8444 (USE_AS_WMEMCMP): New macro.
8446 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8447 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8448 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8449 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8451 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8452 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8454 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8455 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8456 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8457 (USE_AS_WMEMCMP): New macro.
8458 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8459 * sysdeps/string/test-memcmp.c: Update.
8462 * wcsmbs/wmemcmp.c: Update.
8463 (WMEMCMP): New macro.
8466 2011-10-12 Andreas Jaeger <aj@suse.de>
8469 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8471 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8473 * libio/iofwide.c (do_length): Avoid warning.
8475 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8477 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8479 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8481 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8482 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8483 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8484 * sysdeps/i386/i686/fpu/e_log.S: New file.
8485 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8486 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8488 * ctype/ctype.h: Add support for inlined isXXX functions when
8491 2011-10-14 Andreas Schwab <schwab@redhat.com>
8493 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8495 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8497 2011-10-13 Roland McGrath <roland@hack.frob.com>
8500 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8502 2011-10-13 Andreas Schwab <schwab@redhat.com>
8504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8505 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8508 * sysdeps/x86_64/memrchr.S: Check for zero size.
8510 * string/stratcliff.c: Add memrchr tests.
8512 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8515 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8516 rawmemchr-sse2 rawmemchr-sse2-bsf.
8517 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8519 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8520 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8521 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8522 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8523 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8524 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8525 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8526 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8527 * string/memrchr.c (MEMRCHR): New macro.
8529 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8531 Add integration with gcc's -ffinite-math-only and optimize wrapper
8533 * Versions.def: Define GLIBC_2.15 version for libm.
8534 * math/Makefile (headers): Add bits/math-finite.h.
8535 * math/bits/math-finite.h: New file.
8536 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8537 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8538 * math/e_acoshl.c: Add __*_finite alias.
8539 * math/e_acosl.c: Likewise.
8540 * math/e_asinl.c: Likewise.
8541 * math/e_atan2l.c: Likewise.
8542 * math/e_atanhl.c: Likewise.
8543 * math/e_coshl.c: Likewise.
8544 * math/e_exp10.c: Likewise.
8545 * math/e_exp10f.c: Likewise.
8546 * math/e_exp10l.c: Likewise.
8547 * math/e_exp2l.c: Likewise.
8548 * math/e_fmodl.c: Likewise.
8549 * math/e_gammal_r.c: Likewise.
8550 * math/e_hypotl.c: Likewise.
8551 * math/e_j0l.c: Likewise.
8552 * math/e_j1l.c: Likewise.
8553 * math/e_jnl.c: Likewise.
8554 * math/e_lgammal_r.c: Likewise.
8555 * math/e_log10l.c: Likewise.
8556 * math/e_log2l.c: Likewise.
8557 * math/e_logl.c: Likewise.
8558 * math/e_powl.c: Likewise.
8559 * math/e_sinhl.c: Likewise.
8560 * math/e_sqrtl.c: Likewise.
8561 * math/e_scalb.c: Completely rewritten and optimized.
8562 * math/e_scalbf.c: Likewise.
8563 * math/e_scalbl.c: Likewise.
8564 * math/w_acos.c: Likewise.
8565 * math/w_acosf.c: Likewise.
8566 * math/w_acosl.c: Likewise.
8567 * math/w_acosh.c: Likewise.
8568 * math/w_acoshf.c: Likewise.
8569 * math/w_acoshl.c: Likewise.
8570 * math/w_asin.c: Likewise.
8571 * math/w_asinf.c: Likewise.
8572 * math/w_asinl.c: Likewise.
8573 * math/w_atan2.c: Likewise.
8574 * math/w_atan2f.c: Likewise.
8575 * math/w_atan2l.c: Likewise.
8576 * math/w_atanh.c: Likewise.
8577 * math/w_atanhf.c: Likewise.
8578 * math/w_atanhl.c: Likewise.
8579 * math/w_exp10.c: Likewise.
8580 * math/w_exp10f.c: Likewise.
8581 * math/w_exp10l.c: Likewise.
8582 * math/w_fmod.c: Likewise.
8583 * math/w_fmodf.c: Likewise.
8584 * math/w_fmodl.c: Likewise.
8585 * math/w_j0.c: Likewise.
8586 * math/w_j0f.c: Likewise.
8587 * math/w_j0l.c: Likewise.
8588 * math/w_j1.c: Likewise.
8589 * math/w_j1f.c: Likewise.
8590 * math/w_j1l.c: Likewise.
8591 * math/w_jn.c: Likewise.
8592 * math/w_jnf.c: Likewise.
8593 * math/w_log.c: Likewise.
8594 * math/w_logf.c: Likewise.
8595 * math/w_logl.c: Likewise.
8596 * math/w_log10.c: Likewise.
8597 * math/w_log10f.c: Likewise.
8598 * math/w_log10l.c: Likewise.
8599 * math/w_log2.c: Likewise.
8600 * math/w_log2f.c: Likewise.
8601 * math/w_log2l.c: Likewise.
8602 * math/w_pow.c: Likewise.
8603 * math/w_powf.c: Likewise.
8604 * math/w_powl.c: Likewise.
8605 * math/w_remainder.c: Likewise.
8606 * math/w_remainderf.c: Likewise.
8607 * math/w_remainderl.c: Likewise.
8608 * math/w_scalb.c: Likewise.
8609 * math/w_scalbf.c: Likewise.
8610 * math/w_scalbl.c: Likewise.
8611 * math/w_sqrt.c: Likewise.
8612 * math/w_sqrtf.c: Likewise.
8613 * math/w_sqrtl.c: Likewise.
8614 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8615 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8617 * math/math_private.h: Declare __kernel_standard_f.
8618 * math/w_cosh.c: Remove cruft and optimize a bit.
8619 * math/w_coshf.c: Likewise.
8620 * math/w_coshl.c: Likewise.
8621 * math/w_exp2.c: Likewise.
8622 * math/w_exp2f.c: Likewise.
8623 * math/w_exp2l.c: Likewise.
8624 * math/w_hypot.c: Likewise.
8625 * math/w_hypotf.c: Likewise.
8626 * math/w_hypotl.c: Likewise.
8627 * math/w_lgamma.c: Likewise.
8628 * math/w_lgamma_r.c: Likewise.
8629 * math/w_lgammaf.c: Likewise.
8630 * math/w_lgammaf_r.c: Likewise.
8631 * math/w_lgammal.c: Likewise.
8632 * math/w_lgammal_r.c: Likewise.
8633 * math/w_sinh.c: Likewise.
8634 * math/w_sinhf.c: Likewise.
8635 * math/w_sinhl.c: Likewise.
8636 * math/w_tgamma.c: Likewise.
8637 * math/w_tgammaf.c: Likewise.
8638 * math/w_tgammal.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8641 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8642 Minor optimizations. Pretty printing. Remove cruft.
8643 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8647 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8648 * sysdeps/i386/fpu/e_asin.S: Likewise.
8649 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8650 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8651 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8652 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8653 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8654 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8656 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8657 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8658 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8659 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8660 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8661 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8662 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8663 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8664 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8665 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8666 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8667 * sysdeps/i386/fpu/e_log.S: Likewise.
8668 * sysdeps/i386/fpu/e_log10.S: Likewise.
8669 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8671 * sysdeps/i386/fpu/e_log2.S: Likewise.
8672 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8674 * sysdeps/i386/fpu/e_logf.S: Likewise.
8675 * sysdeps/i386/fpu/e_logl.S: Likewise.
8676 * sysdeps/i386/fpu/e_pow.S: Likewise.
8677 * sysdeps/i386/fpu/e_powf.S: Likewise.
8678 * sysdeps/i386/fpu/e_powl.S: Likewise.
8679 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8680 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8681 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8684 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8685 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8686 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8687 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8709 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8710 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8711 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8712 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8713 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8715 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8716 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8717 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8721 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8722 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8723 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8724 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8725 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8726 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8727 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8728 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8781 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8783 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8785 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8786 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8787 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8788 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8789 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8790 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8791 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8794 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8796 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8797 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8798 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8799 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8800 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8801 (__isnanf): Likewise.
8802 (__isinf_ns): Likewise.
8803 (__isinf_nsf): Likewise.
8804 (__finite): Likewise.
8805 (__finitef): Likewise.
8806 (__ieee754_sqrt): Define as macro.
8807 (__ieee754_sqrtf): Define as macro.
8808 (__ieee754_sqrtl): Define as macro.
8809 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8811 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8812 __FINITE_MATH_ONLY__ consistent.
8813 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8815 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8817 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8820 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8822 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8824 * po/ja.po: Update from translation team.
8826 2011-10-08 Roland McGrath <roland@hack.frob.com>
8828 * locale/programs/locarchive.c (prepare_address_space): New function.
8829 (create_archive, enlarge_archive, open_archive): Use it.
8831 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8832 inside [SHARED], where it is used.
8834 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8836 * nss/getent.c (netgroup_keys): Remove unused variable.
8837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8839 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8841 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8845 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8846 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8847 * math/Makefile (libm-calls): Add s_isinf_ns.
8848 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8849 * math/multc3.c: Likewise.
8850 * math/s_casin.c: Likewise.
8851 * math/s_casinf.c: Likewise.
8852 * math/s_casinl.c: Likewise.
8853 * math/s_ccos.c: Likewise.
8854 * math/s_ccosf.c: Likewise.
8855 * math/s_ccosl.c: Likewise.
8856 * math/s_ctan.c: Likewise.
8857 * math/s_ctanf.c: Likewise.
8858 * math/s_ctanh.c: Likewise.
8859 * math/s_ctanhf.c: Likewise.
8860 * math/s_ctanhl.c: Likewise.
8861 * math/s_ctanl.c: Likewise.
8862 * math/w_fmod.c: Likewise.
8863 * math/w_fmodf.c: Likewise.
8864 * math/w_fmodl.c: Likewise.
8865 * math/w_remainder.c: Likewise.
8866 * math/w_remainderf.c: Likewise.
8867 * math/w_remainderl.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8869 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8872 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8873 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8874 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8875 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8877 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8879 * stdio-common/printf_fphex.c: Likewise.
8880 * stdio-common/printf_size.c: Likewise.
8882 * math/e_exp10.c: Include math_private.h using <...> not "...".
8883 * math/e_exp10f.c: Likewise.
8884 * math/e_exp10l.c: Likewise.
8885 * math/e_exp2l.c: Likewise.
8886 * math/e_j0l.c: Likewise.
8887 * math/e_j1l.c: Likewise.
8888 * math/e_jnl.c: Likewise.
8889 * math/e_lgammal_r.c: Likewise.
8890 * math/e_rem_pio2l.c: Likewise.
8891 * math/e_scalb.c: Likewise.
8892 * math/e_scalbf.c: Likewise.
8893 * math/e_scalbl.c: Likewise.
8894 * math/k_cosl.c: Likewise.
8895 * math/k_sinl.c: Likewise.
8896 * math/k_tanl.c: Likewise.
8897 * math/s_cacoshf.c: Likewise.
8898 * math/s_catan.c: Likewise.
8899 * math/s_catanf.c: Likewise.
8900 * math/s_catanh.c: Likewise.
8901 * math/s_catanhf.c: Likewise.
8902 * math/s_catanhl.c: Likewise.
8903 * math/s_catanl.c: Likewise.
8904 * math/s_ccosh.c: Likewise.
8905 * math/s_ccoshf.c: Likewise.
8906 * math/s_ccoshl.c: Likewise.
8907 * math/s_cexp.c: Likewise.
8908 * math/s_cexpf.c: Likewise.
8909 * math/s_cexpl.c: Likewise.
8910 * math/s_clog.c: Likewise.
8911 * math/s_clog10.c: Likewise.
8912 * math/s_clog10f.c: Likewise.
8913 * math/s_clog10l.c: Likewise.
8914 * math/s_clogf.c: Likewise.
8915 * math/s_clogl.c: Likewise.
8916 * math/s_csin.c: Likewise.
8917 * math/s_csinf.c: Likewise.
8918 * math/s_csinh.c: Likewise.
8919 * math/s_csinhf.c: Likewise.
8920 * math/s_csinhl.c: Likewise.
8921 * math/s_csinl.c: Likewise.
8922 * math/s_csqrt.c: Likewise.
8923 * math/s_csqrtf.c: Likewise.
8924 * math/s_csqrtl.c: Likewise.
8925 * math/s_ctan.c: Likewise.
8926 * math/s_ctanf.c: Likewise.
8927 * math/s_ctanh.c: Likewise.
8928 * math/s_ctanhf.c: Likewise.
8929 * math/s_ctanhl.c: Likewise.
8930 * math/s_ctanl.c: Likewise.
8931 * math/s_ldexp.c: Likewise.
8932 * math/s_ldexpf.c: Likewise.
8933 * math/s_ldexpl.c: Likewise.
8934 * math/s_significand.c: Likewise.
8935 * math/s_significandf.c: Likewise.
8936 * math/s_significandl.c: Likewise.
8937 * math/w_acos.c: Likewise.
8938 * math/w_acosf.c: Likewise.
8939 * math/w_acosh.c: Likewise.
8940 * math/w_acoshf.c: Likewise.
8941 * math/w_acoshl.c: Likewise.
8942 * math/w_acosl.c: Likewise.
8943 * math/w_asin.c: Likewise.
8944 * math/w_asinf.c: Likewise.
8945 * math/w_asinl.c: Likewise.
8946 * math/w_atan2.c: Likewise.
8947 * math/w_atan2f.c: Likewise.
8948 * math/w_atan2l.c: Likewise.
8949 * math/w_atanh.c: Likewise.
8950 * math/w_atanhf.c: Likewise.
8951 * math/w_atanhl.c: Likewise.
8952 * math/w_cosh.c: Likewise.
8953 * math/w_coshf.c: Likewise.
8954 * math/w_coshl.c: Likewise.
8955 * math/w_dremf.c: Likewise.
8956 * math/w_exp10.c: Likewise.
8957 * math/w_exp10f.c: Likewise.
8958 * math/w_exp10l.c: Likewise.
8959 * math/w_exp2.c: Likewise.
8960 * math/w_exp2f.c: Likewise.
8961 * math/w_fmod.c: Likewise.
8962 * math/w_fmodf.c: Likewise.
8963 * math/w_fmodl.c: Likewise.
8964 * math/w_hypot.c: Likewise.
8965 * math/w_hypotf.c: Likewise.
8966 * math/w_hypotl.c: Likewise.
8967 * math/w_j0.c: Likewise.
8968 * math/w_j0f.c: Likewise.
8969 * math/w_j0l.c: Likewise.
8970 * math/w_j1.c: Likewise.
8971 * math/w_j1f.c: Likewise.
8972 * math/w_j1l.c: Likewise.
8973 * math/w_jn.c: Likewise.
8974 * math/w_jnf.c: Likewise.
8975 * math/w_jnl.c: Likewise.
8976 * math/w_lgamma.c: Likewise.
8977 * math/w_lgamma_r.c: Likewise.
8978 * math/w_lgammaf.c: Likewise.
8979 * math/w_lgammaf_r.c: Likewise.
8980 * math/w_lgammal.c: Likewise.
8981 * math/w_lgammal_r.c: Likewise.
8982 * math/w_log.c: Likewise.
8983 * math/w_log10.c: Likewise.
8984 * math/w_log10f.c: Likewise.
8985 * math/w_log10l.c: Likewise.
8986 * math/w_log2.c: Likewise.
8987 * math/w_log2f.c: Likewise.
8988 * math/w_log2l.c: Likewise.
8989 * math/w_logf.c: Likewise.
8990 * math/w_logl.c: Likewise.
8991 * math/w_pow.c: Likewise.
8992 * math/w_powf.c: Likewise.
8993 * math/w_powl.c: Likewise.
8994 * math/w_remainder.c: Likewise.
8995 * math/w_remainderf.c: Likewise.
8996 * math/w_remainderl.c: Likewise.
8997 * math/w_scalb.c: Likewise.
8998 * math/w_scalbf.c: Likewise.
8999 * math/w_scalbl.c: Likewise.
9000 * math/w_sinh.c: Likewise.
9001 * math/w_sinhf.c: Likewise.
9002 * math/w_sinhl.c: Likewise.
9003 * math/w_sqrt.c: Likewise.
9004 * math/w_sqrtf.c: Likewise.
9005 * math/w_sqrtl.c: Likewise.
9006 * math/w_tgamma.c: Likewise.
9007 * math/w_tgammaf.c: Likewise.
9008 * math/w_tgammal.c: Likewise.
9010 * po/ja.po: Update from translation team.
9012 2011-09-29 Andreas Jaeger <aj@suse.de>
9015 * sunrpc/netname.c (netname2host): Fix logic.
9019 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9021 * math/w_remainder.c (__remainder): Likewise.
9022 * math/w_remainderf.c (__remainderf): Likewise.
9023 * math/libm-test.inc (remainder_test): Add test cases.
9025 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9027 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9030 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9032 * string/test-memcmp.c: Avoid unncessary #defines.
9033 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9035 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9037 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9038 Use new sse2 version for core i3 - i7 as it's faster
9040 (bit_Prefer_PMINUB_for_stringop): New.
9041 * sysdeps/x86_64/rawmemchr.S: Update.
9042 Replace with faster SSE2 version.
9043 * sysdeps/x86_64/memrchr.S: New file.
9044 * sysdeps/x86_64/memchr.S: Update.
9045 Replace with faster SSE2 version.
9047 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9049 * elf/dl-load.c (lose): Add cast to avoid warning.
9051 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9053 * po/ca.po: Update from translation team.
9055 * inet/getnetgrent_r.c: Hook up nscd.
9056 * nscd/Makefile (routines): Add nscd_netgroup.
9057 (nscd-modules): Add netgroupcache.
9058 (CFLAGS-netgroupcache.c): Define.
9059 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9060 (cache_search): Add const to second parameter.
9061 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9063 (dbs): Add netgrdb entry.
9064 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9065 (verify_persistent_db): Handle netgrdb.
9066 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9067 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9069 (netgroup_response_header): Define.
9070 (innetgroup_response_header): Define.
9071 (datahead): Add netgroup_response_header and innetgroup_response_header
9073 * nscd/nscd.conf: Add entries for netgroup cache.
9074 * nscd/nscd.h (dbtype): Add netgrdb.
9075 (_PATH_NSCD_NETGROUP_DB): Define.
9076 (netgroup_iov_disabled): Declare.
9077 (xmalloc, xcalloc, xrealloc): Move declarations here.
9078 (cache_search): Adjust prototype.
9079 Add netgroup-related prototypes.
9080 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9081 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9082 (__nscd_innetgr): Declare.
9083 * nscd/selinux.c (perms): Use access_vector_t as element type and
9084 add netgroup-related initializers.
9085 * nscd/netgroupcache.c: New file.
9086 * nscd/nscd_netgroup.c: New file.
9087 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9088 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9089 For four parameters use innetgr.
9090 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9091 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9092 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9093 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9095 * nscd/connections.c (register_traced_file): Don't register file
9096 for disabled databases.
9098 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9100 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9102 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9103 from tree and freeing node.
9105 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9107 * nss/nsswitch.c (__nss_database_lookup): Handle
9108 nss_parse_service_list out of memory case.
9110 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9112 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9115 2011-10-04 Andreas Schwab <schwab@redhat.com>
9117 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9118 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9120 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9121 elf_machine_rela, elf_machine_lazy_rel.
9122 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9123 (ELF_DYNAMIC_DO_REL): Likewise.
9124 (ELF_DYNAMIC_DO_RELA): Likewise.
9125 (ELF_DYNAMIC_RELOCATE): Likewise.
9126 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9127 to ELF_DYNAMIC_DO_REL.
9128 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9129 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9130 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9133 skip_ifunc, don't call ifunc function if non-zero.
9134 (elf_machine_rela): Likewise.
9135 (elf_machine_lazy_rel): Likewise.
9136 (elf_machine_lazy_rela): Likewise.
9137 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9138 (elf_machine_lazy_rel): Likewise.
9139 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9141 (elf_machine_lazy_rel): Likewise.
9142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9144 (elf_machine_lazy_rel): Likewise.
9145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9146 (elf_machine_lazy_rel): Likewise.
9147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9148 (elf_machine_lazy_rel): Likewise.
9149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9150 (elf_machine_lazy_rel): Likewise.
9151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9152 (elf_machine_lazy_rel): Likewise.
9153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9154 (elf_machine_lazy_rel): Likewise.
9155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9156 (elf_machine_lazy_rel): Likewise.
9158 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9160 * nss/nss_files/files-init.c (_nss_files_init): Use static
9161 initialization for all the *_traced_file variables.
9163 2011-09-28 Andreas Schwab <schwab@redhat.com>
9165 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9167 2011-09-27 Roland McGrath <roland@hack.frob.com>
9170 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9172 2011-09-27 Andreas Schwab <schwab@redhat.com>
9174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9175 Reread the line before reparsing it.
9177 2011-09-26 Andreas Schwab <schwab@redhat.com>
9179 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9181 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9182 Maxim Kuvyrkov <maxim@codesourcery.com>
9183 Joseph Myers <joseph@codesourcery.com>
9185 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9186 if needed for __stack_chk_guard.
9188 2011-09-19 Roland McGrath <roland@hack.frob.com>
9190 * sysdeps/posix/spawni.c (script_execute): Always define it.
9191 It will be optimized away if unused.
9192 (maybe_script_execute): New function.
9193 (__spawni): Call it.
9195 * Makerules: Don't include tls.make.
9196 (config-tls): Always set to thread.
9197 * tls.make.c: File removed.
9199 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9201 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9202 * config.make.in (CPPFLAGS-config): New substituted variable.
9204 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9209 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9210 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9212 2011-09-15 Roland McGrath <roland@hack.frob.com>
9214 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9215 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9217 (CALL_FAIL): Likewise.
9218 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9219 (CALL_FAIL): Macro removed.
9220 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9222 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9224 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9225 for __FINITE_MATH_ONLY__ == 1.
9227 2011-09-15 Andreas Schwab <schwab@redhat.com>
9229 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9230 __ieee754_sqrt instead of sqrt.
9231 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9232 __ieee754_sqrtf instead of sqrtf.
9233 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9234 __floorf instead of floorf.
9235 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9236 __floorf, __truncf instead of floorf, truncf.
9238 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9240 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9242 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9243 __extern_always_inline.
9244 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9247 2011-09-14 Andreas Schwab <schwab@redhat.com>
9249 * elf/rtld.c (dl_main): Also relocate in dependency order when
9250 doing symbol dependency testing.
9252 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9255 Always define `refsym'.
9257 2011-09-13 Andreas Schwab <schwab@redhat.com>
9259 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9260 (__FD_ELT): Renamed from __FDELT.
9261 * misc/bits/select2.h (__FD_ELT): Likewise.
9262 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9263 __FD_MASK instead of __FDELT, __FDMASK.
9264 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9266 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9269 * elf/Makefile (gen-ldd): Fix pattern.
9271 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9272 (init_tls): Likewise.
9274 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9278 2011-09-12 Andreas Schwab <schwab@redhat.com>
9280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9281 `struct cmsghdr *' instead of `void *'.
9282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9285 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9287 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9289 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9292 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9294 * configure.in: Remove --with-tls option.
9295 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9296 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9297 out in case it is missing.
9298 * sysdeps/ia64/elf/configure.in: Likewise.
9299 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9300 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9301 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9302 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9303 * sysdeps/sh/elf/configure.in: Likewise.
9304 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9306 * sysdeps/x86_64/elf/configure.in: Likewise.
9307 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9308 * sysdeps/mach/hurd/tls.h: Likewise.
9311 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9314 * configure.in: Fix use of AC_INIT.
9316 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9318 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9320 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9322 * malloc/hooks.c: Likewise.
9325 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9326 variables statically.
9327 (narenas): Initialize.
9328 (list_lock): Initialize.
9329 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9330 initializtion of main_arena and list_lock. Small cleanups.
9331 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9332 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9333 Add initializers to main_arena and mp_.
9334 (malloc_state): Remove pagesize member. Change all users to use
9337 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9338 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9339 is always initialized.
9341 * malloc/malloc.c: Removed unused configurations and dead code.
9342 * malloc/arena.c: Likewise.
9343 * malloc/hooks.c: Likewise.
9344 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9346 * include/tls.h: Removed. USE___THREAD must always be defined.
9347 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9348 * elf/dl-libc.c: Likewise.
9349 * elf/dl-tsd.c: Likewise.
9350 * include/errno.h: Likewise.
9351 * include/netdb.h: Likewise.
9352 * include/resolv.h: Likewise.
9353 * inet/herrno-loc.c: Likewise.
9354 * inet/herrno.c: Likewise.
9355 * malloc/arena.c: Likewise.
9356 * malloc/hooks.c: Likewise.
9357 * malloc/malloc.c: Likewise.
9358 * resolv/res-state.c: Likewise.
9359 * resolv/res_libc.c: Likewise.
9360 * sysdeps/i386/dl-machine.h: Likewise.
9361 * sysdeps/ia64/dl-machine.h: Likewise.
9362 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9363 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9364 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9365 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9366 * sysdeps/sh/dl-machine.h: Likewise.
9367 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9369 * sysdeps/unix/i386/sysdep.S: Likewise.
9370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9371 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9376 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9381 * sysdeps/x86_64/dl-machine.h: Likewise.
9382 * tls.make.c: Likewise.
9384 * configure.in: Remove --with-__thread option. Make tests for
9385 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9386 tls_model attribute fail if no support is available. Remove
9388 * Makeconfig: Adjust for dropped configure option. All features are
9390 * Makerules: Likewise.
9391 * Versions.def: Likewise.
9392 * argp/argp-fmtstream.c: Likewise.
9393 * argp/argp-fmtstream.h: Likewise.
9394 * argp/argp-help.c: Likewise.
9395 * assert/assert.c: Likewise.
9396 * config.h.in: Likewise.
9397 * config.make.in: Likewise.
9398 * configure: Likewise.
9399 * configure.in: Likewise.
9400 * csu/Versions: Likewise.
9401 * csu/init.c: Likewise.
9402 * elf/tst-audit2.c: Likewise.
9403 * elf/tst-tls10.c: Likewise.
9404 * elf/tst-tls10.h: Likewise.
9405 * elf/tst-tls11.c: Likewise.
9406 * elf/tst-tls12.c: Likewise.
9407 * elf/tst-tls14.c: Likewise.
9408 * elf/tst-tlsmod11.c: Likewise.
9409 * elf/tst-tlsmod12.c: Likewise.
9410 * elf/tst-tlsmod13.c: Likewise.
9411 * elf/tst-tlsmod13a.c: Likewise.
9412 * elf/tst-tlsmod14a.c: Likewise.
9413 * elf/tst-tlsmod15b.c: Likewise.
9414 * elf/tst-tlsmod16a.c: Likewise.
9415 * elf/tst-tlsmod16b.c: Likewise.
9416 * elf/tst-tlsmod7.c: Likewise.
9417 * elf/tst-tlsmod8.c: Likewise.
9418 * elf/tst-tlsmod9.c: Likewise.
9419 * gmon/gmon.c: Likewise.
9420 * grp/fgetgrent_r.c: Likewise.
9421 * grp/putgrent.c: Likewise.
9422 * hurd/fopenport.c: Likewise.
9423 * include/libc-symbols.h: Likewise.
9424 * include/tls.h: Likewise.
9425 * intl/gettextP.h: Likewise.
9426 * intl/loadinfo.h: Likewise.
9427 * locale/global-locale.c: Likewise.
9428 * locale/localeinfo.h: Likewise.
9429 * mach/devstream.c: Likewise.
9430 * malloc/arena.c: Likewise.
9431 * malloc/set-freeres.c: Likewise.
9432 * misc/err.c: Likewise.
9433 * misc/getttyent.c: Likewise.
9434 * misc/mntent_r.c: Likewise.
9435 * posix/getopt.c: Likewise.
9436 * posix/wordexp.c: Likewise.
9437 * pwd/fgetpwent_r.c: Likewise.
9438 * resolv/Versions: Likewise.
9439 * resolv/res_hconf.c: Likewise.
9440 * shadow/fgetspent_r.c: Likewise.
9441 * shadow/putspent.c: Likewise.
9442 * stdio-common/printf_fphex.c: Likewise.
9443 * stdio-common/tmpfile.c: Likewise.
9444 * stdlib/abort.c: Likewise.
9445 * stdlib/fmtmsg.c: Likewise.
9446 * sunrpc/auth_unix.c: Likewise.
9447 * sunrpc/clnt_perr.c: Likewise.
9448 * sunrpc/clnt_tcp.c: Likewise.
9449 * sunrpc/clnt_udp.c: Likewise.
9450 * sunrpc/clnt_unix.c: Likewise.
9451 * sunrpc/openchild.c: Likewise.
9452 * sunrpc/svc_simple.c: Likewise.
9453 * sunrpc/svc_tcp.c: Likewise.
9454 * sunrpc/svc_udp.c: Likewise.
9455 * sunrpc/svc_unix.c: Likewise.
9456 * sunrpc/xdr.c: Likewise.
9457 * sunrpc/xdr_array.c: Likewise.
9458 * sunrpc/xdr_rec.c: Likewise.
9459 * sunrpc/xdr_ref.c: Likewise.
9460 * sunrpc/xdr_stdio.c: Likewise.
9462 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9464 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9466 2011-07-03 Andreas Jaeger <aj@suse.de>
9468 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9469 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9470 regenerate with gen-libm-tests.pl.
9472 2010-05-12 Petr Baudis <pasky@suse.cz>
9475 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9476 around j0() zero points by switching to j1().
9477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9482 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9486 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9489 Patch in part by Pavel Roskin <proski@gnu.org>.
9492 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9494 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9495 Free memory block if necessary.
9498 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9499 be NULL. Don't lock in this case.
9501 2011-09-09 Roland McGrath <roland@hack.frob.com>
9503 * elf/elf.h (ELFOSABI_GNU): New macro.
9504 (ELFOSABI_LINUX): Define to that.
9506 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9508 * string/strncat.c (strncat): Undef the symbol in case it has been
9509 defined in bits/string.h.
9511 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9513 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9515 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9518 2011-08-17 Andreas Jaeger <aj@suse.de>
9520 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9522 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9523 Ian Lance Taylor <iant@google.com>
9525 * math/libm-test.inc (lround_test): New testcase.
9526 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9528 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9530 * Makefile: Remove support for automatic cvs check-ins.
9531 * Makerules: Likewise.
9532 * config.make.in: Likewise.
9533 * configure.in: Likewise.
9534 * intl/Makefile: Likewise.
9535 * locale/Makefile: Likewise.
9536 * po/Makefile: Likewise.
9537 * posix/Makefile: Likewise.
9538 * sysdeps/gnu/Makefile: Likewise.
9539 * sysdeps/mach/hurd/Makefile: Likewise.
9540 * sysdeps/sparc/sparc32/Makefile: Likewise.
9543 * posix/Makefile (bug-regex32-ENV): Define.
9544 Patch by John Stanley <jpsinthemix@verizon.net>.
9546 * misc/Makefile (headers): Add bits/select2.h.
9547 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9548 * misc/bits/select2.h: New file.
9549 * include/bits/select2.h: New file.
9550 * debug/Makefile (routines): Add fdelt_chk.
9551 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9552 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9554 * debug/fdelt_chk.c: New file.
9556 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9557 * wcsmbs/test-wmemcmp.c: Likewise.
9558 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9559 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9561 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9563 * string/Makefile (strop-tests): Add memcmp.
9564 * string/test-wmemcmp.c: New file.
9565 * string/test-memcmp.c: Add wmemcmp support.
9567 2011-09-08 Roland McGrath <roland@hack.frob.com>
9570 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9573 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9574 garbage value in a __mach_port_mod_refs call in the cases of the
9575 task-self and thread-self ports.
9577 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9579 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9581 2011-09-08 Andreas Schwab <schwab@redhat.com>
9583 * elf/dl-load.c (lose): Check for non-null L.
9585 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9587 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9589 * elf/dl-libc.c (dlerror_run): Pass back error code from
9593 * elf/dl-load.c (lose): Free l_origin if it is valid.
9595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9597 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9602 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9604 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9606 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9607 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9608 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9610 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9611 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9612 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9613 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9614 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9615 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9617 2011-08-15 Alan Modra <amodra@gmail.com>
9620 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9621 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9622 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9623 ppc_mcount to static-only-routines.
9624 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9626 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9627 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9629 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9631 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9632 for finite and infinity parameters.
9634 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9637 and add nop instructions for throughput optimization.
9638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9640 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9643 aligned copy for power7 with vector-scalar instructions.
9644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9646 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9651 2011-09-07 Andreas Schwab <schwab@redhat.com>
9654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9657 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9659 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9660 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9661 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9662 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9665 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9668 Forgot to demangle the pointer.
9670 * sysdeps/i386/sysdep.h: Define atom_text_section.
9671 * sysdeps/x86_64/sysdep.h: Likewise.
9672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9673 section with atom_text_section.
9674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9675 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9676 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9681 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9682 already be defined. Change to take two parameters and don't assign
9683 result to variable. Adjust all users.
9684 Define INTERNAL_GETTIME if not already defined.
9685 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9688 HAVE_CLOCK_GETTIME_VSYSCALL.
9689 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9692 gettimeofday vsyscall, just use time.
9694 2011-09-06 Andreas Schwab <schwab@redhat.com>
9696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9699 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9701 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9705 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9706 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9707 syscall if possible.
9709 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9711 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9712 e_ident. Don't pass to find_mapsXX.
9713 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9715 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9718 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9719 * sysdeps/x86_64/multiarch/strchr.S: Update.
9720 Check bit_slow_BSF bit.
9721 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9722 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9725 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9728 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9731 (__spawni): Change last parameter to be flag. Test
9732 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9733 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9734 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9735 * posix/spawni.c: Likewise.
9736 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9737 * posix/spawnp.c: Likewise. Change normal version to use
9738 SPAWN_XFLAGS_USE_PATH.
9739 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9740 SPAWN_XFLAGS_TRY_SHELL.
9743 * posix/glob.h: Remove gcc 1.x support.
9746 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9748 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9751 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9753 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9754 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9755 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9757 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9760 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9762 * sysdeps/x86_64/wcscmp.S: New file.
9764 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9765 wcscmp-c wcscmp-sse2
9766 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9767 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9768 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9769 * wcsmbs/wcscmp.c: Allow renaming.
9771 2011-09-05 David S. Miller <davem@davemloft.net>
9773 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9774 stack slot, rather than the struct return pointer slot.
9775 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9776 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9780 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9782 * po/ja.po: Update from translation team.
9785 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9786 kernel in 64-bit binaries.
9788 2011-09-01 David S. Miller <davem@davemloft.net>
9790 * elf/elf.h (HWCAP_SPARC_*): Move to..
9791 * sysdeps/sparc/sysdep.h: this new file and add new values.
9792 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9793 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9794 _DL_HWCAP_COUNT to 24.
9795 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9797 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9798 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9799 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9801 instead of magic constants.
9802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9804 2011-08-31 David S. Miller <davem@davemloft.net>
9806 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9808 Reimplement to do errno handling inline.
9809 (SYSCALL_ERROR_HANDLER): New macro.
9810 (__SYSCALL_STRING): Do not do errno handling in asm.
9811 (__CLONE_SYSCALL_STRING): Delete.
9812 (__INTERNAL_SYSCALL_STRING): Delete.
9813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9814 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9815 (PSEUDO): Reimplement to do errno handling inline.
9816 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9817 (SYSCALL_ERROR_HANDLER): New macro.
9818 (__SYSCALL_STRING): Do not do errno handling in asm.
9819 (__CLONE_SYSCALL_STRING): Delete.
9820 (__INTERNAL_SYSCALL_STRING): Delete.
9821 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9822 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9824 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9825 (inline_syscall*): Add 'err' argument.
9826 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9827 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9828 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9829 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9831 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9832 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9834 2011-08-30 Andreas Schwab <schwab@redhat.com>
9836 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9838 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9840 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9843 2011-08-24 David S. Miller <davem@davemloft.net>
9845 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9847 2011-08-24 Andreas Schwab <schwab@redhat.com>
9849 * elf/Makefile: Add rules to build and run unload8 test.
9850 * elf/unload8.c: New file.
9851 * elf/unload8mod1.c: New file.
9852 * elf/unload8mod1x.c: New file.
9853 * elf/unload8mod2.c: New file.
9854 * elf/unload8mod3.c: New file.
9856 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9859 2011-08-23 David S. Miller <davem@davemloft.net>
9861 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9862 subtract stack bias.
9863 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9864 %sp not %fp in calculations.
9865 (_JMPBUF_UNWINDS_ADJ): Likewise.
9867 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9868 (aio_suspend): Call it to force an exception region around the
9869 AIO_MISC_WAIT() invocation.
9871 2011-08-23 Andreas Schwab <schwab@redhat.com>
9873 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9876 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9878 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9880 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9882 (Elf64_FuncDesc): Remove.
9884 2011-08-22 David S. Miller <davem@davemloft.net>
9886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9887 sigaltstack check, add missing cfi directives.
9888 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9889 missing cfi directives, and sigaltstack handling.
9891 2011-08-16 Andreas Schwab <schwab@redhat.com>
9894 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9895 object is seen twice.
9896 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9898 * elf/Makefile (distribute): Add tst-initorder2.c.
9899 (tests): Add tst-initorder2.
9900 (modules-names): Add tst-initorder2a tst-initorder2b
9901 tst-initorder2c tst-initorder2d. Add rules to build them.
9902 ($(objpfx)tst-initorder2.out): New rule.
9903 * elf/tst-initorder2.c: New file.
9904 * elf/tst-initorder2.exp: New file.
9906 2011-08-22 Andreas Schwab <schwab@redhat.com>
9908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9910 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9911 dependencies back to end of function.
9913 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9916 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9919 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9921 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9922 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9923 of __vdso_gettimeofday.
9924 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9925 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9927 (_libc_vdso_platform_setup): Remove initialization of
9928 __vdso_gettimeofday and __vdso_time.
9930 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9932 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9934 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9937 * elf/dl-open.c (add_to_global): Report additions to the global scope
9938 for LD_DEBUG=scopes.
9939 (dl_open_worker): Also print scope of newly loaded dependencies.
9940 (_dl_show_scope): Indicate if there is no scope.
9943 * stdio-common/Makefile (tests): Add bug24.
9944 * stdio-common/bug24.c: New file.
9946 2011-08-19 Andreas Jaeger <aj@suse.de>
9949 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9950 non-existant file when using close-on-exec mode.
9952 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9955 the very first instruction.
9957 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9958 the CFI state in the end.
9959 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9960 inclusion of dl-trampoline.h.
9961 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9963 2011-08-19 Andreas Schwab <schwab@redhat.com>
9965 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9966 expectations for long double.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9969 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9971 2011-08-14 David S. Miller <davem@davemloft.net>
9973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9974 artificual limit depends upon the system page size.
9976 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9978 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9979 * resolv/Makefile: Define CFLAGS-libresolv.
9981 2011-08-17 Andreas Schwab <schwab@redhat.com>
9983 * nss/makedb.c (compute_tables): Make variables used in nested
9986 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9988 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9989 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9990 if buffer was too small.
9992 * elf/pldd.c (main): Attach to all threads in the process.
9993 Rewrite /proc handling to use *at functions.
9995 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9997 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9998 specifies first scope to show.
9999 (dl_open_worker): Update callers. Move printing scope of new
10000 object to before the relocation.
10001 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10002 * sysdeps/generic/ldsodefs.h: Update declaration.
10004 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10005 string for the scope number.
10007 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10009 * nscd/servicescache.c (cache_addserv): Make sure written is always
10012 2011-08-14 Roland McGrath <roland@hack.frob.com>
10014 * sysdeps/i386/i486/bits/atomic.h
10015 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10016 statement expression, so as to suppress "set but not used" warning.
10017 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10019 * string/strncat.c (STRNCAT): Use prototype definition.
10021 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10022 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10024 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10025 (localedef-modules): Add localedef.
10026 (locale-modules): Add locale.
10028 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10029 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10030 to avoid a warning.
10032 2011-08-14 David S. Miller <davem@davemloft.net>
10034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10035 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10037 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10039 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10040 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10041 * elf/rtld.c (dl_main): Set l_name of vDSO.
10042 Call _dl_show_scope when DL_DEBUG_SCOPES.
10043 (process_dl_debug): Recognize scopes flag and also set it for all.
10044 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10045 Declare _dl_show_scope.
10047 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10048 (do_dlopen): Pass caller_dlopen to dl_open.
10049 (__libc_dlopen_mode): Initialize caller_dlopen.
10051 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10052 of libc. Make tolower call locale-independent. Optimize a bit by
10053 using isdigit instead of isalnum.
10054 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10056 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10058 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10059 was a dependency or dynamically loaded.
10061 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10063 * intl/l10nflist.c: Allow architecture-specific pop function.
10064 * sysdeps/x86_64/l10nflist.c: New file.
10066 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10069 2011-08-10 Andreas Schwab <schwab@redhat.com>
10071 * include/dirent.h: Add libc_hidden_proto for scandirat and
10072 scandirat64. Don't declare __scandirat64.
10073 * dirent/scandirat.c: Add libc_hidden_def.
10074 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10075 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10077 2011-08-10 David S. Miller <davem@davemloft.net>
10079 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10085 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10087 * Versions.def [libc]: Add GLIBC_2.15.
10088 * dirent/Makefile (routines): Add scandirat and scandirat64.
10089 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10091 * dirent/dirent.h: Declare scandirat and scandirat64.
10092 * dirent/scandirat.c: New file.
10093 * dirent/scandirat64.c: New file.
10094 * sysdeps/wordsize-64/scandirat.c: New file.
10095 * sysdeps/wordsize-64/scandirat64.c: New file.
10096 * dirent/opendir.c: Define opendirat.
10097 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10099 * dirent/scandir64.c: Adjust for scandir.c change.
10100 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10101 __scandirat64, and __scandir_cancel_handler.
10102 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10103 additional parameter and use openat instead of open (outside of ld.so).
10104 Add new __opendir as wrapper around __opendirat.
10105 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10106 here without requiring old scandirat implementation.
10108 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10110 * dirent/scandir.c (cancel_handler): Renamed to
10111 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10112 defined. Adjust users.
10113 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10116 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10118 * string/test-string.h (IMPL): Use __STRING to expand name and then
10121 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10124 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10126 * string/Makefile: Update.
10127 (strop-tests): Append strncat.
10128 * string/test-wcscmp.c: New file.
10129 New comprehensive test for wcscmp.
10130 * string/test-strcmp.c: Update.
10131 (WIDE): New define.
10133 2011-07-22 Andreas Schwab <schwab@redhat.com>
10135 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10138 2011-07-26 Andreas Schwab <schwab@redhat.com>
10140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10141 encoding to ACE if AI_IDN.
10143 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10146 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10148 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10150 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10151 Fix overflow bug in strncat.
10152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10154 * string/test-strncat.c: Update.
10155 Add new tests for checking overflow bugs.
10157 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10160 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10161 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10162 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10164 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10165 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10166 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10167 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10170 (USE_AS_STRCAT): Define.
10171 Add strcat and strncat support.
10172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10174 2011-07-25 Andreas Schwab <schwab@redhat.com>
10176 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10177 __n bigger than INT_MAX+1.
10178 (__strncmp_g): Likewise.
10180 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10182 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10183 * libio/stido.h: Likewise.
10185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10190 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10197 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10202 (_dl_x86_64_save_sse): Likewise.
10204 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10208 (_dl_x86_64_save_sse): Likewise.
10210 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10212 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10214 2011-07-21 Andreas Schwab <schwab@redhat.com>
10216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10218 (_dl_x86_64_save_sse): Use correct AVX check.
10220 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10223 bug in strncpy/strncat.
10224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10226 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10228 * string/tester.c (test_strcat): Add tests for different alignments
10229 of source and destination.
10230 (test_strncat): Likewise.
10232 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10235 * posix/glob.c (glob): Check passed in values before using them in
10236 expressions to avoid some overflows.
10237 (glob_in_dir): Likewise.
10240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10241 check for AVX enablement so that we don't crash with old kernels and
10243 * elf/tst-audit4.c: Add same checks here.
10244 * elf/tst-audit6.c: Likewise.
10246 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10248 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10250 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10252 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10254 * po/cs.po: Update from translation team.
10255 * po/bg.po: Likewise.
10257 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10259 * misc/sys/cdefs.h: Add support for const attribute.
10260 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10261 to gnu_dev_{major,minor,makedev} functions.
10263 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10265 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10267 2011-07-20 Andreas Schwab <schwab@redhat.com>
10269 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10272 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10275 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10276 register in order to avoid conflicts with the soft frame pointer
10277 being held in r11 when necessary.
10278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10279 (INTERNAL_VSYSCALL_NCS): Likewise.
10281 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10283 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10284 * elf/dl-fini.c (_dl_fini): Adjust caller.
10285 * elf/dl-close.c (_dl_close_worker): Likewise.
10286 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10288 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10290 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10291 "aux_cache->nlibs < 0".
10293 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10294 in the reload-count case.
10296 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10299 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10300 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10302 * sysdeps/x86_64/multiarch/strcat.S: New file.
10303 * sysdeps/x86_64/multiarch/strncat.S: New file.
10304 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10306 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10307 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10309 (USE_AS_STRCAT): Define.
10310 Add strcat and strncat support.
10311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10313 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10314 * string/strncat.c: Update.
10315 (USE_AS_STRNCAT): Define.
10316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10317 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10319 * sysdeps/x86_64/multiarch/init-arch.h
10320 (bit_Prefer_PMINUB_for_stringop): New.
10321 (index_Prefer_PMINUB_for_stringop): Likewise.
10322 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10323 bit_Prefer_PMINUB_for_stringop.
10325 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10327 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10329 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10330 of casting of buffer.
10331 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10332 buffer32 and buffer64.
10333 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10334 writes instead of casting of buffer.
10335 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10337 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10340 2011-07-19 Andreas Schwab <schwab@redhat.com>
10342 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10344 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10346 * nscd/nscd.c (termination_handler): Don't do anything for a database
10347 if it has not yet been initialized.
10349 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10351 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10353 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10355 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10357 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10359 * po/nl.po: Update from translation team.
10360 * po/sv.po: Likewise.
10362 2011-07-16 Roland McGrath <roland@hack.frob.com>
10364 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10365 now disallowed by GCC.
10367 * configure.in (use-default-link): Default to yes if a test -shared
10368 link meets our qualifications.
10369 * configure: Regenerated.
10371 * config.make.in (output-format): New variable.
10372 * configure.in: Check for ld --print-output-format support.
10373 * configure: Regenerated.
10374 * Makerules ($(common-objpfx)format.lds)
10375 [$(output-format) != unknown]: Just use $(output-format),
10376 instead of the linker-script munging.
10378 2011-07-14 Roland McGrath <roland@hack.frob.com>
10380 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10381 of $(common-objpfx)shlib.lds.
10382 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10384 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10385 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10387 * configure.in (-z relro check): Adjust test code to add a large
10388 writable data section after it.
10389 * configure: Regenerated.
10391 2011-07-11 Roland McGrath <roland@hack.frob.com>
10393 * configure.in (-z relro check): Fix test code to make the variable
10395 * configure: Regenerated.
10397 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10399 * nscd/nscd.h (struct traced_file): Define.
10400 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10401 elements. Add traced_files.
10402 (inotify_fd): Declare.
10403 (register_traced_file): Declare.
10404 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10405 (inotify_fd): Export.
10406 (resolv_conf_descr): Remove.
10407 (nscd_init): Move inotify descriptor creation to main.
10408 Don't register files for notification here.
10409 (register_traced_file): New function.
10410 (invalidate_cache): Don't use reset_res to determine whether to call
10411 res_init, go through the list of registered files.
10412 (main_loop_poll): The inotify descriptors are now stored in the
10413 structures for the traced files.
10414 (main_loop_epoll): Likewise
10415 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10416 to __nss_disable_nscd.
10417 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10418 for a database anymore. Check the records for all the registered
10420 * nss/Makefile (libnss_files-routines): Add files-init.
10421 (libnss_db-routines): Add db-init.
10422 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10423 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10424 * nss/nss_db/db-init.c: New file.
10425 * nss/nss_files/files-init.c: New file.
10426 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10427 __nss_lookup_function.
10428 (__nss_lookup_function): Call nss_load_library.
10429 (nss_load_all_libraries): New function.
10430 (__nss_disable_nscd): Take parameter with callback function for files
10431 to register. Set is_nscd. Load all the DSOs for the NSS modules
10432 used for the cached services.
10433 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10434 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10435 options for features to all the files in nscd.
10437 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10439 2011-07-10 Roland McGrath <roland@hack.frob.com>
10441 * csu/elf-init.c (__libc_csu_init): Comment typo.
10443 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10445 * po/pl.po: Update from translation team.
10446 * po/ja.po: Likewise.
10447 * po/ru.po: Likewise.
10448 * po/ko.po: Likewise.
10449 * po/fr.po: Likewise.
10451 2011-07-09 Roland McGrath <roland@hack.frob.com>
10453 * configure.in (.ctors/.dtors header and trailer check):
10454 Use an empirical test on a built program.
10455 * configure: Regenerated.
10457 * configure.in (-z relro check): Use an empirical test on a built DSO.
10458 Detect, but do not require, on ia64.
10459 * configure: Regenerated.
10461 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10462 Update tests that use readelf to use $READELF instead.
10463 * configure: Regenerated.
10465 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10467 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10468 if the result is not used.
10470 2011-07-05 Andreas Jaeger <aj@suse.de>
10473 * stdlib/tst-strtod.c: Add testcase.
10475 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10477 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10478 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10479 The latter has a higher limit. Take additional parameter to pass to
10481 (__pathconf): Pass file to __statfs_link_max.
10482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10484 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10488 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10492 (__statfs_filesize_max): Likewise.
10493 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10495 2011-07-05 Andreas Jaeger <aj@suse.de>
10497 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10499 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10501 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10503 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10506 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10508 * Makefile (strop-tests): Add strncat.
10509 * string/test-strncat.c: New file.
10511 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10513 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10515 2011-06-21 Andreas Jaeger <aj@suse.de>
10517 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10518 Copy rule from iconvdata/Makefile.
10520 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10523 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10524 but no long options are defined, just return 'W'.
10526 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10529 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10531 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10533 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10535 (innetgr): Likewise.
10537 2011-07-05 Roland McGrath <roland@hack.frob.com>
10539 * config.make.in (install_root): Default to $(DESTDIR).
10541 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10545 2011-07-02 Roland McGrath <roland@hack.frob.com>
10547 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10549 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10550 containing directory rather than embedding absolute directory names.
10552 * scripts/check-local-headers.sh: Rewritten using awk.
10553 Match by word, not by line. Print error messages for matches.
10554 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10556 * Makerules [shlib-lds-flags empty]:
10557 ($(common-objpfx)libc_pic.opts): New target.
10558 ($(common-objpfx)libc_pic.os.clean): New target.
10559 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10561 * config.make.in (OBJCOPY): New variable.
10562 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10563 * configure: Regenerated.
10565 * config.make.in (use-default-link): New variable.
10566 * configure.in (use_default_link): Grok --with-default-link to set it.
10567 * configure: Regenerated.
10568 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10569 (shlib-lds, shlib-lds-flags): Define to empty.
10571 * Makerules (shlib-lds): New variable.
10572 (shlib-lds-flags): New variable.
10573 (build-shlib, build-moduile, build-module-asneeded): Use it.
10574 ($(common-objpfx)libc.so): Use $(shlib-lds).
10575 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10576 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10578 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10579 DT_FLAGS/DT_FLAGS_1 with zero flags.
10581 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10582 linker script munging.
10584 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10586 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10588 * crypt/sha512.c (sha512_process_block): Perform total addition using
10589 128-bit if possible.
10590 (__sha512_finish_ctx): Likewise.
10591 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10593 * crypt/sha256.c (SWAP64): Define.
10594 (sha256_process_block): Perform total addition using 64-bit if
10596 (__sha256_finish_ctx): Likewise.
10598 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10600 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10602 * nscd/hstcache.c (cache_addhst): Likewise.
10603 * nscd/grpcache.c (cache_addgr): Likewise.
10604 * nscd/aicache.c (addhstaiX): Likewise
10605 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10607 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10609 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10610 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10611 * nscd/hstcache.c (cache_addhst): Likewise.
10612 * nscd/grpcache.c (cache_addgr): Likewise.
10613 * nscd/aicache.c (addhstaiX): Likewise
10615 2011-07-01 Andreas Schwab <schwab@redhat.com>
10617 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10618 domain only when needed.
10620 2011-06-30 Andreas Schwab <schwab@redhat.com>
10622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10623 is always restored.
10625 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10627 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10628 are re-adding the entry.
10629 * nscd/servicescache.c (cache_addserv): Likewise.
10631 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10633 * sysdeps/generic/dl-irel.h: fix protection against multiple
10635 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10637 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10640 * malloc/memusage.sh: Fix quoting in message.
10641 * debug/xtrace.sh: Likewise.
10643 * configure.in: Remove support for --experimental-malloc option, make
10645 * config.make.in: Likewise.
10646 * malloc/Makefile: Likewise.
10648 2011-06-27 Andreas Schwab <schwab@redhat.com>
10650 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10651 two-byte characters.
10653 2011-06-27 Roland McGrath <roland@hack.frob.com>
10655 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10656 AC_CACHE_CHECK invocation.
10657 * configure: Regenerated.
10659 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10661 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10664 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10665 bit from old_res_options.
10667 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10669 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10670 value type for setfct.
10672 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10675 __gettimeofday instead of gettimeofday.
10677 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10679 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10681 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10683 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10688 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10691 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10692 strcpy-sse2-unaligned strncpy-sse2-unaligned
10693 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10694 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10695 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10696 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10697 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10700 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10701 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10702 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10703 (STRCPY): Support SSE2 and SSSE3 versions.
10705 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10709 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10710 kernels which artificially limit size of requests.
10712 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10715 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10716 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10717 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10718 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10719 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10720 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10721 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10724 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10725 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10726 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10727 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10728 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10730 Enable unaligned load optimization for Intel Core i3, i5 and i7
10732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10734 (index_Fast_Unaligned_Load): Define.
10735 (HAS_FAST_UNALIGNED_LOAD): Define.
10737 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10739 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10741 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10745 until it is clear that the information is realy needed.
10746 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10748 2011-06-22 Andreas Schwab <schwab@redhat.com>
10750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10752 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10755 /sys/devices/system/cpu/online if it is usable.
10757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10758 reading the information from the /proc filesystem to once a second.
10760 2011-06-21 Andreas Jaeger <aj@suse.de>
10762 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10763 NULL after inclusion of kernel headers.
10765 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10767 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10768 calls to internal_setent.
10771 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10772 addresses using gethostbyname4_r ignore IPv4 addresses.
10774 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10775 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10777 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10779 2011-06-20 David S. Miller <davem@davemloft.net>
10781 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10783 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10785 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10786 (elf_irel): Use it.
10787 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10788 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10789 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10790 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10791 * sysdeps/x86_64/dl-irel.h: Likewise.
10793 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10794 * elf/dl-sym.c: Likewise.
10796 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10798 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10799 need to dereference resplen2.
10801 2011-06-14 Andreas Schwab <schwab@redhat.com>
10803 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10805 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10807 * Makeconfig: Define vardbdir and inst_vardbdir.
10808 * nss/Makefile: Add rules to install db-Makefile.
10810 * nss/nss_db/db-XXX.c: Cleanup.
10812 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10813 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10815 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10816 * nss/makedb.c: Implement -g option to specify that value strings
10817 are generated and should not be added to table iterated over for
10819 * nss/nss_db/db-initgroups.c: New file.
10821 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10824 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10825 (internal_getgrouplist): Adjust to name change.
10826 Update use_initgroups_entry if this is not the first call.
10827 * nss/databases.def: Add initgroups entry.
10829 * nss/makedb.c (compute_tables): Check result of multiple hash table
10830 sizes to minimize maximum chain length.
10832 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10834 * Versions.def: Add entry for libnss_db.
10835 * shlib-versions: Likewise.
10836 * nss/Makefile: Add rules to build libnss_db.
10837 * nss/Versions: Add libnss_db information. Organize libnss_files
10839 * nss/db-Makefile: Add gshadow support. Change rules for the new
10840 makedb progra. Some minor improvements to generate smaller files.
10841 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10843 * nss/makedb.c: ...here.
10844 Improve database format to be smaller and require less memory at
10846 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10848 * nss/nss_db/db-netgrp.c: Likewise.
10849 * nss/nss_db/db-open.c: Likewise.
10850 * nss/nss_files/flies-XXX.x: Adjust comments.
10851 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10852 * nss/nss_files/files-grp.c: Likewise.
10853 * nss/nss_files/files-hosts.c: Likewise.
10854 * nss/nss_files/files-network.c: Likewise.
10855 * nss/nss_files/files-proto.c: Likewise.
10856 * nss/nss_files/files-pwd.c: Likewise.
10857 * nss/nss_files/files-rpc.c: Likewise.
10858 * nss/nss_files/files-service.c: Likewise.
10859 * nss/nss_files/files-sgrp.c: Likewise.
10860 * nss/nss_files/files-spwd.c: Likewise.
10861 * nss/nss_db/db-alias.c: Removed.
10862 * nss/nss_db/dummy-db.h: Removed.
10864 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10866 * nss/makedb.c: Rewritten to not use database library.
10867 * nss/Makefile: Update to build new makedb program.
10869 2011-06-14 Andreas Jaeger <aj@suse.de>
10871 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10872 memset declaration.
10874 2011-06-10 Andreas Schwab <schwab@redhat.com>
10876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10879 2011-06-10 Roland McGrath <roland@hack.frob.com>
10881 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10882 * elf/Makefile ($(objpfx)ld.so): Likewise.
10884 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10885 Don't list ld.so twice in dependencies.
10887 * posix/bug-regex31.c: Include <stdlib.h>.
10889 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10891 * nis/nss_compat/compat-spwd.c
10892 (getspent_next_nss_netgr): Remove unused variable.
10893 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10895 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10896 nonmembers" output to use the right array.
10898 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10900 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10902 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10903 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10904 * catgets/gencat.c (read_input_file): Likewise.
10905 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10907 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10908 variable definition inside #if's controlling its use.
10910 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10912 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10914 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10916 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10919 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10921 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10922 * configure: Regenerated.
10924 * Makerules: Revert last change.
10925 * elf/Makefile: Likewise.
10927 2011-06-09 Roland McGrath <roland@hack.frob.com>
10929 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10930 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10931 (reloc-link): Likewise.
10933 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10935 * elf/Makefile: Add rules to build pldd.
10936 * elf/pldd.c: New file.
10937 * elf/pldd-xx.c: New file.
10939 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10941 * version.h: Update for 2.15 development version.
10943 2011-06-07 David S. Miller <davem@davemloft.net>
10945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10948 elf_machine_lazy_rel): Likewise.
10949 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10951 elf_machine_lazy_rel): Likewise.
10952 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10953 dl_hwcap via passed in argument.
10954 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10957 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10959 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10961 2011-06-06 Roland McGrath <roland@hack.frob.com>
10964 * manual/fdl-1.1.texi: New file, verbatim from:
10965 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10966 * manual/lgpl-2.1.texi: New file, verbatim from:
10967 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10968 * manual/Makefile (licenses): New variable, list those new file names.
10970 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10972 * manual/fdl.texi: File removed.
10973 * manual/lesser.texi: File removed.
10974 * manual/libc.texinfo (Copying, Documentation License):
10975 Use new @include file names, put @appendix directive before @include.
10977 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10980 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10981 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10982 (mq_open): Add __NTH.
10984 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10987 Assume Intel Core i3/i5/i7 processor if AVX is available.
10989 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10994 2011-05-31 Andreas Schwab <schwab@redhat.com>
10996 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10997 memory. Use alloca_account. Fix memory leak when retrying.
10999 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11001 * version.h (RELEASE): Bump for 2.14 release.
11002 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11004 * config.make.in (RANLIB): Remove entry.
11006 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11008 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11009 (libc.pot): Work around missing support for .ksh extension in xgettext.
11012 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11013 if both request failed.
11014 (send_dg): In case of server errors clear resplen or *resplen2.
11017 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11018 when there are multiple maps.
11019 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11020 (_dl_fini): Remove test here.
11022 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11024 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11027 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11028 bit from old_res_options.
11029 (gaih_inet): Likewise.
11032 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11035 * resolv/res_init.c (res_setoptions): Make the code more compact.
11038 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11042 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11044 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11047 * malloc/malloc.h: Declare malloc hook variables as volatile.
11049 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11053 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11054 raise in the comment.
11055 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11057 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11059 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11062 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11063 grow the buffers more if it already has to be sufficient.
11064 (build_wcs_upper_buffer): Likewise.
11065 * posix/regexec.c (check_matching): Likewise.
11066 (clean_state_log_if_needed): Likewise.
11067 (extend_buffers): Don't enlarge buffers beyond size of the input
11069 Patches mostly by Emil Wojak <emil@wojak.eu>.
11070 * posix/bug-regex32.c: New file.
11071 * posix/Makefile (tests): Add bug-regex32.
11073 * locale/findlocale.c (_nl_find_locale): Return right away if
11074 _nl_explode_name failed.
11075 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11077 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11079 * debug/xtrace.sh: Unify messages.
11080 * malloc/memusage.sh: Likewise.
11083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11084 time symbol from vDSO. Substitute with vsyscall if not available.
11085 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11088 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11089 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11090 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11091 Add sendmmsg and internal_sendmmsg.
11092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11094 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11096 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11097 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11100 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11104 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11110 * iconvdata/Makefile (tests): Add bug-iconv9.
11111 * iconvdata/bug-iconv9.c: New file.
11113 2011-05-27 Andreas Schwab <schwab@redhat.com>
11116 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11118 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11121 (struct user_regs_struct): Change intcs field back to cs.
11123 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11125 * po/ja.po: Update from translation team.
11127 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11130 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11133 2011-05-20 Andreas Schwab <schwab@redhat.com>
11135 * stdlib/longlong.h: Update from GCC.
11137 2011-05-23 Andreas Schwab <schwab@redhat.com>
11139 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11141 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11142 Add parameter name.
11143 (__sysconf): Pass it down.
11145 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11148 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11151 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11152 add in in __libc_use_alloca calls. Adjust callers.
11153 (glob): Use malloc in some situations.
11155 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11156 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11159 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11161 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11162 and CLOCK_BOOTTIME_ALARM.
11165 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11168 * string/_strerror.c (__strerror_r): Print negative errors as signed
11172 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11173 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11174 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11176 * configure.in: Fix typo in redirection and correct removal of test
11177 files in two cases.
11180 * locale/setlocale.c (new_composite_name): Fix test to check for
11181 identical name of all categories.
11184 * libio/filedoalloc.c (local_isatty): New function.
11185 (_IO_file_doallocate): Use local_isatty.
11186 * stdio-common/perror.c (perror): In case a new stream is used
11187 forward the stream error.
11188 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11191 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11196 * include/alloca.h (extend_alloca_account): Define.
11199 * posix/regex.h: Fix comments with documentation of user-accessible
11200 fields after compilation and describe correct free'ing of pattern
11201 after re_compile_pattern.
11202 Patch by Reuben Thomas <rrt@sc3d.org>.
11204 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11206 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11207 and -mno-altivec to prevent the compiler from using Altivec and/or
11208 VSX instructions when the corresponding registers are not available.
11210 2011-05-19 Andreas Schwab <schwab@redhat.com>
11212 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11214 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11216 * libio/freopen.c (freopen): Use __dup2, not dup2.
11217 * libio/freopen64.c (freopen64): Likewise.
11219 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11222 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11223 * math/Makefile (tests): Add test-powl.
11224 (CFLAGS-test-powl.c): Define.
11225 * math/test-powl.c: New file.
11227 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11229 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11231 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11234 * iconvdata/gb18030.c: Update to GB18020-2005.
11236 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11238 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11239 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11240 Patch by Aharon Robbins <arnold@skeeve.com>.
11243 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11247 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11248 through underflows.
11251 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11252 point to strings before performing equality test for error_one_per_line
11256 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11260 (struct user_fpregs_struct): Avoid __uint*_t types.
11263 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11264 symbol info. Use it instead of calling _dl_addr locally.
11265 (lock_and_info): New function.
11266 (tr_freehook): Call lock_and_info and pass symbol info as additional
11267 parameter to tr_where.
11268 (tr_mallochook): Likewise.
11269 (tr_reallochook): Likewise.
11270 (tr_memalignhook): Likewise.
11272 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11273 used and couldn't be at all thread-safe.
11275 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11277 * libio/freopen.c (freopen): Don't close old file descriptor
11278 before the new one is opened. Instead dup the new file descriptor
11279 to the old one after the new stream is created.
11280 * libio/freopen64.c (freopen64): Likewise.
11281 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11282 * libio/fileops.c (_IO_new_file_close_it): Handle new
11283 _IO_FLAGS2_NOCLOSE flag.
11284 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11285 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11286 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11287 _IO_FLAGS2_NOCLOSE flag.
11288 * include/unistd.h: Add hidden_proto for dup3.
11289 Define __have_dup3.
11290 * io/dup3.c: Define hidden symbol.
11291 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11294 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11295 when an incomplete long option is used.
11296 * posix/tst-getopt_long1.c: New file.
11297 * posix/Makefile (tests): Add tst-getopt_long1.
11300 * scripts/config.guess: Update from autoconf-2.68.
11301 * scripts/config.sub: Likewise.
11304 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11306 (has_cpuclock): ...this. New function.
11307 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11308 macro here based on has_cpuclock code.
11311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11312 First byte (not low byte) is now always NUL.
11313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11316 Use non-cancelable interfaces.
11319 * locale/iso-639.def: Add entry for Sorani.
11322 * include/stdlib.h: Move include protection to the right place.
11323 Define abort_msg_s. Declare __abort_msg with it.
11324 * stdlib/abort.c (__abort_msg): Adjust type.
11325 * assert/assert.c (__assert_fail_base): New function. Majority
11326 of code from __assert_fail. Allocate memory for __abort_msg with
11328 (__assert_fail): Now call __assert_fail_base.
11329 * assert/assert-perr.c: Remove bulk of implementation. Use
11330 __assert_fail_base.
11331 * include/assert.hL Declare __assert_fail_base.
11332 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11334 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11336 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11340 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11341 until all modules are registered in the DTV.
11342 * elf/Makefile: Add rules to build and run tst-tls19.
11343 * elf/tst-tls19.c: New file.
11344 * elf/tst-tls19mod1.c: New file.
11345 * elf/tst-tls19mod2.c: New file.
11346 * elf/tst-tls19mod3.c: New file.
11347 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11350 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11354 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11355 two-byte sequence errors.
11356 * iconvdata/Makefile (tests): Add bug-iconv8.
11357 * iconvdata/bug-iconv8.c: New file.
11360 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11363 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11366 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11367 (dummy_getcfa): New function.
11368 (init): Get _Unwind_GetCFA address, use dummy if not found.
11369 (backtrace_helper): In recursion check, also check whether CFA changes.
11370 (__backtrace): Completely initialize arg.
11372 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11373 storing incomplete byte sequence in state object. Avoid testing for
11374 guaranteed too small input if we know there is enough data available.
11376 2011-05-11 Andreas Schwab <schwab@redhat.com>
11378 * Makeconfig (+link-pie): Indent.
11379 * Rules (binaries-pie): Define if $(have-fpie) and
11381 (binaries-shared): Also filter out $(binaries-pie).
11382 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11383 * nscd/Makefile (others-pie): Add nscd.
11384 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11385 ($(objpfx)nscd): Remove command override.
11386 * login/Makefile (others-pie): Add pt_chown.
11387 ($(objpfx)pt_chown): Remove command override.
11388 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11389 remove command overrides.
11391 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11393 * libio/tst_putwc.c: Fix error messages.
11396 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11397 currently writing and seek to current position when not.
11398 * libio/Makefile (tests): Add bug-fclose1.
11399 * libio/bug-fclose1.c: New file.
11401 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11404 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11405 don't set DF_1_NODELETE here.
11406 (do_lookup_x): When entering new entry test for copy relocation
11407 and if necessary set DF_1_NODELETE flag.
11408 * elf/tst-unique4.cc: New file.
11409 * elf/tst-unique4.h: New file.
11410 * elf/tst-unique4lib.cc: New file.
11411 * elf/Makefile: Add rules to build and run tst-unique4.
11412 Patch by Piotr Bury <pbury@goahead.com>.
11414 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11417 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11420 * misc/mntent_r.c (addmntent): Flush the stream after the output
11423 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11424 (is_trusted_path_normalize): Skip initial colon. Append slash
11425 to empty buffer. Duplicate is_trusted_path code but allow
11426 constructed patch to be prefix.
11427 (is_dst): Allow $ORIGIN followed by /.
11428 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11429 Correct testing of result of is_trusted_path_normalize
11430 (decompose_rpath): Fix warning.
11432 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11435 * grp/initgroups.c (internal_getgrouplist): When we found the service
11436 list through the initgroups entry in nsswitch.conf do not always
11437 continue on a successful lookup. Don't always use the
11438 __nss_group_database value if it is set.
11439 * nss/nsswitch.conf (initgroups): Change action for successful db
11440 lookup to continue for compatibility.
11442 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11445 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11447 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11449 * iconvdata/tst-tables.sh: Likewise.
11450 * iconvdata/cp770.c: New file.
11451 * iconvdata/cp771.c: New file.
11452 * iconvdata/cp772.c: New file.
11453 * iconvdata/cp773.c: New file.
11454 * iconvdata/cp774.c: New file.
11455 * iconvdata/testdata/CP770: New file.
11456 * iconvdata/testdata/CP770..UTF8: New file.
11457 * iconvdata/testdata/CP771: New file.
11458 * iconvdata/testdata/CP771..UTF8: New file.
11459 * iconvdata/testdata/CP772: New file.
11460 * iconvdata/testdata/CP772..UTF8: New file.
11461 * iconvdata/testdata/CP773: New file.
11462 * iconvdata/testdata/CP773..UTF8: New file.
11463 * iconvdata/testdata/CP774: New file.
11464 * iconvdata/testdata/CP774..UTF8: New file.
11466 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11468 * iconvdata/gen-8bit-gap.sh: Likewise.
11469 * iconvdata/gen-8bit.sh: Likewise.
11471 * locale/iso-639.def: Add ary entry.
11474 * locale/C-translit.h.in: Add U20A1 transliteration.
11477 * locale/iso-639.def: Add wae entry.
11478 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11481 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11485 * locale/C-translit.h.in: Add entry for U20B9.
11486 Patch by pravin.d.s@gmail.com.
11488 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11491 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11492 ENAMETOOLONG use generic getcwd.
11493 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11494 in rtld. Use *stat64.
11495 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11496 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11497 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11498 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11499 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11500 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11501 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11502 __fstatat64 macros.
11503 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11504 * dirent/rewinddir.c: Add libc_hidden_def.
11505 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11506 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11508 * include/dirent.h (__alloc_dir): Add flags parameter.
11509 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11510 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11512 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11513 from fdopendir if O_CLOEXEC is already set.
11515 2011-03-15 Alan Modra <amodra@gmail.com>
11517 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11518 l_tls_firstbyte_offset non-zero. Save padding offset in
11519 l_tls_firstbyte_offset for later use.
11520 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11521 freeing static tls block.
11523 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11525 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11526 where #ifdef was intended. The intent is to prevent ARG_MAX from
11527 being defined by the kernel headers.
11529 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11532 * resolv/resolv.h: Define RES_NOTLDQUERY.
11533 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11534 no-tld-query and set RES_NOTLDQUERY.
11535 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11536 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11537 modern BIND to search name as TLD unless forbidden.
11539 2011-05-07 Petr Baudis <pasky@suse.cz>
11540 Ulrich Drepper <drepper@gmail.com>
11543 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11544 (is_trusted_path): ...to here.
11545 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11546 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11547 using is_trusted_path_normalize() in setuid scripts.
11549 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11551 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11552 __BEGIN/__END_DECLS.
11554 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11557 NSS_STATUS_NOTFOUND if no record was found.
11559 2011-05-05 Andreas Schwab <schwab@redhat.com>
11561 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11562 (headers-not-in-tirpc): Remove rpc/netdb.h
11563 * resolv/netdb.h: Revert last change.
11565 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11567 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11568 circular dependency between libgcc.a and libc.a.
11570 2011-05-05 Andreas Schwab <schwab@redhat.com>
11572 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11573 * nis/Makefile: Don't install rpcsvc/*.
11574 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11575 instead of <rpc/types.h>.
11576 (MAXHOSTNAMELEN): Define.
11578 2011-05-03 Andreas Schwab <schwab@redhat.com>
11580 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11582 2011-04-28 Maciej Babinski <mbabinski@google.com>
11585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11586 gethostbyname4_r when IPv6 results are possible.
11588 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11591 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11592 _PC_PIPE_BUF handling.
11594 2011-04-30 Bruno Haible <bruno@clisp.org>
11597 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11598 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11600 * inet/getnameinfo.c (getnameinfo): Likewise.
11602 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11604 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11605 to groups setting in database lookup.
11606 * nss/nsswitch.conf: Add initgroups entry.
11608 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11611 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11613 Patch by Eric Blake <eblake@redhat.com>.
11615 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11617 * sunrpc/Makefile (need-export-routines): Add svc_run.
11618 (routines): Remove svc_run.
11619 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11620 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11621 * sunrpc/svc_run.c (svc_run): Likewise.
11622 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11624 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11627 problem in reallocation in last patch.
11629 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11631 * sunrpc/Makefile: Move inclusion of Rules.
11633 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11635 * nss/nss_files/files-initgroups.c: New file.
11636 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11637 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11638 _nss_files_initgroups_dyn.
11640 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11642 * elf/elf.h (R_ARM_IRELATIVE): Define.
11644 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11646 * po/ru.po: Update from translation team.
11648 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11650 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11653 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11657 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11662 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11664 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11666 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11668 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11670 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11673 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11675 * stdlib/bug-getcontext.c: New file.
11676 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11678 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11680 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11681 instructions into .machine "z9-109".
11682 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11683 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11685 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11687 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11688 between environment variables and auxiliary vector.
11690 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11692 * Makefile: Add rules to build linkobj/libc.so.
11693 * include/libc-symbols.h: Define libc_hidden_nolink.
11694 * include/rpc/auth.h: Mark functions which are to be hidden.
11695 * include/rpc/auth_des.h: Likewise.
11696 * include/rpc/auth_unix.h: Likewise.
11697 * include/rpc/clnt.h: Likewise.
11698 * include/rpc/des_crypt.h: Likewise.
11699 * include/rpc/key_prot.h: Likewise.
11700 * include/rpc/pmap_clnt.h: Likewise.
11701 * include/rpc/pmap_prot.h: Likewise.
11702 * include/rpc/pmap_rmt.h: Likewise.
11703 * include/rpc/rpc_msg.h: Likewise.
11704 * include/rpc/svc.h: Likewise.
11705 * include/rpc/svc_auth.h: Likewise.
11706 * include/rpc/xdr.h: Likewise.
11707 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11708 * nss/Makefile: Likewise.
11709 * sunrpc/Makefile: Don't install headers. Build library with normal
11710 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11711 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11712 for the compat linking library. Remove use of INTDEF/INTUSE.
11713 * sunrpc/auth_none.c: Likewise.
11714 * sunrpc/auth_unix.c: Likewise.
11715 * sunrpc/authdes_prot.c: Likewise.
11716 * sunrpc/authuxprot.c: Likewise.
11717 * sunrpc/clnt_gen.c: Likewise.
11718 * sunrpc/clnt_perr.c: Likewise.
11719 * sunrpc/clnt_raw.c: Likewise.
11720 * sunrpc/clnt_simp.c: Likewise.
11721 * sunrpc/clnt_tcp.c: Likewise.
11722 * sunrpc/clnt_udp.c: Likewise.
11723 * sunrpc/clnt_unix.c: Likewise.
11724 * sunrpc/des_crypt.c: Likewise.
11725 * sunrpc/des_soft.c: Likewise.
11726 * sunrpc/get_myaddr.c: Likewise.
11727 * sunrpc/key_call.c: Likewise.
11728 * sunrpc/key_prot.c: Likewise.
11729 * sunrpc/netname.c: Likewise.
11730 * sunrpc/pm_getmaps.c: Likewise.
11731 * sunrpc/pm_getport.c: Likewise.
11732 * sunrpc/pmap_clnt.c: Likewise.
11733 * sunrpc/pmap_prot.c: Likewise.
11734 * sunrpc/pmap_prot2.c: Likewise.
11735 * sunrpc/pmap_rmt.c: Likewise.
11736 * sunrpc/publickey.c: Likewise.
11737 * sunrpc/rpc_cmsg.c: Likewise.
11738 * sunrpc/rpc_common.c: Likewise.
11739 * sunrpc/rpc_dtable.c: Likewise.
11740 * sunrpc/rpc_prot.c: Likewise.
11741 * sunrpc/rpc_thread.c: Likewise.
11742 * sunrpc/rtime.c: Likewise.
11743 * sunrpc/svc.c: Likewise.
11744 * sunrpc/svc_auth.c: Likewise.
11745 * sunrpc/svc_authux.c: Likewise.
11746 * sunrpc/svc_raw.c: Likewise.
11747 * sunrpc/svc_run.c: Likewise.
11748 * sunrpc/svc_simple.c: Likewise.
11749 * sunrpc/svc_tcp.c: Likewise.
11750 * sunrpc/svc_udp.c: Likewise.
11751 * sunrpc/svc_unix.c: Likewise.
11752 * sunrpc/svcauth_des.c: Likewise.
11753 * sunrpc/xcrypt.c: Likewise.
11754 * sunrpc/xdr.c: Likewise.
11755 * sunrpc/xdr_array.c: Likewise.
11756 * sunrpc/xdr_float.c: Likewise.
11757 * sunrpc/xdr_intXX_t.c: Likewise.
11758 * sunrpc/xdr_mem.c: Likewise.
11759 * sunrpc/xdr_rec.c: Likewise.
11760 * sunrpc/xdr_ref.c: Likewise.
11761 * sunrpc/xdr_sizeof.c: Likewise.
11762 * sunrpc/xdr_stdio.c: Likewise.
11764 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11767 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11768 * sysdeps/ia64/dl-tls.h: Likewise.
11769 * sysdeps/powerpc/dl-tls.h: Likewise.
11770 * sysdeps/s390/dl-tls.h: Likewise.
11771 * sysdeps/sh/dl-tls.h: Likewise.
11772 * sysdeps/sparc/dl-tls.h: Likewise.
11773 * sysdeps/x86_64/dl-tls.h: Likewise.
11774 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11776 2011-03-14 Andreas Schwab <schwab@redhat.com>
11778 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11779 rpath element also skip the following colon.
11780 (expand_dynamic_string_token): Add is_path parameter and pass
11781 down to DL_DST_REQUIRED and _dl_dst_substitute.
11782 (decompose_rpath): Call expand_dynamic_string_token with
11783 non-zero is_path. Ignore empty rpaths.
11784 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11787 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11792 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11795 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11796 Patch by Filipe David Manana <fdmanana@apache.org>.
11798 2011-04-07 Andreas Schwab <schwab@redhat.com>
11800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11801 Maintain aligned stack.
11802 (CHECK_RSP): Remove unused macro.
11804 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11806 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11807 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11809 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11811 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11813 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11815 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11818 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11819 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11820 * sysdeps/x86_64/memmove.c: New file.
11821 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11822 (memcpy): Renamed to ...
11823 (__new_memcpy): This.
11824 (memcpy): Provide GLIBC_2_14 memcpy.
11825 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11826 (memcpy): Provide GLIBC_2_2_5 memcpy.
11828 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11831 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11833 2011-03-30 Andreas Schwab <schwab@redhat.com>
11835 * misc/syncfs.c: New file.
11836 * misc/Makefile (routines): Add syncfs.
11837 * posix/unistd.h: Declare syncfs.
11838 * sysdeps/unix/syscalls.list: Add syncfs.
11840 2011-04-01 Andreas Schwab <schwab@redhat.com>
11842 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11844 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11845 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11849 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11852 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11862 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11863 sync_file_range.c with -fexceptions.
11864 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11865 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11866 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11867 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11868 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11869 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11871 sync_file_range as cancellation point
11872 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11873 now a wrapper around __call_sync_file_range with cancellation handling.
11874 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11875 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11876 function name to __call_sync_file_range.
11877 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11878 Add call_sync_file_range.
11880 2011-04-01 Andreas Schwab <schwab@redhat.com>
11882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11885 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11887 * iconv/iconv.h: Fix typo in comment.
11888 * io/fcntl.h: Likewise.
11889 * libio/stdio.h: Likewise.
11890 * posix/spawn.h: Likewise.
11891 * posix/unistd.h: Likewise.
11892 * stdlib/stdlib.h: Likewise.
11893 * time/time.h: Likewise.
11894 * wcsmbs/wchar.h: Likewise.
11896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11897 open_by_handle): Add.
11898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11899 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11900 Augment a few comments.
11901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11906 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11909 * io/fcntl.h (AT_EMPTY_PATH): Define.
11911 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11913 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11914 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11915 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11917 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11918 * Versions.def: Add GLIBC_2.14.
11919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11922 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11924 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11926 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11928 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11931 * string/test-strncmp.c (do_page_test): New function.
11932 (check2): Likewise.
11933 (test_main): Call check2.
11934 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11936 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11940 Handle cache information in CPU leaf 4.
11941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11943 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11946 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11947 character representation.
11948 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11950 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11953 END(__isnan) to END(__isnanf) to match function entry point/label
11954 EALIGN(__isnanf,...).
11956 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11958 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11960 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11963 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11964 copy from the symbol referenced in the relocation to initialize the
11966 Patch by Piotr Bury <pbury@goahead.com>.
11967 * elf/Makefile: Add rules to build and tst-unique3.
11968 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11969 * elf/tst-unique3.cc: New file.
11970 * elf/tst-unique3.h: New file.
11971 * elf/tst-unique3lib.cc: New file.
11972 * elf/tst-unique3lib2.cc: New file.
11974 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11976 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11978 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11979 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11982 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11984 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11985 to-be-loaded object along a path to loader is ld.so.
11987 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11988 Ulrich Drepper <drepper@gmail.com>
11990 * sysdeps/x86_64/memset.S: After aligning destination, code
11991 branches to different locations depending on the value of
11992 misalignment, when multiarch is enabled. Fix this.
11994 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11996 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11997 Set _x86_64_preferred_memory_instruction for AMD processsors.
11998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11999 Set bit_Prefer_SSE_for_memop for AMD processors.
12001 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12003 * libio/fmemopen.c (fmemopen): Optimize a bit.
12005 2011-03-03 Andreas Schwab <schwab@redhat.com>
12007 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12009 2011-03-03 Roland McGrath <roland@redhat.com>
12011 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12013 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12015 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12016 __bzero_ultra1 instead of __memset_ultra1.
12018 2011-02-23 Andreas Schwab <schwab@redhat.com>
12019 Ulrich Drepper <drepper@gmail.com>
12022 * include/link.h (struct link_map): Add l_orig_initfini.
12023 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12024 returning unsuccessfully.
12025 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12026 close of a file loaded at startup, restore the original l_initfini
12028 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12029 list, store the pointer.
12030 * elf/Makefile ($(objpfx)noload-mem): New rule.
12031 (noload-ENV): Define.
12032 (tests): Add $(objpfx)noload-mem.
12033 * elf/noload.c: Include <memcheck.h>.
12034 (main): Call mtrace. Close all opened handles.
12036 2011-02-17 Andreas Schwab <schwab@redhat.com>
12039 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12040 dependencies are missing.
12042 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12044 Fix __if_freereq crash: Unlike the generic version which uses free,
12046 * sysdeps/mach/hurd/ifreq.h: New file.
12048 2011-01-27 Petr Baudis <pasky@suse.cz>
12049 Ulrich Drepper <drepper@gmail.com>
12052 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12053 to extend_alloca().
12054 * stdio-common/bug23.c: New file.
12055 * stdio-common/Makefile (tests): Add bug23.
12057 2010-09-28 Andreas Schwab <schwab@redhat.com>
12058 Ulrich Drepper <drepper@gmail.com>
12061 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12062 before performing relro protection. At old place add assertion
12063 to make sure nothing changed.
12065 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12066 Glauber de Oliveira Costa <glommer@gmail.com>
12068 * elf/elf.h: Add new ARM TLS relocs.
12070 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12073 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12075 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12077 * sysdeps/wordsize-64/tst-writev.c: New file.
12079 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12081 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12082 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12083 insns in _dl_start to prevent a TOC reference before relocs are
12086 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12089 * Makeconfig: Remove RANLIB definition.
12090 * Makerules: Don't use RANLIB.
12091 * aclocal.m4: Remove ranlib test.
12092 * configure.in: No need to check for ranlib.
12093 * elf/rtld-Rules: Don't use RANLIB.
12095 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12097 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12099 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12100 inclusion protection macro.
12102 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12103 SIGRTMIN and SIGRTMAX and print information in that case only when
12104 SIGRTMIN is defined.
12106 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12108 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12109 arginfo fn returning -1.
12111 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12112 and thousands string is zero terminated.
12114 2011-02-03 Andreas Schwab <schwab@redhat.com>
12116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12117 sysdeps/unix/sysv/linux/bits/socket.h.
12119 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12121 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12122 (__CPU_COUNT): Remove old macros.
12123 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12124 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12125 (__CPU_ALLOC, __CPU_FREE): Add macros.
12126 (__sched_cpualloc, __sched_cpufree): Add declarations.
12128 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12130 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12131 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12132 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12133 (readdhstai): Return value of addhstaiX call.
12134 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12135 (addgrbyX): Return value returned by cache_addgr.
12136 (readdgrbyname): Return value returned by addgrbyX.
12137 (readdgrbygid): Likewise.
12138 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12139 (addpwbyX): Return value returned by cache_addpw.
12140 (readdpwbyname): Return value returned by addhstbyX.
12141 (readdpwbyuid): Likewise.
12142 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12143 (addservbyX): Return value returned by cache_addserv.
12144 (readdservbyname): Return value returned by addservbyX:
12145 (readdservbyport): Likewise.
12146 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12147 (addhstbyX): Return value returned by cache_addhst.
12148 (readdhstbyname): Return value returned by addhstbyX.
12149 (readdhstbyaddr): Likewise.
12150 (readdhstbynamev6): Likewise.
12151 (readdhstbyaddrv6): Likewise.
12152 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12153 (readdinitgroups): Return value returned by addinitgroupsX.
12154 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12155 (prune_cache): Keep track of timeout value of re-added entries.
12156 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12157 * nscd/nscd.h: Adjust prototypes of readd* functions.
12159 2011-02-04 Roland McGrath <roland@redhat.com>
12161 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12162 (nis_stats): Likewise.
12163 * nis/nis_modify.c (nis_modify): Likewise.
12164 * nis/nis_remove.c (nis_remove): Likewise.
12165 * nis/nis_add.c (nis_add): Likewise.
12167 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12169 * posix/fnmatch_loop.c: Add some consts.
12171 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12173 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12176 * config.make.in (config-cflags-novzeroupper): Define.
12177 * configure.in: Substitute libc_cv_cc_novzeroupper.
12178 * elf/Makefile (AVX-CFLAGS): Define.
12179 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12180 (CFLAGS-tst-auditmod4a.c): Likewise.
12181 (CFLAGS-tst-auditmod4b.c): Likewise.
12182 (CFLAGS-tst-auditmod6b.c): Likewise.
12183 (CFLAGS-tst-auditmod6c.c): Likewise.
12184 (CFLAGS-tst-auditmod7b.c): Likewise.
12185 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12187 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12189 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12190 function to the callback.
12191 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12193 2011-02-02 Andreas Schwab <schwab@redhat.com>
12195 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12198 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12201 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12203 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12205 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12208 * elf/Makefile: Add rules to build and run new test.
12209 * elf/tst-initorder.c: New file.
12210 * elf/tst-initorder.exp: New file.
12211 * elf/tst-initordera1.c: New file.
12212 * elf/tst-initordera2.c: New file.
12213 * elf/tst-initordera3.c: New file.
12214 * elf/tst-initordera4.c: New file.
12215 * elf/tst-initorderb1.c: New file.
12216 * elf/tst-initorderb2.c: New file.
12217 * elf/tst-order-a1.c: New file.
12218 * elf/tst-order-a2.c: New file.
12219 * elf/tst-order-a3.c: New file.
12220 * elf/tst-order-a4.c: New file.
12221 * elf/tst-order-b1.c: New file.
12222 * elf/tst-order-b2.c: New file.
12223 * elf/tst-order-main.c: New file.
12224 New test case by George Gensure <werkt0@gmail.com>.
12226 2010-10-01 Andreas Schwab <schwab@redhat.com>
12228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12229 decoding ACE if AI_CANONIDN.
12231 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12233 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12235 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12237 * version.h (RELEASE): Bump for 2.13 release.
12238 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12240 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12244 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12247 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12249 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12251 * posix/getconf.c: Update copyright year.
12252 * catgets/gencat.c: Likewise.
12253 * csu/version.c: Likewise.
12254 * debug/catchsegv.sh: Likewise.
12255 * debug/xtrace.sh: Likewise.
12256 * elf/ldconfig.c: Likewise.
12257 * elf/ldd.bash.in: Likewise.
12258 * elf/sprof.c (print_version): Likewise.
12259 * iconv/iconv_prog.c: Likewise.
12260 * iconv/iconvconfig.c: Likewise.
12261 * locale/programs/locale.c: Likewise.
12262 * locale/programs/localedef.c: Likewise.
12263 * malloc/memusage.sh: Likewise.
12264 * malloc/mtrace.pl: Likewise.
12265 * nscd/nscd.c (print_version): Likewise.
12266 * nss/getent.c: Likewise.
12268 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12269 PF_CAIF, and PF_ALG.
12270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12272 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12274 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12275 (modules-names): Use them.
12276 (ifunc-test-modules, ifunc-pie-tests): Define.
12277 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12278 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12279 (test-extras): Likewise.
12280 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12281 $(compile-command.c).
12282 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12283 (all-built-dso): Define.
12284 (check-textrel.out, check-execstack.out): Depend on it.
12286 * configure.in: Don't override --enable-multi-arch.
12288 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12291 * nscd/hstcache.c (tryagain): Define.
12292 (cache_addhst): Return tryagain not notfound for temporary errors.
12293 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12296 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12300 to make the syscall.
12301 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12304 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12305 and fall back to matching as normal character if the string ends before
12306 the matching ']' is found. This is what POSIX requires.
12307 * posix/testfnm.c: Adjust test result.
12308 * posix/globtest.sh: Adjust test result. Add new test.
12309 * posix/tst-fnmatch.input: Likewise.
12310 * posix/tst-fnmatch2.c: Add new test.
12312 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12314 * elf/Makefile (check-execstack): Revert last change. Depend on
12316 (check-execstack.h): New target.
12317 (generated): Add check-execstack.h.
12318 * elf/check-execstack.c: Include "check-execstack.h".
12319 (main): Revert last change.
12320 (handle_file): Return zero if GNU_STACK is absent and
12321 DEFAULT_STACK_PERMS doesn't include PF_X.
12323 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12325 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12326 in child fails because the descriptor is already closed.
12327 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12328 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12332 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12336 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12337 temporary buffer used to handle multi lookups locally.
12338 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12340 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12342 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12345 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12347 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12348 alignment for SSE2.
12350 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12353 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12354 characters. When rounding increased number of integer digits recompute
12356 * stdio-common/tst-grouping.c: New file.
12357 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12359 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12361 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12362 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12364 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12366 * bits/select.h: Likewise.
12368 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12370 * po/ja.po: Update from translation team.
12372 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12375 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12376 implementation just like for lxstat, fxstatat, et al.
12378 2010-12-27 Jim Meyering <meyering@redhat.com>
12381 * posix/regexec.c (build_trtable): Return failure indication upon
12382 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12384 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12387 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12388 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12393 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12396 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12397 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12399 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12401 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12402 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12403 script has SORT_BY_INIT_PRIORITY.
12404 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12405 NO_CTORS_DTORS_SECTIONS is defined.
12406 * elf/soinit.c: Likewise.
12407 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12408 NO_CTORS_DTORS_SECTIONS is defined.
12409 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12410 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12411 * sysdeps/sh/init-first.c: Likewise.
12412 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12414 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12416 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12417 always use the slow path.
12419 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12421 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12422 similar rule which adds the sysdep directories to the header search in
12423 order to pick up the correct platform stackinfo.h.
12424 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12425 perform test if it is, otherwise return successfully without testing.
12426 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12427 DEFAULT_STACK_PERMS define in stackinfo.h.
12428 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12429 defined in stackinfo.h.
12430 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12431 DEFAULT_STACK_PERMS defined in stackinfo.h.
12432 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12433 * sysdeps/ia64/stackinfo.h: Likewise.
12434 * sysdeps/s390/stackinfo.h: Likewise.
12435 * sysdeps/sh/stackinfo.h: Likewise.
12436 * sysdeps/sparc/stackinfo.h: Likewise.
12437 * sysdeps/x86_64/stackinfo.h: Likewise.
12438 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12439 PF_X for powerpc64. Retain PF_X for powerpc32.
12441 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12443 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12445 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12446 GETDENTS_64BIT_ALIGNED.
12448 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12450 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12452 2010-12-10 Andreas Schwab <schwab@redhat.com>
12454 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12458 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12460 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12461 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12463 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12466 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12469 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12471 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12473 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12475 * po/it.po: Update from translation team.
12477 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12482 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12484 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12486 2010-11-24 Andreas Schwab <schwab@redhat.com>
12488 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12490 (gaih_getanswer_slice): Likewise.
12492 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12496 2010-05-31 Petr Baudis <pasky@suse.cz>
12499 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12500 silently even in the chroot mode.
12502 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12504 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12505 last patch a bit. Pretty printing
12507 2010-05-31 Petr Baudis <pasky@suse.cz>
12510 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12511 initialization of skip_initgroups_dyn.
12513 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12518 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12520 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12522 2010-11-11 Andreas Schwab <schwab@redhat.com>
12524 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12525 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12526 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12527 ($(objpfx)tst-fnmatch-mem): New rule.
12528 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12529 * posix/tst-fnmatch.c (main): Call mtrace.
12531 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12534 Support Intel processor model 6 and model 0x2c.
12536 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12541 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12544 * string/test-strncasecmp.c (check_result): New function.
12545 (do_one_test): Use it.
12546 (check1): New function.
12547 (test_main): Use it.
12548 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12549 Support strcasecmp and strncasecmp.
12551 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12554 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12557 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12559 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12563 * sysdeps/x86_64/multiarch/bzero.S: New file.
12564 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12565 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12566 * sysdeps/x86_64/multiarch/memset.S: New file.
12567 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12569 Set bit_Prefer_SSE_for_memop for Intel processors.
12570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12572 (index_Prefer_SSE_for_memop): Define.
12573 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12575 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12577 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12578 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12580 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12583 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12584 (__x86_64_raw_data_cache_size_half): Likewise.
12585 (__x86_64_raw_shared_cache_size): Likewise.
12586 (__x86_64_raw_shared_cache_size_half): Likewise.
12588 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12589 (__x86_64_raw_data_cache_size_half): Likewise.
12590 (__x86_64_raw_shared_cache_size): Likewise.
12591 (__x86_64_raw_shared_cache_size_half): Likewise.
12592 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12593 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12594 and __x86_64_raw_shared_cache_size_half. Round
12595 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12596 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12597 to multiple of 256 bytes.
12599 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12603 of inacessible symlinks. Verify result of symlink before returning it.
12604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12605 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12607 2010-10-28 Erich Ritz <erichritz@gmail.com>
12609 * math/math.h (isinf): Fix typo in comment.
12611 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12613 * po/da.po: Update from translation team.
12615 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12617 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12618 is added to the list.
12620 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12621 Ulrich Drepper <drepper@gmail.com>
12623 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12624 the global list here. Move code to...
12625 (_dl_add_to_namespace_list): ...here. New function.
12626 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12627 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12628 * elf/dl-load.c (lose): Don't remove the element from the list.
12629 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12630 (_dl_map_object): Likewise.
12632 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12635 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12636 into all bytes of SSE register.
12637 Patch by Richard Li <richardpku@gmail.com>.
12639 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12642 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12645 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12647 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12648 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12649 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12650 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12655 2010-10-22 Andreas Schwab <schwab@redhat.com>
12657 * include/dlfcn.h (__RTLD_SECURE): Define.
12658 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12659 mode & __RTLD_SECURE instead.
12660 (open_path): Rename preloaded parameter to secure.
12661 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12662 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12663 * elf/dl-deps.c (openaux): Likewise.
12664 * elf/rtld.c (struct map_args): Remove is_preloaded.
12665 (map_doit): Don't use it.
12666 (dl_main): Likewise.
12667 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12668 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12670 2010-09-09 Andreas Schwab <schwab@redhat.com>
12672 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12673 (sysd-rules-targets): Remove duplicates.
12674 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12675 rtld-%.$o dependency.
12677 2010-10-18 Andreas Schwab <schwab@redhat.com>
12679 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12680 _dl_map_object do it.
12682 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12684 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12685 fast fma builtins, define the macros in the C99 standard.
12686 (FP_FAST_FMAF): Likewise.
12687 (FP_FAST_FMAL): Likewise.
12688 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12690 * bits/mathdef.h: Update copyright year.
12691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12693 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12695 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12696 builtins, define the macros in the C99 standard.
12697 (FP_FAST_FMAF): Likewise.
12698 (FP_FAST_FMAL): Likewise.
12699 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12701 (FP_FAST_FMAF): Likewise.
12703 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12706 * math/libm-test.inc (fma_test): Some new testcases.
12707 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12708 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12709 y and infinite z. Do multiplication by C already in long double.
12710 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12712 y and infinite z. Do bitwise or of inexact bit into u.d.
12713 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12714 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12715 * sysdeps/i386/fpu/s_fma.S: Removed.
12716 * sysdeps/i386/fpu/s_fmal.S: Removed.
12718 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12721 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12723 computation is not scheduled after fetestexcept. Fix value
12724 of minimum denormal long double.
12726 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12729 * math/libm-test.inc (fma_test): Add some more tests.
12730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12733 2010-10-15 Andreas Schwab <schwab@redhat.com>
12735 * scripts/data/localplt-s390-linux-gnu.data: New file.
12736 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12738 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12741 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12742 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12744 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12746 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12748 if one of x and y is very large and the other is subnormal.
12749 * sysdeps/s390/fpu/s_fmaf.c: New file.
12750 * sysdeps/s390/fpu/s_fma.c: New file.
12751 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12752 * sysdeps/powerpc/fpu/s_fma.S: New file.
12753 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12754 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12755 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12757 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12760 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12763 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12764 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12765 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12766 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12767 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12770 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12773 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12774 * posix/bug-regex31.input: Add test case.
12776 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12778 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12779 * posix/bug-regex31.input: New file.
12782 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12783 (parse_sub_exp): Fix last change, use postorder.
12785 * posix/bug-regex31.c: New file.
12786 * posix/Makefile: Add rules to build and run bug-regex31.
12788 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12791 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12794 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12795 to have entries in sys_siglist.
12798 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12801 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12804 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12805 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12806 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12807 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12808 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12809 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12810 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12811 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12812 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12813 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12814 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12815 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12816 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12817 * math/ftestexcept.c (fetestexcept): Likewise.
12818 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12819 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12820 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12821 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12822 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12823 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12826 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12829 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12832 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12834 * string/bug-strstr1.c: New file.
12835 * string/Makefile: Add rules to build and run bug-strstr1.
12837 2010-10-05 Eric Blake <eblake@redhat.com>
12840 * string/str-two-way.h (two_way_long_needle): Always clear memory
12841 when skipping input due to the shift table.
12843 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12846 * malloc/mcheck.c: Handle large requests.
12849 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12850 for strncmp and strncasecmp.
12851 * string/stratcliff.c: Add tests for strcmp and strncmp.
12852 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12854 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12856 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12859 2010-09-30 Andreas Jaeger <aj@suse.de>
12861 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12862 (CGROUP_SUPER_MAGIC): Define.
12863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12864 Handle btrfs and cgroup file systems.
12865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12868 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12870 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12871 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12873 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12876 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12877 trying to locate the ELF header.
12879 2010-09-27 Andreas Schwab <schwab@redhat.com>
12882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12883 Mask out sign-bit copies when constructing f_fsid.
12885 2010-09-24 Petr Baudis <pasky@suse.cz>
12887 * debug/stack_chk_fail_local.c: Add missing licence exception.
12888 * debug/warning-nop.c: Likewise.
12890 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12892 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12893 implementing getdents64 using getdents syscall, set d_type if
12894 __ASSUME_GETDENTS32_D_TYPE.
12896 2010-09-16 Andreas Schwab <schwab@redhat.com>
12898 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12899 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12901 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12904 * posix/unistd.h: Undo change of feature selection for ftruncate from
12907 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12909 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12912 2010-09-20 Andreas Schwab <schwab@redhat.com>
12914 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12918 2010-09-14 Andreas Schwab <schwab@redhat.com>
12920 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12921 variables after CHECK_SP call.
12922 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12924 2010-09-13 Andreas Schwab <schwab@redhat.com>
12925 Ulrich Drepper <drepper@redhat.com>
12927 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12928 re-relocationg ld.so.
12929 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12930 _dl_init_paths call.
12931 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12934 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12936 * resolv/res_init.c (__res_vinit): Count the default server we added.
12938 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12939 Ulrich Drepper <drepper@redhat.com>
12942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12943 (____longjmp_chk): Use %ebx for saving value across system call.
12946 2010-09-06 Andreas Schwab <schwab@redhat.com>
12948 * manual/Makefile: Don't mix pattern rules with normal rules.
12950 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12952 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12954 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12955 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12956 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12957 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12961 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12964 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12965 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12967 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12969 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12970 * sysdeps/x86_64/addmul_1.S: Likewise.
12971 * sysdeps/x86_64/lshift.S: Likewise.
12972 * sysdeps/x86_64/mul_1.S: Likewise.
12973 * sysdeps/x86_64/rshift.S: Likewise.
12974 * sysdeps/x86_64/sub_n.S: Likewise.
12975 * sysdeps/x86_64/submul_1.S: Likewise.
12977 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12979 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12980 Define __sched_param instead of SCHED_* and sched_param when
12981 <bits/sched.h> is included with __need_schedparam defined.
12982 * bits/sched.h [__need_schedparam]
12983 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12984 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12985 (__defined_schedparam): Define to 1.
12986 (__sched_param): New structure, identical to sched_param.
12987 (__need_schedparam): Undefine.
12989 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12992 (epoll_create1): Declare.
12994 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12996 2010-08-31 Andreas Schwab <schwab@redhat.com>
12999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13000 shifting retval into place.
13002 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13004 * nis/rpcsvc/nis.h: Update copyright notice.
13005 * nis/rpcsvc/nis.x: Likewise.
13006 * nis/rpcsvc/nis_callback.h: Likewise.
13007 * nis/rpcsvc/nis_callback.x: Likewise.
13008 * nis/rpcsvc/nis_object.x: Likewise.
13009 * nis/rpcsvc/nis_tags.h: Likewise.
13010 * nis/rpcsvc/yp.h: Likewise.
13011 * nis/rpcsvc/yp.x: Likewise.
13012 * nis/rpcsvc/ypupd.h: Likewise.
13013 * nis/yp_xdr.c: Likewise.
13014 * nis/ypupdate_xdr.c: Likewise.
13016 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13017 mainly the body of pmap_getport. Add parameters to specify timeouts.
13018 (pmap_getport): Use __libc_rpc_getport.
13019 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13020 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13021 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13023 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13028 2010-08-27 Roland McGrath <roland@redhat.com>
13030 * sysdeps/i386/i686/multiarch/Makefile
13031 (CFLAGS-varshift.c): New variable.
13033 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13035 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13036 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13040 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13042 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13044 * sysdeps/x86_64/strlen.S: Unroll the loop.
13045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13046 strlen-sse2 strlen-sse2-bsf.
13047 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13048 __strlen_no_bsf if bit_Slow_BSF is set.
13049 (__strlen_sse42): Removed.
13050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13051 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13053 2010-08-25 Roland McGrath <roland@redhat.com>
13055 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13056 * sysdeps/x86_64/multiarch/varshift.c: New file.
13057 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13058 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13059 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13060 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13062 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13065 strlen-sse2 strlen-sse2-bsf.
13066 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13067 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13068 (__strlen_sse2): Removed.
13069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13072 bit_Slow_BSF for Atom.
13073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13074 (index_Slow_BSF): Define.
13075 (HAS_SLOW_BSF): Define.
13077 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13080 * resolv/res_init.c (__res_vinit): When no server address at all
13081 is given default to loopback.
13083 2010-08-24 Roland McGrath <roland@redhat.com>
13085 * configure.in: Remove config-name.h generation.
13086 * configure: Regenerated.
13087 * config-name.in: File removed.
13088 * scripts/config-uname.sh: New file.
13089 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13090 ($(objdir)config-name.h): New target.
13092 * sunrpc/rpc_parse.h: Avoid nested comment.
13094 2010-08-24 Richard Henderson <rth@redhat.com>
13095 Ulrich Drepper <drepper@redhat.com>
13096 H.J. Lu <hongjiu.lu@intel.com>
13098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13100 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13101 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13102 _mm_alignr_epi8 with _mm_loadu_si128.
13103 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13104 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13105 (__m128i_shift_right): Removed.
13106 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13107 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13108 * sysdeps/x86_64/multiarch/varshift.h: New file.
13109 * sysdeps/x86_64/multiarch/varshift.S: New file.
13111 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13113 * configure.in: Move assembler checks to before sysdep dir checking.
13115 2010-08-20 Petr Baudis <pasky@suse.cz>
13117 * LICENSES: Sync the sunrpc license.
13119 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13121 * sunrpc/auth_des.c: Update copyright notice once again.
13122 * sunrpc/auth_none.c: Likewise.
13123 * sunrpc/auth_unix.c: Likewise.
13124 * sunrpc/authdes_prot.c: Likewise.
13125 * sunrpc/authuxprot.c: Likewise.
13126 * sunrpc/bindrsvprt.c: Likewise.
13127 * sunrpc/clnt_gen.c: Likewise.
13128 * sunrpc/clnt_perr.c: Likewise.
13129 * sunrpc/clnt_raw.c: Likewise.
13130 * sunrpc/clnt_simp.c: Likewise.
13131 * sunrpc/clnt_tcp.c: Likewise.
13132 * sunrpc/clnt_udp.c: Likewise.
13133 * sunrpc/clnt_unix.c: Likewise.
13134 * sunrpc/des_crypt.c: Likewise.
13135 * sunrpc/des_soft.c: Likewise.
13136 * sunrpc/get_myaddr.c: Likewise.
13137 * sunrpc/getrpcport.c: Likewise.
13138 * sunrpc/key_call.c: Likewise.
13139 * sunrpc/key_prot.c: Likewise.
13140 * sunrpc/openchild.c: Likewise.
13141 * sunrpc/pm_getmaps.c: Likewise.
13142 * sunrpc/pm_getport.c: Likewise.
13143 * sunrpc/pmap_clnt.c: Likewise.
13144 * sunrpc/pmap_prot.c: Likewise.
13145 * sunrpc/pmap_prot2.c: Likewise.
13146 * sunrpc/pmap_rmt.c: Likewise.
13147 * sunrpc/rpc/auth.h: Likewise.
13148 * sunrpc/rpc/auth_unix.h: Likewise.
13149 * sunrpc/rpc/clnt.h: Likewise.
13150 * sunrpc/rpc/des_crypt.h: Likewise.
13151 * sunrpc/rpc/key_prot.h: Likewise.
13152 * sunrpc/rpc/netdb.h: Likewise.
13153 * sunrpc/rpc/pmap_clnt.h: Likewise.
13154 * sunrpc/rpc/pmap_prot.h: Likewise.
13155 * sunrpc/rpc/pmap_rmt.h: Likewise.
13156 * sunrpc/rpc/rpc.h: Likewise.
13157 * sunrpc/rpc/rpc_des.h: Likewise.
13158 * sunrpc/rpc/rpc_msg.h: Likewise.
13159 * sunrpc/rpc/svc.h: Likewise.
13160 * sunrpc/rpc/svc_auth.h: Likewise.
13161 * sunrpc/rpc/types.h: Likewise.
13162 * sunrpc/rpc/xdr.h: Likewise.
13163 * sunrpc/rpc_clntout.c: Likewise.
13164 * sunrpc/rpc_cmsg.c: Likewise.
13165 * sunrpc/rpc_common.c: Likewise.
13166 * sunrpc/rpc_cout.c: Likewise.
13167 * sunrpc/rpc_dtable.c: Likewise.
13168 * sunrpc/rpc_hout.c: Likewise.
13169 * sunrpc/rpc_main.c: Likewise.
13170 * sunrpc/rpc_parse.c: Likewise.
13171 * sunrpc/rpc_parse.h: Likewise.
13172 * sunrpc/rpc_prot.c: Likewise.
13173 * sunrpc/rpc_sample.c: Likewise.
13174 * sunrpc/rpc_scan.c: Likewise.
13175 * sunrpc/rpc_scan.h: Likewise.
13176 * sunrpc/rpc_svcout.c: Likewise.
13177 * sunrpc/rpc_tblout.c: Likewise.
13178 * sunrpc/rpc_util.c: Likewise.
13179 * sunrpc/rpc_util.h: Likewise.
13180 * sunrpc/rpcinfo.c: Likewise.
13181 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13182 * sunrpc/rpcsvc/key_prot.x: Likewise.
13183 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13184 * sunrpc/rpcsvc/mount.x: Likewise.
13185 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13186 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13187 * sunrpc/rpcsvc/rex.x: Likewise.
13188 * sunrpc/rpcsvc/rstat.x: Likewise.
13189 * sunrpc/rpcsvc/rusers.x: Likewise.
13190 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13191 * sunrpc/rpcsvc/spray.x: Likewise.
13192 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13193 * sunrpc/rtime.c: Likewise.
13194 * sunrpc/svc.c: Likewise.
13195 * sunrpc/svc_auth.c: Likewise.
13196 * sunrpc/svc_authux.c: Likewise.
13197 * sunrpc/svc_raw.c: Likewise.
13198 * sunrpc/svc_run.c: Likewise.
13199 * sunrpc/svc_simple.c: Likewise.
13200 * sunrpc/svc_tcp.c: Likewise.
13201 * sunrpc/svc_udp.c: Likewise.
13202 * sunrpc/svc_unix.c: Likewise.
13203 * sunrpc/svcauth_des.c: Likewise.
13204 * sunrpc/xcrypt.c: Likewise.
13205 * sunrpc/xdr.c: Likewise.
13206 * sunrpc/xdr_array.c: Likewise.
13207 * sunrpc/xdr_float.c: Likewise.
13208 * sunrpc/xdr_mem.c: Likewise.
13209 * sunrpc/xdr_rec.c: Likewise.
13210 * sunrpc/xdr_ref.c: Likewise.
13211 * sunrpc/xdr_sizeof.c: Likewise.
13212 * sunrpc/xdr_stdio.c: Likewise.
13214 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13217 2010-08-19 Andreas Schwab <schwab@redhat.com>
13219 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13221 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13223 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13226 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13227 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13228 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13229 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13230 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13233 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13234 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13235 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13236 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13238 2010-07-26 Anton Blanchard <anton@samba.org>
13240 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13241 * malloc/arena.c (heap_trim): Likewise.
13243 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13245 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13248 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13250 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13252 * sysdeps/i386/elf/Makefile: New file.
13254 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13256 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13257 from fanotify_init.
13258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13261 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13263 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13265 * sysdeps/multiarch/strcmp.S: Likewise.
13267 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13269 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13270 strncase_l-nonascii.
13271 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13272 Add strncase_l-ssse3.
13273 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13274 * sysdeps/x86_64/strcmp.S: Likewise.
13275 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13276 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13277 * sysdeps/x86_64/strncase.S: New file.
13278 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13279 * sysdeps/x86_64/strncase_l.S: New file.
13280 * string/Makefile (strop-tests): Add strncasecmp.
13281 * string/test-strncasecmp.c: New file.
13283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13286 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13287 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13289 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13291 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13293 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13295 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13296 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13299 2010-05-01 Alan Modra <amodra@gmail.com>
13301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13302 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13303 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13304 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13305 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13306 tidying. Don't tail-call __sigjmp_save for static lib.
13307 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13309 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13310 (CALL_MCOUNT): Add eh info, and nop after bl.
13311 (TAIL_CALL_SYSCALL_ERROR): New macro.
13312 (PSEUDO_RET): Use it.
13313 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13314 Correct save location of integer regs and cr.
13315 (_dl_profile_resolve): Correct cr save location. Delete nops
13316 after bl when SHARED. Reduce cfi size a little by better
13317 placement of cfi directives.
13318 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13319 make a stack frame. Instead use parm save area as a temp.
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13321 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13323 Don't make a stack frame for parent, use parm save area.
13324 Increase child stack frame to 112 bytes. Don't save unused reg,
13325 and adjust reg usage. Set up cfi on error recovery and
13326 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13328 (__makecontext): Add dummy nop after jump to exit.
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13330 Use correct parm save area and cr save, reduce stack frame.
13331 Correct cfi for possible PSEUDO_RET frame setup.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13333 Branch to local label emitted by PSEUDO_RET rather than
13336 2010-08-12 Andreas Schwab <schwab@redhat.com>
13339 * locale/programs/locale.c (print_assignment): New function.
13340 (show_locale_vars): Use it.
13342 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13344 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13346 (struct statfs64): Likewise.
13347 (_STATFS_F_FLAGS): Define.
13348 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13350 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13351 (ST_VALID): Define locally.
13352 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13353 __statvfs_getflags, use the provided value.
13354 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13355 __ASSUME_STATFS_F_FLAGS.
13357 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13359 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13360 Add sys/fanotify.h.
13361 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13362 fanotify_mask for GLIBC_2.13.
13363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13364 fanotify_init and fanotify_mark.
13365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13366 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13368 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13370 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13371 prlimit64 for GLIBC_2.13.
13372 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13382 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13385 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13386 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13388 * nss/Makefile: Add rules to build and run tst-nss-test1.
13389 * shlib-versions: Add entry for libnss_test1.
13390 * nss/nss_test1.c: New file.
13391 * nss/tst-nss-test1.c: New file.
13393 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13394 (__nss_configure_lookup): Set appropriate entry in
13395 __nss_configure_lookup to true.
13396 * nss/nsswitch.h: Define enum with indeces of databases in
13397 databases and __nss_database_custom arrays. Declare
13398 __nss_database_custom.
13399 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13400 to avoid using nscd when custom rules are installed.
13401 * nss/getXXbyYY_r.c: Likewise.
13402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13404 * nss/nss_files/files-parse.c: Whitespace fixes.
13406 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13409 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13410 * posix/fnmatch_loop.c: Likewise.
13412 2010-07-17 Andi Kleen <ak@linux.intel.com>
13414 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13415 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13416 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13417 * Versions.def [GLIBC_2.13]: Add.
13419 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13422 Also fail if tpwd after pwuid call is NULL.
13424 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13426 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13427 when converting to ms.
13429 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13431 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13432 EOPNOTSUPP errors with ENOTTY.
13433 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13434 EOPNOTSUPP errors with ENOTTY.
13436 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13438 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13439 Add strcasecmp_l-ssse3.
13440 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13442 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13443 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13444 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13446 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13448 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13450 * string/Makefile (strop-tests): Add strcasecmp.
13451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13452 strcasecmp_l-nonascii.
13453 (gen-as-const-headers): Add locale-defines.sym.
13454 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13455 * sysdeps/x86_64/strcasecmp.S: New file.
13456 * sysdeps/x86_64/strcasecmp_l.S: New file.
13457 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13458 * sysdeps/x86_64/locale-defines.sym: New file.
13459 * string/test-strcasecmp.c: New file.
13461 * string/test-strcasestr.c: Test both ends of the range of characters.
13462 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13464 2010-07-29 Roland McGrath <roland@redhat.com>
13467 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13469 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13471 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13474 2010-07-27 Andreas Schwab <schwab@redhat.com>
13476 * manual/memory.texi (Malloc Tunable Parameters): Document
13479 2010-07-26 Roland McGrath <roland@redhat.com>
13482 * configure.in (-fgnu89-inline check): Set and substitute
13483 gnu89_inline, not libc_cv_gnu89_inline.
13484 * configure: Regenerated.
13485 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13487 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13489 * string/test-strnlen.c: New file.
13490 * string/Makefile (strop-tests): Add strnlen.
13491 * string/tester.c (test_strnlen): Add a few more test cases.
13492 * string/tst-strlen.c: Better error reporting.
13494 * sysdeps/x86_64/strnlen.S: New file.
13496 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13498 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13499 lower-latency instructions.
13501 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13503 * string/test-strcasestr.c: New file.
13504 * string/test-strstr.c: New file.
13505 * string/Makefile (strop-tests): Add strstr and strcasestr.
13506 * string/str-two-way.h: Don't undefine MAX.
13507 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13509 2010-07-21 Andreas Schwab <schwab@redhat.com>
13511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13512 strcasestr-nonascii.
13513 (CFLAGS-strcasestr-nonascii.c): Define.
13514 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13516 Remove unused attribute.
13518 2010-07-20 Roland McGrath <roland@redhat.com>
13520 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13521 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13522 ld.so.cache was broken. With it, there is no way to disable dsocaps
13523 like LD_HWCAP_MASK can disable hwcaps.
13525 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13527 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13529 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13531 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13532 call in strcasestr.
13533 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13534 __strcasestr_sse42_nonascii.
13535 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13536 strcasestr-nonascii.c.
13537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13539 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13541 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13543 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13546 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13551 2010-07-06 Andreas Schwab <schwab@redhat.com>
13554 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13557 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13560 _PC_PIPE_BUF using F_GETPIPE_SZ.
13562 2010-07-05 Roland McGrath <roland@redhat.com>
13564 * manual/arith.texi (Rounding Functions): Fix rint description
13565 implicit in round description.
13567 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13569 * elf/Makefile: Fix linking for a few tests to make recent linker
13572 2010-06-30 Andreas Schwab <schwab@redhat.com>
13574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13575 $(common-objpfx)libc_nonshared.a.
13577 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13579 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13580 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13581 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13582 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13583 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13584 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13586 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13601 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13602 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13603 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13604 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13605 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13606 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13607 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13608 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13609 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13610 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13611 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13612 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13628 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13630 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13631 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13632 * string/memmove.c (memmove): Renamed to ...
13633 (MEMMOVE): ...this. Default to memmove.
13634 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13635 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13638 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13639 mempcpy-ssse3-back memmove-ssse3-back.
13640 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13643 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13644 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13645 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13646 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13647 * sysdeps/x86_64/multiarch/memmove.c: New file.
13648 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13649 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13650 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13651 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13652 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13655 (index_Fast_Copy_Backward): Define.
13656 (HAS_ARCH_FEATURE): Define.
13657 (HAS_FAST_REP_STRING): Define.
13658 (HAS_FAST_COPY_BACKWARD): Define.
13660 2010-06-21 Andreas Schwab <schwab@redhat.com>
13662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13663 Restore proper fallback handling.
13665 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13668 * posix/group_member.c (__group_member): Correct checking loop.
13670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13671 OOM in getpwuid_r correctly. Return error number when the caller
13672 should return, otherwise -1.
13673 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13674 call returning > 0 value.
13675 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13677 2010-06-07 Andreas Schwab <schwab@redhat.com>
13679 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13680 libc_nonshared.a from targets in modules-names.
13682 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13684 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13687 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13694 2010-06-02 Andreas Schwab <schwab@redhat.com>
13696 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13698 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13709 2010-06-14 Roland McGrath <roland@redhat.com>
13711 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13713 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13715 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13716 __REDIRECT followed by __THROW.
13717 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13718 * posix/getopt.h (getopt): Likewise.
13720 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13722 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13723 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13724 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13726 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13727 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13729 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13733 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13737 Properly check family and model.
13739 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13743 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13745 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13747 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13749 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13752 2010-05-19 Andreas Schwab <schwab@redhat.com>
13754 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13757 2010-05-21 Andreas Schwab <schwab@redhat.com>
13759 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13760 and internal_recvmmsg.
13761 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13762 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13763 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13764 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13766 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13767 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13768 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13770 2010-05-20 Andreas Schwab <schwab@redhat.com>
13772 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13774 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13776 POWER7 optimizations.
13777 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13778 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13780 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13782 * version.h: Update for 2.13 development version.
13784 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13786 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13787 exceptions. Return 0.
13789 2010-05-07 Roland McGrath <roland@redhat.com>
13791 * elf/ldconfig.c (main): Add a const.
13793 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13795 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13796 (args_options): Add no-idn option.
13797 (ahosts_keys_int): Add idn_flags to ai_flags.
13798 (parse_option): Handle 'i' option to clear idn_flags.
13800 * malloc/malloc.c (_int_free): Possible race in the most recently
13801 added check. Only act on the data if no current modification
13804 See ChangeLog.17 for earlier changes.