1 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4 (__mkdir): When path is `/', just fail with EEXIST.
5 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10 <sys/uio.h> (for writev).
11 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12 and <sys/param.h> (for MIN).
14 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
16 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17 REQUESTED_TIME. Properly set the remaining time and return EINTR
20 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23 Depend on against $(link-rpcuserlibs).
25 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28 (__libc_stack_end): Do not use attribute_relro.
29 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31 to libthread-provided value.
32 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38 * bits/libc-lock.h (__libc_once_get): New macro.
39 * sysdeps/mach/bits/libc-lock.h: Likewise.
40 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42 instead of using implementation details.
44 * libio/fileops.c: Unconditionally include <kernel-features.h>.
45 * libio/freopen.c: Likewise.
46 * libio/freopen64.c: Likewise.
47 * misc/syslog.c: Likewise.
48 * nscd/connections.c: Likewise.
49 * nscd/netgroupcache.c: Likewise.
50 * sysdeps/posix/getcwd.c: Likewise.
52 2012-05-10 Roland McGrath <roland@hack.frob.com>
54 * math/w_ilogbf.c: Add #include <limits.h>.
56 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59 path instead of returning without unlocking.
61 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62 immediate-write ioctls.
63 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67 * sysdeps/mach/hurd/i386/init-first.c (init): Use
68 __builtin_frame_address instead of making assumptions about the
69 location of the return address relative to DATA. Force early load of
71 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72 __builtin_frame_address.
75 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
77 implement dup3 and do some further code clean-ups.
78 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
85 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
86 HURD_CRITICAL_END around holding _hurd_dtable_lock.
87 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
88 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
89 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
92 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
93 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
94 when handler == SIG_ERR, not when handler != SIG_ERR.
96 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
98 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
99 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
102 accept4 for GNU Hurd.
103 * include/sys/socket.h (__libc_accept4): New prototype.
104 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
105 to implement __libc_accept4.
106 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
108 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
110 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
111 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
112 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
115 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
117 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
119 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
121 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
122 assertion on O_CLOEXEC flag.
123 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
124 * hurd/intern-fd.c: Likewise.
125 * hurd/port2fd.c: Likewise.
127 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
130 * bits/in.h (IPV6_PKTINFO): Define new macro.
131 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
133 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
138 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
140 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
141 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
143 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
144 * math/libm-test.inc (logb_test) : Additional logb tests.
146 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
147 Andreas Jaeger <aj@suse.de>
149 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
150 * configure: Regenerated.
151 * config.h.in (LINK_OBSOLETE_RPC): New macro.
152 * config.make.in (link-obsolete-rpc): New substituted variable.
153 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
154 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
155 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
156 (shared-only-routines): Don't set it under [link-obsolete-rpc],
157 so that libc.a contains the symbols.
158 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
159 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
160 * sunrpc/auth_none.c: Likewise.
161 * sunrpc/auth_unix.c: Likewise.
162 * sunrpc/authdes_prot.c: Likewise.
163 * sunrpc/authuxprot.c: Likewise.
164 * sunrpc/clnt_gen.c: Likewise.
165 * sunrpc/clnt_perr.c: Likewise.
166 * sunrpc/clnt_raw.c: Likewise.
167 * sunrpc/clnt_simp.c: Likewise.
168 * sunrpc/clnt_tcp.c: Likewise.
169 * sunrpc/clnt_udp.c: Likewise.
170 * sunrpc/clnt_unix.c: Likewise.
171 * sunrpc/des_crypt.c: Likewise.
172 * sunrpc/des_soft.c: Likewise.
173 * sunrpc/get_myaddr.c: Likewise.
174 * sunrpc/key_call.c: Likewise.
175 * sunrpc/key_prot.c: Likewise.
176 * sunrpc/netname.c: Likewise.
177 * sunrpc/pm_getmaps.c: Likewise.
178 * sunrpc/pm_getport.c: Likewise.
179 * sunrpc/pmap_clnt.c: Likewise.
180 * sunrpc/pmap_prot.c: Likewise.
181 * sunrpc/pmap_prot2.c: Likewise.
182 * sunrpc/pmap_rmt.c: Likewise.
183 * sunrpc/publickey.c: Likewise.
184 * sunrpc/rpc_cmsg.c: Likewise.
185 * sunrpc/rpc_common.c: Likewise.
186 * sunrpc/rpc_dtable.c: Likewise.
187 * sunrpc/rpc_prot.c: Likewise.
188 * sunrpc/rpc_thread.c: Likewise.
189 * sunrpc/rtime.c: Likewise.
190 * sunrpc/svc.c: Likewise.
191 * sunrpc/svc_auth.c: Likewise.
192 * sunrpc/svc_raw.c: Likewise.
193 * sunrpc/svc_run.c: Likewise.
194 * sunrpc/svc_tcp.c: Likewise.
195 * sunrpc/svc_udp.c: Likewise.
196 * sunrpc/svc_unix.c: Likewise.
197 * sunrpc/svcauth_des.c: Likewise.
198 * sunrpc/xcrypt.c: Likewise.
199 * sunrpc/xdr.c: Likewise.
200 * sunrpc/xdr_array.c: Likewise.
201 * sunrpc/xdr_float.c: Likewise.
202 * sunrpc/xdr_intXX_t.c: Likewise.
203 * sunrpc/xdr_mem.c: Likewise.
204 * sunrpc/xdr_rec.c: Likewise.
205 * sunrpc/xdr_ref.c: Likewise.
206 * sunrpc/xdr_sizeof.c: Likewise.
207 * sunrpc/xdr_stdio.c: Likewise.
209 2012-05-10 Roland McGrath <roland@hack.frob.com>
211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
212 change. Update copyright years.
214 2012-05-10 Joseph Myers <joseph@codesourcery.com>
216 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
218 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
219 Joseph Myers <joseph@codesourcery.com>
220 Paul Pluzhnikov <ppluzhnikov@google.com>
223 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
225 [cross-compiling] (extra-libs): Likewise.
226 [cross-compiling] (extra-libs-others): Likewise.
227 [cross-compiling] (librpcsvc-routines): Likewise.
228 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
229 [cross-compiling] (omit-deps): Likewise.
230 (sunrpc-CPPFLAGS): New variable.
231 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
232 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
233 (cross-rpcgen-objs): New variable.
234 (extra-objs): Append $(cross-rpcgen-objs).
235 ($(cross-rpcgen-objs)): New rule.
236 ($(objpfx)cross-rpcgen): Likewise.
237 (rpcgen-cmd): Define to use $(built-program-file). Expand
239 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
240 ($(objpfx)x%.stmp): Likewise.
241 * sunrpc/proto.h [IS_IN_build] (_): Define.
242 [IS_IN_build] (_libc_intl_domainname): Likewise.
244 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
247 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
248 and R_X86_64_TPOFF64.
250 2012-05-10 Joseph Myers <joseph@codesourcery.com>
252 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
253 sysdeps/unix/sysv/syscalls.list.
256 * sysdeps/unix/sysv/syscalls.list: Remove file.
258 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
261 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
262 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
263 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
264 (__LC_IDENTIFICATION): Make these macros useful in #if
265 expressions, as required by C99.
267 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
269 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
270 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
273 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
275 * stdlib/longlong.h: Updated from GCC.
277 2012-05-09 Andreas Jaeger <aj@suse.de>
279 * nscd/nscd.c (run_modes): Make named enum, reorder so that
280 default is first entry.
281 (run_mode): Set type.
282 (main): Remove informal message about syslog.
286 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
293 (nearbyint): Likewise.
294 (nearbyintf): Likewise.
296 2012-05-09 Andreas Jaeger <aj@suse.de>
297 Pedro Alves <palves@redhat.com>
299 * nscd/nscd.c (run_mode): Use enum.
300 (main): Cleanup coding style issue.
302 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
303 Andreas Jaeger <aj@suse.de>
305 * nscd/nscd.c (go_background): Replaced with...
306 (run_mode): ... this.
307 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
308 (options): Add -F --foreground.
309 (main): Implement it.
310 (parse_opt): Parse it.
312 2012-05-09 Andreas Jaeger <aj@suse.de>
315 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
316 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
317 -Wconversion warning.
318 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
321 2012-05-09 Joseph Myers <joseph@codesourcery.com>
323 * conform/data/locale.h-data (NULL): Use macro-constant. Require
325 (LC_ALL): Use macro-int-constant.
326 (LC_COLLATE): Likewise.
327 (LC_CTYPE): Likewise.
328 (LC_MESSAGES): Likewise.
329 (LC_MONETARY): Likewise.
330 (LC_NUMERIC): Likewise.
332 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
333 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
335 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
337 [C99-based standards] (float_t): Expect type.
338 [C99-based standards] (double_t): Expect type.
339 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
341 [C99-based standards] (HUGE_VALL): Likewise.
342 [C99-based standards] (INFINITY): Likewise.
343 [C99-based standards] (NAN): Likewise.
344 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
345 [C99-based standards] (FP_NAN): Likewise.
346 [C99-based standards] (FP_NORMAL): Likewise.
347 [C99-based standards] (FP_SUBNORMAL): Likewise.
348 [C99-based standards] (FP_ZERO): Likewise.
349 [C99-based standards] (FP_FAST_FMA): Use
350 optional-macro-int-constant. Specify type. Require == 1.
351 [C99-based standards] (FP_FAST_FMAF): Likewise.
352 [C99-based standards] (FP_FAST_FMAL): Likewise.
353 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
354 [C99-based standards] (FP_ILOGBNAN): Likewise.
355 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
357 [C99-based standards] (MATH_ERREXCEPT): Likewise.
358 [C99-based standards] (math_errhandling): Specify type.
359 [ISO99 || ISO11] (signgam): Do not allow.
360 [non-C99-based standards] (copysignf): Do not allow.
361 [non-C99-based standards] (exp2f): Likewise.
362 [non-C99-based standards] (log2f): Likewise.
363 [non-C99-based standards] (modff): Allow.
364 [non-C99-based standards] (erff): Do not allow.
365 [non-C99-based standards] (erfcf): Likewise.
366 [non-C99-based standards] (gammaf): Likewise.
367 [non-C99-based standards] (hypotf): Likewise.
368 [non-C99-based standards] (j0f): Likewise.
369 [non-C99-based standards] (j1f): Likewise.
370 [non-C99-based standards] (jnf): Likewise.
371 [non-C99-based standards] (lgammaf): Likewise.
372 [non-C99-based standards] (tgammaf): Likewise.
373 [non-C99-based standards] (y0f): Likewise.
374 [non-C99-based standards] (y1f): Likewise.
375 [non-C99-based standards] (ynf): Likewise.
376 [non-C99-based standards] (isnanf): Likewise.
377 [non-C99-based standards] (acoshf): Likewise.
378 [non-C99-based standards] (asinhf): Likewise.
379 [non-C99-based standards] (atanhf): Likewise.
380 [non-C99-based standards] (cbrtf): Likewise.
381 [non-C99-based standards] (expm1f): Likewise.
382 [non-C99-based standards] (ilogbf): Likewise.
383 [non-C99-based standards] (log1pf): Likewise.
384 [non-C99-based standards] (logbf): Likewise.
385 [non-C99-based standards] (nextafterf): Likewise.
386 [non-C99-based standards] (remainderf): Likewise.
387 [non-C99-based standards] (rintf): Likewise.
388 [non-C99-based standards] (scalbf): Likewise.
389 [non-C99-based standards] (copysignl): Likewise.
390 [non-C99-based standards] (exp2l): Likewise.
391 [non-C99-based standards] (log2l): Likewise.
392 [non-C99-based standards] (modfl): Allow.
393 [non-C99-based standards] (erfl): Do not allow.
394 [non-C99-based standards] (erfcl): Likewise.
395 [non-C99-based standards] (gammal): Likewise.
396 [non-C99-based standards] (hypotl): Likewise.
397 [non-C99-based standards] (j0l): Likewise.
398 [non-C99-based standards] (j1l): Likewise.
399 [non-C99-based standards] (jnl): Likewise.
400 [non-C99-based standards] (lgammal): Likewise.
401 [non-C99-based standards] (tgammal): Likewise.
402 [non-C99-based standards] (y0l): Likewise.
403 [non-C99-based standards] (y1l): Likewise.
404 [non-C99-based standards] (ynl): Likewise.
405 [non-C99-based standards] (isnanl): Likewise.
406 [non-C99-based standards] (acoshl): Likewise.
407 [non-C99-based standards] (asinhl): Likewise.
408 [non-C99-based standards] (atanhl): Likewise.
409 [non-C99-based standards] (cbrtl): Likewise.
410 [non-C99-based standards] (expm1l): Likewise.
411 [non-C99-based standards] (ilogbl): Likewise.
412 [non-C99-based standards] (log1pl): Likewise.
413 [non-C99-based standards] (logbl): Likewise.
414 [non-C99-based standards] (nextafterl): Likewise.
415 [non-C99-based standards] (remainderl): Likewise.
416 [non-C99-based standards] (rintl): Likewise.
417 [non-C99-based standards] (scalbl): Likewise.
418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
419 [non-C99-based standards] (FP_*): Do not allow.
420 [C99-based standards] (FP_*): Change to
421 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
422 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
424 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
426 [X/Open-based standards] (SIG_HOLD): Likewise.
428 (SIGABRT): Use macro-int-constant. Specify type. Require
435 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
436 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
437 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
438 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
439 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
440 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
441 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
442 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
443 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
444 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
445 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
446 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
447 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
448 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
449 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
450 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
451 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
452 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
453 [X/Open-based standards] (SIGTRAP): Likewise.
454 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
455 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
456 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
457 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
458 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
461 2012-05-08 Ian Wienand <ianw@vmware.com>
464 * time/tzset.c (__tzset_parse_tz): Update default rules for
465 daylight time changes in the Energy Policy Act of 2005.
467 2012-05-09 Andreas Jaeger <aj@suse.de>
470 * elf/ldconfig.c (parse_conf): Change string to make clear that
471 ldconfig only issued a warning if ld.so.conf does not exist.
473 2012-05-08 David S. Miller <davem@davemloft.net>
475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
476 movxtod instead of popping the value on the stack.
478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
480 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
482 * config.h.in: Add HAVE_ARM_PCS_VFP.
484 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
487 * include/features.h: Warn if user requests __FORTIFY_SOURCE
488 checking but the checks are disabled for any reason.
490 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
492 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
493 and ELF64_R_TYPE with ELFW(R_TYPE).
495 2012-05-08 Joseph Myers <joseph@codesourcery.com>
497 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
500 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
501 (settimeofday): Likewise.
503 2012-05-08 Mike Frysinger <vapier@gentoo.org>
505 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
506 a struct th_u2 inside the union, and move tu_block/tu_code into
507 a new th_u3 union of tu_block/tu_code inside of that. Move
508 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
509 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
510 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
511 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
512 (th_stuff): Change to th_u1.tu_stuff.
514 (th_msg): Change to th_u1.th_u2.tu_data.
516 2012-05-07 David S. Miller <davem@davemloft.net>
518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
521 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
522 (SETUP_PIC_REG): Use it.
523 (SETUP_PIC_REG_LEAF): Use it.
525 2012-05-07 Joseph Myers <joseph@codesourcery.com>
529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
531 (EXPL_FINITE): Likewise.
533 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
534 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
536 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
538 (EXPL_FINITE): Likewise.
540 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
541 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
543 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
544 test of -max_value argument for long double.
545 * sysdeps/i386/fpu/libm-test-ulps: Update.
546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
548 2012-05-06 David S. Miller <davem@davemloft.net>
550 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
551 quad soft-float symbols whose references which are compiler
553 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
555 2012-05-06 Joseph Myers <joseph@codesourcery.com>
559 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
561 (EXPL_FINITE): Likewise.
565 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
566 Adjust comments for base varying.
567 (__expl_finite): Change alias to EXPL_FINITE.
568 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
570 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
571 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
572 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
573 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
576 (EXPL_FINITE): Likewise.
580 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
581 Adjust comments for base varying.
582 (__expl_finite): Change alias to EXPL_FINITE.
583 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
588 * math/libm-test.inc (check_float_internal): Correct ulp
589 calculation for subnormal expected results.
591 2012-05-06 Andreas Jaeger <aj@suse.de>
593 * Makeconfig (+math-flags): New, set to -frounding-math.
594 (+cflags): Add +math-flags so that all of glibc gets compiled with
597 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
599 2012-05-05 Joseph Myers <joseph@codesourcery.com>
601 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
607 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
608 (__ieee754_expl): Allow for and saturate large arguments.
609 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
610 (u_threshold): Likewise.
611 (__exp): Call __ieee754_exp before checking for overflow and
613 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
614 (u_threshold): Likewise.
615 (__expf): Call __ieee754_expf before checking for overflow and
617 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
618 (u_threshold): Likewise.
619 (__expl): Call __ieee754_expl before checking for overflow and
621 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
622 (__ieee754_expl): Allow for and saturate large arguments.
623 * math/libm-test.inc (exp_test): Add another test. Do not allow
624 missing overflow exception on overflow.
625 (expm1_test): Do not allow missing overflow exception on overflow.
627 * sysdeps/i386/fpu/e_expl.c: Move to ...
628 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
629 rather than using inline asm.
630 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
631 * sysdeps/x86_64/fpu/e_expl.S: Copy from
632 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
634 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
641 2012-05-04 Joseph Myers <joseph@codesourcery.com>
643 * sysdeps/unix/syscalls.list (adjtime): Add entry from
644 sysdeps/unix/common/syscalls.list.
647 (ftruncate): Likewise.
648 (getrusage): Likewise.
649 (gettimeofday): Likewise.
651 (setregid): Likewise.
652 (setreuid): Likewise.
653 (sigaction): Likewise.
654 (truncate): Likewise.
656 * sysdeps/unix/common/syscalls.list: Remove file.
657 * sysdeps/unix/bsd/Implies: Don't include unix/common.
658 * sysdeps/unix/sysv/linux/Implies: Likewise.
660 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
662 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
664 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
668 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
671 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
674 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
677 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
680 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
683 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
686 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
690 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
694 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
697 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
701 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
705 2012-05-04 Joseph Myers <joseph@codesourcery.com>
707 * sysdeps/unix/common/bits/dirent.h: Remove file.
708 * sysdeps/unix/common/bits/fcntl.h: Likewise.
710 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
711 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
712 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
713 * sysdeps/unix/bsd/isatty.c: Likewise.
714 * sysdeps/unix/bsd/tcdrain.c: Likewise.
715 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
716 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
718 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
721 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
722 long double comparison inaccuracies.
723 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
726 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
728 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
731 2012-05-04 Joseph Myers <joseph@codesourcery.com>
734 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
735 nonzero digits before rounding a hex value.
736 * stdlib/tst-strtod.c (tests): Add another test.
738 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
740 * sysdeps/s390/fpu/libm-test-ulps: Update.
742 2012-05-03 Andreas Jaeger <aj@suse.de>
744 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
745 does not get optimized out.
746 (malloc_opt_barrier): New.
748 2012-05-03 Andreas Jaeger <aj@suse.de>
749 Roland McGrath <roland@hack.frob.com>
751 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
752 intermediate file deletion.
753 (generated): Add .symlist files.
755 2012-05-03 Joseph Myers <joseph@codesourcery.com>
758 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
759 Redirect under this condition.
760 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
761 [__USE_GNU] (__dprintf_chk): Not under this condition.
762 [__USE_GNU] (__vdprintf_chk): Likewise.
763 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
764 under this condition.
765 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
766 [__USE_XOPEN2K8] (dprintf): Define under this condition.
767 [__USE_XOPEN2K8] (vdprintf): Likewise.
768 [__USE_GNU] (__dprintf_chk): Not under this condition.
769 [__USE_GNU] (__vdprintf_chk): Likewise.
770 [__USE_GNU] (dprintf): Likewise.
771 [__USE_GNU] (vdprintf): Likewise.
773 2012-05-03 Roland McGrath <roland@hack.frob.com>
775 * elf/Makefile (common-generated): Set this instead of generated for
776 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
777 $(all-built-dso)-derived lists.
779 2012-05-03 Andreas Jaeger <aj@suse.de>
781 * sysdeps/i386/fpu/libm-test-ulps: Update.
785 * scripts/gen-FAQ.pl: Likewise.
786 * manual/install.texi (Installation): Point to online location of
788 * Makefile (files-for-dist): Remove FAQ.
791 2012-05-02 Allan McRae <allan@archlinux.org>
793 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
794 (LDFLAGS-reldepmod5.so): Likewise.
795 (LDFLAGS-reldep6mod1.so): Likewise.
796 (LDFLAGS-reldep6mod4.so): Likewise.
797 (LDFLAGS-reldep8mod3.so): Likewise.
798 (LDFLAGS-unload4mod1.so): Likewise.
799 (LDFLAGS-unload4mod2.so): Likewise.
800 (LDFLAGS-tst-initorder): Likewise.
801 (LDFLAGS-tst-initordera2.so): Likewise.
802 (LDFLAGS-tst-initordera3.so): Likewise.
803 (LDFLAGS-tst-initordera4.so): Likewise.
804 (LDFLAGS-tst-initorderb2.so): Likewise.
805 (LDFLAGS-noload): Likewise.
806 (LDFLAGS-next): Likewise.
807 (LDFLAGS-order2mod1.so): Likewise.
808 (LDFLAGS-order2mod2.so): Likewise.
809 (LDFLAGS-tst-initorder2): Likewise.
810 (LDFLAGS-tst-initorder2a.so): Likewise.
811 (LDFLAGS-tst-initorder2b.so): Likewise.
812 (LDFLAGS-tst-initorder2c.so): Likewise.
813 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
815 2012-05-02 David S. Miller <davem@davemloft.net>
817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
819 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
822 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
824 2012-05-02 Andreas Jaeger <aj@suse.de>
826 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
827 since we manipulate rounding mode.
828 (CPPFLAGS-test-idouble.c): Likewise.
829 (CPPFLAGS-test-ifloat.c): Likewise.
830 (CFLAGS-test-ldouble.c): Likewise.
831 (CFLAGS-test-double.c): Likewise.
832 (CFLAGS-test-float.c): Likewise.
833 (CFLAGS-test-misc.c): Likewise.
834 (CFLAGS-test-test-fenv.c): Likewise.
836 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
841 comparisons to determine direction to adjust input.
843 2012-05-01 Roland McGrath <roland@hack.frob.com>
845 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
846 output to the target.
848 * scripts/localplt.awk: New file.
849 * elf/Makefile ($(objpfx)check-localplt): Target removed.
850 (check-localplt-CFLAGS): Variable removed.
851 ($(all-built-dso:=.jmprel)): New static pattern rule.
852 (generated): Add those targets.
853 (localplt-built-dso): New variable.
854 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
856 * elf/check-localplt.c: File removed.
858 * scripts/check-execstack.awk: New file.
859 * elf/Makefile ($(objpfx)check-execstack): Target removed.
860 (check-execstack-CFLAGS): Variable removed.
861 ($(objpfx)check-execstack.h): Target removed.
862 ($(objpfx)execstack-default): New target.
863 (generated): Add that instead of check-execstack.h.
864 ($(all-built-dso:=.phdr)): New static pattern rule.
865 (generated): Add those targets.
866 * elf/check-execstack.c: File removed.
868 * scripts/check-textrel.awk: New file.
869 * elf/Makefile ($(objpfx)check-textrel): Target removed.
870 (check-textrel-CFLAGS): Variable removed.
871 (all-built-dso): Use := to define.o
872 ($(all-built-dso:=.dyn)): New static pattern rule.
873 (generated): Add those targets.
874 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
875 * config.make.in (READELF): New substituted variable.
876 * elf/check-textrel.c: File removed.
878 2012-05-01 Joseph Myers <joseph@codesourcery.com>
880 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
882 * conform/data/ctype.h-data [C99-based standards] (isblank):
884 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
885 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
887 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
888 Specify type. Require positive value.
891 [ISO || POSIX] (EILSEQ): Do not expect.
892 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
893 Specify type. Require positive value.
894 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
895 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
896 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
897 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
898 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
899 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
900 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
901 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
902 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
903 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
904 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
905 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
906 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
907 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
908 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
909 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
910 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
911 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
912 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
913 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
914 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
915 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
916 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
917 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
918 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
919 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
920 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
921 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
922 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
923 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
924 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
925 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
926 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
927 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
928 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
929 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
930 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
931 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
932 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
933 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
934 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
935 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
936 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
937 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
938 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
939 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
940 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
941 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
942 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
943 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
944 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
945 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
946 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
947 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
948 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
949 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
950 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
951 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
952 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
953 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
954 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
955 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
956 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
957 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
958 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
959 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
960 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
961 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
962 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
963 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
964 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
965 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
966 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
967 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
968 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
969 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
970 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
972 (FLT_ROUNDS): Expect as macro, not constant.
973 (FLT_MANT_DIG): Use macro-int-constant.
974 (DBL_MANT_DIG): Likewise.
975 (LDBL_MANT_DIG): Likewise.
978 (LDBL_DIG): Likewise.
979 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
980 (DBL_MIN_EXP): Likewise.
981 (LDBL_MIN_EXP): Likewise.
982 (FLT_MAX_EXP): Use macro-int-constant.
983 (DBL_MAX_EXP): Likewise.
984 (LDBL_MAX_EXP): Likewise.
985 (FLT_MAX_10_EXP): Likewise.
986 (DBL_MAX_10_EXP): Likewise.
987 (LDBL_MAX_10_EXP): Likewise.
988 (FLT_MAX): Use macro-constant.
990 (LDBL_MAX): Likewise.
991 (FLT_EPSILON): Use macro-constant. Give upper bound.
992 (DBL_EPSILON): Likewise.
993 (LDBL_EPSILON): Likewise.
996 (LDBL_MIN): Likewise.
997 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
998 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
999 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1000 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1001 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1002 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1003 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1004 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1005 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1006 [ISO11] (FLT_TRUE_MIN): Likewise.
1007 [ISO11] (LDBL_TRUE_MIN): Likewise.
1008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1009 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1010 (SCHAR_MIN): Use macro-int-constant. Specify type.
1011 (SCHAR_MAX): Likewise.
1012 (UCHAR_MAX): Likewise.
1013 (CHAR_MIN): Likewise.
1014 (CHAR_MAX): Likewise.
1015 (MB_LEN_MAX): Use macro-int-constant.
1016 (SHRT_MIN): Use macro-int-constant. Specify type.
1017 (SHRT_MAX): Likewise.
1018 (USHRT_MAX): Likewise.
1019 (INT_MAX): Likewise.
1020 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1022 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1024 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1026 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1027 bound negative. Suffix upper bound with "L".
1028 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1030 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1032 [C99-based standards] (LLONG_MAX): Likewise.
1033 [C99-based standards] (ULLONG_MAX): Likewise.
1034 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1036 [ISO11] (max_align_t): Require type.
1037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1039 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1040 from $CFLAGS, without defining away __attribute__ calls.
1041 (checknamespace): Use $CFLAGS_namespace.
1043 * conform/conformtest.pl (@keywords): Only include C99 keywords
1044 for standards based on C99 or C11.
1046 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1048 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1051 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1052 usability of symbols in #if.
1054 * conform/conformtest.pl: If macro or constant types start
1055 "promoted:", expect the symbol to be of the following type
1056 promoted by the integer promotions.
1058 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1059 in one place. Also handle "macro-constant".
1061 * conform/conformtest.pl: Only accept expected macro values with
1062 "==". Parse all "macro" lines in one place.
1063 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1065 * conform/conformtest.pl: Handle braced types on "constant" lines
1066 instead of handling "typed-constant".
1067 * conform/data/signal.h-data: Use "constant" instead of
1070 * conform/conformtest.pl: Handle "optional-" at start of lines in
1071 one place rather than duplicating several cases. Handle each
1072 format of "macro" line with initial "optional-".
1074 * conform/conformtest.pl: Only accept expected constant or
1075 optional-constant values with "==". Parse all "constant" lines in
1076 one place. Parse all "optional-constant" lines in one place.
1077 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1078 * conform/data/fmtmsg.h-data: Likewise.
1079 * conform/data/netinet/in.h-data: Likewise.
1080 * conform/data/tar.h-data: Likewise.
1081 * conform/data/limits.h-data: Use "==" form on "constant" and
1082 "optional-constant" lines.
1084 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1085 Use -std=c99 for XOPEN2K.
1086 (@knownproblems): Remove.
1087 (newtoken): Don't check %isknown.
1089 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1090 Do not expect macro.
1091 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1103 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1104 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1121 [XPG3] (acosh): Likewise.
1122 [XPG3] (asinh): Likewise.
1123 [XPG3] (atanh): Likewise.
1124 [XPG3] (cbrt): Likewise.
1125 [XPG3] (expm1): Likewise.
1126 [XPG3] (ilogb): Likewise.
1127 [XPG3] (log1p): Likewise.
1128 [XPG3] (logb): Likewise.
1129 [XPG3] (nextafter): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1132 [XPG3] (remainder): Likewise.
1133 [XPG3] (rint): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1141 [UNIX98 || XOPEN2K] (scalb): Expect.
1142 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1143 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1193 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1194 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1206 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1207 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1208 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1209 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1210 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1211 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1212 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1217 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1218 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1226 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1227 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1228 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1280 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1281 _XOPEN_SOURCE_EXTENDED for XPG4.
1283 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1285 * Makeconfig (localtime): Remove variable.
1286 (inst_localtime-file): Likewise.
1288 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1309 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1313 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1314 comparisons to determine direction to adjust input.
1315 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1316 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1317 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1319 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1321 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1323 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1324 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1326 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1328 * math/libm-test.inc (nexttoward_test): Add more tests.
1330 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1334 in version GLIBC_2.1, not GLIBC_2.0.
1335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1338 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1341 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1343 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1344 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1345 * math/libm-test.inc (acos_test): Add more tests.
1346 (asin_test): Likewise.
1347 * sysdeps/i386/fpu/libm-test-ulps: Update.
1348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1351 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1353 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1354 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1355 * math/libm-test.inc (acos_test_tonearest): New function.
1356 (acos_test_towardzero): Likewise.
1357 (acos_test_downward): Likewise.
1358 (acos_test_upward): Likewise.
1359 (asin_test_tonearest): Likewise.
1360 (asin_test_towardzero): Likewise.
1361 (asin_test_downward): Likewise.
1362 (asin_test_upward): Likewise.
1363 (main): Call the new functions.
1364 * sysdeps/i386/fpu/libm-test-ulps: Update.
1365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1369 * math/e_exp10.c: Include <float.h>.
1370 (__ieee754_exp10): Handle underflow here rather than multiplying
1371 large negative argument by M_LN10.
1372 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1374 * math/e_exp10l.c: Include <float.h>.
1375 (__ieee754_exp10l): Handle underflow here rather than multiplying
1376 large negative argument by M_LN10l.
1377 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1378 spurious overflow exception on underflow.
1380 2012-04-29 Marek Polacek <polacek@redhat.com>
1382 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1383 (__fortify_function): New macro.
1384 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1385 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1386 __extern_always_inline.
1387 * libio/bits/stdio2.h: Likewise.
1388 * libio/bits/stdio.h: Likewise.
1389 * string/string.h: Likewise.
1390 * string/bits/string3.h: Likewise.
1391 * include/stdio.h: Likewise.
1392 * stdlib/bits/stdlib.h: Likewise.
1393 * stdlib/stdlib.h: Likewise.
1394 * rt/bits/mqueue2.h: Likewise.
1395 * rt/mqueue.h: Likewise.
1396 * posix/bits/unistd.h: Likewise.
1397 * posix/unistd.h: Likewise.
1398 * io/bits/poll2.h: Likewise.
1399 * io/bits/fcntl2.h: Likewise.
1400 * io/fcntl.h: Likewise.
1401 * io/sys/poll.h: Likewise.
1402 * misc/bits/syslog.h: Likewise.
1403 * misc/bits/syslog-ldbl.h: Likewise.
1404 * misc/sys/syslog.h: Likewise.
1405 * socket/bits/socket2.h: Likewise.
1406 * socket/sys/socket.h: Likewise.
1407 * debug/tst-chk1.c: Likewise.
1408 * wcsmbs/bits/wchar2.h: Likewise.
1409 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1410 * wcsmbs/wchar.h: Likewise.
1412 2012-04-29 Andreas Jaeger <aj@suse.de>
1414 * Makerules (tests): Remove enable-check-abi protection.
1415 (check-abi-warn): Remove.
1416 (check-abi-%): Remove check-abi-warn usage.
1418 * configure.in: Remove check-abi configure option.
1419 * configure: Regenerated.
1420 * config.make.in (enable-check-abi): Remove.
1422 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1425 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1426 double functions to double *_finite functions.
1429 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1430 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1432 * stdio-common/Makefile (tests): Add tst-sprintf3.
1433 * stdio-common/tst-sprintf3.c: New file.
1435 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1436 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1438 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1440 * conform/conformtest.pl: Remove duplicate typed-constant
1443 2012-04-28 David S. Miller <davem@davemloft.net>
1445 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1446 (check-abi-%): Remove AWK script prerequisite and explicit
1448 (check-abi): Rewrite to just diff the symlist with the abilist.
1449 (config-tls, config-abi-config): Delete, no longer used.
1450 (update-abi-%): Remove AWK script and explicit abilist directory.
1451 (update-abi): Rewrite to simply compare and conditionally copy the
1452 symlist and the sysdep abilist file. Remove update-abi-config
1454 * abilist/ld.abilist: Remove.
1455 * abilist/libBrokenLocale.abilist: Remove.
1456 * abilist/libanl.abilist: Remove.
1457 * abilist/libcrypt.abilist: Remove.
1458 * abilist/libdl.abilist: Remove.
1459 * abilist/librt.abilist: Remove.
1460 * abilist/libthread_db.abilist: Remove.
1461 * abilist/libutil.abilist: Remove.
1462 * scripts/extract-abilist.awk: Remove.
1463 * scripts/merge-abilist.awk: Remove.
1464 * sysdeps/generic/libcidn.abilist: New file.
1465 * sysdeps/generic/libnss_compat.abilist: New file.
1466 * sysdeps/generic/libnss_db.abilist: New file.
1467 * sysdeps/generic/libnss_dns.abilist: New file.
1468 * sysdeps/generic/libnss_files.abilist: New file.
1469 * sysdeps/generic/libnss_hesiod.abilist: New file.
1470 * sysdeps/generic/libnss_nis.abilist: New file.
1471 * sysdeps/generic/libnss_nisplus.abilist: New file.
1472 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1473 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1474 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1476 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1477 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1478 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1479 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1480 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1481 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1482 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1483 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1484 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1486 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1487 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1488 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1489 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1491 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1492 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1493 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1494 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1495 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1496 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1498 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1499 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1500 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1502 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1605 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1606 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1607 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1610 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1611 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1612 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1613 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1614 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1615 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1616 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1617 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1618 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1670 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1672 * conform/conformtest.pl: Fix typo in handling typed-constant from
1675 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1677 * README: Cut down references to pre-2.6 Linux kernels and
1678 Linuxthreads. Update lists of configurations in libc and ports
1679 and sort alphabetically. Say "or newer" with Linux kernel version
1682 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1684 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1687 * math/libm-test.inc (logb_test_downward): New test to expose
1688 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1691 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1694 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1696 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1697 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1699 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1701 * sysdeps/unix/i386/brk.S: Remove file.
1702 * sysdeps/unix/i386/dl-brk.S: Likewise.
1703 * sysdeps/unix/i386/pipe.S: Likewise.
1704 * sysdeps/unix/i386/sigreturn.S: Likewise.
1705 * sysdeps/unix/i386/syscall.S: Likewise.
1706 * sysdeps/unix/i386/vfork.S: Likewise.
1707 * sysdeps/unix/i386/wait.S: Likewise.
1709 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1710 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1712 * configure.in (arm*-none*): Do not allow without
1713 --enable-hacker-mode.
1714 (netbsd*): Remove case setting base_os.
1715 (386bsd*): Likewise.
1716 (freebsd*): Likewise.
1720 (ultrix*): Likewise.
1721 (newsos*): Likewise.
1731 (solaris[2-9]*): Likewise.
1733 * configure: Regenerated.
1735 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1738 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1739 overflow or cancellation in calculating denominator.
1740 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1742 down expression to avoid unexpected rounding in newer GCCs.
1743 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1745 2012-04-26 David S. Miller <davem@davemloft.net>
1747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1748 long-double compat symbols.
1749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1763 2012-04-25 David S. Miller <davem@davemloft.net>
1765 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1766 HWCAP_* values only after the memory barriers have been defined.
1767 (atomic_full_barrier): Define.
1768 (atomic_read_barrier): Define.
1769 (atomic_write_barrier): Define.
1771 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1773 * shlib-versions: Add libgcc_s version information.
1774 * sysdeps/generic/libgcc_s.h: Remove.
1775 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1777 * sysdeps/gnu/unwind-resume.c: Likewise.
1778 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1780 2012-04-25 David S. Miller <davem@davemloft.net>
1782 * sysdeps/unix/sparc/brk.S: Delete.
1783 * sysdeps/unix/sparc/dl-brk.S: Delete.
1784 * sysdeps/unix/sparc/pipe.S: Delete.
1785 * sysdeps/unix/sparc/sysdep.S: Delete.
1786 * sysdeps/unix/sparc/sysdep.h: Delete.
1787 * sysdeps/unix/sparc/vfork.S: Delete.
1788 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1789 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1790 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1791 ret_ERRVAL, r0, r1, MOVE): Define.
1792 (JUMPTARGET): Remove.
1793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1794 sysdeps/unix/sparc/sysdep.h
1795 (ENTRY, END): Remove.
1796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1798 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1800 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1801 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1804 * timezone/README: Update upstream location and email address for
1806 * timezone/zdump.c: Update from tzcode 2012b.
1807 * timezone/zic.c: Likewise.
1809 * configure.in (libc_cv_as_needed): Remove test.
1810 * configure: Regenerated.
1811 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1812 conditional definition.
1813 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1814 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1815 * config.make.in (have-as-needed): Remove variable.
1817 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1818 Paul Pluzhnikov <ppluzhnikov@google.com>
1820 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1823 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1825 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1826 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1827 * sysdeps/sh/strlen.S: Likewise.
1829 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1831 * sysdeps/unix/fork.S: Remove file.
1832 * sysdeps/unix/i386/fork.S: Likewise.
1833 * sysdeps/unix/sparc/fork.S: Likewise.
1835 * sysdeps/unix/system.c: Remove file.
1836 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1838 * sysdeps/unix/getegid.S: Remove file.
1839 * sysdeps/unix/geteuid.S: Likewise.
1841 2012-04-24 Roland McGrath <roland@hack.frob.com>
1843 * scripts/check-localplt.awk: New file.
1844 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1846 * scripts/data/localplt-generic.data: Add a comment.
1848 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1849 NODE when __dir_mkfile failed.
1850 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1851 Reported by Ludovic Courtès <ludo@gnu.org>.
1853 2012-04-24 Andreas Jaeger <aj@suse.de>
1855 * Makerules (common-clean): Also remove gen-as-const-headers
1858 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1860 * Makerules (native-compile): Do not change working directory for
1861 build. Use $(OUTPUT_OPTION) in command.
1862 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1864 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1868 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1869 * math/libm-test.inc (floor_test): Add more tests.
1870 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1872 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1874 * sysdeps/unix/getdents.c: Remove file.
1875 * sysdeps/unix/sysv/getdents.c: Likewise.
1876 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1878 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1879 sysdeps/unix/mman/syscalls.list.
1881 (mprotect): Likewise.
1884 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1885 * sysdeps/unix/mman/syscalls.list: Remove.
1886 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1888 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1889 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1890 * configure: Regenerated.
1891 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1893 * config.make.in (libgcc_s_suffix): Remove variable.
1895 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1897 * sysdeps/unix/sysv/gethostname.c: Move to ...
1898 * sysdeps/posix/gethostname.c: ... here.
1900 * sysdeps/unix/execve.S: Remove file.
1902 * sysdeps/unix/_exit.S: Remove file.
1904 2012-04-23 Andreas Jaeger <aj@suse.de>
1907 * manual/Makefile: Remove make dist support, there's no
1908 need for a stand-alone documentation tar ball.
1909 (TEXI2DVI): Define always, it's not in Makeconfig.
1913 (glibc-doc-$(edition).tar): Removed
1917 (ETAGS): Remove, it's in Makeconfig.
1918 (move-if-change): Remove, it's in Makeconfig.
1920 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1923 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1924 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1925 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1926 (strtod_l, strtof_l, strtold_l): Remove __wur.
1927 It is not necessarily an error to ignore strtol's return value.
1928 One can reliably look at the stored endptr to decide whether
1929 the number had valid syntax.
1931 2012-04-21 Andreas Jaeger <aj@suse.de>
1934 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1936 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1938 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1939 * sysdeps/unix/sysv/Versions: Remove file.
1941 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1946 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1949 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1950 version from __vm86.
1952 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1954 * sysdeps/unix/common/lxstat.c: Remove file.
1955 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1957 * sysdeps/unix/sysv/Makefile: Remove file.
1959 * sysdeps/unix/sysv/direct.h: Remove file.
1961 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1962 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1963 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1964 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1965 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1966 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1967 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1969 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1971 * sysdeps/unix/xmknod.c: Remove file.
1972 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1974 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1976 * sysdeps/unix/sysv/i386/time.S: Remove file.
1978 * sysdeps/unix/fxstat.c: Remove file.
1979 * sysdeps/unix/xstat.c: Likewise.
1980 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1982 * sysdeps/unix/sysv/sigaction.c: Remove file.
1984 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1985 (sysdep_headers): Remove variable.
1986 [termio.h not in sysdep_headers] (generated): Likewise.
1987 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1988 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1989 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1990 * sysdeps/unix/sysv/tcflow.c: Likewise.
1991 * sysdeps/unix/sysv/tcflush.c: Likewise.
1992 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1993 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1994 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1995 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1996 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1998 * sysdeps/unix/siglist.c: Remove file.
2000 * sysdeps/unix/getppid.S: Remove file.
2002 * sysdeps/unix/mkdir.c: Remove file.
2003 * sysdeps/unix/rmdir.c: Likewise.
2005 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2007 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2009 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2010 errlist-compat value.
2012 2012-04-18 David S. Miller <davem@davemloft.net>
2014 * sysdeps/generic/memcopy.h (reg_char): Delete.
2015 * debug/strcat_chk.c: Use char, not reg_char.
2016 * debug/strcpy_chk.c: Likewise.
2017 * debug/strncat_chk.c: Likewise.
2018 * debug/strncpy_chk.c: Likewise.
2019 * string/memchr.c: Likewise.
2020 * string/memrchr.c: Likewise.
2021 * string/rawmemchr.c: Likewise.
2022 * string/strcat.c: Likewise.
2023 * string/strchr.c: Likewise.
2024 * string/strchrnul.c: Likewise.
2025 * string/strcmp.c: Likewise.
2026 * string/strcpy.c: Likewise.
2027 * string/strncat.c: Likewise.
2028 * string/strncmp.c: Likewise.
2029 * string/strncpy.c: Likewise.
2031 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2033 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2034 __builtin_memcopy is called when src and dest ranges are known to not
2037 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2039 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2040 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2041 fwd_align_merge macro call.
2042 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2043 bwd_align_merge macro call.
2044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2046 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2048 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2049 bwd_align_merge macros.
2050 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2051 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2052 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2054 2012-04-18 David S. Miller <davem@davemloft.net>
2056 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2058 2012-04-18 Andreas Jaeger <aj@suse.de>
2061 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2062 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2063 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2065 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2066 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2067 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2069 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2070 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2071 Adjust for changed ldbl-128 files.
2073 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2074 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2075 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2077 2012-04-17 David S. Miller <davem@davemloft.net>
2079 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2081 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2083 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2084 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2085 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2086 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2087 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2088 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2090 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2094 * math/libm-test.inc: Add ilogb errno and exception tests.
2095 * math/w_ilogb.c: New file: ilogb wrapper.
2096 * math/w_ilogbf.c: New file: ilogbf wrapper.
2097 * math/w_ilogbl.c: New file: ilogbl wrapper.
2098 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2099 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2100 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2101 exception being thrown with 0.0 as argument.
2102 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2103 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2104 exception being thrown with 0.0 as argument.
2105 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2106 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2107 exception being thrown with 0.0 as argument.
2108 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2109 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2110 exception being thrown with 0.0 as argument.
2111 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2112 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2113 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2114 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2115 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2116 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2117 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2118 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2119 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2121 2012-04-17 Petr Baudis <pasky@ucw.cz>
2123 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2126 2012-04-16 Marek Polacek <polacek@redhat.com>
2128 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2130 2012-04-16 Marek Polacek <polacek@redhat.com>
2132 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2133 operands of fdivp instruction.
2135 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2137 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2138 * elf/tst-auditmod3b.c: Likewise.
2139 * elf/tst-auditmod4b.c: Likewise.
2140 * elf/tst-auditmod5b.c: Likewise.
2141 * elf/tst-auditmod6b.c: Likewise.
2142 * elf/tst-auditmod6c.c: Likewise.
2143 * elf/tst-auditmod7b.c: Likewise.
2144 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2145 * sysdeps/x86_64/preconfigure.in: Likewise.
2146 * sysdeps/x86_64/preconfigure: Regenerated.
2148 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2150 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2153 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2155 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2156 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2158 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2161 * locale/iso-639.def: Fix gl language name. Spotted by
2164 2012-04-12 Roland McGrath <roland@hack.frob.com>
2167 * libio/libio.h (__io_write_fn): Update comment.
2169 2012-04-12 Petr Baudis <pasky@ucw.cz>
2172 * stdio.texi (Hook Functions): The user provided writer function
2173 is not allowed to return -1.
2175 2012-04-11 David S. Miller <davem@davemloft.net>
2177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2179 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2181 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2182 Add a leading slash to rtkaio.
2184 2012-04-11 Jim Meyering <meyering@redhat.com>
2187 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2188 It is not necessarily an error to ignore fwrite's return
2189 value. One can reliably use ferror to test for errors after
2192 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2194 * bits/types.h (__snseconds_t): New type.
2195 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2197 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2199 (__SNSECONDS_T_TYPE): Likewise.
2200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2201 (__SNSECONDS_T_TYPE): Likewise.
2202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2203 (__SNSECONDS_T_TYPE): Likewise.
2205 2012-04-10 Andreas Jaeger <aj@suse.de>
2208 * manual/time.texi (Processor Time): Return type of times is
2209 elapsed real time since an arbitrary point in the past.
2210 (CPU Time): Move CLK_TCK from here...
2211 (Processor Time): ...to here. Correct description.
2212 * manual/conf.texi (Constants for Sysconf): Correct description of
2215 2012-04-10 David S. Miller <davem@davemloft.net>
2218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2219 where the is a gap between DT_REL(A) and DT_JMPREL.
2221 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2223 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2224 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2225 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2227 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2229 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2230 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2231 (dl_main): Handle --inhibit-cache.
2232 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2234 * elf/dl-load.c (_dl_map_object): Use it.
2235 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2237 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2240 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2241 (__ieee754_powl): Saturate large exponents rather than testing for
2242 overflow of y*log2(x).
2243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2244 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2248 * math/s_ctan.c: Include <float.h>.
2249 (__ctan): Avoid internal overflow or cancellation in calculating
2251 * math/s_ctanf.c: Likewise.
2252 * math/s_ctanl.c: Likewise.
2253 * math/s_ctanh.c: Likewise.
2254 * math/s_ctanhf.c: Likewise.
2255 * math/s_ctanhl.c: Likewise.
2256 * math/libm-test.inc (ctan_test): Add more tests.
2257 (ctanh_test): Likewise.
2258 * sysdeps/i386/fpu/libm-test-ulps: Update.
2259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2261 2012-04-09 Andreas Jaeger <aj@suse.de>
2264 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2265 is an optional BSD extension.
2268 * manual/stdio.texi (Opening Streams): Document additional fopen
2271 2012-04-09 Roland McGrath <roland@hack.frob.com>
2273 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2274 %eax without telling the compiler.
2276 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2279 * manual/install.texi: Use sourceware.org.
2281 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2284 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2285 (__ieee754_pow): Generate overflow and underflow using huge*huge
2286 and tiny*tiny rather than just returning constant infinity or zero
2287 for large exponents.
2288 * math/libm-test.inc (pow_test): Require overflow exceptions for
2289 applicable cases of large exponents.
2292 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2293 (__ieee754_pow): Use iterative multiplication algorithm only for
2294 integer exponents with absolute value below 1024. Check for odd
2295 integer exponents when using algorithm for real exponents.
2296 * math/libm-test.inc (pow_test): Add more tests.
2297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2299 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2302 * math/libm-test.inc (exp_test): Do not allow overflow exception
2305 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2308 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2309 instead of __kernel_standard_f.
2311 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2313 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2314 * sysdeps/x86_64/memset_chk.S: Likewise.
2316 2012-04-08 Andreas Jaeger <aj@suse.de>
2319 * manual/startup.texi (Environment Access): Describe return value
2320 for putenv and setenv.
2323 * manual/filesys.texi (Directory Entries): Add description for
2327 * manual/filesys.texi (Directory Entries): Clarify that it's file
2328 system not operating system in the description of DT_UNKNOWN.
2331 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2333 2012-04-08 Stephen Compall <s11@member.fsf.org>
2336 * manual/llio.texi (Opening and Closing Files): Add cross
2337 reference to explain mode argument.
2339 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2341 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2342 * sysdeps/x86_64/memset_chk.S: Likewise.
2344 2012-04-07 David S. Miller <davem@davemloft.net>
2346 * elf/elf.h (R_SPARC_WDISP10): Define.
2347 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2350 R_SPARC_SIZE64 and R_SPARC_H34.
2352 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2354 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2355 conditions and remove no longer applicable assertion.
2357 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2359 * bits/byteswap.h: Include <features.h>.
2360 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2361 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2363 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2365 * bits/byteswap.h (__bswap_16): Removed.
2366 Include <bits/byteswap-16.h> to get __bswap_16.
2367 * sysdeps/i386/bits/byteswap.h: Likewise.
2368 * sysdeps/s390/bits/byteswap.h: Likewise.
2369 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2370 * bits/byteswap-16.h: New file.
2371 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2372 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2373 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2374 * string/Makefile (headers): Add bits/byteswap-16.h.
2376 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2379 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2381 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2382 * nss/tst-nss-static.c: New.
2384 2012-04-06 Robert Millan <rmh@gnu.org>
2387 * manual/llio.texi (File Position Primitive): lseek
2388 refers to WHENCE when it really means OFFSET.
2390 2012-04-06 Andreas Jaeger <aj@suse.de>
2392 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2393 strncmp declarations.
2395 * abilist/libc.abilist: Add __poll and __ppoll.
2397 2012-04-05 David S. Miller <davem@davemloft.net>
2399 * scripts/check-local-headers.sh: Accept a host triplet in the
2400 path matched by the exclude regexp.
2402 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2404 * sysdeps/powerpc/powerpc32/dl-machine.h
2405 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2406 * sysdeps/s390/s390-32/dl-machine.h
2407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2408 * sysdeps/sparc/sparc32/dl-machine.h
2409 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2410 * sysdeps/sparc/sparc64/dl-machine.h
2411 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2413 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2415 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2416 undefined symbol errors.
2418 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2421 2012-04-05 Michael Matz <matz@suse.de>
2424 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2426 2012-04-05 Andreas Jaeger <aj@suse.de>
2429 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2432 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2434 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2435 which ROUND is no valid rounding mode.
2437 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2439 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2441 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2443 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2445 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2446 an exception using FPU order intentionally.
2448 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2450 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2451 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2452 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2453 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2455 2012-04-05 Simon Josefsson <simon@josefsson.org>
2458 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2459 EINVAL when BUFLEN is too smal.
2461 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2464 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2465 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2467 2012-04-03 Andreas Jaeger <aj@suse.de>
2470 * manual/setjmp.texi (System V contexts): Fix sentence.
2473 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2474 New macro for this case.
2475 [!__GNUC__] (__bswap_64): New inline function for this case.
2476 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2477 * bits/byteswap.h: Likewise.
2478 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2479 ull, guard with __GLIBC_HAVE_LONG_LONG.
2481 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2482 __GLIBC_HAVE_LONG_LONG.
2484 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2485 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2487 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2490 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2491 inptr and inend, rather than using last_ch.
2493 2012-04-02 David S. Miller <davem@davemloft.net>
2495 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2496 * stdio-common/printf-parse.h (read_int): Change return type to
2497 'int', return -1 on INT_MAX overflow.
2498 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2499 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2500 overflows INT_MAX. Check for overflow of in-format-string precision
2501 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2502 SIZE_MAX not INT_MAX for integer overflow test.
2503 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2504 skip the construct in the format string but do not record anything.
2505 * stdio-common/bug22.c: Adjust to test both width/prevision
2506 INT_MAX overflow as well as total length INT_MAX overflow. Check
2507 explicitly for proper errno values.
2509 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2511 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2513 * string/test-strcmp.c [! WIDE]: Likewise.
2514 * time/tst-mktime2.c: Likewise for INT_MAX.
2515 * string/test-string.h: #include <sys/param.h> for MIN.
2517 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2518 * sysdeps/i386/init-first.c (init): Likewise.
2519 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2520 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2521 * sysdeps/sh/init-first.c (init): Likewise.
2523 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2525 * po/ru.po: Update from translation team.
2526 * po/vi.po: Likewise.
2528 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2530 * resolv/nss_dns/dns-host.c: Merge copyright years.
2532 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2534 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2535 Optimize memcpy with prefetch if
2536 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2537 src, dst pointers have unequal 16 byte alignments.
2539 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2542 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2543 from a CNAME entry and return the minimum ttl for the query.
2544 (gaih_getanswer_slice): Likewise.
2546 2012-03-30 Jeff Law <law@redhat.com>
2548 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2550 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2551 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2553 * resolv/nss_dns/dns-host.c: Update copyright year.
2555 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2557 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2558 requests to save a system call. Fix check that all bytes are sent.
2560 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2561 comments for sendmmsg.
2563 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2566 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2567 with only 1 character between 0x0041 and 0x01b0.
2568 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2569 * wcsmbs/tst-mbsnrtowcs.c: New file.
2571 2012-03-29 David S. Miller <davem@davemloft.net>
2573 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2574 small copies by hand.
2576 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2579 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2580 _nss_compat_initgroups_dyn): Fall back to malloc/free
2581 for large group memberships.
2583 2012-03-28 David S. Miller <davem@davemloft.net>
2585 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2586 that branches into memcpy.
2587 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2588 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2590 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2593 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2595 * sysdeps/sparc/mempcpy.S: New file.
2597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2598 the IFUNC routine in the libc case.
2599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2601 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2602 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2603 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2604 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2605 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2606 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2607 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2608 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2610 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2611 loop to 256 bytes instead of 64 bytes and fix test signedness.
2613 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2614 * sysdeps/sparc/sparc32/Makefile: rather than here...
2615 * sysdeps/sparc/sparc64/Makefile: and here.
2617 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2619 * malloc/mallocbug.c: Avoid warnings about unused variables.
2621 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2624 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2625 in the right place. Discard and retry query if response is
2626 larger than input buffer size.
2628 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2633 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2634 x for large integer exponent.
2635 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2636 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2637 sign of result as needed afterwards.
2638 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2639 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2640 result for underflowing pow the same as for overflow.
2641 (__kernel_standard_l): Handle powl overflow and underflow here
2642 rather than calling __kernel_standard.
2643 * math/libm-test.inc (pow_test): Add more tests.
2658 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2659 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2660 (__kernel_standard_l): New function.
2661 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2663 * math/w_acosl.c (__acosl): Likewise.
2664 * math/w_asinl.c (__asinl): Likewise.
2665 * math/w_atan2l.c (__atan2l): Likewise.
2666 * math/w_atanhl.c (__atanhl): Likewise.
2667 * math/w_coshl.c (__coshl): Likewise.
2668 * math/w_exp10l.c (__exp10l): Likewise.
2669 * math/w_exp2l.c (__exp2l): Likewise.
2670 * math/w_fmodl.c (__fmodl): Likewise.
2671 * math/w_hypotl.c (__hypotl): Likewise.
2672 * math/w_j0l.c (__j0l, __y0l): Likewise.
2673 * math/w_j1l.c (__j1l, __y1l): Likewise.
2674 * math/w_jnl.c (__jnl, __ynl): Likewise.
2675 * math/w_lgammal.c (__lgammal): Likewise.
2676 * math/w_log10l.c (__log10l): Likewise.
2677 * math/w_log2l.c (__log2l): Likewise.
2678 * math/w_logl.c (__logl): Likewise.
2679 * math/w_powl.c (__powl): Likewise.
2680 * math/w_remainderl.c (__remainderl): Likewise.
2681 * math/w_scalbl.c (sysv_scalbl): Likewise.
2682 * math/w_sinhl.c (__sinhl): Likewise.
2683 * math/w_sqrtl.c (__sqrtl): Likewise.
2684 * math/w_tgammal.c (__tgammal): Likewise.
2685 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2686 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2687 * math/libm-test.inc (acos_test): Add more tests.
2688 (acosh_test): Likewise.
2689 (asin_test): Likewise.
2690 (atanh_test): Likewise.
2691 (exp_test): Likewise.
2692 (exp10_test): Likewise.
2693 (exp2_test): Likewise.
2694 (expm1_test): Likewise.
2695 (lgamma_test): Likewise.
2696 (log_test): Likewise.
2697 (log10_test): Likewise.
2698 (log1p_test): Likewise.
2699 (log2_test): Likewise.
2700 (pow_test): Do not allow some spurious overflow exceptions.
2701 (sqrt_test): Add more tests.
2702 (tgamma_test): Likewise.
2703 (y0_test): Likewise.
2704 (y1_test): Likewise.
2705 (yn_test): Likewise.
2707 2012-03-27 Anton Blanchard <anton@samba.org>
2709 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2711 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2712 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2715 2012-03-27 David S. Miller <davem@davemloft.net>
2717 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2719 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2722 2012-03-27 Andreas Jaeger <aj@suse.de>
2724 * sysdeps/x86_64/elf/configure.in: Moved to ...
2725 * sysdeps/x86_64/configure.in: ... here.
2726 * sysdeps/x86_64/elf/start.S: Moved to ...
2727 * sysdeps/x86_64/start.S: ... here.
2728 * sysdeps/x86_64/elf/configure: Delete.
2730 * sysdeps/x86_64/configure.in: Merge contents from
2731 sysdeps/i386/configure.in (without i686 check).
2733 * sysdeps/i386/elf/Versions: Merge into ...
2734 * sysdeps/i386/Versions: ... this.
2735 * sysdeps/i386/elf/Versions: Delete file.
2736 * sysdeps/i386/elf/start.S: Moved to ...
2737 * sysdeps/i386/start.S: ...here.
2738 * sysdeps/i386/elf/configure.in: Merge into...
2739 * sysdeps/i386/configure.in: ...here.
2740 * sysdeps/i386/elf/configure.in: Delete file.
2741 * sysdeps/i386/elf/configure: Delete file.
2743 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2744 * debug/backtracesyms.c: ... here.
2745 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2746 * debug/backtracesymsfd.c: ... here.
2747 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2748 * sysdeps/generic/ifunc-sel.h: ... here.
2750 * sysdeps/unix/i386/start.c: Delete file.
2751 * sysdeps/unix/sparc/start.c: Delete file.
2752 * sysdeps/unix/start.c: Delete file.
2754 * sysdeps/sh/elf/configure.in: Moved to ...
2755 * sysdeps/sh/configure.in: ... here.
2756 * sysdeps/sh/elf/start.S: Moved to ...
2757 * sysdeps/sh/start.S: ... here.
2758 * sysdeps/sh/elf/configure: Delete file.
2760 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2761 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2762 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2763 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2764 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2765 * sysdeps/powerpc/powerpc64/start.S: here.
2766 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2767 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2768 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2769 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2770 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2772 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2773 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2774 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2775 * sysdeps/powerpc/powerpc32/start.S: ... here.
2776 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2777 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2778 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2780 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2781 * sysdeps/powerpc/ifunc-sel.h: ... here.
2782 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2783 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2785 * sysdeps/sparc/elf/configure.in: Moved to ...
2786 * sysdeps/sparc/configure.in: ... here.
2787 * sysdeps/sparc/elf/configure: Delete file.
2788 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2789 * sysdeps/sparc/sparc32/start.S: ... here.
2790 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2791 * sysdeps/sparc/sparc64/start.S: ... here.
2792 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2793 * sysdeps/sparc/sparc32/Makefile: ... this.
2794 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2795 * sysdeps/sparc/sparc64/Makefile: ... this.
2797 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2798 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2799 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2800 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2801 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2802 * sysdeps/s390/s390-32/setjmp.S: ... here.
2803 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2804 * sysdeps/s390/s390-32/configure.in: ... here.
2805 * sysdeps/s390/s390-32/elf/configure: Delete file.
2806 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2807 * sysdeps/s390/s390-32/start.S: ... here.
2809 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2810 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2811 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2812 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2813 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2814 * sysdeps/s390/s390-64/setjmp.S: ... here.
2815 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2816 * sysdeps/s390/s390-64/configure.in: ... here
2817 * sysdeps/s390/s390-64/elf/configure: Delete file.
2818 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2819 * sysdeps/s390/s390-64/start.S: ... here.
2820 * sysdeps/s390/s390-64/elf/configure: Delete.
2822 * configure.in: Remove support for elf directories in sysdeps.
2824 * configure: Regenerated.
2825 * sysdeps/i386/configure: Regenerated.
2826 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2827 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2828 * sysdeps/s390/s390-32/configure: Regenerated.
2829 * sysdeps/s390/s390-64/configure: Regenerated.
2830 * sysdeps/sh/configure: Regenerated.
2831 * sysdeps/sparc/configure: Regenerated.
2832 * sysdeps/x86_64/configure: Regenerated.
2834 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2839 denormal result into account.
2841 2012-03-25 Roland McGrath <roland@hack.frob.com>
2843 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2844 Reported by Allan McRae <allan@archlinux.org>.
2846 2012-03-23 Jeff Law <law@redhat.com>
2848 * nss/getnssent.c (__nss_getent): Fix typo.
2850 2012-03-23 David S. Miller <davem@davemloft.net>
2852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2854 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2856 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2857 to pad to uint64_t for each field.
2858 (dl_tls_index): Replace unsigned long with uint64_t.
2860 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2861 Paul Pluzhnikov <ppluzhnikov@google.com>
2864 * grp/Makefile (otherlibs): Don't set it.
2865 * inet/Makefile (otherlibs): Likewise.
2866 * login/Makefile (otherlibs): Likewise.
2867 * nscd/Makefile (otherlibs): Likewise.
2868 * posix/Makefile (otherlibs): Likewise.
2869 * pwd/Makefile (otherlibs): Likewise.
2870 * rt/Makefile (otherlibs): Likewise.
2871 * sunrpc/Makefile (otherlibs): Likewise.
2872 * nss/Makefile (otherlibs): Likewise.
2873 Add libnss_files to routines and static-only-routines.
2874 ($(objpfx)getent): Remove rule.
2875 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2876 static-only-routines.
2878 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2881 * math/s_cexp.c: Include <float.h>.
2882 (__cexp): Handle exp result overflowing not necessarily
2883 overflowing both real and imaginary parts of result.
2884 * math/s_cexpf.c: Likewise.
2885 * math/s_cexpl.c: Likewise.
2886 * math/libm-test.inc (cexp_test): Add more tests.
2887 * sysdeps/i386/fpu/libm-test-ulps: Update.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2890 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2892 * include/link.h (ELFW): New macro.
2893 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2894 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2896 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2898 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2901 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2903 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2905 (struct La_x32_retval): Likewise.
2907 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2909 * sysdeps/x86_64/preconfigure.in: New file.
2910 * sysdeps/x86_64/preconfigure: New generated file.
2912 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2915 * math/e_exp2l.c: Include <float.h>.
2916 (__ieee754_exp2l): Handle overflow and underflow cases
2917 separately. Only pass fractional part of argument to
2919 * math/libm-test.inc (exp2_test): Add more tests.
2921 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2922 negating x to take absolute value.
2923 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2925 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2926 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2928 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2929 computing low part if x was negated.
2930 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2932 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2934 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2936 (pltexit): Cast int_retval to ptrdiff_t.
2937 * elf/tst-auditmod3b.c: Likewise.
2938 * elf/tst-auditmod4b.c: Likewise.
2939 * elf/tst-auditmod5b.c: Likewise.
2940 * elf/tst-auditmod6b.c: Likewise.
2941 * elf/tst-auditmod6c.c: Likewise.
2942 * elf/tst-auditmod7b.c: Likewise.
2944 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2945 and x32_gnu_pltexit.
2947 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2949 (La_x32_regs): New macro.
2950 (La_x32_retval): Likewise.
2951 (la_x32_gnu_pltenter): New function prototype.
2952 (la_x32_gnu_pltexit): Likewise.
2954 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2956 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2961 * configure.in (libc_cv_cc_nofma): Check for option to disable
2962 generation of FMA instructions.
2963 * configure: Regenerate.
2964 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2965 * sysdeps/ieee754/dbl-64/Makefile: New file.
2966 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2967 Remove brandred-fma4.
2968 (CFLAGS-brandred-fma4.c): Remove.
2969 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2972 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2975 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2977 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2978 LLONG_MAX != LONG_MAX.
2979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2980 (_fitoa_word): Likewise.
2981 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2982 LLONG_MAX != LONG_MAX.
2983 * stdio-common/_itowa.h: Include <_itoa.h>.
2984 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2985 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2986 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2987 only if not defined.
2988 (_ITOA_WORD_TYPE): Likewise.
2989 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2990 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2992 2012-03-21 David S. Miller <davem@davemloft.net>
2994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2996 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2998 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2999 of x86_64 when setting libc_cv_slibdir, libdir and
3001 * sysdeps/unix/sysv/linux/configure: Regenerated.
3003 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3005 * manual/lang.texi (Old Varargs): Remove section.
3006 (How Variadic): Update menu.
3007 (va_start): Do not mention varargs.h.
3009 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3010 Joseph Myers <joseph@codesourcery.com>
3012 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3014 * configure: Regenerated.
3016 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3018 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3019 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3022 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3025 * Makefile (files-for-dist): Remove NOTES.
3026 (NOTES): Remove rule.
3027 * README: Don't refer to NOTES.
3028 * manual/creature.texi: Don't include macros.texi.
3029 * manual/intro.texi (creature.texi): Remove comment referring to
3032 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3033 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3034 * configure: Regenerated.
3035 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3037 (libc_cv_as_i686): Likewise.
3038 (libc_cv_cc_avx): Likewise.
3039 (libc_cv_cc_sse2avx): Likewise.
3040 (libc_cv_cc_fma4): Likewise.
3041 (libc_cv_cc_novzeroupper): Likewise.
3042 * sysdeps/i386/configure: Regenerated.
3045 * sysdeps/i386/fpu/s_cexp.S: Remove.
3046 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3047 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3048 * math/libm-test.inc (cexp_test): Add more tests.
3049 * sysdeps/i386/fpu/libm-test-ulps: Update.
3050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3052 2012-03-21 Allan McRae <allan@archlinux.org>
3054 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3056 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3059 * math/w_exp2.c: Do not include <float.h>.
3060 (o_threshold, u_threshold): Remove.
3061 (__exp2): Calculate result before checking finiteness and calling
3063 * math/w_exp2f.c: Likewise.
3064 * math/w_exp2l.c: Likewise.
3065 * math/libm-test.inc (exp2_test): Require overflow exception for
3069 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3070 range of signed 64-bit integers before using fistpll. Remove
3071 checks for whether integers fit in mantissa bits.
3072 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3073 the range of signed 32-bit integers before using fistpl. Remove
3074 checks for whether integers fit in mantissa bits.
3075 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3076 (__ieee754_powl): Test for y outside the range of signed 64-bit
3077 integers before using fistpll. Reduce 64-bit values to 63-bit
3079 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3080 divide-by-zero is raised for zero to large negative powers.
3081 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3082 (__ieee754_powl): Test for y outside the range of signed 64-bit
3083 integers before using fistpll. Reduce 64-bit values to 63-bit
3085 * math/libm-test.inc (pow_test): Add more tests.
3087 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3089 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3090 <stdio-common/_itoa.h>.
3091 * debug/segfault.c: Likewise.
3092 * elf/dl-cache.c: Likewise.
3093 * elf/dl-minimal.c: Likewise.
3094 * elf/dl-misc.c: Likewise.
3095 * elf/dl-sysdep.c: Likewise.
3096 * elf/dl-version.c: Likewise.
3097 * elf/rtld.c: Likewise.
3098 * hurd/hurdsock.c: Likewise.
3099 * hurd/lookup-retry.c: Likewise.
3100 * malloc/malloc.c: Likewise.
3101 * malloc/mtrace.c: Likewise.
3102 * nscd/nscd_getgr_r.c: Likewise.
3103 * nscd/nscd_getpw_r.c: Likewise.
3104 * nscd/nscd_getserv_r.c: Likewise.
3105 * posix/getopt_init.c: Likewise.
3106 * posix/wordexp.c: Likewise.
3107 * stdio-common/_itoa.c: Likewise.
3108 * stdio-common/printf_fphex.c: Likewise.
3109 * stdio-common/vfprintf.c: Likewise.
3110 * string/_strerror.c: Likewise.
3111 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3112 * sysdeps/i386/i686/hp-timing.h: Likewise.
3113 * sysdeps/mach/_strerror.c: Likewise.
3114 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3115 * sysdeps/mach/hurd/sethostid.c: Likewise.
3116 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3117 * sysdeps/mach/xpg-strerror.c: Likewise.
3118 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3119 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3120 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3121 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3122 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3123 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3124 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3125 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3126 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3127 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3128 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3129 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3130 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3131 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3132 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3133 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3134 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3136 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3137 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3138 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3140 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3142 * stdio-common/_itoa.h: Moved to ...
3143 * sysdeps/generic/_itoa.h: Here.
3145 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3147 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3148 instead of "_itoa.h" and "_itowa.h".
3149 * stdio-common/vfprintf.: Likewise.
3151 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3153 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3155 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3156 (__signbit): Likwise.
3160 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3162 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3165 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3167 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3168 OVERFLOW_EXCEPTION_OK.
3169 * math/libm-test.inc ("Philosophy"): Update comment about
3171 (OVERFLOW_EXCEPTION): Define.
3172 (OVERFLOW_EXCEPTION_OK): Likewise.
3173 (INVALID_EXCEPTION_OK): Renumber.
3174 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3175 (IGNORE_ZERO_INF_SIGN): Likewise.
3176 (test_exceptions): Handle FE_OVERFLOW.
3177 (exp10_test): Expect overflow exceptions.
3178 (exp2_test): Likewise.
3179 (expm1_test): Likewise.
3180 (nextafter_test): Likewise.
3181 (pow_test): Likewise.
3182 (scalbn_test): Likewise.
3183 (scalbln_test): Likewise.
3185 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3187 * sysdeps/x86_64/bits/atomic.h
3188 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3190 (atomic_exchange_acq): Likewise.
3191 (__arch_exchange_and_add_body): Likewise.
3192 (__arch_add_body): Likewise.
3193 (atomic_add_negative): Likewise.
3194 (atomic_add_zero): Likewise.
3196 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3198 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3199 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3201 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3203 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3204 Check __x86_64__ instead of __WORDSIZE.
3206 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3208 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3210 2012-03-19 David S. Miller <davem@davemloft.net>
3212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3214 * sysdeps/sparc/fpu/fenv_private.h: New file.
3215 * sysdeps/sparc/fpu/math_private.h: Use it.
3216 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3218 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3219 (libc_feholdexcept_setroundl): Remove.
3220 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3222 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3223 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3225 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3227 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3228 int64_t instead of long int.
3229 (INSERT_WORDS64): Likwise.
3231 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3233 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3234 _Unwind_GetCFA return to _Unwind_Ptr first.
3236 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3239 * math/s_clog.c: Include <float.h>.
3240 (__clog): Scale large or subnormal inputs.
3241 * math/s_clogf.c: Likewise.
3242 * math/s_clogl.c: Likewise.
3243 * math/s_clog10.c: Include <float.h>.
3244 (M_LOG10_2): Define.
3245 (__clog10): Scale large or subnormal inputs.
3246 * math/s_clog10f.c: Likewise.
3247 * math/s_clog10l.c: Likewise.
3248 * math/libm-test.inc (clog_test): Add more tests.
3249 (clog10_test): Likewise.
3250 * sysdeps/i386/fpu/libm-test-ulps: Update.
3251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3254 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3256 * math/libm-test.inc (atan2_test): Add another test.
3258 * Makerules (common-objdir-compile): Remove.
3259 * sysdeps/unix/Makefile (config-generated): Do not add
3260 $(unix-generated) to variable.
3261 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3262 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3264 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3266 [generic bits/local_lim.h] (before-compile): Do not append to
3268 [generic bits/local_lim.h] (common-generated): Likewise.
3269 [generic sys/param.h] (before-compile): Do not append to variable.
3270 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3271 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3272 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3273 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3275 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3276 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3277 [generic sys/param.h] ($(addprefix
3278 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3279 [generic sys/param.h] (common-generated): Do not append to
3281 [generic sys/param.h] (sysdep_headers): Likewise.
3282 [generic bits/errno.h] (before-compile): Do not append to
3284 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3286 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3287 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3288 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3289 [generic bits/errno.h] (common-generated): Do not append to
3291 [generic bits/ioctls.h] (before-compile): Do not append to
3293 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3295 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3296 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3297 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3299 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3300 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3301 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3302 [generic bits/ioctls.h] (common-generated): Do not append to
3304 [generic sys/syscall.h] (syscall.h): Remove variable.
3305 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3307 [generic sys/syscall.h] (before-compile): Do not append to
3309 [generic sys/syscall.h] (common-generated): Likewise.
3310 * sysdeps/unix/errnos-tmpl.c: Remove file.
3311 * sysdeps/unix/errnos.awk: Likewise.
3312 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3313 * sysdeps/unix/ioctls.awk: Likewise.
3314 * sysdeps/unix/mk-local_lim.c: Likewise.
3315 * sysdeps/unix/snarf-ioctls: Likewise.
3317 2012-03-19 Richard Henderson <rth@twiddle.net>
3319 * sysdeps/i386/fpu/fenv_private.h: New file.
3320 * sysdeps/i386/fpu/math_private.h: Use it.
3321 (math_opt_barrier, math_force_eval): Remove.
3322 (libc_feholdexcept_setround_53bit): Remove.
3323 (libc_feupdateenv_53bit): Remove.
3324 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3325 (math_opt_barrier, math_force_eval): Remove.
3326 (libc_feholdexcept): Remove.
3327 (libc_feholdexcept_setround): Remove.
3328 (libc_fetestexcept, libc_fesetenv): Remove.
3329 (libc_feupdateenv_test): Remove.
3330 (libc_feupdateenv, libc_feholdsetround): Remove.
3331 (libc_feresetround): Remove.
3333 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3334 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3336 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3337 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3338 (libc_feupdateenv_testl): New.
3339 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3340 (libc_feupdateenv_testf): New.
3341 (libc_feupdateenv): Use libc_feupdateenv_test.
3342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3345 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3346 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3347 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3348 (libc_feresetround_noex): New.
3349 (libc_feresetround_noexf): New.
3350 (libc_feresetround_noexl): New.
3351 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3352 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3353 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3354 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3356 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3357 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3359 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3360 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3361 SET_RESTORE_ROUND_NOEX.
3362 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3363 SET_RESTORE_ROUND_NOEXF.
3364 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3365 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3366 (libc_feholdsetroundf): New.
3367 (libc_feresetround, libc_feresetroundf): New.
3369 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3370 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3371 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3373 * sysdeps/generic/math_private.h: Include <fenv.h>.
3374 (default_libc_feholdexcept): New.
3375 (default_libc_feholdexcept_setround): New.
3376 (default_libc_fesetenv, default_libc_feupdateenv): New.
3377 (libc_feholdexcept): Only define if undefined.
3378 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3379 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3380 (libc_feholdexcept_setroundl): Likewise.
3381 (libc_feholdexcept_setround_53bit): Likewise.
3382 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3383 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3384 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3385 (libc_feupdateenv_53bit): Likewise.
3386 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3387 (libc_feholdexcept): Convert from macro to inline function.
3388 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3389 (libc_fesetenv, libc_feupdateenv): Likewise.
3391 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3392 not previously defined.
3393 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3394 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3395 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3396 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3397 * sysdeps/ieee754/flt-32/math_private.h: New file.
3398 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3399 math_private.h below SET_FLOAT_WORD.
3400 (__isnan, __isinf_ns, __finite): Remove.
3401 (__isnanf, __isinf_nsf, __finitef): Remove.
3403 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3407 2012-03-17 David S. Miller <davem@davemloft.net>
3410 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3413 2012-03-16 David S. Miller <davem@davemloft.net>
3415 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3419 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3421 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3422 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3423 sysdep_routines when subdir is sysvipc.
3424 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3427 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3429 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3431 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3434 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3436 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3437 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3438 (__lround): Renamed to ...
3439 (__llround): This. Replace long int with long long int.
3440 Define lround functions as aliases of llround functions.
3441 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3443 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3445 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3446 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3447 adresses to uintptr_t. Replace "long int" and "unsigned long
3448 int" with "greg_t" on va_arg.
3450 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3452 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3453 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3455 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3456 Move e_machine check before EI_CLASS check. Handle x32
3457 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3458 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3459 SKIP_EM_IA_64 and include
3460 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3462 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3463 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3464 (add_system_dir): New macro.
3466 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3467 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3469 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3480 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3482 * math/w_j0f.c (j0f): Likewise.
3484 * math/w_j0l.c (__j0l): Likewise.
3486 * math/w_j1.c (j1): Likewise.
3488 * math/w_j1f.c (j1f): Likewise.
3490 * math/w_j1l.c (__j1l): Likewise.
3492 * math/w_jn.c (jn): Likewise.
3494 * math/w_jnf.c (jnf): Likewise.
3496 * math/w_jnl.c (__jnl): Likewise.
3498 * math/libm-test.inc (j0_test): Add more tests.
3499 (j1_test): Likewise.
3500 (jn_test): Likewise. Add trailing semicolon to existing test.
3501 (y0_test): Likewise.
3502 (y1_test): Likewise.
3503 * sysdeps/i386/fpu/libm-test-ulps: Update.
3504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3508 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3509 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3510 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3511 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3512 (__tanl): Set errno for infinite argument.
3513 * sysdeps/i386/fpu/mptan.c: Remove.
3514 * sysdeps/i386/fpu/s_tan.S: Likewise.
3515 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3516 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3517 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3518 * math/libm-test.inc (tan_test): Add more tests and enable more
3519 tests for double and long double.
3520 * sysdeps/i386/fpu/libm-test-ulps: Update.
3521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3523 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3525 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3526 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3528 2012-03-16 Roland McGrath <roland@hack.frob.com>
3530 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3531 * configure.in: Use it for both main tree and add-ons.
3532 * configure: Regenerated.
3534 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3536 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3538 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3540 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3544 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3545 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3546 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3547 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3550 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3553 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3554 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3555 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3556 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3557 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3558 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3559 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3560 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3561 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3562 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3563 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3564 * math/libm-test.inc (cos_test): Add more tests and enable more
3565 tests for long double.
3566 (sin_test): Likewise.
3567 (sincos_test): Likewise.
3568 * sysdeps/i386/fpu/libm-test-ulps: Update.
3569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3571 2012-03-16 David S. Miller <davem@davemloft.net>
3573 * sysdeps/sparc/fpu/math_private.h: New file.
3575 2012-03-15 David S. Miller <davem@davemloft.net>
3577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3591 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3592 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3594 * sysdeps/sparc/sparc-ifunc.h: New file.
3595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3637 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3638 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3640 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3642 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3646 2012-03-15 Andreas Jaeger <aj@suse.de>
3649 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3650 ieee754/flt-32 implementation for sin, cos and sincos.
3651 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3652 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3653 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3654 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3655 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3656 ieee754/flt-32 implementation for tan.
3658 * math/libm-test.inc (cos_test): Enable some large input tests for
3660 (sin_test): Likewise.
3661 (sincos_test): Likewise.
3662 (tan_test): Add tests for large input.
3664 * sysdeps/i386/fpu/libm-test-ulps: Update.
3666 2012-03-15 Andreas Jaeger <aj@suse.de>
3669 * math/libm-test.inc (cos_test): Add more test cases.
3670 (sin_test): Likewise.
3671 (sincos_test): Likewise.
3673 2012-03-15 Andreas Jaeger <aj@suse.de>
3676 * math/libm-test.inc (cos_test): Add a test case for large input
3678 (sin_test): Likewise.
3679 (sincos_test): Likewise.
3681 2012-03-15 Andreas Jaeger <aj@suse.de>,
3682 Joseph Myers <joseph@codesourcery.com>
3685 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3686 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3687 * sysdeps/i386/fpu/branred.c: Likewise.
3688 * sysdeps/i386/fpu/dosincos.c: Likewise.
3689 * sysdeps/i386/fpu/mpa.c: Likewise.
3690 * sysdeps/i386/fpu/s_cos.S: Likewise.
3691 * sysdeps/i386/fpu/s_sin.S: Likewise.
3692 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3693 * sysdeps/i386/fpu/sincos32.c: Likewise.
3695 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3697 (libc_feupdateenv_53bit): Define.
3698 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3700 (libc_feupdateenv_53bit): Define.
3702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3703 53 bit (without extend i386 double precision).
3705 * math/libm-test.inc (sincos_test): Add tests for large input.
3709 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3711 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3715 2012-03-15 David S. Miller <davem@davemloft.net>
3717 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3718 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3719 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3720 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3744 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3745 fmin/fmax sysdep routines.
3746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3748 2012-03-14 David S. Miller <davem@davemloft.net>
3750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3757 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3822 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3827 * sysdeps/sparc/configure.in: New file.
3828 * sysdeps/sparc/configure: Generate.
3829 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3830 * configure: Regenerate.
3831 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3832 * config.make.in (have-as-vis3): New.
3833 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3834 available use -Av9d instead of -Av9a.
3835 * sysdeps/sparc/sparc64/Makefile: Likewise.
3836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3849 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3851 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3852 fzeros/fnegs to load 0x80000000 into a float register instead of
3854 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3856 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3860 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3861 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3862 ($(inst_includedir)/bits/syscall.h): Remove rule.
3863 ($(objpfx)bits/syscall.d): Include instead of
3864 $(objpfx)syscall-list.d.
3865 (generated): Change syscall-list.h and syscall-list.d to
3866 bits/syscall.h and bits/syscall.d.
3868 2012-03-14 Roland McGrath <roland@hack.frob.com>
3871 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3873 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3876 * math/s_csqrt.c: Include <float.h>.
3877 (__csqrt): Scale large or subnormal inputs.
3878 * math/s_csqrtf.c: Likewise.
3879 * math/s_csqrtl.c: Likewise.
3880 * math/libm-test.inc (csqrt_test): Add more tests.
3881 * sysdeps/i386/fpu/libm-test-ulps: Update.
3882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3885 * math/libm-test.inc (hypot_test): Add more tests.
3887 2012-03-13 David S. Miller <davem@davemloft.net>
3890 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3891 double-precision for the calculation instead of scaling.
3893 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3895 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3896 manipulate bits before adding and subtracting TWO52[sx].
3897 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3898 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3900 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3902 2012-03-13 David S. Miller <davem@davemloft.net>
3904 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3905 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3907 rtld-global-offsets.h
3908 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3913 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3915 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3916 'err' in the ifdef scope in which it is actually used.
3918 * nss/nss_db/db-init.c: Include string.h
3920 2012-03-12 David S. Miller <davem@davemloft.net>
3922 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3923 masking out of the most significant byte of random value used.
3924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3925 Fix coding style in previous change.
3927 * sysdeps/unix/sysv/linux/kernel-features.h
3928 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3929 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3931 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3934 2012-03-11 David S. Miller <davem@davemloft.net>
3936 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3937 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3938 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3939 for 'resultvar' otherwise things get truncated on 64-bit.
3941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3942 Fix masking out of the most significant byte of random value used.
3944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3946 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3950 2012-03-09 David S. Miller <davem@davemloft.net>
3952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3953 variables with appropriate CPP guards.
3954 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3955 frame pointer, not the stack pointer. Correct layout comments. Fix test
3956 on resulting framesize and the management of the outregs buffer for pltexit.
3957 Preserve floating point return values across _dl_call_pltexit call.
3958 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3959 framesize and the management of the outregs buffer for pltexit.
3960 Preserve floating point return values across _dl_call_pltexit
3962 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3963 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3964 (print_exit): Fix format string for return register value.
3966 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3968 * sunrpc/Makefile (others): Add rpcgen.
3969 ($(objpfx)rpcgen): Remove special build rule and dependency on
3971 * sunrpc/rpcgen.c: New file.
3973 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3976 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3977 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3978 * sysdeps/i386/crti.S: Likewise.
3979 * sysdeps/i386/crtn.S: Likewise.
3980 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3981 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3982 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3983 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3984 * sysdeps/sh/crti.S: Likewise.
3985 * sysdeps/sh/crtn.S: Likewise.
3986 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3989 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3991 * locale/programs/locfile-kw.gperf: Likewise.
3992 * locale/programs/charmap-kw.h: Regenerated.
3993 * locale/programs/locfile-kw.h: Likewise.
3996 * intl/plural.y: Replace FSF snail mail address with URL.
3997 * intl/plural.c: Regenerated.
3999 2012-03-09 Richard Henderson <rth@twiddle.net>
4001 * include/math_private.h: Remove file.
4002 * math/math_private.h: Move file ...
4003 * sysdeps/generic/math_private.h: ... here.
4005 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4006 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4007 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4009 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4010 and <math_private.h>.
4011 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4012 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4013 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4014 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4015 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4037 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4041 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4043 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4044 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4045 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4046 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4063 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4064 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4095 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4098 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4099 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4100 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4101 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4102 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4103 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4104 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4105 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4106 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4107 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4108 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4111 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4112 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4113 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4114 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4115 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4116 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4117 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4118 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4119 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4121 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4122 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4123 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4124 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4125 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4126 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4127 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4128 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4129 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4130 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4131 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4132 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4133 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4134 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4135 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4136 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4137 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4138 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4139 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4140 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4141 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4142 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4143 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4144 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4145 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4146 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4147 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4148 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4149 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4150 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4151 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4152 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4153 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4154 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4155 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4156 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4157 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4158 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4159 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4160 * sysdeps/ieee754/k_standard.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4276 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4280 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4281 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4283 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4288 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4293 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4309 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4310 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4311 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4321 * sysdeps/ieee754/s_lib_version.c: Likewise.
4322 * sysdeps/ieee754/s_matherr.c: Likewise.
4323 * sysdeps/ieee754/s_signgam.c: Likewise.
4324 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4326 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4327 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4328 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4329 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4330 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4331 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4332 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4333 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4334 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4335 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4336 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4337 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4338 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4339 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4340 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4341 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4342 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4346 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4348 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4349 * sunrpc/rpc_main.c: Likewise.
4350 * sunrpc/rpc_svcout.c: Likewise.
4352 2012-03-09 David S. Miller <davem@davemloft.net>
4354 * include/math_private.h: New file.
4356 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4358 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4359 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4360 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4361 from <bits/socket_type.h>.
4362 (enum __socket_type): Don't define here.
4363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4368 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4371 * Makerules ($(inst_includedir)/%.h): New rule.
4372 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4373 (install-others): Remove variable setting.
4374 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4376 2012-03-08 Richard Henderson <rth@twiddle.net>
4378 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4379 from macro to inline function; merge with the
4380 !__LIBC_INTERNAL_MATH_INLINES version.
4381 (__ieee754_sqrtf): Likewise.
4383 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4385 (__rintf, __floor, __floorf): Likewise.
4387 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4388 macro to inline function.
4389 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4391 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4392 not <math/math_private.h>.
4394 2012-03-08 David S. Miller <davem@davemloft.net>
4396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4398 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4400 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4402 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4404 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4405 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4407 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4409 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4410 be defined individually, they must be defined as a block. Define
4411 S for printing a string instead of hidint the different by using a
4412 macro for adding the 'l'.
4413 * stdio-common/tst-fphex-wide.c: Adjust.
4415 2012-03-07 Marek Polacek <polacek@redhat.com>
4417 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4419 2012-03-08 Marek Polacek <polacek@redhat.com>
4422 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4423 * stdio-common/tst-fphex.c: Define a few macros to make the
4424 test reusable. Use them.
4425 * stdio-common/tst-fphex-wide.c: New file.
4427 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4430 * manual/macros.texi (gnusystems): New macro.
4431 (nongnusystems): Likewise.
4432 (gnulinuxhurdsystems): Likewise.
4433 (gnuhurdsystems): Likewise..
4434 (gnulinuxsystems): Likewise.
4435 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4436 variants of the GNU system, not "GNU system".
4437 * manual/conf.texi: Likewise.
4438 * manual/errno.texi: Likewise. Update example of errno macro
4440 * manual/filesys.texi: Likewise.
4441 (getumask): Document as specific to GNU/Hurd.
4442 * manual/install.texi: Likewise. Reword some references to
4444 * manual/intro.texi: Likewise.
4445 * manual/io.texi: Likewise.
4446 (File Name Portability): Detail which constraints are inapplicable
4447 to all GNU systems and which are only inapplicable to GNU/Hurd.
4448 * manual/job.texi: Likewise.
4449 * manual/llio.texi: Likewise.
4450 (O_NOCTTY): Document as present on GNU/Linux.
4451 * manual/maint.texi: Likewise.
4452 * manual/memory.texi: Likewise.
4453 * manual/pattern.texi: Likewise.
4454 * manual/pipe.texi: Likewise.
4455 * manual/process.texi: Likewise.
4456 * manual/resource.texi: Likewise.
4457 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4459 * manual/setjmp.texi: Likewise.
4460 * manual/signal.texi: Likewise.
4461 * manual/startup.texi: Likewise.
4462 * manual/stdio.texi: Likewise.
4463 * manual/terminal.texi: Likewise.
4464 (ONLCR): Document as POSIX.
4465 (OXTABS): Document availability on GNU/Linux as XTABS.
4466 (ONOEOT): Document availability separately from other bits.
4467 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4468 * manual/time.texi: Likewise.
4469 * manual/users.texi: Likewise.
4470 * INSTALL: Regenerated.
4471 * sysdeps/gnu/errlist.c: Regenerated.
4473 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4474 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4475 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4477 * configure: Regenerated.
4479 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4481 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4482 default includes instead of AC_HEADER_CHECK.
4483 * sysdeps/i386/configure: Regenerated.
4486 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4487 * math/s_cacoshf.c (__cacoshf): Likewise.
4488 * math/s_cacoshl.c (__cacoshl): Likewise.
4489 * math/s_casinh.c (__casinh): Set signs of result from argument.
4490 * math/s_casinhf.c (__casinhf): Likewise.
4491 * math/s_casinhl.c (__casinhl): Likewise.
4492 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4493 (casinh_test): Add more tests.
4494 * sysdeps/i386/fpu/libm-test-ulps: Update.
4495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4497 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4499 * po/zh_TW.po: Update from translation team.
4501 * login/Makefile (distribute): Remove variable.
4502 * catgets/Makefile: Likewise.
4503 * mach/Makefile: Likewise.
4504 * malloc/Makefile: Likewise.
4505 * misc/Makefile: Likewise.
4506 * iconv/Makefile: Likewise.
4507 * nscd/Makefile: Likewise.
4508 * hurd/Makefile: Likewise.
4509 * manual/Makefile: Likewise.
4510 * locale/Makefile: Likewise.
4511 * intl/Makefile: Likewise.
4512 * conform/Makefile: Likewise.
4513 * nss/Makefile: Likewise.
4514 * time/Makefile: Likewise.
4515 * soft-fp/Makefile: Likewise.
4516 * dirent/Makefile: Likewise.
4517 * gmon/Makefile: Likewise.
4518 * po/Makefile: Likewise.
4519 * rt/Makefile: Likewise.
4520 * socket/Makefile: Likewise.
4521 * math/Makefile: Likewise.
4522 * signal/Makefile: Likewise.
4523 * debug/Makefile: Likewise.
4524 * elf/Makefile: Likewise.
4525 * timezone/Makefile: Likewise.
4526 * stdlib/Makefile: Likewise.
4527 * iconvdata/Makefile: Likewise.
4528 * sunrpc/Makefile: Likewise.
4529 * io/Makefile: Likewise.
4530 * argp/Makefile: Likewise.
4531 * inet/Makefile: Likewise.
4532 * hesiod/Makefile: Likewise.
4533 * grp/Makefile: Likewise.
4534 * csu/Makefile: Likewise.
4535 * wctype/Makefile: Likewise.
4536 * crypt/Makefile: Likewise.
4537 * libio/Makefile: Likewise.
4538 * string/Makefile: Likewise.
4539 * nis/Makefile: Likewise.
4540 * resolv/Makefile: Likewise.
4541 * stdio-common/Makefile: Likewise.
4542 * wcsmbs/Makefile: Likewise.
4543 * dlfcn/Makefile: Likewise.
4544 * posix/Makefile: Likewise.
4547 * timezone/Makefile: Don't install timezone files, just the programs
4550 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4552 * nss/databases.def: Add missing gshadow entry.
4554 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4556 2012-03-06 Marek Polacek <polacek@redhat.com>
4559 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4560 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4561 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4562 * stdio-common/tst-long-dbl-fphex.c: New file.
4564 2012-03-06 David S. Miller <davem@davemloft.net>
4566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4567 (set_obp_int): New function.
4568 (get_obp_int): New function.
4569 (__get_clockfreq_via_dev_openprom): Likewise.
4570 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4571 Avoid unused variable warnings on 'val' and use builtin_expect.
4572 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4574 (INLINE_CLONE_SYSCALL): Likewise.
4576 2012-03-05 David S. Miller <davem@davemloft.net>
4578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4580 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4588 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4591 Replace gettimeofday with __vdso_gettimeofday.
4593 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4594 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4595 __vdso_clock_gettime and __vdso_getcpu.
4597 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4598 time with __vdso_time.
4600 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4602 * manual/lang.texi (size_t): Note types to which size_t may be
4603 equivalent with the GNU C Library, but do not describe when
4604 differences between them are significant.
4606 2012-03-05 Andreas Jaeger <aj@suse.de>
4608 * sysdeps/i386/fpu/libm-test-ulps: Update.
4610 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4613 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4614 (__ieee754_pow): Save and restore rounding mode and use
4615 round-to-nearest for main computations.
4616 * math/libm-test.inc (pow_test_tonearest): New function.
4617 (pow_test_towardzero): Likewise.
4618 (pow_test_downward): Likewise.
4619 (pow_test_upward): Likewise.
4620 (main): Call the new functions.
4621 * sysdeps/i386/fpu/libm-test-ulps: Update.
4622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4625 * math/libm-test.inc (cosh_test_tonearest): New function.
4626 (cosh_test_towardzero): Likewise.
4627 (cosh_test_downward): Likewise.
4628 (cosh_test_upward): Likewise.
4629 (sinh_test_tonearest): Likewise.
4630 (sinh_test_towardzero): Likewise.
4631 (sinh_test_downward): Likewise.
4632 (sinh_test_upward): Likewise.
4633 (main): Call the new functions.
4634 * sysdeps/i386/fpu/libm-test-ulps: Update.
4635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4637 2012-03-05 Tom de Vries <tom@codesourcery.com>
4639 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4640 default stack guard is set in last bytes.
4641 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4643 2012-03-05 Kees Cook <keescook@chromium.org>
4645 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4648 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4649 possibly allocate from heap instead of stack.
4650 * stdio-common/bug-vfprintf-nargs.c: New file.
4651 * stdio-common/Makefile (tests): Add nargs overflow test.
4653 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4657 2012-03-03 Marek Polacek <polacek@redhat.com>
4659 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4660 * math/math_private.h: Likewise.
4661 * stdlib/tst-strtod.c: Likewise.
4662 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4663 * sysdeps/x86_64/bits/atomic.h: Likewise.
4665 2012-03-02 David S. Miller <davem@davemloft.net>
4667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4671 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4672 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4673 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4674 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4676 2012-03-02 Roland McGrath <roland@hack.frob.com>
4679 * manual/examples/README: New file, says the example source files
4680 can be used under GPL>=2.
4681 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4682 line containing just "*/".
4683 * manual/examples/add.c: Add copyright header (GPL>=2).
4684 * manual/examples/argp-ex1.c: Likewise.
4685 * manual/examples/argp-ex2.c: Likewise.
4686 * manual/examples/argp-ex3.c: Likewise.
4687 * manual/examples/argp-ex4.c: Likewise.
4688 * manual/examples/atexit.c: Likewise.
4689 * manual/examples/db.c: Likewise.
4690 * manual/examples/dir.c: Likewise.
4691 * manual/examples/dir2.c: Likewise.
4692 * manual/examples/execinfo.c: Likewise.
4693 * manual/examples/filecli.c: Likewise.
4694 * manual/examples/filesrv.c: Likewise.
4695 * manual/examples/fmtmsgexpl.c: Likewise.
4696 * manual/examples/genpass.c: Likewise.
4697 * manual/examples/inetcli.c: Likewise.
4698 * manual/examples/inetsrv.c: Likewise.
4699 * manual/examples/isockad.c: Likewise.
4700 * manual/examples/longopt.c: Likewise.
4701 * manual/examples/memopen.c: Likewise.
4702 * manual/examples/memstrm.c: Likewise.
4703 * manual/examples/mkfsock.c: Likewise.
4704 * manual/examples/mkisock.c: Likewise.
4705 * manual/examples/mygetpass.c: Likewise.
4706 * manual/examples/pipe.c: Likewise.
4707 * manual/examples/popen.c: Likewise.
4708 * manual/examples/rprintf.c: Likewise.
4709 * manual/examples/search.c: Likewise.
4710 * manual/examples/select.c: Likewise.
4711 * manual/examples/setjmp.c: Likewise.
4712 * manual/examples/sigh1.c: Likewise.
4713 * manual/examples/sigusr.c: Likewise.
4714 * manual/examples/stpcpy.c: Likewise.
4715 * manual/examples/strdupa.c: Likewise.
4716 * manual/examples/strftim.c: Likewise.
4717 * manual/examples/strncat.c: Likewise.
4718 * manual/examples/subopt.c: Likewise.
4719 * manual/examples/swapcontext.c: Likewise.
4720 * manual/examples/termios.c: Likewise.
4721 * manual/examples/testopt.c: Likewise.
4722 * manual/examples/testpass.c: Likewise.
4723 * manual/examples/timeval_subtract.c: Likewise.
4726 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4728 * manual/timeval_subtract.c.texi: ... here, new file.
4730 2012-03-02 David S. Miller <davem@davemloft.net>
4732 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4734 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4737 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4738 (__sin): Save and restore rounding mode and use round-to-nearest
4739 for all computations.
4740 (__cos): Save and restore rounding mode and use round-to-nearest
4741 for all computations.
4742 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4744 (tan): Save and restore rounding mode and use round-to-nearest for
4746 * math/libm-test.inc (cos_test_tonearest): New function.
4747 (cos_test_towardzero): Likewise.
4748 (cos_test_downward): Likewise.
4749 (cos_test_upward): Likewise.
4750 (sin_test_tonearest): Likewise.
4751 (sin_test_towardzero): Likewise.
4752 (sin_test_downward): Likewise.
4753 (sin_test_upward): Likewise.
4754 (tan_test_tonearest): Likewise.
4755 (tan_test_towardzero): Likewise.
4756 (tan_test_downward): Likewise.
4757 (tan_test_upward): Likewise.
4758 (main): Call the new functions.
4759 * sysdeps/i386/fpu/libm-test-ulps: Update.
4760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4764 small n, then large n, before computing and testing k+n.
4765 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4768 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4770 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4771 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4772 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4773 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4776 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4777 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4778 * math/libm-test.inc (scalbn_test): Add more tests.
4779 (scalbln_test): Likewise.
4781 * manual/filesys.texi (mode_t): Describe constraints on size and
4782 signedness, not exact equivalence to a particular type.
4784 (ino64_t): Likewise.
4786 (nlink_t): Likewise.
4787 (blkcnt_t): Likewise.
4788 (blkcnt64_t): Likewise.
4789 * manual/llio.texi (off_t): Likewise.
4792 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4793 (__ieee754_exp): Save and restore rounding mode and use
4794 round-to-nearest for all computations.
4795 * math/libm-test.inc (exp_test_tonearest): New function.
4796 (exp_test_towardzero): Likewise.
4797 (exp_test_downward): Likewise.
4798 (exp_test_upward): Likewise.
4799 (main): Call the new functions.
4800 * sysdeps/i386/fpu/libm-test-ulps: Update.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4803 2012-03-01 Chris Demetriou <cgd@google.com>
4805 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4806 have predictable order.
4808 2012-03-01 David S. Miller <davem@davemloft.net>
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4812 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4813 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4814 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4815 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4817 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4818 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4819 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4821 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4822 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4823 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4824 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4825 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4829 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4830 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4831 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4833 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4834 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4835 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4836 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4837 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4838 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4840 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4841 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4842 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4843 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4844 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4847 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4849 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4850 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4851 * sysdeps/sparc/elf/configure: Regenerated.
4853 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4855 * configure.in (AS, LD): Require binutils 2.20 or later.
4856 * configure: Regenerated.
4857 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4858 as required minimum version.
4859 * INSTALL: Regenerated.
4863 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4864 before squaring exponent.
4865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4866 bottom long double and 27 bits of top long double before squaring
4868 * math/libm-test.inc (erfc_test): Add more tests.
4869 * sysdeps/i386/fpu/libm-test-ulps: Update.
4870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4873 2012-03-01 Kai Tietz <ktietz@redhat.com>
4875 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4876 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4877 containing bit-fields.
4878 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4879 * soft-fp/single.h (_FP_UNION_S): Likewise.
4880 * soft-fp/double.h (_FP_UNION_D): Likewise.
4882 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4885 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4886 not include ../strcmp.S.
4887 [USE_AS_STRNCASECMP_L]: Likewise.
4888 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4889 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4890 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4891 (__strncasecmp_l_ia32): Define as alias to
4892 __strncasecmp_l_nonascii.
4895 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4896 * sysdeps/i386/fpu/libm-test-ulps: Update.
4897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4899 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4902 2012-02-29 Jeff Law <law@redhat.com>
4904 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4907 2012-02-29 Marek Polacek <polacek@redhat.com>
4910 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4911 * elf/Makefile: Add rules to run tst-unused-dep.out.
4913 2012-02-28 David S. Miller <davem@davemloft.net>
4915 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4916 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4919 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4920 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4922 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4924 * math/libm-test.inc (llround_test): Move one test from
4925 lround_test. Use TEST_f_L in moved test.
4926 (lround_test): Move misplaced test to llround_test. Add testcase
4929 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4931 * sysdeps/x86_64/fpu/e_expf.S: New file.
4932 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4934 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4937 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4938 of remain_len that may cause incomplete multi-byte character and
4940 * posix/bug-regex33.c: New file.
4941 * posix/Makefile (tests): Add bug-regex33.
4943 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4945 * manual/macros.texi: New file.
4946 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4947 * manual/libc.texinfo: Include macros.texi.
4948 * manual/creatute.texi: Likewise.
4949 * manual/install.texi: Likewise.
4950 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4951 @glibcadj{} in references to the GNU C Library.
4952 * manual/charset.texi: Likewise.
4953 * manual/conf.texi: Likewise.
4954 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4955 when not using those macros.
4956 * manual/creature.texi: Likewise.
4957 * manual/crypt.texi: Likewise.
4958 * manual/errno.texi: Likewise.
4959 * manual/filesys.texi: Likewise.
4960 * manual/header.texi: Likewise.
4961 * manual/install.texi: Likewise.
4962 * manual/intro.texi: Likewise.
4963 * manual/io.texi: Likewise.
4964 * manual/job.texi: Likewise.
4965 * manual/lang.texi: Likewise.
4966 * manual/libc.texiinfo: Likewise.
4967 * manual/llio.texi: Likewise.
4968 * manual/locale.texi: Likewise.
4969 * manual/maint.texi: Likewise.
4970 * manual/math.texi: Likewise.
4971 * manual/memory.texi: Likewise.
4972 * manual/message.texi: Likewise.
4973 * manual/nss.texi: Likewise.
4974 * manual/pattern.texi: Likewise.
4975 * manual/process.texi: Likewise.
4976 * manual/resource.texi: Likewise.
4977 * manual/search.texi: Likewise.
4978 * manual/setjmp.texi: Likewise.
4979 * manual/signal.texi: Likewise.
4980 * manual/socket.texi: Likewise.
4981 * manual/startup.texi: Likewise.
4982 * manual/stdio.texi: Likewise.
4983 * manual/string.texi: Likewise.
4984 * manual/sysinfo.texi: Likewise.
4985 * manual/syslog.texi: Likewise.
4986 * manual/terminal.texi: Likewise.
4987 * manual/time.texi: Likewise.
4988 * manual/users.texi: Likewise.
4989 * INSTALL: Regenerated.
4990 * NOTES: Regenerated.
4991 * sysdeps/gnu/errlist.c: Regenerated.
4993 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4995 * include/dirent.h: Include <dirstream.h> before
4998 2012-02-28 David S. Miller <davem@davemloft.net>
5000 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5001 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5002 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5003 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5005 2012-02-27 David S. Miller <davem@davemloft.net>
5007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5009 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5010 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5013 frame pointer instead of stack pointer relative arg slot.
5014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5015 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5016 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5018 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5021 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5023 2012-02-27 David S. Miller <davem@davemloft.net>
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5031 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5032 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5034 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5036 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5037 later. Allow versions 5-9.
5038 * configure: Regenerated.
5039 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5040 required minimum version and 4.6 as recommended version. Do not
5041 mention bugs in GCC 2.7 and 2.8.
5042 * INSTALL: Regenerated.
5044 2012-02-27 David S. Miller <davem@davemloft.net>
5046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5050 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5051 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5052 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5053 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5055 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5056 manipulate bits before adding and subtracting TWO112[sx].
5057 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5059 2012-02-27 Roland McGrath <roland@hack.frob.com>
5062 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5063 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5064 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5065 being in POSIX, because they are in 1003.1-2008.
5067 * rt/tst-aio.c: Include <fcntl.h>.
5068 * rt/tst-aio7.c: Likewise.
5069 * rt/tst-aio64.c: Likewise.
5071 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5073 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5075 * manual/install.texi (--with-headers): Describe headers as
5076 interface headers, not private headers.
5077 (Specific advice for GNU/Linux systems): Describe use of headers
5078 from "make headers_install", not private headers from older
5080 * INSTALL: Regenerated.
5081 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5083 * sysdeps/unix/sysv/linux/configure: Regenerated.
5085 * manual/llio.texi (fclean): Remove documentation.
5087 * manual/Makefile (libc-texi-generated): New variable. Include
5089 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5090 $(libc-texi-generated), not duplicated list of files.
5091 (version.texi, stamp-version): New rules.
5092 (realclean): Remove $(libc-texi-generated), not individual files
5093 from that list. Do not remove dir-add.texinfo.
5094 * manual/libc.texinfo: Comment out uses of edition numbers and
5095 references to printed manual. Remove last-updated dates.
5096 (EDITION): Comment out.
5098 (VERSION, UPDATED): Remove.
5099 (version.texi): Include.
5101 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5103 * sysdeps/posix/spawni.c: Include <signal.h>.
5104 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5105 * sysdeps/pthread/aio_fsync.c: Likewise.
5107 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5109 * conform/Makefile (tests): Run only when not cross-compiling and
5110 when fast-check is not defined.
5112 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5113 * conform/data/limits.h-data: Fixes for POSIX2008.
5114 * conform/run-conformtest.sh: Run all tests.
5115 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5117 * include/bits/dlfcn.h: Likewise.
5118 * include/langinfo.h: Likewise.
5119 * include/monetary.h: Likewise.
5120 * include/sys/poll.h: Likewise.
5122 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5124 * posix/spawn.h: Define __need_sigset_t.
5125 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5126 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5127 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5128 to get sigevent_t only.
5129 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5132 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5133 process_vm_writev only for __USE_GNU.
5134 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5136 * conform/Makefile: For now ignore errors from run-conformtest.
5137 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5138 POSIX to avoid namespace pollution. Don't prepend headers.
5139 * conform/data/aio.h-data: Fixes for POSIX testing.
5140 * conform/data/fcntl.h-data: Likewise.
5141 * conform/data/glob.h-data: Likewise.
5142 * conform/data/grp.h-data: Likewise.
5143 * conform/data/pthread.h-data: Likewise.
5144 * conform/data/pwd.h-data: Likewise.
5145 * conform/data/signal.h-data: Likewise.
5146 * conform/data/spawn.h-data: Likewise.
5147 * conform/data/stdio.h-data: Likewise.
5148 * conform/data/stdlib.h-data: Likewise.
5149 * conform/data/stropts.h-data: Likewise.
5150 * conform/data/sys/mman.h-data: Likewise.
5151 * conform/data/sys/stat.h-data: Likewise.
5152 * conform/data/sys/types.h-data: Likewise.
5153 * conform/data/sys/wait.h-data: Likewise.
5154 * conform/data/time.h-data: Likewise.
5155 * conform/data/unistd.h-data: Likewise.
5156 * conform/data/utime.h-data: Likewise.
5158 * io/sys/stat.h: fchmod was always in POSIX.
5159 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5160 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5161 * rt/aio.h: Define __need_timespec before including <time.h>.
5162 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5163 struct. Add forward declaration of pthread_attr_t and use it in
5165 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5166 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5167 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5168 always remove CLK_TCK definition.
5170 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5172 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5174 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5176 * conform/run-conformtest.sh: New file.
5177 * conform/Makefile: Run run-conformtest for tests.
5178 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5181 * conform/data/uchar.h-data: New file.
5182 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5183 * conform/data/arpa/inet.h-data: Likewise.
5184 * conform/data/assert.h-data: Likewise.
5185 * conform/data/complex.h-data: Likewise.
5186 * conform/data/cpio.h-data: Likewise.
5187 * conform/data/ctype.h-data: Likewise.
5188 * conform/data/dirent.h-data: Likewise.
5189 * conform/data/dlfcn.h-data: Likewise.
5190 * conform/data/errno.h-data: Likewise.
5191 * conform/data/fcntl.h-data: Likewise.
5192 * conform/data/float.h-data: Likewise.
5193 * conform/data/fmtmsg.h-data: Likewise.
5194 * conform/data/fnmatch.h-data: Likewise.
5195 * conform/data/ftw.h-data: Likewise.
5196 * conform/data/glob.h-data: Likewise.
5197 * conform/data/grp.h-data: Likewise.
5198 * conform/data/iconv.h-data: Likewise.
5199 * conform/data/inttypes.h-data: Likewise.
5200 * conform/data/langinfo.h-data: Likewise.
5201 * conform/data/libgen.h-data: Likewise.
5202 * conform/data/limits.h-data: Likewise.
5203 * conform/data/locale.h-data: Likewise.
5204 * conform/data/math.h-data: Likewise.
5205 * conform/data/monetary.h-data: Likewise.
5206 * conform/data/mqueue.h-data: Likewise.
5207 * conform/data/ndbm.h-data: Likewise.
5208 * conform/data/net/if.h-data: Likewise.
5209 * conform/data/netdb.h-data: Likewise.
5210 * conform/data/netinet/in.h-data: Likewise.
5211 * conform/data/nl_types.h-data: Likewise.
5212 * conform/data/poll.h-data: Likewise.
5213 * conform/data/pthread.h-data: Likewise.
5214 * conform/data/pwd.h-data: Likewise.
5215 * conform/data/regex.h-data: Likewise.
5216 * conform/data/sched.h-data: Likewise.
5217 * conform/data/search.h-data: Likewise.
5218 * conform/data/semaphore.h-data: Likewise.
5219 * conform/data/setjmp.h-data: Likewise.
5220 * conform/data/signal.h-data: Likewise.
5221 * conform/data/spawn.h-data: Likewise.
5222 * conform/data/stdarg.h-data: Likewise.
5223 * conform/data/stdio.h-data: Likewise.
5224 * conform/data/stdlib.h-data: Likewise.
5225 * conform/data/string.h-data: Likewise.
5226 * conform/data/strings.h-data: Likewise.
5227 * conform/data/stropts.h-data: Likewise.
5228 * conform/data/sys/ipc.h-data: Likewise.
5229 * conform/data/sys/mman.h-data: Likewise.
5230 * conform/data/sys/msg.h-data: Likewise.
5231 * conform/data/sys/resource.h-data: Likewise.
5232 * conform/data/sys/select.h-data: Likewise.
5233 * conform/data/sys/sem.h-data: Likewise.
5234 * conform/data/sys/shm.h-data: Likewise.
5235 * conform/data/sys/socket.h-data: Likewise.
5236 * conform/data/sys/stat.h-data: Likewise.
5237 * conform/data/sys/statvfs.h-data: Likewise.
5238 * conform/data/sys/time.h-data: Likewise.
5239 * conform/data/sys/timeb.h-data: Likewise.
5240 * conform/data/sys/times.h-data: Likewise.
5241 * conform/data/sys/types.h-data: Likewise.
5242 * conform/data/sys/uio.h-data: Likewise.
5243 * conform/data/sys/un.h-data: Likewise.
5244 * conform/data/sys/utsname.h-data: Likewise.
5245 * conform/data/sys/wait.h-data: Likewise.
5246 * conform/data/syslog.h-data: Likewise.
5247 * conform/data/tar.h-data: Likewise.
5248 * conform/data/termios.h-data: Likewise.
5249 * conform/data/utime.h-data: Likewise.
5250 * conform/data/utmpx.h-data: Likewise.
5251 * conform/data/varargs.h-data: Likewise.
5252 * conform/data/wchar.h-data: Likewise.
5253 * conform/data/wctype.h-data: Likewise.
5254 * conform/data/wordexp.h-data: Likewise.
5256 * include/stropts.h: New file.
5257 * include/uchar.h: New file.
5258 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5259 * include/assert.h: Likewise.
5260 * include/ctype.h: Likewise.
5261 * include/dirent.h: Likewise.
5262 * include/dlfcn.h: Likewise.
5263 * include/fcntl.h: Likewise.
5264 * include/fnmatch.h: Likewise.
5265 * include/glob.h: Likewise.
5266 * include/grp.h: Likewise.
5267 * include/libio.h: Likewise.
5268 * include/locale.h: Likewise.
5269 * include/math.h: Likewise.
5270 * include/net/if.h: Likewise.
5271 * include/netdb.h: Likewise.
5272 * include/netinet/in.h: Likewise.
5273 * include/pthread.h: Likewise.
5274 * include/pwd.h: Likewise.
5275 * include/regex.h: Likewise.
5276 * include/sched.h: Likewise.
5277 * include/search.h: Likewise.
5278 * include/setjmp.h: Likewise.
5279 * include/signal.h: Likewise.
5280 * include/stdio.h: Likewise.
5281 * include/stdlib.h: Likewise.
5282 * include/string.h: Likewise.
5283 * include/sys/cdefs.h: Likewise.
5284 * include/sys/mman.h: Likewise.
5285 * include/sys/msg.h: Likewise.
5286 * include/sys/resource.h: Likewise.
5287 * include/sys/select.h: Likewise.
5288 * include/sys/socket.h: Likewise.
5289 * include/sys/stat.h: Likewise.
5290 * include/sys/statvfs.h: Likewise.
5291 * include/sys/time.h: Likewise.
5292 * include/sys/times.h: Likewise.
5293 * include/sys/uio.h: Likewise.
5294 * include/sys/utsname.h: Likewise.
5295 * include/sys/wait.h: Likewise.
5296 * include/termios.h: Likewise.
5297 * include/time.h: Likewise.
5298 * include/ulimit.h: Likewise.
5299 * include/unistd.h: Likewise.
5300 * include/utime.h: Likewise.
5301 * include/wchar.h: Likewise.
5302 * include/wctype.h: Likewise.
5303 * include/wordexp.h: Likewise.
5305 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5307 * time/time.h: TIME_UTC must be a macro.
5308 Make timespec_get available for ISO C11 only as well.
5310 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5312 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5313 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5315 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5317 * configure.in: Use -o not -a in test for unsupported multi-arch.
5319 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5321 * manual/texinfo.tex: Update to version 2012-01-19.16.
5323 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5325 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5327 2012-02-24 Roland McGrath <roland@hack.frob.com>
5330 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5331 * manual/fdl-1.3.texi: New file.
5332 * manual/fdl-1.1.texi: File removed.
5335 * manual/libc.texinfo (FDL_VERSION): New @set.
5336 Use it for mention of FDL in cover text.
5337 (Documentation License): Use it in @include file name.
5339 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5340 Roland McGrath <roland@hack.frob.com>
5343 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5344 not LONG_LONG_MAX and LONG_LONG_MIN.
5345 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5346 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5348 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5350 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5354 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5355 manipulate bits before adding and subtracting TWO23[sx].
5356 * math/libm-test.inc (nearbyint_test): Add more tests.
5358 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5361 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5362 bits before adding and subtracting TWO23[sx].
5363 * math/libm-test.inc (rint_test): Add more tests.
5364 (rint_test_tonearest): Likewise.
5365 (rint_test_towardzero): Likewise.
5366 (rint_test_downward): Likewise.
5367 (rint_test_upward: Likewise.
5369 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5372 * include/stdc-predef.h: New file. Extracted from features.h.
5373 * include/features.h: Include stdc-predef.h.
5374 * Makefile (headers): Add stdc-predef.h.
5375 * CONFORMANCE (Compiler limitations): Update.
5377 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5379 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5381 2012-02-21 David S. Miller <davem@davemloft.net>
5383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5384 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5386 2012-02-20 David S. Miller <davem@davemloft.net>
5388 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5389 using a normal save/restore sequence, rather than allocating a
5390 dummy stack frame just to store a frame pointer and restore.
5391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5393 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5395 * manual/install.texi: Fix stray word in line-wrapped comment.
5397 2012-02-20 David S. Miller <davem@davemloft.net>
5399 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5400 both binutils and gcc support GOTDATA.
5402 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5403 "rd %pc" in the PIC register setup sequences.
5405 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5406 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5407 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5408 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5409 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5411 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5412 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5414 (SYSCALL_ERROR_HANDLER): Likewise.
5415 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5416 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5418 (SYSCALL_ERROR_HANDLER): Likewise.
5420 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5421 (HAVE_GCC_GOTDATA): New.
5422 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5423 relocation support in both binutils and gcc.
5424 * sysdeps/sparc/elf/configure: Regenerate.
5426 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5427 * sysdeps/sparc/sparc32/elf/configure: Delete.
5428 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5429 * sysdeps/sparc/sparc64/elf/configure: Delete.
5430 * sysdeps/sparc/elf/configure.in: New file.
5431 * sysdeps/sparc/elf/configure: Generate.
5433 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5434 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5435 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5436 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5437 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5439 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5441 * manual/install.texi: Do not mention specific glibc version
5443 * manual/libc.texinfo (VERSION, UPDATED): Update.
5444 (@copying): Use @copyright{} and range of years.
5446 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5449 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5450 [crti.S not in sysdirs] (generated): Do not append.
5451 [crti.S not in sysdirs] (omit-deps): Likewise.
5452 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5453 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5454 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5455 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5456 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5458 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5459 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5460 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5461 * csu/defs.awk: Remove file.
5462 * sysdeps/generic/initfini.c: Likewise.
5463 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5465 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5468 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5470 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5471 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5472 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5473 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5475 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5477 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5478 (__EPOLL_PACKED): Define to empty if not defined by
5480 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5484 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5486 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5487 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5489 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5491 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5495 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5497 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5500 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5501 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5504 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5507 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5509 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5511 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5512 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5514 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5516 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5519 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5521 * math/w_acos.c: Use non-signaling floating-point comparisons.
5522 * math/w_acosf.c: Likewise.
5523 * math/w_acosh.c: Likewise.
5524 * math/w_acoshf.c: Likewise.
5525 * math/w_acoshl.c: Likewise.
5526 * math/w_acosl.c: Likewise.
5527 * math/w_asin.c: Likewise.
5528 * math/w_asinf.c: Likewise.
5529 * math/w_asinl.c: Likewise.
5530 * math/w_atanh.c: Likewise.
5531 * math/w_atanhf.c: Likewise.
5532 * math/w_atanhl.c: Likewise.
5533 * math/w_exp2.c: Likewise.
5534 * math/w_exp2f.c: Likewise.
5535 * math/w_exp2l.c: Likewise.
5536 * math/w_j0.c: Likewise.
5537 * math/w_j0f.c: Likewise.
5538 * math/w_j0l.c: Likewise.
5539 * math/w_j1.c: Likewise.
5540 * math/w_j1f.c: Likewise.
5541 * math/w_j1l.c: Likewise.
5542 * math/w_jn.c: Likewise.
5543 * math/w_jnf.c: Likewise.
5544 * math/w_log.c: Likewise.
5545 * math/w_log10.c: Likewise.
5546 * math/w_log10f.c: Likewise.
5547 * math/w_log10l.c: Likewise.
5548 * math/w_log2.c: Likewise.
5549 * math/w_log2f.c: Likewise.
5550 * math/w_log2l.c: Likewise.
5551 * math/w_logf.c: Likewise.
5552 * math/w_logl.c: Likewise.
5553 * math/w_sqrt.c: Likewise.
5554 * math/w_sqrtf.c: Likewise.
5555 * math/w_sqrtl.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5558 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5559 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5560 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5562 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5565 * manual/string.texi (strnlen): Use correct parameter name in
5566 equivalent expression.
5568 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5571 * manual/users.texi (seteuid): Consistently use neweuid for
5574 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5577 * manual/nss.texi (Services in the NSS configuration): Correct
5578 list of services in example configuration file.
5580 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5583 * manual/arith.texi: Remove statements about negative zero
5584 behaving identically to zero.
5586 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5589 * manual/install.texi: Do not document upgrading from libc5.
5591 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5594 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5596 2012-02-18 David S. Miller <davem@davemloft.net>
5598 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5599 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5600 %o7 across the call.
5601 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5606 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5607 * sysdeps/sparc/crtn.S: Likewise.
5609 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5611 * aout/Makefile: Remove.
5613 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5616 * manual/examples/argp-ex1.c (main): Format definition in GNU
5618 * manual/examples/argp-ex2.c (main): Likewise.
5619 * manual/examples/argp-ex3.c (main): Likewise.
5620 * manual/examples/argp-ex4.c (main): Likewise.
5621 * manual/examples/longopt.c (main): Use new-style prototype
5623 * manual/examples/strncat.c (main): Specify return type and use
5624 (void) for arguments.
5625 * manual/examples/subopt.c (main): Use char **argv argument.
5627 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5630 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5633 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5636 * manual/string.texi (strchr): Change when strchrnul is
5639 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5642 * manual/locale.texi (setlocale): Document LOCPATH.
5644 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5647 * manual/process.texi (execle): Move @dots{} before last argument.
5649 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5652 * manual/charset.texi (Generic Charset Conversion): Fix typo
5653 (LC_TYPE -> LC_CTYPE).
5655 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5658 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5659 (scalbnf): Likewise.
5660 (scalbnl): Likewise.
5661 (scalbln): Likewise.
5662 (scalblnf): Likewise.
5663 (scalblnl): Likewise.
5664 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5668 * manual/filesys.texi (telldir): Use braces around return type.
5669 * manual/llio.texi (mmap): Add space after comma.
5671 * manual/math.texi (jn): Use @var{} on parameter names.
5677 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5679 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5681 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5682 (sched_get_priority_max): Likewise.
5683 * manual/signal.texi (sigvec): Add space after comma.
5684 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5686 (if_indextoname): Likewise.
5687 (if_freenameindex): Likewise.
5688 (sendto): Use ',' instead of '.' in prototype.
5689 * manual/startup.texi (syscall): Use @dots{} instead of literal
5691 * manual/stdio.texi (__fpending): Separate initial words of
5692 paragraph from @deftypefun line.
5693 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5695 (vsyslog): Use @var{} on parameter names.
5696 * manual/terminal.texi (stty): Use @var{} on parameter names.
5697 * manual/users.texi (getutmp): Use @var{} on parameter names.
5698 (getutmpx): Likewise.
5700 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5703 * manual/stdio.texi (fopen): Fix typos in description of
5706 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5709 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5710 get clock_id definition.
5712 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5715 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5716 (madvise): Cast every argument to void on its own.
5718 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5721 * manual/startup.texi (Exit Status): Fix typo.
5723 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5726 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5727 * manual/examples/argp-ex2.c: Likewise.
5728 * manual/examples/argp-ex3.c: Likewise.
5730 2012-02-16 Richard Henderson <rth@redhat.com>
5732 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5733 * sysdeps/s390/s390-32/initfini.c: Remove.
5734 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5735 * sysdeps/s390/s390-64/initfini.c: Remove.
5737 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5739 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5740 compiler output for sysdeps/generic/initfini.c.
5741 * sysdeps/sh/elf/initfini.c: Remove file.
5743 2012-02-16 David S. Miller <davem@davemloft.net>
5746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5748 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5749 * sysdeps/sparc/crti.S: New file.
5750 * sysdeps/sparc/crtn.S: New file.
5751 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5752 * sysdeps/sparc/sparc64/Makefile: Likewise.
5754 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5757 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5759 2012-02-15 Roland McGrath <roland@hack.frob.com>
5762 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5764 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5765 (write, read, close): Likewise.
5766 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5768 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5770 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5771 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5772 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5773 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5775 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5779 2012-02-14 Marek Polacek <polacek@redhat.com>
5781 * sysdeps/x86_64/crti.S: New file.
5782 * sysdeps/x86_64/crtn.S: New file.
5783 * sysdeps/x86_64/elf/initfini.c: Remove file.
5785 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5787 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5788 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5789 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5790 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5792 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5796 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5798 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5799 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5800 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5801 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5803 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5807 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5809 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5810 __feraiseexcept instead of feraiseexcept.
5812 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5813 nanosleep invocations.
5814 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5815 strings, and add error checking for a nanosleep invocations.
5817 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5819 Replace FSF snail mail address with URLs, as per GNU coding standards.
5820 Most of the snail mail addresses were wrong anyway, and omitting
5821 them makes the source code easier to maintain. Almost all of the
5822 changes are to license notices and to locale LC_IDENTIFICATION
5823 addresses, except for this one:
5824 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5825 not its snail mail address.
5827 2012-02-09 Richard Henderson <rth@twiddle.net>
5829 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5830 of kernel-features.h.
5832 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5834 2012-02-08 Marek Polacek <polacek@redhat.com>
5836 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5837 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5838 * sysdeps/gnu/_G_config.h: Likewise.
5839 * sysdeps/generic/_G_config.h: Likewise.
5841 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5843 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5847 * sysdeps/powerpc/powerpc32/crti.S: New file.
5848 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5849 * sysdeps/powerpc/powerpc64/crti.S: New file.
5850 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5852 * Makeconfig (have-initfini): Don't set.
5853 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5854 * configure.in (nopic_initfini): Don't substitute.
5855 * config.h.in (HAVE_INITFINI): Don't #undef.
5856 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5857 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5859 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5861 Support crti.S and crtn.S provided directly by architectures.
5862 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5863 [crti.S in sysdirs] (omit-deps): Likewise.
5864 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5865 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5866 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5867 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5868 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5869 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5870 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5871 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5872 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5873 compiler output for sysdeps/generic/initfini.c.
5874 * sysdeps/i386/elf/Makefile: Remove file.
5875 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5877 2012-02-07 Marek Polacek <polacek@redhat.com>
5879 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5880 * sysdeps/gnu/_G_config.h: Likewise.
5881 * sysdeps/mach/hurd/_G_config.h: Likewise.
5883 2012-02-07 Marek Polacek <polacek@redhat.com>
5885 * math/Makefile (tests): Add tst-CMPLX2.
5886 * math/tst-CMPLX2.c: New file.
5888 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5890 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5892 * math/libm-test.inc (jn_test): Add missing L suffix.
5894 2012-02-06 Marek Polacek <polacek@redhat.com>
5896 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5897 * sysdeps/i386/fpu/e_powf.S: Likewise.
5898 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5899 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5900 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5901 * sysdeps/i386/fpu/e_pow.S: Likewise.
5902 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5903 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5904 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5905 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5906 * sysdeps/i386/fpu/e_log2.S: Likewise.
5907 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5908 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5909 * sysdeps/i386/fpu/e_powl.S: Likewise.
5910 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5911 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5912 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5913 * sysdeps/i386/fpu/e_logl.S: Likewise.
5914 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5915 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5916 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5917 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5918 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5919 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5920 * sysdeps/i386/fpu/e_log.S: Likewise.
5921 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5922 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5923 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5924 * sysdeps/i386/fpu/e_logf.S: Likewise.
5925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5926 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5927 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5928 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5929 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5930 * sysdeps/i386/fpu/e_log10.S: Likewise.
5931 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5932 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5933 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5934 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5935 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5936 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5937 * sysdeps/i386/asm-syntax.h: Likewise.
5938 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5939 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5940 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5941 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5942 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5943 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5944 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5945 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5946 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5947 * sysdeps/powerpc/sysdep.h: Likewise.
5948 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5949 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5951 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5954 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5956 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5958 * sysdeps/i386/sysdep.h: Include <features.h>.
5959 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5962 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5964 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5966 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5969 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5971 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5972 (SETUP_PIC_REG): Use GET_PC_THUNK.
5973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5976 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5978 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5979 for non-PIC compilation.
5980 (SETUP_PIC_REG): Add .p2align directive.
5981 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5982 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5983 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5984 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5985 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5986 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5987 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5988 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5989 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5990 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5991 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5992 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5993 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5994 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5995 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5996 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5997 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5998 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5999 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6000 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6001 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6002 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6003 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6005 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6007 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6009 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6010 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6011 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6013 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6014 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6015 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6016 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6017 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6018 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6019 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6020 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6021 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6023 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6025 * math/tst-CMPLX.c: Include <stdio.h>.
6027 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6029 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6031 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6032 * sysdeps/sparc/bits/mathdef.h: Likewise.
6034 2012-01-31 Marek Polacek <polacek@redhat.com>
6036 * libio/libio.h: Don't define _PARAMS.
6037 * locale/programs/config.h: Don't define PARAMS.
6038 * stdlib/strtol_l.c: Likewise.
6039 (__strtol_l): Remove PARAMS from the prototype.
6041 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6043 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6044 names. Just use the correct names. Remove unnecessary wrapper
6046 * malloc/arena.c: Likewise.
6047 * malloc/hooks.c: Likewise.
6049 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6050 ARENA_TEST says not to. Simplify test for creation of a new arena.
6051 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6053 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6055 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6057 (update_get_addr): New function.
6058 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6059 GET_ADDR_MODULE parameter.
6061 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6063 * crypt/cert.c: Remove __STDC__ conditionals.
6064 * crypt/crypt-entry.c: Likewise.
6065 * crypt/crypt_util.c: Likewise.
6066 * libio/filedoalloc.c: Likewise.
6067 * libio/fileops.c: Likewise.
6068 * libio/genops.c: Likewise.
6069 * libio/iofclose.c: Likewise.
6070 * libio/iofdopen.c: Likewise.
6071 * libio/iofopen.c: Likewise.
6072 * libio/iofopen64.c: Likewise.
6073 * libio/iogetdelim.c: Likewise.
6074 * libio/iopopen.c: Likewise.
6075 * libio/obprintf.c: Likewise.
6076 * libio/oldfileops.c: Likewise.
6077 * libio/oldiofclose.c: Likewise.
6078 * libio/oldiofdopen.c: Likewise.
6079 * libio/oldiofopen.c: Likewise.
6080 * libio/oldiopopen.c: Likewise.
6081 * libio/wfiledoalloc.c: Likewise.
6082 * libio/wgenops.c: Likewise.
6083 * locale/programs/xmalloc.c: Likewise.
6084 * misc/syslog.c: Likewise.
6085 * stdio-common/xbug.c: Likewise.
6086 * string/memchr.c: Likewise.
6087 * string/memcmp.c: Likewise.
6088 * string/memrchr.c: Likewise.
6089 * string/rawmemchr.c: Likewise.
6090 * sysdeps/posix/getcwd.c: Likewise.
6091 * time/strftime_l.c: Likewise.
6093 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6095 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6096 * config.make.in (config-cflags-sse2avx): Define.
6097 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6100 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6102 * scripts/config.guess: Update from upstream config git repository.
6103 * scripts/config.sub: Likewise.
6105 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6107 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6109 (R_TILEPRO_*, R_TILEGX_*): New macros.
6111 * scripts/firstversions.awk: Fix bug in version range handling.
6113 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6115 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6117 * include/sys/epoll.h: New file.
6118 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6121 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6123 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6124 Avoid unnecessary __WORDSIZE == 64 test.
6125 (fmaxf): Use VEX format if possible.
6130 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6131 * math/math_private.h: Remove libc_fegetround* and
6133 * sysdeps/i386/configure.in: Check for -msse2avx.
6134 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6135 also if SSE2AVX is defined.
6136 Remove libc_fegetround* and libc_fesetround*.
6137 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6138 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6141 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6142 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6143 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6144 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6145 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6147 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6149 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6153 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6155 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6158 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6160 * Makeconfig (libm): Define.
6161 * elf/Makefile: Add rules to build and run tst-relsort1.
6162 * elf/tst-relsort1.c: New file.
6163 * elf/tst-relsort1mod1.c: New file.
6164 * elf/tst-relsort1mod2.c: New file.
6166 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6168 * math/s_ldexp.c: Remove __STDC__ conditionals.
6169 * math/s_ldexpf.c: Likewise.
6170 * math/s_ldexpl.c: Likewise.
6171 * math/s_nextafter.c: Likewise.
6172 * math/s_nexttowardf.c: Likewise.
6173 * math/s_significand.c: Likewise.
6174 * math/s_significandf.c: Likewise.
6175 * math/s_significandl.c: Likewise.
6176 * math/w_jnl.c: Likewise.
6177 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6178 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6179 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6180 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6181 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6199 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6200 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6201 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6202 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6203 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6205 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6206 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6207 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6208 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6209 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6212 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6213 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6215 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6216 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6217 * sysdeps/ieee754/k_standard.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6279 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6284 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6292 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6293 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6296 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6297 * sysdeps/ieee754/s_matherr.c: Likewise.
6298 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6299 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6303 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6305 * crypt/md5.h: Remove __STDC__ conditionals.
6306 * libio/libioP.h: Likewise.
6307 * locale/programs/config.h: Likewise.
6308 * sysdeps/generic/sysdep.h: Likewise.
6309 * sysdeps/i386/asm-syntax.h: Likewise.
6310 * sysdeps/s390/asm-syntax.h: Likewise.
6311 * sysdeps/unix/sysdep.h: Likewise.
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6315 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6317 * libio/libio.h: Remove __STDC__ conditionals.
6318 * malloc/obstack.h: Likewise.
6319 * math/complex.h: Likewise.
6320 * math/math.h: Likewise.
6321 * sysdeps/generic/_G_config.h: Likewise.
6322 * sysdeps/gnu/_G_config.h: Likewise.
6323 * sysdeps/mach/hurd/_G_config.h: Likewise.
6324 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6325 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6326 * sysdeps/sparc/bits/mathdef.h: Likewise.
6328 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6331 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6332 Clean up HAS_* macros.
6333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6334 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6339 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6340 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6342 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6344 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6346 * elf/tst-unique3.cc (gets): Remove declaration.
6347 * elf/tst-unique3lib.cc (gets): Likewise.
6348 * elf/tst-unique3lib2.cc (gets): Likewise.
6349 * elf/tst-unique4.cc (gets): Likewise.
6351 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6353 * include/stdio.h: Add C++ protection. Add gets declarations and
6355 * debug/tst-chk1.c: Don't declare gets here.
6356 * stdio-common/tst-gets.c: Likewise.
6358 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6360 * posix/glob: Remove directory.
6362 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6364 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6366 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6368 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6369 of the non-standard EPFNOSUPPORT.
6371 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6373 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6374 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6375 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6377 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6379 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6381 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6383 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6385 * nscd/grpcache.c (cache_addgr): Likewise.
6386 * nscd/hstcache.c (cache_addhst): Likewise.
6387 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6388 * nscd/pwdcache.c (cache_addpw): Likewise.
6389 * nscd/servicescache.c (cache_addserv): Likewise.
6391 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6393 * malloc/malloc.c: Various cleanups.
6394 * malloc/hooks.c: Likewise.
6396 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6397 * stdlib/bug-fmtmsg1.c: New file.
6399 * stdlib/fmtmsg.c (init): Add missing unlock.
6400 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6402 2012-01-12 Marek Polacek <polacek@redhat.com>
6404 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6407 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6409 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6410 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6411 macro to ensure uniqueness of label name.
6412 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6413 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6415 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6417 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6419 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6420 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6421 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6424 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6426 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6428 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6429 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6430 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6432 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6434 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6435 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6436 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6439 * math/bits/math-finite.h: Add ldexp support.
6441 2012-01-10 Marek Polacek <polacek@redhat.com>
6443 * locale/programs/localedef.h (show_archive_content): Add noreturn
6446 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6448 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6450 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6452 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6454 * io/Makefile (headers): Add bits/poll2.h.
6456 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6459 typo #include statement.
6461 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6463 * include/sys/cdefs.h: Define __attribute_alloc_size.
6464 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6465 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6466 * elf/pldd.c: Likewise.
6467 * iconv/iconv_charmap.c: Likewise.
6468 * iconv/iconvconfig.c: Likewise.
6469 * iconv/strtab.c: Likewise.
6470 * locale/programs/locale.c: Likewise.
6471 * locale/programs/localedef.h: Likewise.
6472 * locale/programs/simple-hash.c: Likewise.
6473 * nscd/nscd.h: Likewise.
6474 * nss/makedb.c: Likewise.
6475 * sysdeps/generic/ldconfig.h: Likewise.
6476 * locale/programs/localedef.c: Remove xmalloc prototype.
6477 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6479 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6484 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6486 * math/Makefile (tests): Add tst-CMPLX.
6487 * math/tst-CMPLX.c: New file.
6489 * math/complex.h (CMPLXL): Fix typo.
6491 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6492 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6494 * debug/tst-chk1.c: Add poll and ppoll tests.
6495 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6496 * include/sys/poll.h: Add hidden proto for ppoll.
6497 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6498 * sysdeps/mach/hurd/ppoll.c: Likewise.
6499 * io/ppoll.c: Likewise.
6500 * debug/poll_chk.c: New file.
6501 * debug/ppoll_chk.c: New file.
6502 * include/bits/poll2.h: New file.
6503 * io/bits/poll2.h: New file.
6506 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6508 * configure.in: static is always set to yes. Remove.
6509 * config.make.in: Don't set build-static.
6510 * Makeconfig: Remove use of build-static.
6511 * dlfcn/Makefile: Likewise.
6512 * elf/Makefile: Likewise.
6513 * math/Makefile: Likewise.
6514 * misc/Makefile: Likewise.
6515 * nptl/Makefile: Likewise.
6516 * sysdeps/mach/hurd/Makefile: Likewise.
6518 * configure.in: PWD_P is not used anymore.
6519 * config.make.in: Remove PWD_P entry.
6521 * configure.in: Remove last remnants of RANLIB.
6522 No need to check for signed size_t anymore.
6523 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6525 Remove __builtin_expect test because we require at least gcc 3.4.
6526 * aclocal.m4: Likewise.
6528 * wcsmbs/mbrtoc16.c: Implement using towc function.
6529 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6530 * wcsmbs/wcsmbsload.c: Likewise.
6531 * iconv/gconv_simple.c: Likewise.
6532 * iconv/gconv_int.h: Likewise.
6533 * iconv/gconv_builtin.h: Likewise.
6534 * iconv/iconv_prog.c: Remove CHAR16 handling.
6536 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6538 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6540 * configure.in: Remove --with-elf and --enable-bounded options.
6541 Dont set base_machine for ia64. More non-ELF conditions removed.
6542 Remove testing and setting of leading underscore information.
6543 * config.make.in (build-bounded): Set to no.
6544 * config.h.in: Remove NO_UNDERSCORES entry.
6545 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6547 * csu/start.c: Remove !NO_UNDERSCORE code.
6548 * locale/localeinfo.h: Likewise.
6549 * sysdeps/generic/machine-gmon.h: Likewise.
6550 * sysdeps/generic/sysdep.h: Likewise.
6551 * sysdeps/i386/sysdep.h: Likewise.
6552 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6553 * sysdeps/mach/sysdep.h: Likewise.
6554 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6556 * sysdeps/sh/sysdep.h: Likewise.
6557 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6558 * sysdeps/unix/i386/sysdep.S: Likewise.
6559 * sysdeps/unix/sparc/start.c: Likewise.
6560 * sysdeps/unix/sparc/sysdep.S: Likewise.
6561 * sysdeps/unix/sparc/sysdep.h: Likewise.
6562 * sysdeps/unix/start.c: Likewise.
6563 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6564 * sysdeps/x86_64/sysdep.h: Likewise.
6566 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6569 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6571 * argp/argp-fmtstream.h: Use const instead __const.
6572 * argp/argp.h: Likewise.
6573 * assert/assert.h: Likewise.
6574 * bits/fenv.h: Likewise.
6575 * bits/sched.h: Likewise.
6576 * bits/sigset.h: Likewise.
6577 * bits/sigthread.h: Likewise.
6578 * catgets/nl_types.h: Likewise.
6579 * conform/data/pthread.h-data: Likewise.
6580 * crypt/crypt-private.h: Likewise.
6581 * crypt/crypt.h: Likewise.
6582 * crypt/crypt_util.c: Likewise.
6583 * ctype/ctype.h: Likewise.
6584 * debug/execinfo.h: Likewise.
6585 * debug/mbsnrtowcs_chk.c: Likewise.
6586 * debug/mbsrtowcs_chk.c: Likewise.
6587 * debug/wcsnrtombs_chk.c: Likewise.
6588 * debug/wcsrtombs_chk.c: Likewise.
6589 * debug/wcstombs_chk.c: Likewise.
6590 * dirent/dirent.h: Likewise.
6591 * dlfcn/dlfcn.h: Likewise.
6592 * elf/neededtest4.c: Likewise.
6593 * grp/grp.h: Likewise.
6594 * gshadow/gshadow.h: Likewise.
6595 * iconv/gconv.h: Likewise.
6596 * iconv/gconv_int.h: Likewise.
6597 * iconv/gconv_simple.c: Likewise.
6598 * iconv/iconv.h: Likewise.
6599 * iconv/loop.c: Likewise.
6600 * iconv/skeleton.c: Likewise.
6601 * include/aio.h: Likewise.
6602 * include/aliases.h: Likewise.
6603 * include/argz.h: Likewise.
6604 * include/arpa/inet.h: Likewise.
6605 * include/assert.h: Likewise.
6606 * include/dirent.h: Likewise.
6607 * include/dlfcn.h: Likewise.
6608 * include/execinfo.h: Likewise.
6609 * include/fcntl.h: Likewise.
6610 * include/fenv.h: Likewise.
6611 * include/glob.h: Likewise.
6612 * include/grp.h: Likewise.
6613 * include/libintl.h: Likewise.
6614 * include/mntent.h: Likewise.
6615 * include/netdb.h: Likewise.
6616 * include/pwd.h: Likewise.
6617 * include/rpc/netdb.h: Likewise.
6618 * include/sched.h: Likewise.
6619 * include/search.h: Likewise.
6620 * include/shadow.h: Likewise.
6621 * include/signal.h: Likewise.
6622 * include/stdio.h: Likewise.
6623 * include/stdlib.h: Likewise.
6624 * include/string.h: Likewise.
6625 * include/sys/socket.h: Likewise.
6626 * include/sys/stat.h: Likewise.
6627 * include/sys/statfs.h: Likewise.
6628 * include/sys/statvfs.h: Likewise.
6629 * include/sys/syslog.h: Likewise.
6630 * include/sys/time.h: Likewise.
6631 * include/sys/uio.h: Likewise.
6632 * include/time.h: Likewise.
6633 * include/unistd.h: Likewise.
6634 * include/utmp.h: Likewise.
6635 * include/wchar.h: Likewise.
6636 * include/wctype.h: Likewise.
6637 * inet/aliases.h: Likewise.
6638 * inet/arpa/inet.h: Likewise.
6639 * inet/netinet/ether.h: Likewise.
6640 * inet/netinet/in.h: Likewise.
6641 * intl/libintl.h: Likewise.
6642 * io/bits/fcntl2.h: Likewise.
6643 * io/fcntl.h: Likewise.
6644 * io/ftw.h: Likewise.
6645 * io/sys/poll.h: Likewise.
6646 * io/sys/stat.h: Likewise.
6647 * io/sys/statfs.h: Likewise.
6648 * io/sys/statvfs.h: Likewise.
6649 * io/utime.h: Likewise.
6650 * libio/bits/stdio.h: Likewise.
6651 * libio/bits/stdio2.h: Likewise.
6652 * libio/libio.h: Likewise.
6653 * libio/libioP.h: Likewise.
6654 * libio/stdio.h: Likewise.
6655 * locale/lc-ctype.c: Likewise.
6656 * locale/locale.h: Likewise.
6657 * login/utmp.h: Likewise.
6658 * malloc/arena.c: Likewise.
6659 * malloc/malloc.c: Likewise.
6660 * malloc/malloc.h: Likewise.
6661 * malloc/mcheck.c: Likewise.
6662 * malloc/mtrace.c: Likewise.
6663 * math/bits/mathcalls.h: Likewise.
6664 * math/fenv.h: Likewise.
6665 * math/math_private.h: Likewise.
6666 * misc/bits/error.h: Likewise.
6667 * misc/bits/syslog.h: Likewise.
6668 * misc/err.h: Likewise.
6669 * misc/error.h: Likewise.
6670 * misc/fstab.h: Likewise.
6671 * misc/mntent.h: Likewise.
6672 * misc/regexp.h: Likewise.
6673 * misc/search.h: Likewise.
6674 * misc/sgtty.h: Likewise.
6675 * misc/sys/mman.h: Likewise.
6676 * misc/sys/syslog.h: Likewise.
6677 * misc/sys/uio.h: Likewise.
6678 * misc/sys/xattr.h: Likewise.
6679 * misc/ttyent.h: Likewise.
6680 * nis/rpcsvc/ypclnt.h: Likewise.
6681 * nss/nss.h: Likewise.
6682 * posix/bits/unistd.h: Likewise.
6683 * posix/fnmatch.h: Likewise.
6684 * posix/glob.h: Likewise.
6685 * posix/sched.h: Likewise.
6686 * posix/spawn.h: Likewise.
6687 * posix/sys/wait.h: Likewise.
6688 * posix/unistd.h: Likewise.
6689 * posix/wordexp.h: Likewise.
6690 * pwd/pwd.h: Likewise.
6691 * resolv/netdb.h: Likewise.
6692 * resource/sys/resource.h: Likewise.
6693 * rt/aio.h: Likewise.
6694 * rt/bits/mqueue2.h: Likewise.
6695 * rt/mqueue.h: Likewise.
6696 * shadow/shadow.h: Likewise.
6697 * signal/signal.h: Likewise.
6698 * socket/send.c: Likewise.
6699 * socket/sendto.c: Likewise.
6700 * socket/sys/socket.h: Likewise.
6701 * stdio-common/printf.h: Likewise.
6702 * stdlib/bits/stdlib.h: Likewise.
6703 * stdlib/fmtmsg.h: Likewise.
6704 * stdlib/monetary.h: Likewise.
6705 * stdlib/stdlib.h: Likewise.
6706 * stdlib/ucontext.h: Likewise.
6707 * streams/stropts.h: Likewise.
6708 * string/argz.h: Likewise.
6709 * string/bits/string2.h: Likewise.
6710 * string/string.h: Likewise.
6711 * string/strings.h: Likewise.
6712 * sunrpc/rpc/auth.h: Likewise.
6713 * sunrpc/rpc/auth_des.h: Likewise.
6714 * sunrpc/rpc/clnt.h: Likewise.
6715 * sunrpc/rpc/netdb.h: Likewise.
6716 * sunrpc/rpc/pmap_clnt.h: Likewise.
6717 * sunrpc/rpc/xdr.h: Likewise.
6718 * sysdeps/generic/inttypes.h: Likewise.
6719 * sysdeps/generic/net/if.h: Likewise.
6720 * sysdeps/generic/sys/swap.h: Likewise.
6721 * sysdeps/gnu/net/if.h: Likewise.
6722 * sysdeps/gnu/utmpx.h: Likewise.
6723 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6724 * sysdeps/i386/i486/bits/string.h: Likewise.
6725 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6726 * sysdeps/s390/bits/string.h: Likewise.
6727 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6728 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6729 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6730 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6731 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6732 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6733 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6734 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6735 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6736 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6737 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6738 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6739 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6740 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6741 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6742 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6743 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6746 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6748 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6749 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6750 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6751 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6752 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6753 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6755 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6756 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6757 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6758 * sysvipc/sys/ipc.h: Likewise.
6759 * sysvipc/sys/msg.h: Likewise.
6760 * sysvipc/sys/sem.h: Likewise.
6761 * sysvipc/sys/shm.h: Likewise.
6762 * termios/termios.h: Likewise.
6763 * time/sys/time.h: Likewise.
6764 * time/time.h: Likewise.
6765 * wcsmbs/bits/wchar2.h: Likewise.
6766 * wcsmbs/uchar.h: Likewise.
6767 * wcsmbs/wchar.h: Likewise.
6768 * wctype/wctype.h: Likewise.
6771 * Makeconfig: Remove all but ELF support including AIX support.
6772 * Makerules: Likewise.
6773 * config.h.in: Likewise.
6774 * config.make.in: Likewise.
6775 * configure: Likewise.
6776 * configure.in: Likewise.
6777 * csu/Makefile: Likewise.
6778 * csu/version.c: Likewise.
6779 * debug/Makefile: Likewise.
6780 * dlfcn/Makefile: Likewise.
6781 * elf/Makefile: Likewise.
6782 * extra-lib.mk: Likewise.
6783 * iconv/Makefile: Likewise.
6784 * include/libc-symbols.h: Likewise.
6785 * include/shlib-compat.h: Likewise.
6786 * resolv/Makefile: Likewise.
6787 * resolv/res_libc.c: Likewise.
6788 * rt/Makefile: Likewise.
6789 * sysdeps/i386/asm-syntax.h: Likewise.
6790 * sysdeps/i386/sysdep.h: Likewise.
6791 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6792 * sysdeps/mach/sysdep.h: Likewise.
6793 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6794 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6795 * sysdeps/s390/asm-syntax.h: Likewise.
6796 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6797 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6798 * sysdeps/sh/sysdep.h: Likewise.
6799 * sysdeps/unix/sparc/sysdep.h: Likewise.
6800 * sysdeps/wordsize-32/divdi3.c: Likewise.
6801 * sysdeps/x86_64/sysdep.h: Likewise.
6803 * argp/Versions: Remove _argp_unlock_xxx.
6806 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6807 * abilist/libBrokenLocale.abilist: Likewise.
6808 * abilist/libanl.abilist: Likewise.
6809 * abilist/libc.abilist: Likewise.
6810 * abilist/libcrypt.abilist: Likewise.
6811 * abilist/libdl.abilist: Likewise.
6812 * abilist/libm.abilist: Likewise.
6813 * abilist/libnsl.abilist: Likewise.
6814 * abilist/libpthread.abilist: Likewise.
6815 * abilist/libresolv.abilist: Likewise.
6816 * abilist/librt.abilist: Likewise.
6817 * abilist/libthread_db.abilist: Likewise.
6818 * abilist/libutil.abilist: Likewise.
6819 * abilist/libnss_db.abilist: New file.
6821 * scripts/abilist.awk: Add support for indirect functions.
6823 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6825 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6827 * shlib-versions: Remove entries for ports architectures.
6829 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6831 * elf/stackguard-macros.h: Remove support for IA-64.
6832 * elf/tst-auditmod1.c: Likewise.
6833 * sysdeps/generic/ldsodefs.h: Likewise.
6835 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6836 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6840 * configure.in: Remove --enable-omitfp support.
6842 * config.make.in: Likewise.
6843 * Makeconfig: Likewise.
6844 * manual/install.texi: Likewise.
6846 In case anyone cares, the IA-64 architecture could move to ports.
6847 * sysdeps/ia64/*: Removed.
6848 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6849 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6852 * configure.in: Remove entries for unsupported architectures.
6855 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6856 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6858 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6859 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6860 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6861 fall back to using wcrtomb.
6862 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6863 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6865 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6866 * wcsmbs/tst-c16c32-1.c: New file.
6868 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6871 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6873 * elf/tst-unique3.cc: Add explicit declaration of gets.
6874 * elf/tst-unique3lib.cc: Likewise.
6875 * elf/tst-unique3lib2.cc: Likewise.
6876 * elf/tst-unique4.cc: Likewise.
6878 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6880 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6883 * assert/assert.h (static_assert): Don't define for C++.
6884 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6885 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6887 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6889 * iconv/loop.c (single loop): Fix assertion in storing of
6892 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6894 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6896 * posix/getconf.c: Update copyright year.
6897 * nss/getent.c: Likewise.
6898 * nss/makedb.c: Likewise.
6899 * iconv/iconvconfig.c: Likewise.
6900 * iconv/iconv_prog.c: Likewise.
6901 * elf/ldconfig.c: Likewise.
6902 * elf/pldd.c: Likewise.
6903 * elf/sotruss.ksh: Likewise.
6904 * catgets/gencat.c: Likewise.
6905 * csu/version.c: Likewise.
6906 * elf/ldd.bash.in: Likewise.
6907 * elf/sprof.c (print_version): Likewise.
6908 * locale/programs/locale.c: Likewise.
6909 * locale/programs/localedef.c: Likewise.
6910 * login/programs/pt_chown.c: Likewise.
6911 * nscd/nscd.c (print_version): Likewise.
6912 * debug/xtrace.sh: Likewise.
6913 * malloc/memusage.sh: Likewise.
6914 * malloc/mtrace.pl: Likewise.
6915 * debug/catchsegv.sh: Likewise.
6917 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6919 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6922 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6925 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6926 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6928 * iconv/gconv_int.h: Likewise.
6929 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6930 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6931 from libc for GLIBC_2.16.
6932 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6933 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6934 * wcsmbs/uchar.h: Really define mbstate_t.
6935 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6936 * wcsmbs/c16rtomb.c: New file.
6937 * wcsmbs/mbrtoc16.c: New file.
6938 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6940 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6941 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6943 * wcsmbs/wchar.h: Add missing __restrict.
6945 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6948 * time/Makefile (routines): Add timespec_get.
6949 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6950 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6951 timespec for ISO C11.
6952 * time/timespec_get.c: New file.
6953 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6954 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6957 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6958 * stdlib/stdlib.h: Declare aligned_alloc.
6959 * Versions.def: Add GLIBC_2.16 for libc.
6960 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6963 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6966 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6970 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6973 * assert/assert.h (static_assert): Define.
6975 * version.h: Update for 2.16 development version.
6978 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6981 * version.h (RELEASE): Bump for 2.15 release.
6982 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6984 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6985 Patch by Marek Polacek <mpolacek@redhat.com>.
6987 * bits/byteswap.h: Protect long long constants with __extension__.
6988 * sysdeps/i386/bits/byteswap.h: Likewise.
6989 * sysdeps/ia64/bits/byteswap.h: Likewise.
6990 * sysdeps/s390/bits/byteswap.h: Likewise.
6991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6993 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6998 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7000 2011-12-23 Marek Polacek <polacek@redhat.com>
7002 * elf/dl-addr.c (determine_info): Add inline keyword.
7003 * elf/tst-auditmod4b.c (check_avx): Likewise.
7004 * elf/tst-auditmod6b.c (check_avx): Likewise.
7005 * elf/tst-auditmod6c.c (check_avx): Likewise.
7006 * elf/tst-auditmod7b.c (check_avx): Likewise.
7008 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7010 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7013 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7016 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7017 processing for last bytes.
7019 2011-08-06 Bruno Haible <bruno@clisp.org>
7022 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7023 U+0385, not to U+1FEE.
7026 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7027 entry for U+00A5 U+0301.
7029 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7032 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7033 buffer for the output is too small.
7035 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7039 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7040 SSE flags if possible.
7042 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7045 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7046 processing for last bytes.
7048 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7050 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7051 (syscall-list-default-options, syscall-list-default-condition)
7052 (syscall-list-includes): Define.
7053 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7054 list of ABIs and options and #if conditions for each ABI. Do not
7055 handle common syscalls between ABIs specially.
7056 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7058 (syscall-list-variants, syscall-list-32bit-options)
7059 (syscall-list-32bit-condition, syscall-list-64bit-options)
7060 (syscall-list-64bit-condition): Define.
7061 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7062 (syscall-list-variants, syscall-list-32bit-options)
7063 (syscall-list-32bit-condition, syscall-list-64bit-options)
7064 (syscall-list-64bit-condition): Define.
7065 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7067 (syscall-list-variants, syscall-list-32bit-options)
7068 (syscall-list-32bit-condition, syscall-list-64bit-options)
7069 (syscall-list-64bit-condition): Define.
7070 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7072 (syscall-list-variants, syscall-list-32bit-options)
7073 (syscall-list-32bit-condition, syscall-list-64bit-options)
7074 (syscall-list-64bit-condition): Define.
7076 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7078 * locale/iso-639.def: Add brx entry.
7081 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7082 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7084 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7085 __feraiseexcept_renamed.
7087 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7090 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7091 EPOLLET with unsigned values.
7092 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7093 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7095 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7096 to large cancellation.
7097 * math/s_cacoshf.c: Likewise.
7098 * math/s_cacoshl.c: Likewise.
7100 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7104 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7105 * math/s_cacoshf.c: Likewise.
7106 * math/s_cacoshl.c: Likewise.
7108 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7111 * iconv/gconv.h: Define __GCONV_SWAP.
7112 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7113 * iconvdata/utf-16.c: Likewise.
7114 * iconvdata/utf-32.c: Likewise.
7116 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7120 numerator after shifting it by one limb.
7122 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7124 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7125 under [__USE_EXTERN_INLINES].
7127 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7130 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7132 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7134 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7135 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7137 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7138 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7139 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7140 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7141 for strncasecmp/strncasecmp_l compilation.
7142 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7143 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7145 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7148 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7151 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7154 * time/tzfile.c (__tzfile_read): Check values from file header.
7156 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7158 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7159 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7160 * powerpc/powerpc32/dl-start.S: Likewise.
7161 * powerpc/powerpc32/elf/start.S: Likewise.
7162 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7163 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7164 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7165 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7166 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7167 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7168 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7169 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7170 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7171 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7172 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7173 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7174 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7175 * powerpc/powerpc32/memset.S: Likewise.
7176 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7177 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7178 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7179 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7180 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7181 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7182 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7183 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7184 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7185 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7186 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7187 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7188 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7190 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7192 * math/libm-test.inc: Added more nearbyint tests.
7193 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7198 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7200 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7203 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7205 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7206 Add wcscpy-ssse3 wcscpy-c.
7207 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7208 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7209 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7210 * sysdeps/x86_64/wcschr.S: New file.
7211 * sysdeps/x86_64/wcsrchr.S: New file.
7212 * string/test-strcmp.c: Remove checking of wcscmp function for
7214 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7215 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7216 wcsrchr-sse2 wcsrchr-c.
7217 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7218 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7219 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7220 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7221 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7222 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7223 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7224 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7225 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7226 * wcsmbc/wcschr.c (WCSCHR): New macro.
7228 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7230 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7231 * wcsmbs/test-wcsrchr.c: New file.
7232 * string/test-strrchr.c: Add wcsrchr support.
7234 * wcsmbs/test-wcscpy.c: New file.
7235 * string/test-strcpy.c: Add wcscpy support.
7238 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7240 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7243 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7246 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7248 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7250 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7251 Minor optimizations.
7253 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7254 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7255 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7257 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7259 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7260 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7261 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7262 for gcc to avoid warnings.
7263 * inet/Makefile (tests): Add tst-checks.
7264 * inet/tst-checks.c: New file.
7266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7269 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7272 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7273 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7275 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7277 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7279 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7282 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7284 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7286 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7287 conditional on GCC version.
7288 (__arch_compare_and_exchange_val_8_acq)
7289 (__arch_compare_and_exchange_val_16_acq)
7290 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7291 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7292 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7294 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7296 * sysdeps/sh/backtrace.c: New file.
7298 2011-12-02 Andreas Schwab <schwab@redhat.com>
7300 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7303 2011-12-01 Andreas Schwab <schwab@redhat.com>
7305 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7306 falling back to utime.
7308 2011-11-30 Andreas Schwab <schwab@redhat.com>
7310 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7311 expectations for float.
7313 2011-11-29 Andreas Schwab <schwab@redhat.com>
7315 * locale/weight.h (findidx): Add parameter len.
7316 * locale/weightwc.h (findidx): Likewise.
7317 * posix/fnmatch_loop.c (FCT): Adjust caller.
7318 * posix/regcomp.c (build_equiv_class): Likewise.
7319 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7320 * posix/regexec.c (check_node_accept_bytes): Likewise.
7321 * string/strcoll_l.c (STRCOLL): Likewise.
7322 * string/strxfrm_l.c (STRXFRM): Likewise.
7324 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7326 * Makefile.in: Remove CVSOPT handling.
7327 * configure.in: Remove use of AC_REVISION.
7328 * iconvdata/Makefile (distribute): No need to filter out CVS.
7329 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7332 2011-11-16 Andreas Schwab <schwab@redhat.com>
7334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7335 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7336 [USE_AS_STRNCASECMP_L]: Likewise.
7337 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7338 NO_TLS_DIRECT_SEG_REFS.
7339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7340 Fix argument offsets for non-PIC.
7341 [USE_AS_STRNCASECMP_L]: Likewise.
7342 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7343 NO_TLS_DIRECT_SEG_REFS.
7345 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7347 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7349 * locale/loadlocale.c (_nl_load_locale): Likewise.
7351 2011-11-15 Andreas Schwab <schwab@redhat.com>
7353 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7354 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7356 (SYSCALL_GETTIME): Set errno on error.
7358 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7359 count references to noai6ai_cached.
7361 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7363 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7365 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7366 FD_CLOEXEC for /proc/self/maps.
7368 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7369 FD_CLOEXEC for /proc/meminfo.
7371 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7374 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7375 FD_CLOEXEC for given file.
7377 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7379 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7380 FD_CLOEXEC for /etc/hosts.
7381 (_gethtent): Likewise.
7383 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7385 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7386 cancellation and set FD_CLOEXEC for /etc/netgroup.
7388 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7389 reading /etc/publickey.
7391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7392 allow cancellation when reading /etc/group.
7394 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7396 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7398 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7399 when using data file.
7401 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7403 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7404 (write_nis_obj): Use "c" and "e" in fopen.
7406 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7408 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7410 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7412 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7414 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7417 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7419 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7421 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7423 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7424 file parsing and set FD_CLOEXEC.
7426 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7428 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7430 2011-11-14 Andreas Schwab <schwab@redhat.com>
7432 * malloc/arena.c (arena_get2): Don't call reused_arena when
7433 _int_new_arena failed.
7435 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7437 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7438 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7439 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7440 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7441 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7443 to compile strcasecmp and strncasecmp.
7444 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7445 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7449 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7451 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7452 locale-defines.sym to gen-as-const-headers.
7453 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7454 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7456 to compile strcasecmp and strncasecmp.
7457 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7458 strcasecmp_l and strncasecmp_l.
7459 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7460 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7461 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7462 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7463 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7464 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7465 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7466 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7467 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7468 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7469 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7471 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7473 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7474 result of SYSDEP_GETTIME_CPU to retval.
7475 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7476 parameter list to macro. Remove trailing semicolon. Adjust users.
7478 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7481 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7483 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7485 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7486 from unused variable.
7488 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7490 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7493 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7496 * sunrpc/rpc_prot.c (rejected): Fix case value.
7498 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7499 unsigned long long int to avoid warnings in shift.
7501 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7503 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7506 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7507 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7508 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7510 * nis/nis_table.c (nis_list): Use variable of correct type for
7511 result of __follow_path call.
7513 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7515 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7516 of math functions ceil, trunc, floor, round, and sqrt, when
7517 avaliable on the platform.
7518 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7520 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7521 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7522 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7524 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7526 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7527 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7529 2011-11-11 Roland McGrath <roland@hack.frob.com>
7531 * include/unistd.h: Fix __readlink return type.
7532 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7534 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7536 * stdlib/ucontext.h: Undo last change for makecontext.
7538 2011-11-11 Andreas Schwab <schwab@redhat.com>
7540 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7542 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7543 * setjmp/setjmp.h: Mark functions as non-leaf.
7544 * setjmp/bits/setjmp2.h: Likewise.
7545 * stdlib/ucontext.h: Likewise.
7547 2011-11-10 Andreas Schwab <schwab@redhat.com>
7549 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7550 (reused_arena): Don't check arena limit.
7551 (arena_get2): Atomically check arena limit.
7553 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7555 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7556 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7561 2011-11-07 Andreas Schwab <schwab@redhat.com>
7563 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7564 handler when locking.
7566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7567 Fix size of allocated buffer.
7569 2011-11-04 Andreas Schwab <schwab@redhat.com>
7572 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7573 declarations for long double functions.
7574 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7576 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7578 2011-11-03 Andreas Schwab <schwab@redhat.com>
7580 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7583 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7586 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7588 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7590 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7592 * include/alloca.h (stackinfo_alloca_round): Define.
7593 (extend_alloca): Use it.
7594 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7595 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7598 * scripts/check-local-headers.sh: Ignore libaudit.h.
7600 * nscd/Makefile (extra-objs): Make recursively expanded.
7602 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7604 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7605 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7607 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7608 * posix/tst-rfc3484-2.c: Likewise.
7609 * posix/tst-rfc3484-3.c: Likewise.
7611 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7613 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7615 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7616 process_vm_writev from libc using GLIBC_2.15 version.
7618 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7620 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7622 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7625 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7628 * nss/getent.c (initgroups_keys): Show error message in case no group
7631 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7632 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7633 __bump_nl_timestamp.
7634 * nscd/connections (nscd_init): When host database is served open
7635 netlink socket and request notification about configuration changes.
7636 (main_loop_poll): Track netlink file descriptor and bump timestamp
7637 in case data becomes available.
7638 (main_loop_epoll): Likewise.
7639 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7640 (database_pers_head): Add extra_data fileds.
7641 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7642 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7643 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7646 in6ai data, call __free_in6ai.
7647 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7649 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7650 interface information. Reuse previous data if netlink timestamp
7652 (__bump_nl_timestamp): New function.
7653 (__free_in6ai): New function.
7655 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7657 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7658 close_not_cancel_no_status here.
7659 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7661 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7664 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7667 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7668 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7669 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7671 2011-07-03 Andreas Jaeger <aj@suse.de>
7674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7675 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7676 * math/libm-test.inc (sin_test): Add test case.
7678 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7681 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7682 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7684 * elf/chroot_canon.c (chroot_canon): Cleanups.
7686 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7689 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7690 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7692 * string/test-strchr.c: Make usable for strchrnul testing.
7693 * string/test-strchrnul.c: New file.
7694 * string/Makefile (strop-tests): Add strchrnul.
7696 * po/it.po: Update from translation team.
7697 * po/es.po: Likewise.
7699 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7701 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7702 the three constants needed as parameters. Drop the others.
7703 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7704 __m128i_strloadu_tolower.
7705 Create and initialize variable zero and use it in all the places
7706 where _mm_setzero_si128 was used.
7708 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7709 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7710 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7713 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7714 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7715 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7716 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7717 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7718 __mpranred, __mptan.
7719 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7720 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7721 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7722 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7723 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7724 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7726 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7727 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7729 2011-10-28 Andreas Schwab <schwab@redhat.com>
7731 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7733 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7736 wide char related routines to wcsmbs subdir.
7738 2011-10-27 Andreas Schwab <schwab@redhat.com>
7741 * misc/sys/cdefs.h (__THROWNL): Define.
7742 * posix/unistd.h: Use __THREADNL instead of __THREAD
7743 for memory synchronization functions.
7745 2011-10-26 Roland McGrath <roland@hack.frob.com>
7748 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7750 * manual/stdio.texi (Obstack Streams): Node removed.
7752 2011-10-26 Andreas Schwab <schwab@redhat.com>
7754 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7755 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7756 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7758 * math/math_private.h (math_force_eval): Allow non-addressable
7760 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7762 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7764 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7767 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7768 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7769 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7770 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7771 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7772 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7773 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7774 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7776 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7777 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7778 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7779 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7780 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7781 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7782 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7783 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7784 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7785 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7786 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7787 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7789 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7790 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7791 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7792 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7793 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7794 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7796 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7797 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7799 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7800 place. Use VEX encoding when compiling for AVX.
7802 2011-10-25 Andreas Schwab <schwab@redhat.com>
7804 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7805 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7807 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7809 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7811 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7812 useless if() expression.
7813 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7814 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7815 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7817 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7818 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7819 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7822 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7823 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7824 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7825 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7826 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7827 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7828 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7831 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7833 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7835 2011-10-25 Andreas Schwab <schwab@redhat.com>
7837 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7839 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7841 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7843 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7844 .text section. Avoid duplicate constants.
7845 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7847 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7849 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7853 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7855 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7856 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7857 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7859 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7861 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7862 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7866 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7867 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7868 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7869 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7870 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7871 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7872 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7874 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7875 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7876 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7877 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7878 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7879 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7880 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7881 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7882 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7883 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7884 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7885 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7886 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7887 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7889 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7891 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7893 * sysdeps/x86_64/dla.h: Move to ...
7894 * sysdeps/x86_64/fpu/dla.h: ...here.
7895 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7896 situations. Use __builtin_fma only for gcc 4.6 and up.
7898 * config.make.in: Add have-mfma4 entry.
7899 * configure.in: Substitute libc_cv_cc_fma4.
7900 * math/Makefile (dbl-only-routines): Add sincostab.
7901 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7902 Use __sincostab not sincos.
7903 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7910 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7911 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7912 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7913 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7915 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7916 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7918 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7919 define aliases when function name is a macro.
7920 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7921 sysdeps/ieee754/dbl-64/sincos.tbl.
7922 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7923 fma4-enabled routines.
7924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7925 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7926 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7927 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7928 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7929 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7931 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7932 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7933 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7934 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7935 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7936 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7937 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7938 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7939 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7940 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7941 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7942 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7943 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7944 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7945 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7947 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7949 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7950 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7951 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7952 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7953 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7955 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7966 2011-10-24 Andreas Schwab <schwab@redhat.com>
7968 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7970 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7974 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7976 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7978 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7979 Remove unused variable magic_bits.
7980 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7982 * string/strnlen.c: Define and use STRNLEN macro.
7983 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7984 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7985 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7986 * wcsmbs/wcslen.c: Define and use WCSLEN.
7987 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7988 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7989 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7990 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7991 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7992 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7993 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7995 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7998 strnlen-sse2-no-bsf.
7999 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8000 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8001 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8002 Add strnlen support.
8003 (USE_AS_STRNLEN): New macro.
8004 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8005 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8006 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8007 * sysdeps/x86_64/wcslen.S: New file.
8009 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8011 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8012 XMM-moves are used for copying on small sizes.
8014 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8016 * wcsmbs/Makefile (strop-tests): Add wcschr.
8017 * wcsmbs/test-wcschr.c: New file.
8018 * string/test-strchr.c: Update.
8022 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8024 * wcsmbs/Makefile (strop-tests): Add wcslen.
8025 * wcsmbs/test-wcslen.c: New file.
8026 * string/test-strlen.c: Update.
8030 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8032 * po/it.po: Update from translation team.
8034 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8036 * sysdeps/x86_64/wcscmp.S: Update.
8037 Fix wrong comparison semantics.
8038 wcscmp shall use signed comparison not unsigned.
8039 Don't use substraction to avoid overflow bug.
8040 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8041 * wcsmbc/wcscmp.c: Likewise.
8042 * string/test-strcmp.c: Likewise.
8043 Add new tests to check cases with negative values.
8045 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8047 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8048 * sysdeps/x86_64/dla.h: ...here. New file.
8049 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8059 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8062 __ynl_finite aliases.
8064 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8068 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8070 [DLA_FMA] (EMULV): Use DLA_FMA.
8071 [DLA_FMA] (MUL12): Use EMULV.
8072 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8073 that are not needed.
8074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8082 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8084 * math/s_nan.c: Undef __nan.
8085 * math/s_nanf.c: Undef __nanf.
8086 * math/s_nanl.c: Undef __nanl.
8087 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8090 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8092 * math/s_catan.c: Add branch predictions.
8093 * math/s_catanf.c: Likewise.
8094 * math/s_catanh.c: Likewise.
8095 * math/s_catanhf.c: Likewise.
8096 * math/s_catanhl.c: Likewise.
8097 * math/s_catanl.c: Likewise.
8098 * math/s_cexp.c: Likewise.
8099 * math/s_cexpf.c: Likewise.
8100 * math/s_cexpl.c: Likewise.
8101 * math/s_clog.c: Likewise.
8102 * math/s_clog10.c: Likewise.
8103 * math/s_clog10f.c: Likewise.
8104 * math/s_clog10l.c: Likewise.
8105 * math/s_clogf.c: Likewise.
8106 * math/s_clogl.c: Likewise.
8107 * math/s_csqrt.c: Likewise.
8108 * math/s_csqrtf.c: Likewise.
8109 * math/s_csqrtl.c: Likewise.
8110 * math/s_ctanf.c: Likewise.
8111 * math/s_ctanh.c: Likewise.
8112 * math/s_ctanhf.c: Likewise.
8113 * math/s_ctanhl.c: Likewise.
8114 * math/s_ctanl.c: Likewise.
8116 * math/math_private.h: Define __nan, __nanf, __nanl.
8117 * math/s_cacosh.c: Include <math_private.h>.
8118 * math/s_cacoshl.c: Likewise.
8119 * math/s_casinh.c: Likewise.
8120 * math/s_casinhf.c: Likewise.
8121 * math/s_casinhl.c: Likewise.
8122 * math/s_ccos.c: Rely entire on ccosh.
8123 * math/s_ccosf.c: Rely entire on ccoshf.
8124 * math/s_ccosl.c: Rely entirely on ccoshl.
8125 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8126 Remove tests for FE_INVALID.
8127 * math/s_ccoshf.c: Likewise.
8128 * math/s_ccoshl.c: Likewise.
8129 * math/s_csin.c: Likewise.
8130 * math/s_csinf.c: Likewise.
8131 * math/s_csinh.c Likewise.
8132 * math/s_csinhf.c: Likewise.
8133 * math/s_csinhl.c: Likewise.
8134 * math/s_csinl.c: Likewise.
8135 * math/s_ctan.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8137 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8138 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8140 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8143 compilation problems.
8145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8148 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8150 * sysdeps/i386/configure.in: Test for -mfma4 option.
8151 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8152 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8153 COMMON_CPUID_INDEX_80000001.
8154 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8155 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8156 use it if FMA3 is not supported.
8157 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8159 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8160 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8162 2011-10-20 Andreas Schwab <schwab@redhat.com>
8165 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8166 it would create a cycle with a link time dependency.
8168 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8170 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8172 * string/Makefile (strop-tests): Add rawmemchr.
8173 * string/test-rawmemchr.c: New file.
8175 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8176 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8177 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8178 when compiling str{,n}casecmp and when AVX is available. Hook up
8179 new optimized code in initializers.
8181 2011-10-19 Andreas Schwab <schwab@redhat.com>
8183 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8184 __feraiseexcept instead of feraiseexcept.
8186 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8188 * math/math_private.h: Define defaults for libc_fetestexcept and
8190 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8191 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8192 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8193 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8194 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8195 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8196 libc_fetestexcept and libc_feupdateenv.
8198 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8199 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8200 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8201 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8202 libc_feholdexcept_setround.
8204 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8205 Add s_nearbyint-c and s_nearbyintf-c.
8206 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8208 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8210 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8211 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8213 * math/math_private.h: Define defaults for libc_fegetround,
8214 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8215 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8216 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8217 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8218 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8220 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8221 Remove comments and hacks for old compiler versions.
8222 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8223 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8226 2011-10-18 Andreas Schwab <schwab@redhat.com>
8228 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8229 (__feraiseexcept_renamed): Add __NTH.
8230 (feraiseexcept): Add __NTH. Rename local variables to fix
8231 namespace violations.
8233 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8235 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8237 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8239 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8240 recently added interfaces.
8241 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8243 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8244 about macro parameter expansion.
8246 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8247 __NO_MATH_INLINES is defined. Cleanups.
8249 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8250 and __floorf is target has SSE4.1.
8251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8252 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8253 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8254 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8256 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8260 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8262 2011-10-17 Andreas Schwab <schwab@redhat.com>
8264 * misc/sys/cdefs.h: Fix last change.
8266 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8269 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8271 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8273 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8274 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8279 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8280 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8281 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8282 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8283 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8284 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8285 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8286 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8287 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8288 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8289 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8290 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8291 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8292 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8293 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8294 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8296 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8297 ceil, ceilf, floor, floorf.
8299 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8300 Perform IRELATIVE relocations last.
8302 * elf/do-rel.h: Add another parameter nrelative, replacing the
8303 local variable with the same name. Change name of the function
8304 to end in Rel or Rela (uppercase).
8305 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8306 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8307 elf_dynamic_do_##reloc function.
8309 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8311 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8312 is sufficient, at least on modern CPUs.
8314 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8316 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8317 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8319 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8321 * math/bits/math-finite.h: Add entries for exp.
8322 * math/e_expl.c: Add __*_finite alias.
8323 * sysdeps/i386/fpu/e_exp.S: Likewise.
8324 * sysdeps/i386/fpu/e_expf.S: Likewise.
8325 * sysdeps/i386/fpu/e_expl.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8327 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8331 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8332 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8334 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8335 is sufficient, at least on modern CPUs.
8337 * ctype/ctype-info.c (__ctype_init): Define.
8338 * include/ctype.h (__ctype_init): Declare.
8339 (__ctype_b_loc): The variable is always initialized.
8340 (__ctype_toupper_loc): Likewise.
8341 (__ctype_tolower_loc): Likewise.
8342 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8343 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8345 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8347 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8349 * configure.in: Also look in $cxxmachine/include for C++ system
8352 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8354 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8355 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8356 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8357 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8359 (USE_AS_WMEMCMP): New macro.
8361 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8362 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8363 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8364 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8366 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8367 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8368 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8369 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8370 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8371 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8372 (USE_AS_WMEMCMP): New macro.
8373 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8374 * sysdeps/string/test-memcmp.c: Update.
8377 * wcsmbs/wmemcmp.c: Update.
8378 (WMEMCMP): New macro.
8381 2011-10-12 Andreas Jaeger <aj@suse.de>
8384 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8386 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8388 * libio/iofwide.c (do_length): Avoid warning.
8390 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8392 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8394 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8396 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8397 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8398 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8399 * sysdeps/i386/i686/fpu/e_log.S: New file.
8400 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8401 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8403 * ctype/ctype.h: Add support for inlined isXXX functions when
8406 2011-10-14 Andreas Schwab <schwab@redhat.com>
8408 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8410 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8412 2011-10-13 Roland McGrath <roland@hack.frob.com>
8415 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8417 2011-10-13 Andreas Schwab <schwab@redhat.com>
8419 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8420 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8423 * sysdeps/x86_64/memrchr.S: Check for zero size.
8425 * string/stratcliff.c: Add memrchr tests.
8427 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8430 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8431 rawmemchr-sse2 rawmemchr-sse2-bsf.
8432 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8433 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8434 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8435 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8436 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8437 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8438 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8439 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8440 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8441 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8442 * string/memrchr.c (MEMRCHR): New macro.
8444 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8446 Add integration with gcc's -ffinite-math-only and optimize wrapper
8448 * Versions.def: Define GLIBC_2.15 version for libm.
8449 * math/Makefile (headers): Add bits/math-finite.h.
8450 * math/bits/math-finite.h: New file.
8451 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8452 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8453 * math/e_acoshl.c: Add __*_finite alias.
8454 * math/e_acosl.c: Likewise.
8455 * math/e_asinl.c: Likewise.
8456 * math/e_atan2l.c: Likewise.
8457 * math/e_atanhl.c: Likewise.
8458 * math/e_coshl.c: Likewise.
8459 * math/e_exp10.c: Likewise.
8460 * math/e_exp10f.c: Likewise.
8461 * math/e_exp10l.c: Likewise.
8462 * math/e_exp2l.c: Likewise.
8463 * math/e_fmodl.c: Likewise.
8464 * math/e_gammal_r.c: Likewise.
8465 * math/e_hypotl.c: Likewise.
8466 * math/e_j0l.c: Likewise.
8467 * math/e_j1l.c: Likewise.
8468 * math/e_jnl.c: Likewise.
8469 * math/e_lgammal_r.c: Likewise.
8470 * math/e_log10l.c: Likewise.
8471 * math/e_log2l.c: Likewise.
8472 * math/e_logl.c: Likewise.
8473 * math/e_powl.c: Likewise.
8474 * math/e_sinhl.c: Likewise.
8475 * math/e_sqrtl.c: Likewise.
8476 * math/e_scalb.c: Completely rewritten and optimized.
8477 * math/e_scalbf.c: Likewise.
8478 * math/e_scalbl.c: Likewise.
8479 * math/w_acos.c: Likewise.
8480 * math/w_acosf.c: Likewise.
8481 * math/w_acosl.c: Likewise.
8482 * math/w_acosh.c: Likewise.
8483 * math/w_acoshf.c: Likewise.
8484 * math/w_acoshl.c: Likewise.
8485 * math/w_asin.c: Likewise.
8486 * math/w_asinf.c: Likewise.
8487 * math/w_asinl.c: Likewise.
8488 * math/w_atan2.c: Likewise.
8489 * math/w_atan2f.c: Likewise.
8490 * math/w_atan2l.c: Likewise.
8491 * math/w_atanh.c: Likewise.
8492 * math/w_atanhf.c: Likewise.
8493 * math/w_atanhl.c: Likewise.
8494 * math/w_exp10.c: Likewise.
8495 * math/w_exp10f.c: Likewise.
8496 * math/w_exp10l.c: Likewise.
8497 * math/w_fmod.c: Likewise.
8498 * math/w_fmodf.c: Likewise.
8499 * math/w_fmodl.c: Likewise.
8500 * math/w_j0.c: Likewise.
8501 * math/w_j0f.c: Likewise.
8502 * math/w_j0l.c: Likewise.
8503 * math/w_j1.c: Likewise.
8504 * math/w_j1f.c: Likewise.
8505 * math/w_j1l.c: Likewise.
8506 * math/w_jn.c: Likewise.
8507 * math/w_jnf.c: Likewise.
8508 * math/w_log.c: Likewise.
8509 * math/w_logf.c: Likewise.
8510 * math/w_logl.c: Likewise.
8511 * math/w_log10.c: Likewise.
8512 * math/w_log10f.c: Likewise.
8513 * math/w_log10l.c: Likewise.
8514 * math/w_log2.c: Likewise.
8515 * math/w_log2f.c: Likewise.
8516 * math/w_log2l.c: Likewise.
8517 * math/w_pow.c: Likewise.
8518 * math/w_powf.c: Likewise.
8519 * math/w_powl.c: Likewise.
8520 * math/w_remainder.c: Likewise.
8521 * math/w_remainderf.c: Likewise.
8522 * math/w_remainderl.c: Likewise.
8523 * math/w_scalb.c: Likewise.
8524 * math/w_scalbf.c: Likewise.
8525 * math/w_scalbl.c: Likewise.
8526 * math/w_sqrt.c: Likewise.
8527 * math/w_sqrtf.c: Likewise.
8528 * math/w_sqrtl.c: Likewise.
8529 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8530 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8532 * math/math_private.h: Declare __kernel_standard_f.
8533 * math/w_cosh.c: Remove cruft and optimize a bit.
8534 * math/w_coshf.c: Likewise.
8535 * math/w_coshl.c: Likewise.
8536 * math/w_exp2.c: Likewise.
8537 * math/w_exp2f.c: Likewise.
8538 * math/w_exp2l.c: Likewise.
8539 * math/w_hypot.c: Likewise.
8540 * math/w_hypotf.c: Likewise.
8541 * math/w_hypotl.c: Likewise.
8542 * math/w_lgamma.c: Likewise.
8543 * math/w_lgamma_r.c: Likewise.
8544 * math/w_lgammaf.c: Likewise.
8545 * math/w_lgammaf_r.c: Likewise.
8546 * math/w_lgammal.c: Likewise.
8547 * math/w_lgammal_r.c: Likewise.
8548 * math/w_sinh.c: Likewise.
8549 * math/w_sinhf.c: Likewise.
8550 * math/w_sinhl.c: Likewise.
8551 * math/w_tgamma.c: Likewise.
8552 * math/w_tgammaf.c: Likewise.
8553 * math/w_tgammal.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8555 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8556 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8557 Minor optimizations. Pretty printing. Remove cruft.
8558 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8559 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8560 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8561 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8562 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8563 * sysdeps/i386/fpu/e_asin.S: Likewise.
8564 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8565 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8566 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8567 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8568 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8569 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8570 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8571 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8572 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8573 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8574 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8575 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8576 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8577 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8578 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8579 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8580 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8581 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8582 * sysdeps/i386/fpu/e_log.S: Likewise.
8583 * sysdeps/i386/fpu/e_log10.S: Likewise.
8584 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8585 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8586 * sysdeps/i386/fpu/e_log2.S: Likewise.
8587 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8588 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8589 * sysdeps/i386/fpu/e_logf.S: Likewise.
8590 * sysdeps/i386/fpu/e_logl.S: Likewise.
8591 * sysdeps/i386/fpu/e_pow.S: Likewise.
8592 * sysdeps/i386/fpu/e_powf.S: Likewise.
8593 * sysdeps/i386/fpu/e_powl.S: Likewise.
8594 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8595 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8596 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8597 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8598 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8599 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8600 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8601 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8602 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8624 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8625 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8628 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8630 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8632 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8637 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8638 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8639 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8642 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8645 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8646 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8683 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8686 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8688 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8689 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8691 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8694 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8695 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8696 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8697 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8698 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8699 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8700 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8701 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8702 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8703 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8704 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8705 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8706 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8707 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8708 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8709 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8710 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8711 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8712 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8713 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8714 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8715 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8716 (__isnanf): Likewise.
8717 (__isinf_ns): Likewise.
8718 (__isinf_nsf): Likewise.
8719 (__finite): Likewise.
8720 (__finitef): Likewise.
8721 (__ieee754_sqrt): Define as macro.
8722 (__ieee754_sqrtf): Define as macro.
8723 (__ieee754_sqrtl): Define as macro.
8724 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8726 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8727 __FINITE_MATH_ONLY__ consistent.
8728 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8730 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8732 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8735 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8737 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8739 * po/ja.po: Update from translation team.
8741 2011-10-08 Roland McGrath <roland@hack.frob.com>
8743 * locale/programs/locarchive.c (prepare_address_space): New function.
8744 (create_archive, enlarge_archive, open_archive): Use it.
8746 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8747 inside [SHARED], where it is used.
8749 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8751 * nss/getent.c (netgroup_keys): Remove unused variable.
8752 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8754 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8756 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8757 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8759 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8760 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8762 * math/Makefile (libm-calls): Add s_isinf_ns.
8763 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8764 * math/multc3.c: Likewise.
8765 * math/s_casin.c: Likewise.
8766 * math/s_casinf.c: Likewise.
8767 * math/s_casinl.c: Likewise.
8768 * math/s_ccos.c: Likewise.
8769 * math/s_ccosf.c: Likewise.
8770 * math/s_ccosl.c: Likewise.
8771 * math/s_ctan.c: Likewise.
8772 * math/s_ctanf.c: Likewise.
8773 * math/s_ctanh.c: Likewise.
8774 * math/s_ctanhf.c: Likewise.
8775 * math/s_ctanhl.c: Likewise.
8776 * math/s_ctanl.c: Likewise.
8777 * math/w_fmod.c: Likewise.
8778 * math/w_fmodf.c: Likewise.
8779 * math/w_fmodl.c: Likewise.
8780 * math/w_remainder.c: Likewise.
8781 * math/w_remainderf.c: Likewise.
8782 * math/w_remainderl.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8784 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8785 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8787 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8788 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8789 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8790 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8792 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8794 * stdio-common/printf_fphex.c: Likewise.
8795 * stdio-common/printf_size.c: Likewise.
8797 * math/e_exp10.c: Include math_private.h using <...> not "...".
8798 * math/e_exp10f.c: Likewise.
8799 * math/e_exp10l.c: Likewise.
8800 * math/e_exp2l.c: Likewise.
8801 * math/e_j0l.c: Likewise.
8802 * math/e_j1l.c: Likewise.
8803 * math/e_jnl.c: Likewise.
8804 * math/e_lgammal_r.c: Likewise.
8805 * math/e_rem_pio2l.c: Likewise.
8806 * math/e_scalb.c: Likewise.
8807 * math/e_scalbf.c: Likewise.
8808 * math/e_scalbl.c: Likewise.
8809 * math/k_cosl.c: Likewise.
8810 * math/k_sinl.c: Likewise.
8811 * math/k_tanl.c: Likewise.
8812 * math/s_cacoshf.c: Likewise.
8813 * math/s_catan.c: Likewise.
8814 * math/s_catanf.c: Likewise.
8815 * math/s_catanh.c: Likewise.
8816 * math/s_catanhf.c: Likewise.
8817 * math/s_catanhl.c: Likewise.
8818 * math/s_catanl.c: Likewise.
8819 * math/s_ccosh.c: Likewise.
8820 * math/s_ccoshf.c: Likewise.
8821 * math/s_ccoshl.c: Likewise.
8822 * math/s_cexp.c: Likewise.
8823 * math/s_cexpf.c: Likewise.
8824 * math/s_cexpl.c: Likewise.
8825 * math/s_clog.c: Likewise.
8826 * math/s_clog10.c: Likewise.
8827 * math/s_clog10f.c: Likewise.
8828 * math/s_clog10l.c: Likewise.
8829 * math/s_clogf.c: Likewise.
8830 * math/s_clogl.c: Likewise.
8831 * math/s_csin.c: Likewise.
8832 * math/s_csinf.c: Likewise.
8833 * math/s_csinh.c: Likewise.
8834 * math/s_csinhf.c: Likewise.
8835 * math/s_csinhl.c: Likewise.
8836 * math/s_csinl.c: Likewise.
8837 * math/s_csqrt.c: Likewise.
8838 * math/s_csqrtf.c: Likewise.
8839 * math/s_csqrtl.c: Likewise.
8840 * math/s_ctan.c: Likewise.
8841 * math/s_ctanf.c: Likewise.
8842 * math/s_ctanh.c: Likewise.
8843 * math/s_ctanhf.c: Likewise.
8844 * math/s_ctanhl.c: Likewise.
8845 * math/s_ctanl.c: Likewise.
8846 * math/s_ldexp.c: Likewise.
8847 * math/s_ldexpf.c: Likewise.
8848 * math/s_ldexpl.c: Likewise.
8849 * math/s_significand.c: Likewise.
8850 * math/s_significandf.c: Likewise.
8851 * math/s_significandl.c: Likewise.
8852 * math/w_acos.c: Likewise.
8853 * math/w_acosf.c: Likewise.
8854 * math/w_acosh.c: Likewise.
8855 * math/w_acoshf.c: Likewise.
8856 * math/w_acoshl.c: Likewise.
8857 * math/w_acosl.c: Likewise.
8858 * math/w_asin.c: Likewise.
8859 * math/w_asinf.c: Likewise.
8860 * math/w_asinl.c: Likewise.
8861 * math/w_atan2.c: Likewise.
8862 * math/w_atan2f.c: Likewise.
8863 * math/w_atan2l.c: Likewise.
8864 * math/w_atanh.c: Likewise.
8865 * math/w_atanhf.c: Likewise.
8866 * math/w_atanhl.c: Likewise.
8867 * math/w_cosh.c: Likewise.
8868 * math/w_coshf.c: Likewise.
8869 * math/w_coshl.c: Likewise.
8870 * math/w_dremf.c: Likewise.
8871 * math/w_exp10.c: Likewise.
8872 * math/w_exp10f.c: Likewise.
8873 * math/w_exp10l.c: Likewise.
8874 * math/w_exp2.c: Likewise.
8875 * math/w_exp2f.c: Likewise.
8876 * math/w_fmod.c: Likewise.
8877 * math/w_fmodf.c: Likewise.
8878 * math/w_fmodl.c: Likewise.
8879 * math/w_hypot.c: Likewise.
8880 * math/w_hypotf.c: Likewise.
8881 * math/w_hypotl.c: Likewise.
8882 * math/w_j0.c: Likewise.
8883 * math/w_j0f.c: Likewise.
8884 * math/w_j0l.c: Likewise.
8885 * math/w_j1.c: Likewise.
8886 * math/w_j1f.c: Likewise.
8887 * math/w_j1l.c: Likewise.
8888 * math/w_jn.c: Likewise.
8889 * math/w_jnf.c: Likewise.
8890 * math/w_jnl.c: Likewise.
8891 * math/w_lgamma.c: Likewise.
8892 * math/w_lgamma_r.c: Likewise.
8893 * math/w_lgammaf.c: Likewise.
8894 * math/w_lgammaf_r.c: Likewise.
8895 * math/w_lgammal.c: Likewise.
8896 * math/w_lgammal_r.c: Likewise.
8897 * math/w_log.c: Likewise.
8898 * math/w_log10.c: Likewise.
8899 * math/w_log10f.c: Likewise.
8900 * math/w_log10l.c: Likewise.
8901 * math/w_log2.c: Likewise.
8902 * math/w_log2f.c: Likewise.
8903 * math/w_log2l.c: Likewise.
8904 * math/w_logf.c: Likewise.
8905 * math/w_logl.c: Likewise.
8906 * math/w_pow.c: Likewise.
8907 * math/w_powf.c: Likewise.
8908 * math/w_powl.c: Likewise.
8909 * math/w_remainder.c: Likewise.
8910 * math/w_remainderf.c: Likewise.
8911 * math/w_remainderl.c: Likewise.
8912 * math/w_scalb.c: Likewise.
8913 * math/w_scalbf.c: Likewise.
8914 * math/w_scalbl.c: Likewise.
8915 * math/w_sinh.c: Likewise.
8916 * math/w_sinhf.c: Likewise.
8917 * math/w_sinhl.c: Likewise.
8918 * math/w_sqrt.c: Likewise.
8919 * math/w_sqrtf.c: Likewise.
8920 * math/w_sqrtl.c: Likewise.
8921 * math/w_tgamma.c: Likewise.
8922 * math/w_tgammaf.c: Likewise.
8923 * math/w_tgammal.c: Likewise.
8925 * po/ja.po: Update from translation team.
8927 2011-09-29 Andreas Jaeger <aj@suse.de>
8930 * sunrpc/netname.c (netname2host): Fix logic.
8934 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8936 * math/w_remainder.c (__remainder): Likewise.
8937 * math/w_remainderf.c (__remainderf): Likewise.
8938 * math/libm-test.inc (remainder_test): Add test cases.
8940 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8942 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8945 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8947 * string/test-memcmp.c: Avoid unncessary #defines.
8948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8950 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8952 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8953 Use new sse2 version for core i3 - i7 as it's faster
8955 (bit_Prefer_PMINUB_for_stringop): New.
8956 * sysdeps/x86_64/rawmemchr.S: Update.
8957 Replace with faster SSE2 version.
8958 * sysdeps/x86_64/memrchr.S: New file.
8959 * sysdeps/x86_64/memchr.S: Update.
8960 Replace with faster SSE2 version.
8962 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8964 * elf/dl-load.c (lose): Add cast to avoid warning.
8966 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8968 * po/ca.po: Update from translation team.
8970 * inet/getnetgrent_r.c: Hook up nscd.
8971 * nscd/Makefile (routines): Add nscd_netgroup.
8972 (nscd-modules): Add netgroupcache.
8973 (CFLAGS-netgroupcache.c): Define.
8974 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8975 (cache_search): Add const to second parameter.
8976 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8978 (dbs): Add netgrdb entry.
8979 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8980 (verify_persistent_db): Handle netgrdb.
8981 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8982 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8984 (netgroup_response_header): Define.
8985 (innetgroup_response_header): Define.
8986 (datahead): Add netgroup_response_header and innetgroup_response_header
8988 * nscd/nscd.conf: Add entries for netgroup cache.
8989 * nscd/nscd.h (dbtype): Add netgrdb.
8990 (_PATH_NSCD_NETGROUP_DB): Define.
8991 (netgroup_iov_disabled): Declare.
8992 (xmalloc, xcalloc, xrealloc): Move declarations here.
8993 (cache_search): Adjust prototype.
8994 Add netgroup-related prototypes.
8995 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8996 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8997 (__nscd_innetgr): Declare.
8998 * nscd/selinux.c (perms): Use access_vector_t as element type and
8999 add netgroup-related initializers.
9000 * nscd/netgroupcache.c: New file.
9001 * nscd/nscd_netgroup.c: New file.
9002 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9003 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9004 For four parameters use innetgr.
9005 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9006 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9007 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9008 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9010 * nscd/connections.c (register_traced_file): Don't register file
9011 for disabled databases.
9013 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9015 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9017 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9018 from tree and freeing node.
9020 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9022 * nss/nsswitch.c (__nss_database_lookup): Handle
9023 nss_parse_service_list out of memory case.
9025 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9027 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9030 2011-10-04 Andreas Schwab <schwab@redhat.com>
9032 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9033 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9035 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9036 elf_machine_rela, elf_machine_lazy_rel.
9037 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9038 (ELF_DYNAMIC_DO_REL): Likewise.
9039 (ELF_DYNAMIC_DO_RELA): Likewise.
9040 (ELF_DYNAMIC_RELOCATE): Likewise.
9041 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9042 to ELF_DYNAMIC_DO_REL.
9043 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9044 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9045 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9048 skip_ifunc, don't call ifunc function if non-zero.
9049 (elf_machine_rela): Likewise.
9050 (elf_machine_lazy_rel): Likewise.
9051 (elf_machine_lazy_rela): Likewise.
9052 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9053 (elf_machine_lazy_rel): Likewise.
9054 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9056 (elf_machine_lazy_rel): Likewise.
9057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9059 (elf_machine_lazy_rel): Likewise.
9060 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9061 (elf_machine_lazy_rel): Likewise.
9062 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9063 (elf_machine_lazy_rel): Likewise.
9064 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9065 (elf_machine_lazy_rel): Likewise.
9066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9067 (elf_machine_lazy_rel): Likewise.
9068 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9069 (elf_machine_lazy_rel): Likewise.
9070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9071 (elf_machine_lazy_rel): Likewise.
9073 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9075 * nss/nss_files/files-init.c (_nss_files_init): Use static
9076 initialization for all the *_traced_file variables.
9078 2011-09-28 Andreas Schwab <schwab@redhat.com>
9080 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9082 2011-09-27 Roland McGrath <roland@hack.frob.com>
9085 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9087 2011-09-27 Andreas Schwab <schwab@redhat.com>
9089 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9090 Reread the line before reparsing it.
9092 2011-09-26 Andreas Schwab <schwab@redhat.com>
9094 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9096 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9097 Maxim Kuvyrkov <maxim@codesourcery.com>
9098 Joseph Myers <joseph@codesourcery.com>
9100 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9101 if needed for __stack_chk_guard.
9103 2011-09-19 Roland McGrath <roland@hack.frob.com>
9105 * sysdeps/posix/spawni.c (script_execute): Always define it.
9106 It will be optimized away if unused.
9107 (maybe_script_execute): New function.
9108 (__spawni): Call it.
9110 * Makerules: Don't include tls.make.
9111 (config-tls): Always set to thread.
9112 * tls.make.c: File removed.
9114 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9116 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9117 * config.make.in (CPPFLAGS-config): New substituted variable.
9119 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9124 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9125 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9127 2011-09-15 Roland McGrath <roland@hack.frob.com>
9129 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9130 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9132 (CALL_FAIL): Likewise.
9133 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9134 (CALL_FAIL): Macro removed.
9135 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9137 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9139 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9140 for __FINITE_MATH_ONLY__ == 1.
9142 2011-09-15 Andreas Schwab <schwab@redhat.com>
9144 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9145 __ieee754_sqrt instead of sqrt.
9146 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9147 __ieee754_sqrtf instead of sqrtf.
9148 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9149 __floorf instead of floorf.
9150 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9151 __floorf, __truncf instead of floorf, truncf.
9153 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9155 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9157 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9158 __extern_always_inline.
9159 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9162 2011-09-14 Andreas Schwab <schwab@redhat.com>
9164 * elf/rtld.c (dl_main): Also relocate in dependency order when
9165 doing symbol dependency testing.
9167 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9169 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9170 Always define `refsym'.
9172 2011-09-13 Andreas Schwab <schwab@redhat.com>
9174 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9175 (__FD_ELT): Renamed from __FDELT.
9176 * misc/bits/select2.h (__FD_ELT): Likewise.
9177 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9178 __FD_MASK instead of __FDELT, __FDMASK.
9179 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9181 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9184 * elf/Makefile (gen-ldd): Fix pattern.
9186 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9187 (init_tls): Likewise.
9189 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9193 2011-09-12 Andreas Schwab <schwab@redhat.com>
9195 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9196 `struct cmsghdr *' instead of `void *'.
9197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9200 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9202 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9204 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9207 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9209 * configure.in: Remove --with-tls option.
9210 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9211 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9212 out in case it is missing.
9213 * sysdeps/ia64/elf/configure.in: Likewise.
9214 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9215 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9216 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9217 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9218 * sysdeps/sh/elf/configure.in: Likewise.
9219 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9220 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9221 * sysdeps/x86_64/elf/configure.in: Likewise.
9222 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9223 * sysdeps/mach/hurd/tls.h: Likewise.
9226 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9229 * configure.in: Fix use of AC_INIT.
9231 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9233 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9235 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9237 * malloc/hooks.c: Likewise.
9240 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9241 variables statically.
9242 (narenas): Initialize.
9243 (list_lock): Initialize.
9244 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9245 initializtion of main_arena and list_lock. Small cleanups.
9246 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9247 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9248 Add initializers to main_arena and mp_.
9249 (malloc_state): Remove pagesize member. Change all users to use
9252 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9253 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9254 is always initialized.
9256 * malloc/malloc.c: Removed unused configurations and dead code.
9257 * malloc/arena.c: Likewise.
9258 * malloc/hooks.c: Likewise.
9259 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9261 * include/tls.h: Removed. USE___THREAD must always be defined.
9262 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9263 * elf/dl-libc.c: Likewise.
9264 * elf/dl-tsd.c: Likewise.
9265 * include/errno.h: Likewise.
9266 * include/netdb.h: Likewise.
9267 * include/resolv.h: Likewise.
9268 * inet/herrno-loc.c: Likewise.
9269 * inet/herrno.c: Likewise.
9270 * malloc/arena.c: Likewise.
9271 * malloc/hooks.c: Likewise.
9272 * malloc/malloc.c: Likewise.
9273 * resolv/res-state.c: Likewise.
9274 * resolv/res_libc.c: Likewise.
9275 * sysdeps/i386/dl-machine.h: Likewise.
9276 * sysdeps/ia64/dl-machine.h: Likewise.
9277 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9278 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9279 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9280 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9281 * sysdeps/sh/dl-machine.h: Likewise.
9282 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9283 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9284 * sysdeps/unix/i386/sysdep.S: Likewise.
9285 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9286 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9291 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9295 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9296 * sysdeps/x86_64/dl-machine.h: Likewise.
9297 * tls.make.c: Likewise.
9299 * configure.in: Remove --with-__thread option. Make tests for
9300 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9301 tls_model attribute fail if no support is available. Remove
9303 * Makeconfig: Adjust for dropped configure option. All features are
9305 * Makerules: Likewise.
9306 * Versions.def: Likewise.
9307 * argp/argp-fmtstream.c: Likewise.
9308 * argp/argp-fmtstream.h: Likewise.
9309 * argp/argp-help.c: Likewise.
9310 * assert/assert.c: Likewise.
9311 * config.h.in: Likewise.
9312 * config.make.in: Likewise.
9313 * configure: Likewise.
9314 * configure.in: Likewise.
9315 * csu/Versions: Likewise.
9316 * csu/init.c: Likewise.
9317 * elf/tst-audit2.c: Likewise.
9318 * elf/tst-tls10.c: Likewise.
9319 * elf/tst-tls10.h: Likewise.
9320 * elf/tst-tls11.c: Likewise.
9321 * elf/tst-tls12.c: Likewise.
9322 * elf/tst-tls14.c: Likewise.
9323 * elf/tst-tlsmod11.c: Likewise.
9324 * elf/tst-tlsmod12.c: Likewise.
9325 * elf/tst-tlsmod13.c: Likewise.
9326 * elf/tst-tlsmod13a.c: Likewise.
9327 * elf/tst-tlsmod14a.c: Likewise.
9328 * elf/tst-tlsmod15b.c: Likewise.
9329 * elf/tst-tlsmod16a.c: Likewise.
9330 * elf/tst-tlsmod16b.c: Likewise.
9331 * elf/tst-tlsmod7.c: Likewise.
9332 * elf/tst-tlsmod8.c: Likewise.
9333 * elf/tst-tlsmod9.c: Likewise.
9334 * gmon/gmon.c: Likewise.
9335 * grp/fgetgrent_r.c: Likewise.
9336 * grp/putgrent.c: Likewise.
9337 * hurd/fopenport.c: Likewise.
9338 * include/libc-symbols.h: Likewise.
9339 * include/tls.h: Likewise.
9340 * intl/gettextP.h: Likewise.
9341 * intl/loadinfo.h: Likewise.
9342 * locale/global-locale.c: Likewise.
9343 * locale/localeinfo.h: Likewise.
9344 * mach/devstream.c: Likewise.
9345 * malloc/arena.c: Likewise.
9346 * malloc/set-freeres.c: Likewise.
9347 * misc/err.c: Likewise.
9348 * misc/getttyent.c: Likewise.
9349 * misc/mntent_r.c: Likewise.
9350 * posix/getopt.c: Likewise.
9351 * posix/wordexp.c: Likewise.
9352 * pwd/fgetpwent_r.c: Likewise.
9353 * resolv/Versions: Likewise.
9354 * resolv/res_hconf.c: Likewise.
9355 * shadow/fgetspent_r.c: Likewise.
9356 * shadow/putspent.c: Likewise.
9357 * stdio-common/printf_fphex.c: Likewise.
9358 * stdio-common/tmpfile.c: Likewise.
9359 * stdlib/abort.c: Likewise.
9360 * stdlib/fmtmsg.c: Likewise.
9361 * sunrpc/auth_unix.c: Likewise.
9362 * sunrpc/clnt_perr.c: Likewise.
9363 * sunrpc/clnt_tcp.c: Likewise.
9364 * sunrpc/clnt_udp.c: Likewise.
9365 * sunrpc/clnt_unix.c: Likewise.
9366 * sunrpc/openchild.c: Likewise.
9367 * sunrpc/svc_simple.c: Likewise.
9368 * sunrpc/svc_tcp.c: Likewise.
9369 * sunrpc/svc_udp.c: Likewise.
9370 * sunrpc/svc_unix.c: Likewise.
9371 * sunrpc/xdr.c: Likewise.
9372 * sunrpc/xdr_array.c: Likewise.
9373 * sunrpc/xdr_rec.c: Likewise.
9374 * sunrpc/xdr_ref.c: Likewise.
9375 * sunrpc/xdr_stdio.c: Likewise.
9377 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9379 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9381 2011-07-03 Andreas Jaeger <aj@suse.de>
9383 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9384 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9385 regenerate with gen-libm-tests.pl.
9387 2010-05-12 Petr Baudis <pasky@suse.cz>
9390 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9391 around j0() zero points by switching to j1().
9392 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9393 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9397 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9399 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9401 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9404 Patch in part by Pavel Roskin <proski@gnu.org>.
9407 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9409 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9410 Free memory block if necessary.
9413 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9414 be NULL. Don't lock in this case.
9416 2011-09-09 Roland McGrath <roland@hack.frob.com>
9418 * elf/elf.h (ELFOSABI_GNU): New macro.
9419 (ELFOSABI_LINUX): Define to that.
9421 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9423 * string/strncat.c (strncat): Undef the symbol in case it has been
9424 defined in bits/string.h.
9426 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9428 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9430 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9433 2011-08-17 Andreas Jaeger <aj@suse.de>
9435 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9437 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9438 Ian Lance Taylor <iant@google.com>
9440 * math/libm-test.inc (lround_test): New testcase.
9441 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9443 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9445 * Makefile: Remove support for automatic cvs check-ins.
9446 * Makerules: Likewise.
9447 * config.make.in: Likewise.
9448 * configure.in: Likewise.
9449 * intl/Makefile: Likewise.
9450 * locale/Makefile: Likewise.
9451 * po/Makefile: Likewise.
9452 * posix/Makefile: Likewise.
9453 * sysdeps/gnu/Makefile: Likewise.
9454 * sysdeps/mach/hurd/Makefile: Likewise.
9455 * sysdeps/sparc/sparc32/Makefile: Likewise.
9458 * posix/Makefile (bug-regex32-ENV): Define.
9459 Patch by John Stanley <jpsinthemix@verizon.net>.
9461 * misc/Makefile (headers): Add bits/select2.h.
9462 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9463 * misc/bits/select2.h: New file.
9464 * include/bits/select2.h: New file.
9465 * debug/Makefile (routines): Add fdelt_chk.
9466 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9467 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9469 * debug/fdelt_chk.c: New file.
9471 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9472 * wcsmbs/test-wmemcmp.c: Likewise.
9473 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9474 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9476 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9478 * string/Makefile (strop-tests): Add memcmp.
9479 * string/test-wmemcmp.c: New file.
9480 * string/test-memcmp.c: Add wmemcmp support.
9482 2011-09-08 Roland McGrath <roland@hack.frob.com>
9485 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9488 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9489 garbage value in a __mach_port_mod_refs call in the cases of the
9490 task-self and thread-self ports.
9492 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9494 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9496 2011-09-08 Andreas Schwab <schwab@redhat.com>
9498 * elf/dl-load.c (lose): Check for non-null L.
9500 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9502 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9504 * elf/dl-libc.c (dlerror_run): Pass back error code from
9508 * elf/dl-load.c (lose): Free l_origin if it is valid.
9510 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9512 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9513 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9514 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9515 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9516 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9517 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9519 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9521 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9522 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9523 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9524 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9525 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9526 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9527 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9528 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9529 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9530 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9532 2011-08-15 Alan Modra <amodra@gmail.com>
9535 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9536 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9537 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9538 ppc_mcount to static-only-routines.
9539 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9541 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9542 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9544 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9546 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9547 for finite and infinity parameters.
9549 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9552 and add nop instructions for throughput optimization.
9553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9555 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9558 aligned copy for power7 with vector-scalar instructions.
9559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9561 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9566 2011-09-07 Andreas Schwab <schwab@redhat.com>
9569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9572 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9574 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9575 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9576 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9577 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9580 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9582 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9583 Forgot to demangle the pointer.
9585 * sysdeps/i386/sysdep.h: Define atom_text_section.
9586 * sysdeps/x86_64/sysdep.h: Likewise.
9587 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9588 section with atom_text_section.
9589 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9590 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9591 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9592 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9595 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9596 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9597 already be defined. Change to take two parameters and don't assign
9598 result to variable. Adjust all users.
9599 Define INTERNAL_GETTIME if not already defined.
9600 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9603 HAVE_CLOCK_GETTIME_VSYSCALL.
9604 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9607 gettimeofday vsyscall, just use time.
9609 2011-09-06 Andreas Schwab <schwab@redhat.com>
9611 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9614 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9616 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9620 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9621 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9622 syscall if possible.
9624 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9626 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9627 e_ident. Don't pass to find_mapsXX.
9628 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9630 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9633 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9634 * sysdeps/x86_64/multiarch/strchr.S: Update.
9635 Check bit_slow_BSF bit.
9636 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9637 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9638 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9640 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9643 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9646 (__spawni): Change last parameter to be flag. Test
9647 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9648 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9649 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9650 * posix/spawni.c: Likewise.
9651 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9652 * posix/spawnp.c: Likewise. Change normal version to use
9653 SPAWN_XFLAGS_USE_PATH.
9654 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9655 SPAWN_XFLAGS_TRY_SHELL.
9658 * posix/glob.h: Remove gcc 1.x support.
9661 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9663 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9666 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9668 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9669 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9670 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9671 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9672 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9675 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9677 * sysdeps/x86_64/wcscmp.S: New file.
9679 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9680 wcscmp-c wcscmp-sse2
9681 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9682 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9683 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9684 * wcsmbs/wcscmp.c: Allow renaming.
9686 2011-09-05 David S. Miller <davem@davemloft.net>
9688 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9689 stack slot, rather than the struct return pointer slot.
9690 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9691 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9695 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9697 * po/ja.po: Update from translation team.
9700 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9701 kernel in 64-bit binaries.
9703 2011-09-01 David S. Miller <davem@davemloft.net>
9705 * elf/elf.h (HWCAP_SPARC_*): Move to..
9706 * sysdeps/sparc/sysdep.h: this new file and add new values.
9707 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9708 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9709 _DL_HWCAP_COUNT to 24.
9710 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9712 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9713 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9714 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9716 instead of magic constants.
9717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9719 2011-08-31 David S. Miller <davem@davemloft.net>
9721 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9723 Reimplement to do errno handling inline.
9724 (SYSCALL_ERROR_HANDLER): New macro.
9725 (__SYSCALL_STRING): Do not do errno handling in asm.
9726 (__CLONE_SYSCALL_STRING): Delete.
9727 (__INTERNAL_SYSCALL_STRING): Delete.
9728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9729 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9730 (PSEUDO): Reimplement to do errno handling inline.
9731 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9732 (SYSCALL_ERROR_HANDLER): New macro.
9733 (__SYSCALL_STRING): Do not do errno handling in asm.
9734 (__CLONE_SYSCALL_STRING): Delete.
9735 (__INTERNAL_SYSCALL_STRING): Delete.
9736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9737 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9739 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9740 (inline_syscall*): Add 'err' argument.
9741 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9742 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9743 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9744 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9746 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9747 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9749 2011-08-30 Andreas Schwab <schwab@redhat.com>
9751 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9753 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9755 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9758 2011-08-24 David S. Miller <davem@davemloft.net>
9760 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9762 2011-08-24 Andreas Schwab <schwab@redhat.com>
9764 * elf/Makefile: Add rules to build and run unload8 test.
9765 * elf/unload8.c: New file.
9766 * elf/unload8mod1.c: New file.
9767 * elf/unload8mod1x.c: New file.
9768 * elf/unload8mod2.c: New file.
9769 * elf/unload8mod3.c: New file.
9771 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9774 2011-08-23 David S. Miller <davem@davemloft.net>
9776 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9777 subtract stack bias.
9778 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9779 %sp not %fp in calculations.
9780 (_JMPBUF_UNWINDS_ADJ): Likewise.
9782 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9783 (aio_suspend): Call it to force an exception region around the
9784 AIO_MISC_WAIT() invocation.
9786 2011-08-23 Andreas Schwab <schwab@redhat.com>
9788 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9791 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9793 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9795 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9797 (Elf64_FuncDesc): Remove.
9799 2011-08-22 David S. Miller <davem@davemloft.net>
9801 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9802 sigaltstack check, add missing cfi directives.
9803 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9804 missing cfi directives, and sigaltstack handling.
9806 2011-08-16 Andreas Schwab <schwab@redhat.com>
9809 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9810 object is seen twice.
9811 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9813 * elf/Makefile (distribute): Add tst-initorder2.c.
9814 (tests): Add tst-initorder2.
9815 (modules-names): Add tst-initorder2a tst-initorder2b
9816 tst-initorder2c tst-initorder2d. Add rules to build them.
9817 ($(objpfx)tst-initorder2.out): New rule.
9818 * elf/tst-initorder2.c: New file.
9819 * elf/tst-initorder2.exp: New file.
9821 2011-08-22 Andreas Schwab <schwab@redhat.com>
9823 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9825 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9826 dependencies back to end of function.
9828 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9831 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9834 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9835 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9836 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9837 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9838 of __vdso_gettimeofday.
9839 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9840 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9842 (_libc_vdso_platform_setup): Remove initialization of
9843 __vdso_gettimeofday and __vdso_time.
9845 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9847 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9849 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9852 * elf/dl-open.c (add_to_global): Report additions to the global scope
9853 for LD_DEBUG=scopes.
9854 (dl_open_worker): Also print scope of newly loaded dependencies.
9855 (_dl_show_scope): Indicate if there is no scope.
9858 * stdio-common/Makefile (tests): Add bug24.
9859 * stdio-common/bug24.c: New file.
9861 2011-08-19 Andreas Jaeger <aj@suse.de>
9864 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9865 non-existant file when using close-on-exec mode.
9867 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9870 the very first instruction.
9872 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9873 the CFI state in the end.
9874 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9875 inclusion of dl-trampoline.h.
9876 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9878 2011-08-19 Andreas Schwab <schwab@redhat.com>
9880 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9881 expectations for long double.
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9884 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9886 2011-08-14 David S. Miller <davem@davemloft.net>
9888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9889 artificual limit depends upon the system page size.
9891 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9893 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9894 * resolv/Makefile: Define CFLAGS-libresolv.
9896 2011-08-17 Andreas Schwab <schwab@redhat.com>
9898 * nss/makedb.c (compute_tables): Make variables used in nested
9901 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9903 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9904 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9905 if buffer was too small.
9907 * elf/pldd.c (main): Attach to all threads in the process.
9908 Rewrite /proc handling to use *at functions.
9910 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9912 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9913 specifies first scope to show.
9914 (dl_open_worker): Update callers. Move printing scope of new
9915 object to before the relocation.
9916 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9917 * sysdeps/generic/ldsodefs.h: Update declaration.
9919 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9920 string for the scope number.
9922 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9924 * nscd/servicescache.c (cache_addserv): Make sure written is always
9927 2011-08-14 Roland McGrath <roland@hack.frob.com>
9929 * sysdeps/i386/i486/bits/atomic.h
9930 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9931 statement expression, so as to suppress "set but not used" warning.
9932 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9934 * string/strncat.c (STRNCAT): Use prototype definition.
9936 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9937 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9939 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9940 (localedef-modules): Add localedef.
9941 (locale-modules): Add locale.
9943 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9944 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9947 2011-08-14 David S. Miller <davem@davemloft.net>
9949 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9950 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9952 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9954 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9955 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9956 * elf/rtld.c (dl_main): Set l_name of vDSO.
9957 Call _dl_show_scope when DL_DEBUG_SCOPES.
9958 (process_dl_debug): Recognize scopes flag and also set it for all.
9959 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9960 Declare _dl_show_scope.
9962 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9963 (do_dlopen): Pass caller_dlopen to dl_open.
9964 (__libc_dlopen_mode): Initialize caller_dlopen.
9966 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9967 of libc. Make tolower call locale-independent. Optimize a bit by
9968 using isdigit instead of isalnum.
9969 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9971 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9973 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9974 was a dependency or dynamically loaded.
9976 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9978 * intl/l10nflist.c: Allow architecture-specific pop function.
9979 * sysdeps/x86_64/l10nflist.c: New file.
9981 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9984 2011-08-10 Andreas Schwab <schwab@redhat.com>
9986 * include/dirent.h: Add libc_hidden_proto for scandirat and
9987 scandirat64. Don't declare __scandirat64.
9988 * dirent/scandirat.c: Add libc_hidden_def.
9989 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9990 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9992 2011-08-10 David S. Miller <davem@davemloft.net>
9994 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9996 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9997 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9998 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10000 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10002 * Versions.def [libc]: Add GLIBC_2.15.
10003 * dirent/Makefile (routines): Add scandirat and scandirat64.
10004 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10006 * dirent/dirent.h: Declare scandirat and scandirat64.
10007 * dirent/scandirat.c: New file.
10008 * dirent/scandirat64.c: New file.
10009 * sysdeps/wordsize-64/scandirat.c: New file.
10010 * sysdeps/wordsize-64/scandirat64.c: New file.
10011 * dirent/opendir.c: Define opendirat.
10012 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10014 * dirent/scandir64.c: Adjust for scandir.c change.
10015 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10016 __scandirat64, and __scandir_cancel_handler.
10017 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10018 additional parameter and use openat instead of open (outside of ld.so).
10019 Add new __opendir as wrapper around __opendirat.
10020 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10021 here without requiring old scandirat implementation.
10023 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10025 * dirent/scandir.c (cancel_handler): Renamed to
10026 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10027 defined. Adjust users.
10028 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10029 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10031 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10033 * string/test-string.h (IMPL): Use __STRING to expand name and then
10036 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10039 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10041 * string/Makefile: Update.
10042 (strop-tests): Append strncat.
10043 * string/test-wcscmp.c: New file.
10044 New comprehensive test for wcscmp.
10045 * string/test-strcmp.c: Update.
10046 (WIDE): New define.
10048 2011-07-22 Andreas Schwab <schwab@redhat.com>
10050 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10053 2011-07-26 Andreas Schwab <schwab@redhat.com>
10055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10056 encoding to ACE if AI_IDN.
10058 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10061 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10063 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10065 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10066 Fix overflow bug in strncat.
10067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10069 * string/test-strncat.c: Update.
10070 Add new tests for checking overflow bugs.
10072 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10075 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10076 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10077 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10078 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10079 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10080 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10081 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10082 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10085 (USE_AS_STRCAT): Define.
10086 Add strcat and strncat support.
10087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10089 2011-07-25 Andreas Schwab <schwab@redhat.com>
10091 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10092 __n bigger than INT_MAX+1.
10093 (__strncmp_g): Likewise.
10095 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10097 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10098 * libio/stido.h: Likewise.
10100 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10105 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10106 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10107 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10108 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10109 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10112 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10117 (_dl_x86_64_save_sse): Likewise.
10119 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10123 (_dl_x86_64_save_sse): Likewise.
10125 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10127 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10129 2011-07-21 Andreas Schwab <schwab@redhat.com>
10131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10133 (_dl_x86_64_save_sse): Use correct AVX check.
10135 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10138 bug in strncpy/strncat.
10139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10141 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10143 * string/tester.c (test_strcat): Add tests for different alignments
10144 of source and destination.
10145 (test_strncat): Likewise.
10147 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10150 * posix/glob.c (glob): Check passed in values before using them in
10151 expressions to avoid some overflows.
10152 (glob_in_dir): Likewise.
10155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10156 check for AVX enablement so that we don't crash with old kernels and
10158 * elf/tst-audit4.c: Add same checks here.
10159 * elf/tst-audit6.c: Likewise.
10161 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10163 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10165 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10167 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10169 * po/cs.po: Update from translation team.
10170 * po/bg.po: Likewise.
10172 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10174 * misc/sys/cdefs.h: Add support for const attribute.
10175 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10176 to gnu_dev_{major,minor,makedev} functions.
10178 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10180 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10182 2011-07-20 Andreas Schwab <schwab@redhat.com>
10184 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10187 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10190 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10191 register in order to avoid conflicts with the soft frame pointer
10192 being held in r11 when necessary.
10193 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10194 (INTERNAL_VSYSCALL_NCS): Likewise.
10196 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10198 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10199 * elf/dl-fini.c (_dl_fini): Adjust caller.
10200 * elf/dl-close.c (_dl_close_worker): Likewise.
10201 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10203 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10205 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10206 "aux_cache->nlibs < 0".
10208 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10209 in the reload-count case.
10211 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10214 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10215 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10216 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10217 * sysdeps/x86_64/multiarch/strcat.S: New file.
10218 * sysdeps/x86_64/multiarch/strncat.S: New file.
10219 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10220 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10221 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10222 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10223 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10224 (USE_AS_STRCAT): Define.
10225 Add strcat and strncat support.
10226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10228 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10229 * string/strncat.c: Update.
10230 (USE_AS_STRNCAT): Define.
10231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10232 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10234 * sysdeps/x86_64/multiarch/init-arch.h
10235 (bit_Prefer_PMINUB_for_stringop): New.
10236 (index_Prefer_PMINUB_for_stringop): Likewise.
10237 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10238 bit_Prefer_PMINUB_for_stringop.
10240 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10242 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10244 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10245 of casting of buffer.
10246 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10247 buffer32 and buffer64.
10248 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10249 writes instead of casting of buffer.
10250 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10252 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10255 2011-07-19 Andreas Schwab <schwab@redhat.com>
10257 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10259 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10261 * nscd/nscd.c (termination_handler): Don't do anything for a database
10262 if it has not yet been initialized.
10264 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10266 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10268 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10270 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10272 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10274 * po/nl.po: Update from translation team.
10275 * po/sv.po: Likewise.
10277 2011-07-16 Roland McGrath <roland@hack.frob.com>
10279 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10280 now disallowed by GCC.
10282 * configure.in (use-default-link): Default to yes if a test -shared
10283 link meets our qualifications.
10284 * configure: Regenerated.
10286 * config.make.in (output-format): New variable.
10287 * configure.in: Check for ld --print-output-format support.
10288 * configure: Regenerated.
10289 * Makerules ($(common-objpfx)format.lds)
10290 [$(output-format) != unknown]: Just use $(output-format),
10291 instead of the linker-script munging.
10293 2011-07-14 Roland McGrath <roland@hack.frob.com>
10295 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10296 of $(common-objpfx)shlib.lds.
10297 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10299 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10300 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10302 * configure.in (-z relro check): Adjust test code to add a large
10303 writable data section after it.
10304 * configure: Regenerated.
10306 2011-07-11 Roland McGrath <roland@hack.frob.com>
10308 * configure.in (-z relro check): Fix test code to make the variable
10310 * configure: Regenerated.
10312 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10314 * nscd/nscd.h (struct traced_file): Define.
10315 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10316 elements. Add traced_files.
10317 (inotify_fd): Declare.
10318 (register_traced_file): Declare.
10319 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10320 (inotify_fd): Export.
10321 (resolv_conf_descr): Remove.
10322 (nscd_init): Move inotify descriptor creation to main.
10323 Don't register files for notification here.
10324 (register_traced_file): New function.
10325 (invalidate_cache): Don't use reset_res to determine whether to call
10326 res_init, go through the list of registered files.
10327 (main_loop_poll): The inotify descriptors are now stored in the
10328 structures for the traced files.
10329 (main_loop_epoll): Likewise
10330 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10331 to __nss_disable_nscd.
10332 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10333 for a database anymore. Check the records for all the registered
10335 * nss/Makefile (libnss_files-routines): Add files-init.
10336 (libnss_db-routines): Add db-init.
10337 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10338 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10339 * nss/nss_db/db-init.c: New file.
10340 * nss/nss_files/files-init.c: New file.
10341 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10342 __nss_lookup_function.
10343 (__nss_lookup_function): Call nss_load_library.
10344 (nss_load_all_libraries): New function.
10345 (__nss_disable_nscd): Take parameter with callback function for files
10346 to register. Set is_nscd. Load all the DSOs for the NSS modules
10347 used for the cached services.
10348 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10349 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10350 options for features to all the files in nscd.
10352 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10354 2011-07-10 Roland McGrath <roland@hack.frob.com>
10356 * csu/elf-init.c (__libc_csu_init): Comment typo.
10358 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10360 * po/pl.po: Update from translation team.
10361 * po/ja.po: Likewise.
10362 * po/ru.po: Likewise.
10363 * po/ko.po: Likewise.
10364 * po/fr.po: Likewise.
10366 2011-07-09 Roland McGrath <roland@hack.frob.com>
10368 * configure.in (.ctors/.dtors header and trailer check):
10369 Use an empirical test on a built program.
10370 * configure: Regenerated.
10372 * configure.in (-z relro check): Use an empirical test on a built DSO.
10373 Detect, but do not require, on ia64.
10374 * configure: Regenerated.
10376 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10377 Update tests that use readelf to use $READELF instead.
10378 * configure: Regenerated.
10380 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10382 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10383 if the result is not used.
10385 2011-07-05 Andreas Jaeger <aj@suse.de>
10388 * stdlib/tst-strtod.c: Add testcase.
10390 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10392 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10393 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10394 The latter has a higher limit. Take additional parameter to pass to
10396 (__pathconf): Pass file to __statfs_link_max.
10397 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10399 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10403 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10406 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10407 (__statfs_filesize_max): Likewise.
10408 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10410 2011-07-05 Andreas Jaeger <aj@suse.de>
10412 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10414 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10416 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10418 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10421 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10423 * Makefile (strop-tests): Add strncat.
10424 * string/test-strncat.c: New file.
10426 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10428 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10430 2011-06-21 Andreas Jaeger <aj@suse.de>
10432 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10433 Copy rule from iconvdata/Makefile.
10435 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10438 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10439 but no long options are defined, just return 'W'.
10441 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10444 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10446 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10448 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10450 (innetgr): Likewise.
10452 2011-07-05 Roland McGrath <roland@hack.frob.com>
10454 * config.make.in (install_root): Default to $(DESTDIR).
10456 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10458 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10460 2011-07-02 Roland McGrath <roland@hack.frob.com>
10462 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10464 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10465 containing directory rather than embedding absolute directory names.
10467 * scripts/check-local-headers.sh: Rewritten using awk.
10468 Match by word, not by line. Print error messages for matches.
10469 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10471 * Makerules [shlib-lds-flags empty]:
10472 ($(common-objpfx)libc_pic.opts): New target.
10473 ($(common-objpfx)libc_pic.os.clean): New target.
10474 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10476 * config.make.in (OBJCOPY): New variable.
10477 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10478 * configure: Regenerated.
10480 * config.make.in (use-default-link): New variable.
10481 * configure.in (use_default_link): Grok --with-default-link to set it.
10482 * configure: Regenerated.
10483 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10484 (shlib-lds, shlib-lds-flags): Define to empty.
10486 * Makerules (shlib-lds): New variable.
10487 (shlib-lds-flags): New variable.
10488 (build-shlib, build-moduile, build-module-asneeded): Use it.
10489 ($(common-objpfx)libc.so): Use $(shlib-lds).
10490 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10491 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10493 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10494 DT_FLAGS/DT_FLAGS_1 with zero flags.
10496 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10497 linker script munging.
10499 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10501 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10503 * crypt/sha512.c (sha512_process_block): Perform total addition using
10504 128-bit if possible.
10505 (__sha512_finish_ctx): Likewise.
10506 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10508 * crypt/sha256.c (SWAP64): Define.
10509 (sha256_process_block): Perform total addition using 64-bit if
10511 (__sha256_finish_ctx): Likewise.
10513 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10515 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10517 * nscd/hstcache.c (cache_addhst): Likewise.
10518 * nscd/grpcache.c (cache_addgr): Likewise.
10519 * nscd/aicache.c (addhstaiX): Likewise
10520 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10522 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10524 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10525 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10526 * nscd/hstcache.c (cache_addhst): Likewise.
10527 * nscd/grpcache.c (cache_addgr): Likewise.
10528 * nscd/aicache.c (addhstaiX): Likewise
10530 2011-07-01 Andreas Schwab <schwab@redhat.com>
10532 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10533 domain only when needed.
10535 2011-06-30 Andreas Schwab <schwab@redhat.com>
10537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10538 is always restored.
10540 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10542 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10543 are re-adding the entry.
10544 * nscd/servicescache.c (cache_addserv): Likewise.
10546 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10548 * sysdeps/generic/dl-irel.h: fix protection against multiple
10550 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10552 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10555 * malloc/memusage.sh: Fix quoting in message.
10556 * debug/xtrace.sh: Likewise.
10558 * configure.in: Remove support for --experimental-malloc option, make
10560 * config.make.in: Likewise.
10561 * malloc/Makefile: Likewise.
10563 2011-06-27 Andreas Schwab <schwab@redhat.com>
10565 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10566 two-byte characters.
10568 2011-06-27 Roland McGrath <roland@hack.frob.com>
10570 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10571 AC_CACHE_CHECK invocation.
10572 * configure: Regenerated.
10574 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10576 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10579 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10580 bit from old_res_options.
10582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10584 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10585 value type for setfct.
10587 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10590 __gettimeofday instead of gettimeofday.
10592 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10594 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10596 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10598 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10600 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10603 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10606 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10607 strcpy-sse2-unaligned strncpy-sse2-unaligned
10608 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10609 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10610 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10611 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10612 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10613 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10615 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10616 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10617 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10618 (STRCPY): Support SSE2 and SSSE3 versions.
10620 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10623 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10624 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10625 kernels which artificially limit size of requests.
10627 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10630 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10631 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10632 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10633 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10634 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10635 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10636 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10637 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10639 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10640 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10641 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10642 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10643 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10645 Enable unaligned load optimization for Intel Core i3, i5 and i7
10647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10649 (index_Fast_Unaligned_Load): Define.
10650 (HAS_FAST_UNALIGNED_LOAD): Define.
10652 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10654 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10656 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10660 until it is clear that the information is realy needed.
10661 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10663 2011-06-22 Andreas Schwab <schwab@redhat.com>
10665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10667 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10670 /sys/devices/system/cpu/online if it is usable.
10672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10673 reading the information from the /proc filesystem to once a second.
10675 2011-06-21 Andreas Jaeger <aj@suse.de>
10677 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10678 NULL after inclusion of kernel headers.
10680 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10682 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10683 calls to internal_setent.
10686 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10687 addresses using gethostbyname4_r ignore IPv4 addresses.
10689 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10690 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10692 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10694 2011-06-20 David S. Miller <davem@davemloft.net>
10696 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10698 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10700 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10701 (elf_irel): Use it.
10702 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10703 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10704 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10705 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10706 * sysdeps/x86_64/dl-irel.h: Likewise.
10708 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10709 * elf/dl-sym.c: Likewise.
10711 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10713 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10714 need to dereference resplen2.
10716 2011-06-14 Andreas Schwab <schwab@redhat.com>
10718 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10720 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10722 * Makeconfig: Define vardbdir and inst_vardbdir.
10723 * nss/Makefile: Add rules to install db-Makefile.
10725 * nss/nss_db/db-XXX.c: Cleanup.
10727 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10728 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10730 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10731 * nss/makedb.c: Implement -g option to specify that value strings
10732 are generated and should not be added to table iterated over for
10734 * nss/nss_db/db-initgroups.c: New file.
10736 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10739 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10740 (internal_getgrouplist): Adjust to name change.
10741 Update use_initgroups_entry if this is not the first call.
10742 * nss/databases.def: Add initgroups entry.
10744 * nss/makedb.c (compute_tables): Check result of multiple hash table
10745 sizes to minimize maximum chain length.
10747 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10749 * Versions.def: Add entry for libnss_db.
10750 * shlib-versions: Likewise.
10751 * nss/Makefile: Add rules to build libnss_db.
10752 * nss/Versions: Add libnss_db information. Organize libnss_files
10754 * nss/db-Makefile: Add gshadow support. Change rules for the new
10755 makedb progra. Some minor improvements to generate smaller files.
10756 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10758 * nss/makedb.c: ...here.
10759 Improve database format to be smaller and require less memory at
10761 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10763 * nss/nss_db/db-netgrp.c: Likewise.
10764 * nss/nss_db/db-open.c: Likewise.
10765 * nss/nss_files/flies-XXX.x: Adjust comments.
10766 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10767 * nss/nss_files/files-grp.c: Likewise.
10768 * nss/nss_files/files-hosts.c: Likewise.
10769 * nss/nss_files/files-network.c: Likewise.
10770 * nss/nss_files/files-proto.c: Likewise.
10771 * nss/nss_files/files-pwd.c: Likewise.
10772 * nss/nss_files/files-rpc.c: Likewise.
10773 * nss/nss_files/files-service.c: Likewise.
10774 * nss/nss_files/files-sgrp.c: Likewise.
10775 * nss/nss_files/files-spwd.c: Likewise.
10776 * nss/nss_db/db-alias.c: Removed.
10777 * nss/nss_db/dummy-db.h: Removed.
10779 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10781 * nss/makedb.c: Rewritten to not use database library.
10782 * nss/Makefile: Update to build new makedb program.
10784 2011-06-14 Andreas Jaeger <aj@suse.de>
10786 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10787 memset declaration.
10789 2011-06-10 Andreas Schwab <schwab@redhat.com>
10791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10794 2011-06-10 Roland McGrath <roland@hack.frob.com>
10796 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10797 * elf/Makefile ($(objpfx)ld.so): Likewise.
10799 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10800 Don't list ld.so twice in dependencies.
10802 * posix/bug-regex31.c: Include <stdlib.h>.
10804 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10806 * nis/nss_compat/compat-spwd.c
10807 (getspent_next_nss_netgr): Remove unused variable.
10808 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10810 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10811 nonmembers" output to use the right array.
10813 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10815 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10817 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10818 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10819 * catgets/gencat.c (read_input_file): Likewise.
10820 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10822 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10823 variable definition inside #if's controlling its use.
10825 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10827 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10829 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10831 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10834 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10836 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10837 * configure: Regenerated.
10839 * Makerules: Revert last change.
10840 * elf/Makefile: Likewise.
10842 2011-06-09 Roland McGrath <roland@hack.frob.com>
10844 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10845 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10846 (reloc-link): Likewise.
10848 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10850 * elf/Makefile: Add rules to build pldd.
10851 * elf/pldd.c: New file.
10852 * elf/pldd-xx.c: New file.
10854 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10856 * version.h: Update for 2.15 development version.
10858 2011-06-07 David S. Miller <davem@davemloft.net>
10860 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10863 elf_machine_lazy_rel): Likewise.
10864 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10865 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10866 elf_machine_lazy_rel): Likewise.
10867 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10868 dl_hwcap via passed in argument.
10869 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10872 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10874 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10876 2011-06-06 Roland McGrath <roland@hack.frob.com>
10879 * manual/fdl-1.1.texi: New file, verbatim from:
10880 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10881 * manual/lgpl-2.1.texi: New file, verbatim from:
10882 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10883 * manual/Makefile (licenses): New variable, list those new file names.
10885 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10887 * manual/fdl.texi: File removed.
10888 * manual/lesser.texi: File removed.
10889 * manual/libc.texinfo (Copying, Documentation License):
10890 Use new @include file names, put @appendix directive before @include.
10892 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10895 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10896 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10897 (mq_open): Add __NTH.
10899 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10902 Assume Intel Core i3/i5/i7 processor if AVX is available.
10904 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10909 2011-05-31 Andreas Schwab <schwab@redhat.com>
10911 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10912 memory. Use alloca_account. Fix memory leak when retrying.
10914 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10916 * version.h (RELEASE): Bump for 2.14 release.
10917 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10919 * config.make.in (RANLIB): Remove entry.
10921 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10923 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10924 (libc.pot): Work around missing support for .ksh extension in xgettext.
10927 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10928 if both request failed.
10929 (send_dg): In case of server errors clear resplen or *resplen2.
10932 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10933 when there are multiple maps.
10934 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10935 (_dl_fini): Remove test here.
10937 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10939 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10942 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10943 bit from old_res_options.
10944 (gaih_inet): Likewise.
10947 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10950 * resolv/res_init.c (res_setoptions): Make the code more compact.
10953 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10957 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10959 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10962 * malloc/malloc.h: Declare malloc hook variables as volatile.
10964 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10968 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10969 raise in the comment.
10970 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10971 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10972 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10974 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10977 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10978 grow the buffers more if it already has to be sufficient.
10979 (build_wcs_upper_buffer): Likewise.
10980 * posix/regexec.c (check_matching): Likewise.
10981 (clean_state_log_if_needed): Likewise.
10982 (extend_buffers): Don't enlarge buffers beyond size of the input
10984 Patches mostly by Emil Wojak <emil@wojak.eu>.
10985 * posix/bug-regex32.c: New file.
10986 * posix/Makefile (tests): Add bug-regex32.
10988 * locale/findlocale.c (_nl_find_locale): Return right away if
10989 _nl_explode_name failed.
10990 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10992 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10994 * debug/xtrace.sh: Unify messages.
10995 * malloc/memusage.sh: Likewise.
10998 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10999 time symbol from vDSO. Substitute with vsyscall if not available.
11000 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11003 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11004 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11005 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11006 Add sendmmsg and internal_sendmmsg.
11007 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11008 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11009 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11011 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11012 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11013 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11015 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11019 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11021 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11025 * iconvdata/Makefile (tests): Add bug-iconv9.
11026 * iconvdata/bug-iconv9.c: New file.
11028 2011-05-27 Andreas Schwab <schwab@redhat.com>
11031 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11033 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11036 (struct user_regs_struct): Change intcs field back to cs.
11038 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11040 * po/ja.po: Update from translation team.
11042 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11045 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11046 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11048 2011-05-20 Andreas Schwab <schwab@redhat.com>
11050 * stdlib/longlong.h: Update from GCC.
11052 2011-05-23 Andreas Schwab <schwab@redhat.com>
11054 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11056 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11057 Add parameter name.
11058 (__sysconf): Pass it down.
11060 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11063 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11066 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11067 add in in __libc_use_alloca calls. Adjust callers.
11068 (glob): Use malloc in some situations.
11070 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11071 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11074 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11076 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11077 and CLOCK_BOOTTIME_ALARM.
11080 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11083 * string/_strerror.c (__strerror_r): Print negative errors as signed
11087 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11088 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11089 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11091 * configure.in: Fix typo in redirection and correct removal of test
11092 files in two cases.
11095 * locale/setlocale.c (new_composite_name): Fix test to check for
11096 identical name of all categories.
11099 * libio/filedoalloc.c (local_isatty): New function.
11100 (_IO_file_doallocate): Use local_isatty.
11101 * stdio-common/perror.c (perror): In case a new stream is used
11102 forward the stream error.
11103 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11106 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11111 * include/alloca.h (extend_alloca_account): Define.
11114 * posix/regex.h: Fix comments with documentation of user-accessible
11115 fields after compilation and describe correct free'ing of pattern
11116 after re_compile_pattern.
11117 Patch by Reuben Thomas <rrt@sc3d.org>.
11119 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11121 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11122 and -mno-altivec to prevent the compiler from using Altivec and/or
11123 VSX instructions when the corresponding registers are not available.
11125 2011-05-19 Andreas Schwab <schwab@redhat.com>
11127 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11129 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11131 * libio/freopen.c (freopen): Use __dup2, not dup2.
11132 * libio/freopen64.c (freopen64): Likewise.
11134 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11137 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11138 * math/Makefile (tests): Add test-powl.
11139 (CFLAGS-test-powl.c): Define.
11140 * math/test-powl.c: New file.
11142 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11144 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11146 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11149 * iconvdata/gb18030.c: Update to GB18020-2005.
11151 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11153 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11154 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11155 Patch by Aharon Robbins <arnold@skeeve.com>.
11158 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11162 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11163 through underflows.
11166 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11167 point to strings before performing equality test for error_one_per_line
11171 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11174 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11175 (struct user_fpregs_struct): Avoid __uint*_t types.
11178 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11179 symbol info. Use it instead of calling _dl_addr locally.
11180 (lock_and_info): New function.
11181 (tr_freehook): Call lock_and_info and pass symbol info as additional
11182 parameter to tr_where.
11183 (tr_mallochook): Likewise.
11184 (tr_reallochook): Likewise.
11185 (tr_memalignhook): Likewise.
11187 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11188 used and couldn't be at all thread-safe.
11190 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11192 * libio/freopen.c (freopen): Don't close old file descriptor
11193 before the new one is opened. Instead dup the new file descriptor
11194 to the old one after the new stream is created.
11195 * libio/freopen64.c (freopen64): Likewise.
11196 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11197 * libio/fileops.c (_IO_new_file_close_it): Handle new
11198 _IO_FLAGS2_NOCLOSE flag.
11199 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11200 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11201 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11202 _IO_FLAGS2_NOCLOSE flag.
11203 * include/unistd.h: Add hidden_proto for dup3.
11204 Define __have_dup3.
11205 * io/dup3.c: Define hidden symbol.
11206 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11209 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11210 when an incomplete long option is used.
11211 * posix/tst-getopt_long1.c: New file.
11212 * posix/Makefile (tests): Add tst-getopt_long1.
11215 * scripts/config.guess: Update from autoconf-2.68.
11216 * scripts/config.sub: Likewise.
11219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11221 (has_cpuclock): ...this. New function.
11222 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11223 macro here based on has_cpuclock code.
11226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11227 First byte (not low byte) is now always NUL.
11228 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11231 Use non-cancelable interfaces.
11234 * locale/iso-639.def: Add entry for Sorani.
11237 * include/stdlib.h: Move include protection to the right place.
11238 Define abort_msg_s. Declare __abort_msg with it.
11239 * stdlib/abort.c (__abort_msg): Adjust type.
11240 * assert/assert.c (__assert_fail_base): New function. Majority
11241 of code from __assert_fail. Allocate memory for __abort_msg with
11243 (__assert_fail): Now call __assert_fail_base.
11244 * assert/assert-perr.c: Remove bulk of implementation. Use
11245 __assert_fail_base.
11246 * include/assert.hL Declare __assert_fail_base.
11247 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11249 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11251 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11255 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11256 until all modules are registered in the DTV.
11257 * elf/Makefile: Add rules to build and run tst-tls19.
11258 * elf/tst-tls19.c: New file.
11259 * elf/tst-tls19mod1.c: New file.
11260 * elf/tst-tls19mod2.c: New file.
11261 * elf/tst-tls19mod3.c: New file.
11262 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11265 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11269 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11270 two-byte sequence errors.
11271 * iconvdata/Makefile (tests): Add bug-iconv8.
11272 * iconvdata/bug-iconv8.c: New file.
11275 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11278 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11281 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11282 (dummy_getcfa): New function.
11283 (init): Get _Unwind_GetCFA address, use dummy if not found.
11284 (backtrace_helper): In recursion check, also check whether CFA changes.
11285 (__backtrace): Completely initialize arg.
11287 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11288 storing incomplete byte sequence in state object. Avoid testing for
11289 guaranteed too small input if we know there is enough data available.
11291 2011-05-11 Andreas Schwab <schwab@redhat.com>
11293 * Makeconfig (+link-pie): Indent.
11294 * Rules (binaries-pie): Define if $(have-fpie) and
11296 (binaries-shared): Also filter out $(binaries-pie).
11297 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11298 * nscd/Makefile (others-pie): Add nscd.
11299 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11300 ($(objpfx)nscd): Remove command override.
11301 * login/Makefile (others-pie): Add pt_chown.
11302 ($(objpfx)pt_chown): Remove command override.
11303 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11304 remove command overrides.
11306 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11308 * libio/tst_putwc.c: Fix error messages.
11311 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11312 currently writing and seek to current position when not.
11313 * libio/Makefile (tests): Add bug-fclose1.
11314 * libio/bug-fclose1.c: New file.
11316 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11319 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11320 don't set DF_1_NODELETE here.
11321 (do_lookup_x): When entering new entry test for copy relocation
11322 and if necessary set DF_1_NODELETE flag.
11323 * elf/tst-unique4.cc: New file.
11324 * elf/tst-unique4.h: New file.
11325 * elf/tst-unique4lib.cc: New file.
11326 * elf/Makefile: Add rules to build and run tst-unique4.
11327 Patch by Piotr Bury <pbury@goahead.com>.
11329 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11332 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11335 * misc/mntent_r.c (addmntent): Flush the stream after the output
11338 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11339 (is_trusted_path_normalize): Skip initial colon. Append slash
11340 to empty buffer. Duplicate is_trusted_path code but allow
11341 constructed patch to be prefix.
11342 (is_dst): Allow $ORIGIN followed by /.
11343 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11344 Correct testing of result of is_trusted_path_normalize
11345 (decompose_rpath): Fix warning.
11347 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11350 * grp/initgroups.c (internal_getgrouplist): When we found the service
11351 list through the initgroups entry in nsswitch.conf do not always
11352 continue on a successful lookup. Don't always use the
11353 __nss_group_database value if it is set.
11354 * nss/nsswitch.conf (initgroups): Change action for successful db
11355 lookup to continue for compatibility.
11357 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11360 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11362 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11364 * iconvdata/tst-tables.sh: Likewise.
11365 * iconvdata/cp770.c: New file.
11366 * iconvdata/cp771.c: New file.
11367 * iconvdata/cp772.c: New file.
11368 * iconvdata/cp773.c: New file.
11369 * iconvdata/cp774.c: New file.
11370 * iconvdata/testdata/CP770: New file.
11371 * iconvdata/testdata/CP770..UTF8: New file.
11372 * iconvdata/testdata/CP771: New file.
11373 * iconvdata/testdata/CP771..UTF8: New file.
11374 * iconvdata/testdata/CP772: New file.
11375 * iconvdata/testdata/CP772..UTF8: New file.
11376 * iconvdata/testdata/CP773: New file.
11377 * iconvdata/testdata/CP773..UTF8: New file.
11378 * iconvdata/testdata/CP774: New file.
11379 * iconvdata/testdata/CP774..UTF8: New file.
11381 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11383 * iconvdata/gen-8bit-gap.sh: Likewise.
11384 * iconvdata/gen-8bit.sh: Likewise.
11386 * locale/iso-639.def: Add ary entry.
11389 * locale/C-translit.h.in: Add U20A1 transliteration.
11392 * locale/iso-639.def: Add wae entry.
11393 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11396 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11400 * locale/C-translit.h.in: Add entry for U20B9.
11401 Patch by pravin.d.s@gmail.com.
11403 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11406 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11407 ENAMETOOLONG use generic getcwd.
11408 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11409 in rtld. Use *stat64.
11410 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11411 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11412 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11413 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11414 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11415 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11416 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11417 __fstatat64 macros.
11418 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11419 * dirent/rewinddir.c: Add libc_hidden_def.
11420 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11421 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11423 * include/dirent.h (__alloc_dir): Add flags parameter.
11424 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11425 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11427 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11428 from fdopendir if O_CLOEXEC is already set.
11430 2011-03-15 Alan Modra <amodra@gmail.com>
11432 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11433 l_tls_firstbyte_offset non-zero. Save padding offset in
11434 l_tls_firstbyte_offset for later use.
11435 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11436 freeing static tls block.
11438 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11440 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11441 where #ifdef was intended. The intent is to prevent ARG_MAX from
11442 being defined by the kernel headers.
11444 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11447 * resolv/resolv.h: Define RES_NOTLDQUERY.
11448 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11449 no-tld-query and set RES_NOTLDQUERY.
11450 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11451 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11452 modern BIND to search name as TLD unless forbidden.
11454 2011-05-07 Petr Baudis <pasky@suse.cz>
11455 Ulrich Drepper <drepper@gmail.com>
11458 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11459 (is_trusted_path): ...to here.
11460 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11461 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11462 using is_trusted_path_normalize() in setuid scripts.
11464 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11466 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11467 __BEGIN/__END_DECLS.
11469 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11472 NSS_STATUS_NOTFOUND if no record was found.
11474 2011-05-05 Andreas Schwab <schwab@redhat.com>
11476 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11477 (headers-not-in-tirpc): Remove rpc/netdb.h
11478 * resolv/netdb.h: Revert last change.
11480 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11482 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11483 circular dependency between libgcc.a and libc.a.
11485 2011-05-05 Andreas Schwab <schwab@redhat.com>
11487 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11488 * nis/Makefile: Don't install rpcsvc/*.
11489 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11490 instead of <rpc/types.h>.
11491 (MAXHOSTNAMELEN): Define.
11493 2011-05-03 Andreas Schwab <schwab@redhat.com>
11495 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11497 2011-04-28 Maciej Babinski <mbabinski@google.com>
11500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11501 gethostbyname4_r when IPv6 results are possible.
11503 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11506 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11507 _PC_PIPE_BUF handling.
11509 2011-04-30 Bruno Haible <bruno@clisp.org>
11512 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11513 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11515 * inet/getnameinfo.c (getnameinfo): Likewise.
11517 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11519 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11520 to groups setting in database lookup.
11521 * nss/nsswitch.conf: Add initgroups entry.
11523 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11526 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11528 Patch by Eric Blake <eblake@redhat.com>.
11530 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11532 * sunrpc/Makefile (need-export-routines): Add svc_run.
11533 (routines): Remove svc_run.
11534 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11535 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11536 * sunrpc/svc_run.c (svc_run): Likewise.
11537 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11539 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11542 problem in reallocation in last patch.
11544 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11546 * sunrpc/Makefile: Move inclusion of Rules.
11548 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11550 * nss/nss_files/files-initgroups.c: New file.
11551 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11552 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11553 _nss_files_initgroups_dyn.
11555 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11557 * elf/elf.h (R_ARM_IRELATIVE): Define.
11559 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11561 * po/ru.po: Update from translation team.
11563 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11565 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11568 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11571 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11572 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11573 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11575 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11577 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11579 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11581 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11582 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11583 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11585 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11588 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11590 * stdlib/bug-getcontext.c: New file.
11591 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11593 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11595 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11596 instructions into .machine "z9-109".
11597 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11598 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11600 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11602 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11603 between environment variables and auxiliary vector.
11605 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11607 * Makefile: Add rules to build linkobj/libc.so.
11608 * include/libc-symbols.h: Define libc_hidden_nolink.
11609 * include/rpc/auth.h: Mark functions which are to be hidden.
11610 * include/rpc/auth_des.h: Likewise.
11611 * include/rpc/auth_unix.h: Likewise.
11612 * include/rpc/clnt.h: Likewise.
11613 * include/rpc/des_crypt.h: Likewise.
11614 * include/rpc/key_prot.h: Likewise.
11615 * include/rpc/pmap_clnt.h: Likewise.
11616 * include/rpc/pmap_prot.h: Likewise.
11617 * include/rpc/pmap_rmt.h: Likewise.
11618 * include/rpc/rpc_msg.h: Likewise.
11619 * include/rpc/svc.h: Likewise.
11620 * include/rpc/svc_auth.h: Likewise.
11621 * include/rpc/xdr.h: Likewise.
11622 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11623 * nss/Makefile: Likewise.
11624 * sunrpc/Makefile: Don't install headers. Build library with normal
11625 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11626 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11627 for the compat linking library. Remove use of INTDEF/INTUSE.
11628 * sunrpc/auth_none.c: Likewise.
11629 * sunrpc/auth_unix.c: Likewise.
11630 * sunrpc/authdes_prot.c: Likewise.
11631 * sunrpc/authuxprot.c: Likewise.
11632 * sunrpc/clnt_gen.c: Likewise.
11633 * sunrpc/clnt_perr.c: Likewise.
11634 * sunrpc/clnt_raw.c: Likewise.
11635 * sunrpc/clnt_simp.c: Likewise.
11636 * sunrpc/clnt_tcp.c: Likewise.
11637 * sunrpc/clnt_udp.c: Likewise.
11638 * sunrpc/clnt_unix.c: Likewise.
11639 * sunrpc/des_crypt.c: Likewise.
11640 * sunrpc/des_soft.c: Likewise.
11641 * sunrpc/get_myaddr.c: Likewise.
11642 * sunrpc/key_call.c: Likewise.
11643 * sunrpc/key_prot.c: Likewise.
11644 * sunrpc/netname.c: Likewise.
11645 * sunrpc/pm_getmaps.c: Likewise.
11646 * sunrpc/pm_getport.c: Likewise.
11647 * sunrpc/pmap_clnt.c: Likewise.
11648 * sunrpc/pmap_prot.c: Likewise.
11649 * sunrpc/pmap_prot2.c: Likewise.
11650 * sunrpc/pmap_rmt.c: Likewise.
11651 * sunrpc/publickey.c: Likewise.
11652 * sunrpc/rpc_cmsg.c: Likewise.
11653 * sunrpc/rpc_common.c: Likewise.
11654 * sunrpc/rpc_dtable.c: Likewise.
11655 * sunrpc/rpc_prot.c: Likewise.
11656 * sunrpc/rpc_thread.c: Likewise.
11657 * sunrpc/rtime.c: Likewise.
11658 * sunrpc/svc.c: Likewise.
11659 * sunrpc/svc_auth.c: Likewise.
11660 * sunrpc/svc_authux.c: Likewise.
11661 * sunrpc/svc_raw.c: Likewise.
11662 * sunrpc/svc_run.c: Likewise.
11663 * sunrpc/svc_simple.c: Likewise.
11664 * sunrpc/svc_tcp.c: Likewise.
11665 * sunrpc/svc_udp.c: Likewise.
11666 * sunrpc/svc_unix.c: Likewise.
11667 * sunrpc/svcauth_des.c: Likewise.
11668 * sunrpc/xcrypt.c: Likewise.
11669 * sunrpc/xdr.c: Likewise.
11670 * sunrpc/xdr_array.c: Likewise.
11671 * sunrpc/xdr_float.c: Likewise.
11672 * sunrpc/xdr_intXX_t.c: Likewise.
11673 * sunrpc/xdr_mem.c: Likewise.
11674 * sunrpc/xdr_rec.c: Likewise.
11675 * sunrpc/xdr_ref.c: Likewise.
11676 * sunrpc/xdr_sizeof.c: Likewise.
11677 * sunrpc/xdr_stdio.c: Likewise.
11679 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11682 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11683 * sysdeps/ia64/dl-tls.h: Likewise.
11684 * sysdeps/powerpc/dl-tls.h: Likewise.
11685 * sysdeps/s390/dl-tls.h: Likewise.
11686 * sysdeps/sh/dl-tls.h: Likewise.
11687 * sysdeps/sparc/dl-tls.h: Likewise.
11688 * sysdeps/x86_64/dl-tls.h: Likewise.
11689 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11691 2011-03-14 Andreas Schwab <schwab@redhat.com>
11693 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11694 rpath element also skip the following colon.
11695 (expand_dynamic_string_token): Add is_path parameter and pass
11696 down to DL_DST_REQUIRED and _dl_dst_substitute.
11697 (decompose_rpath): Call expand_dynamic_string_token with
11698 non-zero is_path. Ignore empty rpaths.
11699 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11702 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11707 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11710 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11711 Patch by Filipe David Manana <fdmanana@apache.org>.
11713 2011-04-07 Andreas Schwab <schwab@redhat.com>
11715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11716 Maintain aligned stack.
11717 (CHECK_RSP): Remove unused macro.
11719 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11721 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11722 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11724 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11726 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11728 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11730 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11733 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11734 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11735 * sysdeps/x86_64/memmove.c: New file.
11736 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11737 (memcpy): Renamed to ...
11738 (__new_memcpy): This.
11739 (memcpy): Provide GLIBC_2_14 memcpy.
11740 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11741 (memcpy): Provide GLIBC_2_2_5 memcpy.
11743 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11746 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11748 2011-03-30 Andreas Schwab <schwab@redhat.com>
11750 * misc/syncfs.c: New file.
11751 * misc/Makefile (routines): Add syncfs.
11752 * posix/unistd.h: Declare syncfs.
11753 * sysdeps/unix/syscalls.list: Add syncfs.
11755 2011-04-01 Andreas Schwab <schwab@redhat.com>
11757 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11760 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11762 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11764 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11767 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11771 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11777 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11778 sync_file_range.c with -fexceptions.
11779 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11780 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11781 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11782 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11783 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11784 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11786 sync_file_range as cancellation point
11787 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11788 now a wrapper around __call_sync_file_range with cancellation handling.
11789 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11790 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11791 function name to __call_sync_file_range.
11792 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11793 Add call_sync_file_range.
11795 2011-04-01 Andreas Schwab <schwab@redhat.com>
11797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11800 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11802 * iconv/iconv.h: Fix typo in comment.
11803 * io/fcntl.h: Likewise.
11804 * libio/stdio.h: Likewise.
11805 * posix/spawn.h: Likewise.
11806 * posix/unistd.h: Likewise.
11807 * stdlib/stdlib.h: Likewise.
11808 * time/time.h: Likewise.
11809 * wcsmbs/wchar.h: Likewise.
11811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11812 open_by_handle): Add.
11813 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11814 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11815 Augment a few comments.
11816 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11818 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11821 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11824 * io/fcntl.h (AT_EMPTY_PATH): Define.
11826 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11828 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11829 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11830 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11832 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11833 * Versions.def: Add GLIBC_2.14.
11834 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11837 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11839 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11841 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11843 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11846 * string/test-strncmp.c (do_page_test): New function.
11847 (check2): Likewise.
11848 (test_main): Call check2.
11849 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11851 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11854 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11855 Handle cache information in CPU leaf 4.
11856 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11858 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11861 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11862 character representation.
11863 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11865 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11867 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11868 END(__isnan) to END(__isnanf) to match function entry point/label
11869 EALIGN(__isnanf,...).
11871 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11873 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11875 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11878 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11879 copy from the symbol referenced in the relocation to initialize the
11881 Patch by Piotr Bury <pbury@goahead.com>.
11882 * elf/Makefile: Add rules to build and tst-unique3.
11883 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11884 * elf/tst-unique3.cc: New file.
11885 * elf/tst-unique3.h: New file.
11886 * elf/tst-unique3lib.cc: New file.
11887 * elf/tst-unique3lib2.cc: New file.
11889 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11891 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11893 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11894 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11897 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11899 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11900 to-be-loaded object along a path to loader is ld.so.
11902 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11903 Ulrich Drepper <drepper@gmail.com>
11905 * sysdeps/x86_64/memset.S: After aligning destination, code
11906 branches to different locations depending on the value of
11907 misalignment, when multiarch is enabled. Fix this.
11909 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11911 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11912 Set _x86_64_preferred_memory_instruction for AMD processsors.
11913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11914 Set bit_Prefer_SSE_for_memop for AMD processors.
11916 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11918 * libio/fmemopen.c (fmemopen): Optimize a bit.
11920 2011-03-03 Andreas Schwab <schwab@redhat.com>
11922 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11924 2011-03-03 Roland McGrath <roland@redhat.com>
11926 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11928 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11930 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11931 __bzero_ultra1 instead of __memset_ultra1.
11933 2011-02-23 Andreas Schwab <schwab@redhat.com>
11934 Ulrich Drepper <drepper@gmail.com>
11937 * include/link.h (struct link_map): Add l_orig_initfini.
11938 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11939 returning unsuccessfully.
11940 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11941 close of a file loaded at startup, restore the original l_initfini
11943 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11944 list, store the pointer.
11945 * elf/Makefile ($(objpfx)noload-mem): New rule.
11946 (noload-ENV): Define.
11947 (tests): Add $(objpfx)noload-mem.
11948 * elf/noload.c: Include <memcheck.h>.
11949 (main): Call mtrace. Close all opened handles.
11951 2011-02-17 Andreas Schwab <schwab@redhat.com>
11954 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11955 dependencies are missing.
11957 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11959 Fix __if_freereq crash: Unlike the generic version which uses free,
11961 * sysdeps/mach/hurd/ifreq.h: New file.
11963 2011-01-27 Petr Baudis <pasky@suse.cz>
11964 Ulrich Drepper <drepper@gmail.com>
11967 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11968 to extend_alloca().
11969 * stdio-common/bug23.c: New file.
11970 * stdio-common/Makefile (tests): Add bug23.
11972 2010-09-28 Andreas Schwab <schwab@redhat.com>
11973 Ulrich Drepper <drepper@gmail.com>
11976 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11977 before performing relro protection. At old place add assertion
11978 to make sure nothing changed.
11980 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11981 Glauber de Oliveira Costa <glommer@gmail.com>
11983 * elf/elf.h: Add new ARM TLS relocs.
11985 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11988 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11990 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11992 * sysdeps/wordsize-64/tst-writev.c: New file.
11994 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11996 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11997 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11998 insns in _dl_start to prevent a TOC reference before relocs are
12001 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12004 * Makeconfig: Remove RANLIB definition.
12005 * Makerules: Don't use RANLIB.
12006 * aclocal.m4: Remove ranlib test.
12007 * configure.in: No need to check for ranlib.
12008 * elf/rtld-Rules: Don't use RANLIB.
12010 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12012 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12014 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12015 inclusion protection macro.
12017 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12018 SIGRTMIN and SIGRTMAX and print information in that case only when
12019 SIGRTMIN is defined.
12021 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12023 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12024 arginfo fn returning -1.
12026 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12027 and thousands string is zero terminated.
12029 2011-02-03 Andreas Schwab <schwab@redhat.com>
12031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12032 sysdeps/unix/sysv/linux/bits/socket.h.
12034 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12036 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12037 (__CPU_COUNT): Remove old macros.
12038 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12039 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12040 (__CPU_ALLOC, __CPU_FREE): Add macros.
12041 (__sched_cpualloc, __sched_cpufree): Add declarations.
12043 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12045 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12046 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12047 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12048 (readdhstai): Return value of addhstaiX call.
12049 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12050 (addgrbyX): Return value returned by cache_addgr.
12051 (readdgrbyname): Return value returned by addgrbyX.
12052 (readdgrbygid): Likewise.
12053 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12054 (addpwbyX): Return value returned by cache_addpw.
12055 (readdpwbyname): Return value returned by addhstbyX.
12056 (readdpwbyuid): Likewise.
12057 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12058 (addservbyX): Return value returned by cache_addserv.
12059 (readdservbyname): Return value returned by addservbyX:
12060 (readdservbyport): Likewise.
12061 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12062 (addhstbyX): Return value returned by cache_addhst.
12063 (readdhstbyname): Return value returned by addhstbyX.
12064 (readdhstbyaddr): Likewise.
12065 (readdhstbynamev6): Likewise.
12066 (readdhstbyaddrv6): Likewise.
12067 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12068 (readdinitgroups): Return value returned by addinitgroupsX.
12069 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12070 (prune_cache): Keep track of timeout value of re-added entries.
12071 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12072 * nscd/nscd.h: Adjust prototypes of readd* functions.
12074 2011-02-04 Roland McGrath <roland@redhat.com>
12076 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12077 (nis_stats): Likewise.
12078 * nis/nis_modify.c (nis_modify): Likewise.
12079 * nis/nis_remove.c (nis_remove): Likewise.
12080 * nis/nis_add.c (nis_add): Likewise.
12082 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12084 * posix/fnmatch_loop.c: Add some consts.
12086 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12088 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12091 * config.make.in (config-cflags-novzeroupper): Define.
12092 * configure.in: Substitute libc_cv_cc_novzeroupper.
12093 * elf/Makefile (AVX-CFLAGS): Define.
12094 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12095 (CFLAGS-tst-auditmod4a.c): Likewise.
12096 (CFLAGS-tst-auditmod4b.c): Likewise.
12097 (CFLAGS-tst-auditmod6b.c): Likewise.
12098 (CFLAGS-tst-auditmod6c.c): Likewise.
12099 (CFLAGS-tst-auditmod7b.c): Likewise.
12100 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12102 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12104 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12105 function to the callback.
12106 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12108 2011-02-02 Andreas Schwab <schwab@redhat.com>
12110 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12113 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12116 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12118 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12120 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12123 * elf/Makefile: Add rules to build and run new test.
12124 * elf/tst-initorder.c: New file.
12125 * elf/tst-initorder.exp: New file.
12126 * elf/tst-initordera1.c: New file.
12127 * elf/tst-initordera2.c: New file.
12128 * elf/tst-initordera3.c: New file.
12129 * elf/tst-initordera4.c: New file.
12130 * elf/tst-initorderb1.c: New file.
12131 * elf/tst-initorderb2.c: New file.
12132 * elf/tst-order-a1.c: New file.
12133 * elf/tst-order-a2.c: New file.
12134 * elf/tst-order-a3.c: New file.
12135 * elf/tst-order-a4.c: New file.
12136 * elf/tst-order-b1.c: New file.
12137 * elf/tst-order-b2.c: New file.
12138 * elf/tst-order-main.c: New file.
12139 New test case by George Gensure <werkt0@gmail.com>.
12141 2010-10-01 Andreas Schwab <schwab@redhat.com>
12143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12144 decoding ACE if AI_CANONIDN.
12146 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12148 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12150 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12152 * version.h (RELEASE): Bump for 2.13 release.
12153 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12155 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12157 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12159 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12160 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12161 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12162 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12164 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12166 * posix/getconf.c: Update copyright year.
12167 * catgets/gencat.c: Likewise.
12168 * csu/version.c: Likewise.
12169 * debug/catchsegv.sh: Likewise.
12170 * debug/xtrace.sh: Likewise.
12171 * elf/ldconfig.c: Likewise.
12172 * elf/ldd.bash.in: Likewise.
12173 * elf/sprof.c (print_version): Likewise.
12174 * iconv/iconv_prog.c: Likewise.
12175 * iconv/iconvconfig.c: Likewise.
12176 * locale/programs/locale.c: Likewise.
12177 * locale/programs/localedef.c: Likewise.
12178 * malloc/memusage.sh: Likewise.
12179 * malloc/mtrace.pl: Likewise.
12180 * nscd/nscd.c (print_version): Likewise.
12181 * nss/getent.c: Likewise.
12183 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12184 PF_CAIF, and PF_ALG.
12185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12187 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12189 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12190 (modules-names): Use them.
12191 (ifunc-test-modules, ifunc-pie-tests): Define.
12192 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12193 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12194 (test-extras): Likewise.
12195 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12196 $(compile-command.c).
12197 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12198 (all-built-dso): Define.
12199 (check-textrel.out, check-execstack.out): Depend on it.
12201 * configure.in: Don't override --enable-multi-arch.
12203 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12206 * nscd/hstcache.c (tryagain): Define.
12207 (cache_addhst): Return tryagain not notfound for temporary errors.
12208 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12211 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12214 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12215 to make the syscall.
12216 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12219 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12220 and fall back to matching as normal character if the string ends before
12221 the matching ']' is found. This is what POSIX requires.
12222 * posix/testfnm.c: Adjust test result.
12223 * posix/globtest.sh: Adjust test result. Add new test.
12224 * posix/tst-fnmatch.input: Likewise.
12225 * posix/tst-fnmatch2.c: Add new test.
12227 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12229 * elf/Makefile (check-execstack): Revert last change. Depend on
12231 (check-execstack.h): New target.
12232 (generated): Add check-execstack.h.
12233 * elf/check-execstack.c: Include "check-execstack.h".
12234 (main): Revert last change.
12235 (handle_file): Return zero if GNU_STACK is absent and
12236 DEFAULT_STACK_PERMS doesn't include PF_X.
12238 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12240 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12241 in child fails because the descriptor is already closed.
12242 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12243 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12244 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12247 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12251 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12252 temporary buffer used to handle multi lookups locally.
12253 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12255 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12257 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12260 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12262 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12263 alignment for SSE2.
12265 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12268 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12269 characters. When rounding increased number of integer digits recompute
12271 * stdio-common/tst-grouping.c: New file.
12272 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12274 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12276 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12277 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12279 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12281 * bits/select.h: Likewise.
12283 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12285 * po/ja.po: Update from translation team.
12287 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12290 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12291 implementation just like for lxstat, fxstatat, et al.
12293 2010-12-27 Jim Meyering <meyering@redhat.com>
12296 * posix/regexec.c (build_trtable): Return failure indication upon
12297 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12299 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12302 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12303 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12304 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12305 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12308 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12311 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12312 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12314 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12316 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12317 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12318 script has SORT_BY_INIT_PRIORITY.
12319 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12320 NO_CTORS_DTORS_SECTIONS is defined.
12321 * elf/soinit.c: Likewise.
12322 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12323 NO_CTORS_DTORS_SECTIONS is defined.
12324 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12325 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12326 * sysdeps/sh/init-first.c: Likewise.
12327 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12329 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12331 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12332 always use the slow path.
12334 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12336 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12337 similar rule which adds the sysdep directories to the header search in
12338 order to pick up the correct platform stackinfo.h.
12339 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12340 perform test if it is, otherwise return successfully without testing.
12341 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12342 DEFAULT_STACK_PERMS define in stackinfo.h.
12343 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12344 defined in stackinfo.h.
12345 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12346 DEFAULT_STACK_PERMS defined in stackinfo.h.
12347 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12348 * sysdeps/ia64/stackinfo.h: Likewise.
12349 * sysdeps/s390/stackinfo.h: Likewise.
12350 * sysdeps/sh/stackinfo.h: Likewise.
12351 * sysdeps/sparc/stackinfo.h: Likewise.
12352 * sysdeps/x86_64/stackinfo.h: Likewise.
12353 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12354 PF_X for powerpc64. Retain PF_X for powerpc32.
12356 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12358 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12360 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12361 GETDENTS_64BIT_ALIGNED.
12363 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12365 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12367 2010-12-10 Andreas Schwab <schwab@redhat.com>
12369 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12372 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12373 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12375 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12376 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12378 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12381 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12384 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12386 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12388 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12390 * po/it.po: Update from translation team.
12392 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12397 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12399 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12401 2010-11-24 Andreas Schwab <schwab@redhat.com>
12403 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12405 (gaih_getanswer_slice): Likewise.
12407 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12411 2010-05-31 Petr Baudis <pasky@suse.cz>
12414 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12415 silently even in the chroot mode.
12417 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12419 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12420 last patch a bit. Pretty printing
12422 2010-05-31 Petr Baudis <pasky@suse.cz>
12425 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12426 initialization of skip_initgroups_dyn.
12428 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12430 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12433 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12435 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12437 2010-11-11 Andreas Schwab <schwab@redhat.com>
12439 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12440 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12441 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12442 ($(objpfx)tst-fnmatch-mem): New rule.
12443 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12444 * posix/tst-fnmatch.c (main): Call mtrace.
12446 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12449 Support Intel processor model 6 and model 0x2c.
12451 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12453 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12456 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12459 * string/test-strncasecmp.c (check_result): New function.
12460 (do_one_test): Use it.
12461 (check1): New function.
12462 (test_main): Use it.
12463 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12464 Support strcasecmp and strncasecmp.
12466 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12469 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12472 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12474 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12478 * sysdeps/x86_64/multiarch/bzero.S: New file.
12479 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12480 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12481 * sysdeps/x86_64/multiarch/memset.S: New file.
12482 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12484 Set bit_Prefer_SSE_for_memop for Intel processors.
12485 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12487 (index_Prefer_SSE_for_memop): Define.
12488 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12490 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12492 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12493 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12495 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12498 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12499 (__x86_64_raw_data_cache_size_half): Likewise.
12500 (__x86_64_raw_shared_cache_size): Likewise.
12501 (__x86_64_raw_shared_cache_size_half): Likewise.
12503 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12504 (__x86_64_raw_data_cache_size_half): Likewise.
12505 (__x86_64_raw_shared_cache_size): Likewise.
12506 (__x86_64_raw_shared_cache_size_half): Likewise.
12507 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12508 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12509 and __x86_64_raw_shared_cache_size_half. Round
12510 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12511 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12512 to multiple of 256 bytes.
12514 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12518 of inacessible symlinks. Verify result of symlink before returning it.
12519 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12520 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12522 2010-10-28 Erich Ritz <erichritz@gmail.com>
12524 * math/math.h (isinf): Fix typo in comment.
12526 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12528 * po/da.po: Update from translation team.
12530 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12532 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12533 is added to the list.
12535 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12536 Ulrich Drepper <drepper@gmail.com>
12538 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12539 the global list here. Move code to...
12540 (_dl_add_to_namespace_list): ...here. New function.
12541 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12542 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12543 * elf/dl-load.c (lose): Don't remove the element from the list.
12544 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12545 (_dl_map_object): Likewise.
12547 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12550 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12551 into all bytes of SSE register.
12552 Patch by Richard Li <richardpku@gmail.com>.
12554 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12557 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12560 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12562 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12563 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12564 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12565 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12570 2010-10-22 Andreas Schwab <schwab@redhat.com>
12572 * include/dlfcn.h (__RTLD_SECURE): Define.
12573 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12574 mode & __RTLD_SECURE instead.
12575 (open_path): Rename preloaded parameter to secure.
12576 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12577 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12578 * elf/dl-deps.c (openaux): Likewise.
12579 * elf/rtld.c (struct map_args): Remove is_preloaded.
12580 (map_doit): Don't use it.
12581 (dl_main): Likewise.
12582 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12583 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12585 2010-09-09 Andreas Schwab <schwab@redhat.com>
12587 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12588 (sysd-rules-targets): Remove duplicates.
12589 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12590 rtld-%.$o dependency.
12592 2010-10-18 Andreas Schwab <schwab@redhat.com>
12594 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12595 _dl_map_object do it.
12597 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12599 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12600 fast fma builtins, define the macros in the C99 standard.
12601 (FP_FAST_FMAF): Likewise.
12602 (FP_FAST_FMAL): Likewise.
12603 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12605 * bits/mathdef.h: Update copyright year.
12606 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12608 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12610 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12611 builtins, define the macros in the C99 standard.
12612 (FP_FAST_FMAF): Likewise.
12613 (FP_FAST_FMAL): Likewise.
12614 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12616 (FP_FAST_FMAF): Likewise.
12618 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12621 * math/libm-test.inc (fma_test): Some new testcases.
12622 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12623 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12624 y and infinite z. Do multiplication by C already in long double.
12625 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12627 y and infinite z. Do bitwise or of inexact bit into u.d.
12628 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12629 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12630 * sysdeps/i386/fpu/s_fma.S: Removed.
12631 * sysdeps/i386/fpu/s_fmal.S: Removed.
12633 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12636 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12638 computation is not scheduled after fetestexcept. Fix value
12639 of minimum denormal long double.
12641 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12644 * math/libm-test.inc (fma_test): Add some more tests.
12645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12648 2010-10-15 Andreas Schwab <schwab@redhat.com>
12650 * scripts/data/localplt-s390-linux-gnu.data: New file.
12651 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12653 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12656 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12657 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12659 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12661 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12663 if one of x and y is very large and the other is subnormal.
12664 * sysdeps/s390/fpu/s_fmaf.c: New file.
12665 * sysdeps/s390/fpu/s_fma.c: New file.
12666 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12667 * sysdeps/powerpc/fpu/s_fma.S: New file.
12668 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12669 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12670 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12672 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12675 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12677 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12678 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12679 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12680 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12681 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12682 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12685 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12688 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12689 * posix/bug-regex31.input: Add test case.
12691 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12693 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12694 * posix/bug-regex31.input: New file.
12697 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12698 (parse_sub_exp): Fix last change, use postorder.
12700 * posix/bug-regex31.c: New file.
12701 * posix/Makefile: Add rules to build and run bug-regex31.
12703 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12706 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12709 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12710 to have entries in sys_siglist.
12713 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12716 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12719 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12720 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12721 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12722 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12723 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12724 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12725 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12726 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12727 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12728 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12729 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12730 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12731 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12732 * math/ftestexcept.c (fetestexcept): Likewise.
12733 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12734 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12735 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12736 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12737 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12738 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12739 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12741 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12744 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12747 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12749 * string/bug-strstr1.c: New file.
12750 * string/Makefile: Add rules to build and run bug-strstr1.
12752 2010-10-05 Eric Blake <eblake@redhat.com>
12755 * string/str-two-way.h (two_way_long_needle): Always clear memory
12756 when skipping input due to the shift table.
12758 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12761 * malloc/mcheck.c: Handle large requests.
12764 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12765 for strncmp and strncasecmp.
12766 * string/stratcliff.c: Add tests for strcmp and strncmp.
12767 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12769 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12771 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12774 2010-09-30 Andreas Jaeger <aj@suse.de>
12776 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12777 (CGROUP_SUPER_MAGIC): Define.
12778 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12779 Handle btrfs and cgroup file systems.
12780 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12783 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12785 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12786 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12788 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12791 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12792 trying to locate the ELF header.
12794 2010-09-27 Andreas Schwab <schwab@redhat.com>
12797 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12798 Mask out sign-bit copies when constructing f_fsid.
12800 2010-09-24 Petr Baudis <pasky@suse.cz>
12802 * debug/stack_chk_fail_local.c: Add missing licence exception.
12803 * debug/warning-nop.c: Likewise.
12805 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12807 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12808 implementing getdents64 using getdents syscall, set d_type if
12809 __ASSUME_GETDENTS32_D_TYPE.
12811 2010-09-16 Andreas Schwab <schwab@redhat.com>
12813 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12814 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12816 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12819 * posix/unistd.h: Undo change of feature selection for ftruncate from
12822 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12824 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12827 2010-09-20 Andreas Schwab <schwab@redhat.com>
12829 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12831 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12833 2010-09-14 Andreas Schwab <schwab@redhat.com>
12835 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12836 variables after CHECK_SP call.
12837 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12839 2010-09-13 Andreas Schwab <schwab@redhat.com>
12840 Ulrich Drepper <drepper@redhat.com>
12842 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12843 re-relocationg ld.so.
12844 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12845 _dl_init_paths call.
12846 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12849 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12851 * resolv/res_init.c (__res_vinit): Count the default server we added.
12853 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12854 Ulrich Drepper <drepper@redhat.com>
12857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12858 (____longjmp_chk): Use %ebx for saving value across system call.
12861 2010-09-06 Andreas Schwab <schwab@redhat.com>
12863 * manual/Makefile: Don't mix pattern rules with normal rules.
12865 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12867 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12869 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12870 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12871 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12872 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12876 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12879 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12880 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12882 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12884 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12885 * sysdeps/x86_64/addmul_1.S: Likewise.
12886 * sysdeps/x86_64/lshift.S: Likewise.
12887 * sysdeps/x86_64/mul_1.S: Likewise.
12888 * sysdeps/x86_64/rshift.S: Likewise.
12889 * sysdeps/x86_64/sub_n.S: Likewise.
12890 * sysdeps/x86_64/submul_1.S: Likewise.
12892 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12894 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12895 Define __sched_param instead of SCHED_* and sched_param when
12896 <bits/sched.h> is included with __need_schedparam defined.
12897 * bits/sched.h [__need_schedparam]
12898 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12899 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12900 (__defined_schedparam): Define to 1.
12901 (__sched_param): New structure, identical to sched_param.
12902 (__need_schedparam): Undefine.
12904 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12906 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12907 (epoll_create1): Declare.
12909 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12911 2010-08-31 Andreas Schwab <schwab@redhat.com>
12914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12915 shifting retval into place.
12917 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12919 * nis/rpcsvc/nis.h: Update copyright notice.
12920 * nis/rpcsvc/nis.x: Likewise.
12921 * nis/rpcsvc/nis_callback.h: Likewise.
12922 * nis/rpcsvc/nis_callback.x: Likewise.
12923 * nis/rpcsvc/nis_object.x: Likewise.
12924 * nis/rpcsvc/nis_tags.h: Likewise.
12925 * nis/rpcsvc/yp.h: Likewise.
12926 * nis/rpcsvc/yp.x: Likewise.
12927 * nis/rpcsvc/ypupd.h: Likewise.
12928 * nis/yp_xdr.c: Likewise.
12929 * nis/ypupdate_xdr.c: Likewise.
12931 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12932 mainly the body of pmap_getport. Add parameters to specify timeouts.
12933 (pmap_getport): Use __libc_rpc_getport.
12934 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12935 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12936 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12938 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12943 2010-08-27 Roland McGrath <roland@redhat.com>
12945 * sysdeps/i386/i686/multiarch/Makefile
12946 (CFLAGS-varshift.c): New variable.
12948 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12950 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12951 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12955 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12957 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12959 * sysdeps/x86_64/strlen.S: Unroll the loop.
12960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12961 strlen-sse2 strlen-sse2-bsf.
12962 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12963 __strlen_no_bsf if bit_Slow_BSF is set.
12964 (__strlen_sse42): Removed.
12965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12966 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12968 2010-08-25 Roland McGrath <roland@redhat.com>
12970 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12971 * sysdeps/x86_64/multiarch/varshift.c: New file.
12972 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12973 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12974 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12975 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12977 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12980 strlen-sse2 strlen-sse2-bsf.
12981 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12982 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12983 (__strlen_sse2): Removed.
12984 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12985 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12987 bit_Slow_BSF for Atom.
12988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12989 (index_Slow_BSF): Define.
12990 (HAS_SLOW_BSF): Define.
12992 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12995 * resolv/res_init.c (__res_vinit): When no server address at all
12996 is given default to loopback.
12998 2010-08-24 Roland McGrath <roland@redhat.com>
13000 * configure.in: Remove config-name.h generation.
13001 * configure: Regenerated.
13002 * config-name.in: File removed.
13003 * scripts/config-uname.sh: New file.
13004 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13005 ($(objdir)config-name.h): New target.
13007 * sunrpc/rpc_parse.h: Avoid nested comment.
13009 2010-08-24 Richard Henderson <rth@redhat.com>
13010 Ulrich Drepper <drepper@redhat.com>
13011 H.J. Lu <hongjiu.lu@intel.com>
13013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13015 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13016 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13017 _mm_alignr_epi8 with _mm_loadu_si128.
13018 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13019 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13020 (__m128i_shift_right): Removed.
13021 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13022 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13023 * sysdeps/x86_64/multiarch/varshift.h: New file.
13024 * sysdeps/x86_64/multiarch/varshift.S: New file.
13026 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13028 * configure.in: Move assembler checks to before sysdep dir checking.
13030 2010-08-20 Petr Baudis <pasky@suse.cz>
13032 * LICENSES: Sync the sunrpc license.
13034 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13036 * sunrpc/auth_des.c: Update copyright notice once again.
13037 * sunrpc/auth_none.c: Likewise.
13038 * sunrpc/auth_unix.c: Likewise.
13039 * sunrpc/authdes_prot.c: Likewise.
13040 * sunrpc/authuxprot.c: Likewise.
13041 * sunrpc/bindrsvprt.c: Likewise.
13042 * sunrpc/clnt_gen.c: Likewise.
13043 * sunrpc/clnt_perr.c: Likewise.
13044 * sunrpc/clnt_raw.c: Likewise.
13045 * sunrpc/clnt_simp.c: Likewise.
13046 * sunrpc/clnt_tcp.c: Likewise.
13047 * sunrpc/clnt_udp.c: Likewise.
13048 * sunrpc/clnt_unix.c: Likewise.
13049 * sunrpc/des_crypt.c: Likewise.
13050 * sunrpc/des_soft.c: Likewise.
13051 * sunrpc/get_myaddr.c: Likewise.
13052 * sunrpc/getrpcport.c: Likewise.
13053 * sunrpc/key_call.c: Likewise.
13054 * sunrpc/key_prot.c: Likewise.
13055 * sunrpc/openchild.c: Likewise.
13056 * sunrpc/pm_getmaps.c: Likewise.
13057 * sunrpc/pm_getport.c: Likewise.
13058 * sunrpc/pmap_clnt.c: Likewise.
13059 * sunrpc/pmap_prot.c: Likewise.
13060 * sunrpc/pmap_prot2.c: Likewise.
13061 * sunrpc/pmap_rmt.c: Likewise.
13062 * sunrpc/rpc/auth.h: Likewise.
13063 * sunrpc/rpc/auth_unix.h: Likewise.
13064 * sunrpc/rpc/clnt.h: Likewise.
13065 * sunrpc/rpc/des_crypt.h: Likewise.
13066 * sunrpc/rpc/key_prot.h: Likewise.
13067 * sunrpc/rpc/netdb.h: Likewise.
13068 * sunrpc/rpc/pmap_clnt.h: Likewise.
13069 * sunrpc/rpc/pmap_prot.h: Likewise.
13070 * sunrpc/rpc/pmap_rmt.h: Likewise.
13071 * sunrpc/rpc/rpc.h: Likewise.
13072 * sunrpc/rpc/rpc_des.h: Likewise.
13073 * sunrpc/rpc/rpc_msg.h: Likewise.
13074 * sunrpc/rpc/svc.h: Likewise.
13075 * sunrpc/rpc/svc_auth.h: Likewise.
13076 * sunrpc/rpc/types.h: Likewise.
13077 * sunrpc/rpc/xdr.h: Likewise.
13078 * sunrpc/rpc_clntout.c: Likewise.
13079 * sunrpc/rpc_cmsg.c: Likewise.
13080 * sunrpc/rpc_common.c: Likewise.
13081 * sunrpc/rpc_cout.c: Likewise.
13082 * sunrpc/rpc_dtable.c: Likewise.
13083 * sunrpc/rpc_hout.c: Likewise.
13084 * sunrpc/rpc_main.c: Likewise.
13085 * sunrpc/rpc_parse.c: Likewise.
13086 * sunrpc/rpc_parse.h: Likewise.
13087 * sunrpc/rpc_prot.c: Likewise.
13088 * sunrpc/rpc_sample.c: Likewise.
13089 * sunrpc/rpc_scan.c: Likewise.
13090 * sunrpc/rpc_scan.h: Likewise.
13091 * sunrpc/rpc_svcout.c: Likewise.
13092 * sunrpc/rpc_tblout.c: Likewise.
13093 * sunrpc/rpc_util.c: Likewise.
13094 * sunrpc/rpc_util.h: Likewise.
13095 * sunrpc/rpcinfo.c: Likewise.
13096 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13097 * sunrpc/rpcsvc/key_prot.x: Likewise.
13098 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13099 * sunrpc/rpcsvc/mount.x: Likewise.
13100 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13101 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13102 * sunrpc/rpcsvc/rex.x: Likewise.
13103 * sunrpc/rpcsvc/rstat.x: Likewise.
13104 * sunrpc/rpcsvc/rusers.x: Likewise.
13105 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13106 * sunrpc/rpcsvc/spray.x: Likewise.
13107 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13108 * sunrpc/rtime.c: Likewise.
13109 * sunrpc/svc.c: Likewise.
13110 * sunrpc/svc_auth.c: Likewise.
13111 * sunrpc/svc_authux.c: Likewise.
13112 * sunrpc/svc_raw.c: Likewise.
13113 * sunrpc/svc_run.c: Likewise.
13114 * sunrpc/svc_simple.c: Likewise.
13115 * sunrpc/svc_tcp.c: Likewise.
13116 * sunrpc/svc_udp.c: Likewise.
13117 * sunrpc/svc_unix.c: Likewise.
13118 * sunrpc/svcauth_des.c: Likewise.
13119 * sunrpc/xcrypt.c: Likewise.
13120 * sunrpc/xdr.c: Likewise.
13121 * sunrpc/xdr_array.c: Likewise.
13122 * sunrpc/xdr_float.c: Likewise.
13123 * sunrpc/xdr_mem.c: Likewise.
13124 * sunrpc/xdr_rec.c: Likewise.
13125 * sunrpc/xdr_ref.c: Likewise.
13126 * sunrpc/xdr_sizeof.c: Likewise.
13127 * sunrpc/xdr_stdio.c: Likewise.
13129 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13132 2010-08-19 Andreas Schwab <schwab@redhat.com>
13134 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13136 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13138 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13139 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13140 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13141 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13142 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13143 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13144 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13145 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13146 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13147 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13148 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13149 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13150 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13151 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13153 2010-07-26 Anton Blanchard <anton@samba.org>
13155 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13156 * malloc/arena.c (heap_trim): Likewise.
13158 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13160 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13163 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13165 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13167 * sysdeps/i386/elf/Makefile: New file.
13169 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13171 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13172 from fanotify_init.
13173 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13176 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13178 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13180 * sysdeps/multiarch/strcmp.S: Likewise.
13182 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13184 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13185 strncase_l-nonascii.
13186 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13187 Add strncase_l-ssse3.
13188 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13189 * sysdeps/x86_64/strcmp.S: Likewise.
13190 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13191 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13192 * sysdeps/x86_64/strncase.S: New file.
13193 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13194 * sysdeps/x86_64/strncase_l.S: New file.
13195 * string/Makefile (strop-tests): Add strncasecmp.
13196 * string/test-strncasecmp.c: New file.
13198 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13201 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13202 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13204 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13206 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13208 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13210 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13212 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13214 2010-05-01 Alan Modra <amodra@gmail.com>
13216 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13217 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13218 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13219 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13220 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13221 tidying. Don't tail-call __sigjmp_save for static lib.
13222 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13224 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13225 (CALL_MCOUNT): Add eh info, and nop after bl.
13226 (TAIL_CALL_SYSCALL_ERROR): New macro.
13227 (PSEUDO_RET): Use it.
13228 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13229 Correct save location of integer regs and cr.
13230 (_dl_profile_resolve): Correct cr save location. Delete nops
13231 after bl when SHARED. Reduce cfi size a little by better
13232 placement of cfi directives.
13233 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13234 make a stack frame. Instead use parm save area as a temp.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13236 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13238 Don't make a stack frame for parent, use parm save area.
13239 Increase child stack frame to 112 bytes. Don't save unused reg,
13240 and adjust reg usage. Set up cfi on error recovery and
13241 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13243 (__makecontext): Add dummy nop after jump to exit.
13244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13245 Use correct parm save area and cr save, reduce stack frame.
13246 Correct cfi for possible PSEUDO_RET frame setup.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13248 Branch to local label emitted by PSEUDO_RET rather than
13251 2010-08-12 Andreas Schwab <schwab@redhat.com>
13254 * locale/programs/locale.c (print_assignment): New function.
13255 (show_locale_vars): Use it.
13257 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13259 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13261 (struct statfs64): Likewise.
13262 (_STATFS_F_FLAGS): Define.
13263 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13265 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13266 (ST_VALID): Define locally.
13267 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13268 __statvfs_getflags, use the provided value.
13269 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13270 __ASSUME_STATFS_F_FLAGS.
13272 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13274 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13275 Add sys/fanotify.h.
13276 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13277 fanotify_mask for GLIBC_2.13.
13278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13279 fanotify_init and fanotify_mark.
13280 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13281 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13283 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13285 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13286 prlimit64 for GLIBC_2.13.
13287 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13289 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13292 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13293 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13297 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13300 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13301 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13303 * nss/Makefile: Add rules to build and run tst-nss-test1.
13304 * shlib-versions: Add entry for libnss_test1.
13305 * nss/nss_test1.c: New file.
13306 * nss/tst-nss-test1.c: New file.
13308 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13309 (__nss_configure_lookup): Set appropriate entry in
13310 __nss_configure_lookup to true.
13311 * nss/nsswitch.h: Define enum with indeces of databases in
13312 databases and __nss_database_custom arrays. Declare
13313 __nss_database_custom.
13314 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13315 to avoid using nscd when custom rules are installed.
13316 * nss/getXXbyYY_r.c: Likewise.
13317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13319 * nss/nss_files/files-parse.c: Whitespace fixes.
13321 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13324 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13325 * posix/fnmatch_loop.c: Likewise.
13327 2010-07-17 Andi Kleen <ak@linux.intel.com>
13329 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13330 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13331 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13332 * Versions.def [GLIBC_2.13]: Add.
13334 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13337 Also fail if tpwd after pwuid call is NULL.
13339 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13341 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13342 when converting to ms.
13344 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13346 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13347 EOPNOTSUPP errors with ENOTTY.
13348 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13349 EOPNOTSUPP errors with ENOTTY.
13351 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13353 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13354 Add strcasecmp_l-ssse3.
13355 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13357 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13358 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13359 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13361 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13363 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13365 * string/Makefile (strop-tests): Add strcasecmp.
13366 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13367 strcasecmp_l-nonascii.
13368 (gen-as-const-headers): Add locale-defines.sym.
13369 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13370 * sysdeps/x86_64/strcasecmp.S: New file.
13371 * sysdeps/x86_64/strcasecmp_l.S: New file.
13372 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13373 * sysdeps/x86_64/locale-defines.sym: New file.
13374 * string/test-strcasecmp.c: New file.
13376 * string/test-strcasestr.c: Test both ends of the range of characters.
13377 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13379 2010-07-29 Roland McGrath <roland@redhat.com>
13382 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13384 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13386 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13389 2010-07-27 Andreas Schwab <schwab@redhat.com>
13391 * manual/memory.texi (Malloc Tunable Parameters): Document
13394 2010-07-26 Roland McGrath <roland@redhat.com>
13397 * configure.in (-fgnu89-inline check): Set and substitute
13398 gnu89_inline, not libc_cv_gnu89_inline.
13399 * configure: Regenerated.
13400 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13402 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13404 * string/test-strnlen.c: New file.
13405 * string/Makefile (strop-tests): Add strnlen.
13406 * string/tester.c (test_strnlen): Add a few more test cases.
13407 * string/tst-strlen.c: Better error reporting.
13409 * sysdeps/x86_64/strnlen.S: New file.
13411 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13414 lower-latency instructions.
13416 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13418 * string/test-strcasestr.c: New file.
13419 * string/test-strstr.c: New file.
13420 * string/Makefile (strop-tests): Add strstr and strcasestr.
13421 * string/str-two-way.h: Don't undefine MAX.
13422 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13424 2010-07-21 Andreas Schwab <schwab@redhat.com>
13426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13427 strcasestr-nonascii.
13428 (CFLAGS-strcasestr-nonascii.c): Define.
13429 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13430 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13431 Remove unused attribute.
13433 2010-07-20 Roland McGrath <roland@redhat.com>
13435 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13436 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13437 ld.so.cache was broken. With it, there is no way to disable dsocaps
13438 like LD_HWCAP_MASK can disable hwcaps.
13440 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13442 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13444 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13446 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13447 call in strcasestr.
13448 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13449 __strcasestr_sse42_nonascii.
13450 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13451 strcasestr-nonascii.c.
13452 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13454 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13456 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13458 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13461 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13463 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13466 2010-07-06 Andreas Schwab <schwab@redhat.com>
13469 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13472 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13474 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13475 _PC_PIPE_BUF using F_GETPIPE_SZ.
13477 2010-07-05 Roland McGrath <roland@redhat.com>
13479 * manual/arith.texi (Rounding Functions): Fix rint description
13480 implicit in round description.
13482 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13484 * elf/Makefile: Fix linking for a few tests to make recent linker
13487 2010-06-30 Andreas Schwab <schwab@redhat.com>
13489 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13490 $(common-objpfx)libc_nonshared.a.
13492 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13494 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13495 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13496 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13497 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13498 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13499 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13500 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13501 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13516 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13517 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13518 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13519 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13520 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13521 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13522 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13523 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13524 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13525 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13526 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13527 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13543 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13545 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13546 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13547 * string/memmove.c (memmove): Renamed to ...
13548 (MEMMOVE): ...this. Default to memmove.
13549 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13550 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13553 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13554 mempcpy-ssse3-back memmove-ssse3-back.
13555 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13556 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13557 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13558 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13559 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13560 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13561 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13562 * sysdeps/x86_64/multiarch/memmove.c: New file.
13563 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13564 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13565 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13566 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13567 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13570 (index_Fast_Copy_Backward): Define.
13571 (HAS_ARCH_FEATURE): Define.
13572 (HAS_FAST_REP_STRING): Define.
13573 (HAS_FAST_COPY_BACKWARD): Define.
13575 2010-06-21 Andreas Schwab <schwab@redhat.com>
13577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13578 Restore proper fallback handling.
13580 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13583 * posix/group_member.c (__group_member): Correct checking loop.
13585 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13586 OOM in getpwuid_r correctly. Return error number when the caller
13587 should return, otherwise -1.
13588 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13589 call returning > 0 value.
13590 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13592 2010-06-07 Andreas Schwab <schwab@redhat.com>
13594 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13595 libc_nonshared.a from targets in modules-names.
13597 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13599 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13602 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13604 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13605 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13609 2010-06-02 Andreas Schwab <schwab@redhat.com>
13611 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13613 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13615 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13622 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13624 2010-06-14 Roland McGrath <roland@redhat.com>
13626 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13628 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13630 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13631 __REDIRECT followed by __THROW.
13632 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13633 * posix/getopt.h (getopt): Likewise.
13635 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13637 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13638 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13639 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13641 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13642 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13644 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13648 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13652 Properly check family and model.
13654 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13656 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13658 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13660 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13662 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13664 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13667 2010-05-19 Andreas Schwab <schwab@redhat.com>
13669 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13672 2010-05-21 Andreas Schwab <schwab@redhat.com>
13674 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13675 and internal_recvmmsg.
13676 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13677 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13678 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13679 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13681 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13682 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13683 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13685 2010-05-20 Andreas Schwab <schwab@redhat.com>
13687 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13689 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13691 POWER7 optimizations.
13692 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13693 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13695 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13697 * version.h: Update for 2.13 development version.
13699 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13701 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13702 exceptions. Return 0.
13704 2010-05-07 Roland McGrath <roland@redhat.com>
13706 * elf/ldconfig.c (main): Add a const.
13708 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13710 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13711 (args_options): Add no-idn option.
13712 (ahosts_keys_int): Add idn_flags to ai_flags.
13713 (parse_option): Handle 'i' option to clear idn_flags.
13715 * malloc/malloc.c (_int_free): Possible race in the most recently
13716 added check. Only act on the data if no current modification
13719 See ChangeLog.17 for earlier changes.