]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Avoid dup3 PLT usage.
[thirdparty/glibc.git] / ChangeLog
1 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2
3 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4 * sysdeps/unix/syscalls.list (dup3): Likewise.
5 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7
8 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9
10 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12
13 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14
15 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16 thread pointer.
17 (TLS_IE): Use mov/add instead of movq/addq to load thread
18 pointer.
19 (TLS_GD_PREFIX): New.
20 (TLS_GD): Use it.
21
22 2012-05-11 David S. Miller <davem@davemloft.net>
23
24 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26 (_FPU_SETCW): Likewise.
27
28 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29
30 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31 is 32-byte aligned.
32
33 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34
35 [BZ #11837]
36 * iconvdata/gb18030.c: Update tables.
37 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38 characters specially.
39 (BODY for TO_LOOP): Add encoding of missing ranges.
40
41 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42
43 [BZ #13673]
44 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45 * sysdeps/mach/hurd/dup3.c: Likewise.
46 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47 * sysdeps/powerpc/memmove.c:: Likewise.
48
49 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50
51 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
53
54 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
55
56 * elf/elf.h (R_X86_64_RELATIVE64): New.
57 (R_X86_64_NUM): Updated.
58 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
60 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62 tst-quad1pie tst-quad2pie
63 (modules-names): Add tst-quadmod1 tst-quadmod2.
64 ($(objpfx)tst-quad1): New dependency.
65 ($(objpfx)tst-quad2): Likewise.
66 ($(objpfx)tst-quad1pie): Likewise.
67 ($(objpfx)tst-quad2pie): Likewise.
68 * sysdeps/x86_64/tst-quad1.c: New file.
69 * sysdeps/x86_64/tst-quad1pie.c: New file.
70 * sysdeps/x86_64/tst-quad2.c: Likewise.
71 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76
77 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78
79 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
80 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81 * streams/stropts.h (t_scalar_t): Define type.
82
83 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
84 (_PATH_PRESERVE): Set to "/var/lib".
85 (_PATH_RWHODIR): Set to "/var/spool/rwho".
86
87 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
88 instead of int.
89
90 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
91 if __dir_mkfile succeeded.
92
93 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
94 checking for _hurd_dtablesize. Unlock it right after having
95 finished _hurd_dtable allocation.
96
97 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
98
99 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
100 * sysdeps/mach/hurd/configure: Regenerated.
101 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
102 special-casing to...
103 * sysdeps/gnu/configure.in: ... this new file.
104 * sysdeps/unix/sysv/linux/configure: Regenerated.
105 * sysdeps/gnu/configure: New generated file.
106
107 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
108 for Linux: use nsec instead of usec, as well as:
109 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
110 members of type struct timespec.
111 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
112 New macros.
113 (struct stat64): Likewise.
114 (_STATBUF_ST_NSEC): New macro.
115 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
116
117 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
118 __strtoul_internal rather than strtoul.
119
120 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
121
122 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
123 and reject them.
124
125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
126
127 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
128 which preserves existing values.
129 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
130
131 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
132
133 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
134 TIMEOUT values. Return EINVAL for NFDS values either negative or
135 greater than FD_SETSIZE.
136
137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
138
139 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
140 allocated, call __vm_protect to finish enabling the existing space, and
141 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
142 allocate the remainder.
143
144 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
145
146 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
147 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
148
149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
150
151 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
152 sysdeps/mach/hurd/readlink.c.
153
154 * posix/tst-sysconf.c (posix_options): Only use
155 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
156 _POSIX_SYNCHRONIZED_IO when they are defined
157 * sysdeps/mach/hurd/bits/posix_opt.h:
158 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
159 (_XOPEN_REALTIME): Undefine macro.
160 (_XOPEN_REALTIME_THREADS): Undefine macro.
161 (_XOPEN_SHM): Undefine macro.
162 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
163 macro to -1.
164 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
165 macro to -1.
166 (_POSIX_ASYNC_IO): Undefine macro.
167 (_POSIX_PRIORITIZED_IO): Undefine macro.
168 (_POSIX_SPIN_LOCKS): Define macro to -1.
169
170 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
171 SA_NODEFER, SA_RESETHAND.
172 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
173 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
174 F_DUPFD_CLOEXEC.
175
176 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
177
178 * elf/Makefile (pldd-modules): Define unconditionally.
179
180 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
181
182 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
183
184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
185
186 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
187 Return ENOENT when name is empty.
188 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
189
190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
191
192 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
193
194 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
195
196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
197
198 Fix mlock in all cases except non-readable pages.
199 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
200 instead of VM_PROT_ALL as parameter to __vm_wire function.
201
202 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
203 (__mkdir): When path is `/', just fail with EEXIST.
204 * sysdeps/mach/hurd/mkdirat.c: Likewise.
205
206 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
207
208 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
209 <sys/uio.h> (for writev).
210 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
211 and <sys/param.h> (for MIN).
212
213 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
214
215 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
216 REQUESTED_TIME. Properly set the remaining time and return EINTR
217 if interrupted.
218
219 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
220
221 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
222 Depend on against $(link-rpcuserlibs).
223
224 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
225
226 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
227 (__libc_stack_end): Do not use attribute_relro.
228 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
229 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
230 to libthread-provided value.
231 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
232 attribute_relro.
233
234 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
235
236 [BZ #3748]
237 * bits/libc-lock.h (__libc_once_get): New macro.
238 * sysdeps/mach/bits/libc-lock.h: Likewise.
239 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
241 instead of using implementation details.
242
243 * libio/fileops.c: Unconditionally include <kernel-features.h>.
244 * libio/freopen.c: Likewise.
245 * libio/freopen64.c: Likewise.
246 * misc/syslog.c: Likewise.
247 * nscd/connections.c: Likewise.
248 * nscd/netgroupcache.c: Likewise.
249 * sysdeps/posix/getcwd.c: Likewise.
250
251 2012-05-10 Roland McGrath <roland@hack.frob.com>
252
253 * math/w_ilogbf.c: Add #include <limits.h>.
254
255 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
256
257 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
258 path instead of returning without unlocking.
259
260 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
261 immediate-write ioctls.
262 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
263
264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
265
266 * sysdeps/mach/hurd/i386/init-first.c (init): Use
267 __builtin_frame_address instead of making assumptions about the
268 location of the return address relative to DATA. Force early load of
269 the return address.
270 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
271 __builtin_frame_address.
272
273 dup3 for GNU Hurd.
274 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
275 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
276 implement dup3 and do some further code clean-ups.
277 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
278 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
279
280 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
281
282 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
283
284 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
285 HURD_CRITICAL_END around holding _hurd_dtable_lock.
286 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
287 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
288 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
289 d->port.lock.
290
291 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
292 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
293 when handler == SIG_ERR, not when handler != SIG_ERR.
294
295 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
296
297 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
298 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
299 definitions.
300
301 accept4 for GNU Hurd.
302 * include/sys/socket.h (__libc_accept4): New prototype.
303 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
304 to implement __libc_accept4.
305 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
306 __libc_accept4.
307 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
308
309 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
310 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
311 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
312 signal-defines.sym.
313
314 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
315
316 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
317
318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
319
320 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
321 assertion on O_CLOEXEC flag.
322 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
323 * hurd/intern-fd.c: Likewise.
324 * hurd/port2fd.c: Likewise.
325
326 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
327
328 [BZ #3906]
329 * bits/in.h (IPV6_PKTINFO): Define new macro.
330 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
331
332 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
333
334 [BZ #13954]
335 [BZ #13955]
336 [BZ #13956]
337 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
338 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
339 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
340 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
342 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
343 * math/libm-test.inc (logb_test) : Additional logb tests.
344
345 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
346 Andreas Jaeger <aj@suse.de>
347
348 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
349 * configure: Regenerated.
350 * config.h.in (LINK_OBSOLETE_RPC): New macro.
351 * config.make.in (link-obsolete-rpc): New substituted variable.
352 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
353 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
354 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
355 (shared-only-routines): Don't set it under [link-obsolete-rpc],
356 so that libc.a contains the symbols.
357 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
358 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
359 * sunrpc/auth_none.c: Likewise.
360 * sunrpc/auth_unix.c: Likewise.
361 * sunrpc/authdes_prot.c: Likewise.
362 * sunrpc/authuxprot.c: Likewise.
363 * sunrpc/clnt_gen.c: Likewise.
364 * sunrpc/clnt_perr.c: Likewise.
365 * sunrpc/clnt_raw.c: Likewise.
366 * sunrpc/clnt_simp.c: Likewise.
367 * sunrpc/clnt_tcp.c: Likewise.
368 * sunrpc/clnt_udp.c: Likewise.
369 * sunrpc/clnt_unix.c: Likewise.
370 * sunrpc/des_crypt.c: Likewise.
371 * sunrpc/des_soft.c: Likewise.
372 * sunrpc/get_myaddr.c: Likewise.
373 * sunrpc/key_call.c: Likewise.
374 * sunrpc/key_prot.c: Likewise.
375 * sunrpc/netname.c: Likewise.
376 * sunrpc/pm_getmaps.c: Likewise.
377 * sunrpc/pm_getport.c: Likewise.
378 * sunrpc/pmap_clnt.c: Likewise.
379 * sunrpc/pmap_prot.c: Likewise.
380 * sunrpc/pmap_prot2.c: Likewise.
381 * sunrpc/pmap_rmt.c: Likewise.
382 * sunrpc/publickey.c: Likewise.
383 * sunrpc/rpc_cmsg.c: Likewise.
384 * sunrpc/rpc_common.c: Likewise.
385 * sunrpc/rpc_dtable.c: Likewise.
386 * sunrpc/rpc_prot.c: Likewise.
387 * sunrpc/rpc_thread.c: Likewise.
388 * sunrpc/rtime.c: Likewise.
389 * sunrpc/svc.c: Likewise.
390 * sunrpc/svc_auth.c: Likewise.
391 * sunrpc/svc_raw.c: Likewise.
392 * sunrpc/svc_run.c: Likewise.
393 * sunrpc/svc_tcp.c: Likewise.
394 * sunrpc/svc_udp.c: Likewise.
395 * sunrpc/svc_unix.c: Likewise.
396 * sunrpc/svcauth_des.c: Likewise.
397 * sunrpc/xcrypt.c: Likewise.
398 * sunrpc/xdr.c: Likewise.
399 * sunrpc/xdr_array.c: Likewise.
400 * sunrpc/xdr_float.c: Likewise.
401 * sunrpc/xdr_intXX_t.c: Likewise.
402 * sunrpc/xdr_mem.c: Likewise.
403 * sunrpc/xdr_rec.c: Likewise.
404 * sunrpc/xdr_ref.c: Likewise.
405 * sunrpc/xdr_sizeof.c: Likewise.
406 * sunrpc/xdr_stdio.c: Likewise.
407
408 2012-05-10 Roland McGrath <roland@hack.frob.com>
409
410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
411 change. Update copyright years.
412
413 2012-05-10 Joseph Myers <joseph@codesourcery.com>
414
415 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
416
417 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
418 Joseph Myers <joseph@codesourcery.com>
419 Paul Pluzhnikov <ppluzhnikov@google.com>
420
421 [BZ #14012]
422 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
423 requiring rpcgen.
424 [cross-compiling] (extra-libs): Likewise.
425 [cross-compiling] (extra-libs-others): Likewise.
426 [cross-compiling] (librpcsvc-routines): Likewise.
427 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
428 [cross-compiling] (omit-deps): Likewise.
429 (sunrpc-CPPFLAGS): New variable.
430 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
431 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
432 (cross-rpcgen-objs): New variable.
433 (extra-objs): Append $(cross-rpcgen-objs).
434 ($(cross-rpcgen-objs)): New rule.
435 ($(objpfx)cross-rpcgen): Likewise.
436 (rpcgen-cmd): Define to use $(built-program-file). Expand
437 comment.
438 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
439 ($(objpfx)x%.stmp): Likewise.
440 * sunrpc/proto.h [IS_IN_build] (_): Define.
441 [IS_IN_build] (_libc_intl_domainname): Likewise.
442
443 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
444
445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
446 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
447 and R_X86_64_TPOFF64.
448
449 2012-05-10 Joseph Myers <joseph@codesourcery.com>
450
451 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
452 sysdeps/unix/sysv/syscalls.list.
453 (stime): Likewise.
454 (utime): Likewise.
455 * sysdeps/unix/sysv/syscalls.list: Remove file.
456
457 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
458
459 [BZ #3440]
460 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
461 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
462 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
463 (__LC_IDENTIFICATION): Make these macros useful in #if
464 expressions, as required by C99.
465
466 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
467
468 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
469 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
470 after this.
471
472 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
473
474 * stdlib/longlong.h: Updated from GCC.
475
476 2012-05-09 Andreas Jaeger <aj@suse.de>
477
478 * nscd/nscd.c (run_modes): Make named enum, reorder so that
479 default is first entry.
480 (run_mode): Set type.
481 (main): Remove informal message about syslog.
482 (options): Fix typo.
483
484 [BZ #14053]
485 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
486 to asm.
487 (lrint): Likewise.
488 (llrintf): Likewise.
489 (llrint): Likewise.
490 (rint): Likewise.
491 (rintf): Likewise.
492 (nearbyint): Likewise.
493 (nearbyintf): Likewise.
494
495 2012-05-09 Andreas Jaeger <aj@suse.de>
496 Pedro Alves <palves@redhat.com>
497
498 * nscd/nscd.c (run_mode): Use enum.
499 (main): Cleanup coding style issue.
500
501 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
502 Andreas Jaeger <aj@suse.de>
503
504 * nscd/nscd.c (go_background): Replaced with...
505 (run_mode): ... this.
506 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
507 (options): Add -F --foreground.
508 (main): Implement it.
509 (parse_opt): Parse it.
510
511 2012-05-09 Andreas Jaeger <aj@suse.de>
512
513 [BZ #14083]
514 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
515 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
516 -Wconversion warning.
517 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
518 Likewise.
519
520 2012-05-09 Joseph Myers <joseph@codesourcery.com>
521
522 * conform/data/locale.h-data (NULL): Use macro-constant. Require
523 == 0.
524 (LC_ALL): Use macro-int-constant.
525 (LC_COLLATE): Likewise.
526 (LC_CTYPE): Likewise.
527 (LC_MESSAGES): Likewise.
528 (LC_MONETARY): Likewise.
529 (LC_NUMERIC): Likewise.
530 (LC_TIME): Likewise.
531 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
532 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
534 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
535 Specify type.
536 [C99-based standards] (float_t): Expect type.
537 [C99-based standards] (double_t): Expect type.
538 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
539 type.
540 [C99-based standards] (HUGE_VALL): Likewise.
541 [C99-based standards] (INFINITY): Likewise.
542 [C99-based standards] (NAN): Likewise.
543 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
544 [C99-based standards] (FP_NAN): Likewise.
545 [C99-based standards] (FP_NORMAL): Likewise.
546 [C99-based standards] (FP_SUBNORMAL): Likewise.
547 [C99-based standards] (FP_ZERO): Likewise.
548 [C99-based standards] (FP_FAST_FMA): Use
549 optional-macro-int-constant. Specify type. Require == 1.
550 [C99-based standards] (FP_FAST_FMAF): Likewise.
551 [C99-based standards] (FP_FAST_FMAL): Likewise.
552 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
553 [C99-based standards] (FP_ILOGBNAN): Likewise.
554 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
555 Specify type.
556 [C99-based standards] (MATH_ERREXCEPT): Likewise.
557 [C99-based standards] (math_errhandling): Specify type.
558 [ISO99 || ISO11] (signgam): Do not allow.
559 [non-C99-based standards] (copysignf): Do not allow.
560 [non-C99-based standards] (exp2f): Likewise.
561 [non-C99-based standards] (log2f): Likewise.
562 [non-C99-based standards] (modff): Allow.
563 [non-C99-based standards] (erff): Do not allow.
564 [non-C99-based standards] (erfcf): Likewise.
565 [non-C99-based standards] (gammaf): Likewise.
566 [non-C99-based standards] (hypotf): Likewise.
567 [non-C99-based standards] (j0f): Likewise.
568 [non-C99-based standards] (j1f): Likewise.
569 [non-C99-based standards] (jnf): Likewise.
570 [non-C99-based standards] (lgammaf): Likewise.
571 [non-C99-based standards] (tgammaf): Likewise.
572 [non-C99-based standards] (y0f): Likewise.
573 [non-C99-based standards] (y1f): Likewise.
574 [non-C99-based standards] (ynf): Likewise.
575 [non-C99-based standards] (isnanf): Likewise.
576 [non-C99-based standards] (acoshf): Likewise.
577 [non-C99-based standards] (asinhf): Likewise.
578 [non-C99-based standards] (atanhf): Likewise.
579 [non-C99-based standards] (cbrtf): Likewise.
580 [non-C99-based standards] (expm1f): Likewise.
581 [non-C99-based standards] (ilogbf): Likewise.
582 [non-C99-based standards] (log1pf): Likewise.
583 [non-C99-based standards] (logbf): Likewise.
584 [non-C99-based standards] (nextafterf): Likewise.
585 [non-C99-based standards] (remainderf): Likewise.
586 [non-C99-based standards] (rintf): Likewise.
587 [non-C99-based standards] (scalbf): Likewise.
588 [non-C99-based standards] (copysignl): Likewise.
589 [non-C99-based standards] (exp2l): Likewise.
590 [non-C99-based standards] (log2l): Likewise.
591 [non-C99-based standards] (modfl): Allow.
592 [non-C99-based standards] (erfl): Do not allow.
593 [non-C99-based standards] (erfcl): Likewise.
594 [non-C99-based standards] (gammal): Likewise.
595 [non-C99-based standards] (hypotl): Likewise.
596 [non-C99-based standards] (j0l): Likewise.
597 [non-C99-based standards] (j1l): Likewise.
598 [non-C99-based standards] (jnl): Likewise.
599 [non-C99-based standards] (lgammal): Likewise.
600 [non-C99-based standards] (tgammal): Likewise.
601 [non-C99-based standards] (y0l): Likewise.
602 [non-C99-based standards] (y1l): Likewise.
603 [non-C99-based standards] (ynl): Likewise.
604 [non-C99-based standards] (isnanl): Likewise.
605 [non-C99-based standards] (acoshl): Likewise.
606 [non-C99-based standards] (asinhl): Likewise.
607 [non-C99-based standards] (atanhl): Likewise.
608 [non-C99-based standards] (cbrtl): Likewise.
609 [non-C99-based standards] (expm1l): Likewise.
610 [non-C99-based standards] (ilogbl): Likewise.
611 [non-C99-based standards] (log1pl): Likewise.
612 [non-C99-based standards] (logbl): Likewise.
613 [non-C99-based standards] (nextafterl): Likewise.
614 [non-C99-based standards] (remainderl): Likewise.
615 [non-C99-based standards] (rintl): Likewise.
616 [non-C99-based standards] (scalbl): Likewise.
617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
618 [non-C99-based standards] (FP_*): Do not allow.
619 [C99-based standards] (FP_*): Change to
620 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
621 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
622 allow.
623 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
624 (SIG_ERR): Likewise.
625 [X/Open-based standards] (SIG_HOLD): Likewise.
626 (SIG_IGN): Likewise.
627 (SIGABRT): Use macro-int-constant. Specify type. Require
628 positive value.
629 (SIGFPE): Likewise.
630 (SIGILL): Likewise.
631 (SIGINT): Likewise.
632 (SIGSEGV): Likewise.
633 (SIGTER): Likewise.
634 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
635 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
636 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
637 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
638 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
639 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
640 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
641 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
642 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
643 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
644 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
645 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
646 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
647 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
648 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
649 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
650 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
651 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
652 [X/Open-based standards] (SIGTRAP): Likewise.
653 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
654 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
655 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
656 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
657 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
658 allow.
659
660 2012-05-08 Ian Wienand <ianw@vmware.com>
661
662 [BZ #14080]
663 * time/tzset.c (__tzset_parse_tz): Update default rules for
664 daylight time changes in the Energy Policy Act of 2005.
665
666 2012-05-09 Andreas Jaeger <aj@suse.de>
667
668 [BZ #13983]
669 * elf/ldconfig.c (parse_conf): Change string to make clear that
670 ldconfig only issued a warning if ld.so.conf does not exist.
671
672 2012-05-08 David S. Miller <davem@davemloft.net>
673
674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
675 movxtod instead of popping the value on the stack.
676
677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
678
679 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
680
681 * config.h.in: Add HAVE_ARM_PCS_VFP.
682
683 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
684
685 [BZ #13979]
686 * include/features.h: Warn if user requests __FORTIFY_SOURCE
687 checking but the checks are disabled for any reason.
688
689 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
690
691 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
692 and ELF64_R_TYPE with ELFW(R_TYPE).
693
694 2012-05-08 Joseph Myers <joseph@codesourcery.com>
695
696 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
697 (ulimit): Likewise.
698
699 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
700 (settimeofday): Likewise.
701
702 2012-05-08 Mike Frysinger <vapier@gentoo.org>
703
704 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
705 a struct th_u2 inside the union, and move tu_block/tu_code into
706 a new th_u3 union of tu_block/tu_code inside of that. Move
707 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
708 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
709 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
710 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
711 (th_stuff): Change to th_u1.tu_stuff.
712 (th_data): Define.
713 (th_msg): Change to th_u1.th_u2.tu_data.
714
715 2012-05-07 David S. Miller <davem@davemloft.net>
716
717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
718
719 [BZ #14074]
720 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
721 (SETUP_PIC_REG): Use it.
722 (SETUP_PIC_REG_LEAF): Use it.
723
724 2012-05-07 Joseph Myers <joseph@codesourcery.com>
725
726 [BZ #13885]
727 [BZ #13923]
728 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
729 USE_AS_EXPM1L.
730 (EXPL_FINITE): Likewise.
731 (FLDLOG): Likewise.
732 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
733 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
734 e_expl.S.
735 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
736 USE_AS_EXPM1L.
737 (EXPL_FINITE): Likewise.
738 (FLDLOG): Likewise.
739 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
740 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
741 e_expl.S.
742 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
743 test of -max_value argument for long double.
744 * sysdeps/i386/fpu/libm-test-ulps: Update.
745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
746
747 2012-05-06 David S. Miller <davem@davemloft.net>
748
749 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
750 quad soft-float symbols whose references which are compiler
751 generated.
752 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
753
754 2012-05-06 Joseph Myers <joseph@codesourcery.com>
755
756 [BZ #13884]
757 [BZ #13914]
758 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
759 USE_AS_EXP10L.
760 (EXPL_FINITE): Likewise.
761 (FLDLOG): Likewise.
762 (c0): Likewise.
763 (c1): Likewise.
764 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
765 Adjust comments for base varying.
766 (__expl_finite): Change alias to EXPL_FINITE.
767 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
768 e_expl.S.
769 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
770 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
771 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
772 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
773 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
774 USE_AS_EXP10L.
775 (EXPL_FINITE): Likewise.
776 (FLDLOG): Likewise.
777 (c0): Likewise.
778 (c1): Likewise.
779 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
780 Adjust comments for base varying.
781 (__expl_finite): Change alias to EXPL_FINITE.
782 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
783 tests for bugs.
784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
785
786 [BZ #14064]
787 * math/libm-test.inc (check_float_internal): Correct ulp
788 calculation for subnormal expected results.
789
790 2012-05-06 Andreas Jaeger <aj@suse.de>
791
792 * Makeconfig (+math-flags): New, set to -frounding-math.
793 (+cflags): Add +math-flags so that all of glibc gets compiled with
794 it.
795
796 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
797
798 2012-05-05 Joseph Myers <joseph@codesourcery.com>
799
800 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
801 Disable one test.
802
803 [BZ #13787]
804 [BZ #13922]
805 [BZ #14036]
806 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
807 (__ieee754_expl): Allow for and saturate large arguments.
808 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
809 (u_threshold): Likewise.
810 (__exp): Call __ieee754_exp before checking for overflow and
811 underflow.
812 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
813 (u_threshold): Likewise.
814 (__expf): Call __ieee754_expf before checking for overflow and
815 underflow.
816 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
817 (u_threshold): Likewise.
818 (__expl): Call __ieee754_expl before checking for overflow and
819 underflow.
820 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
821 (__ieee754_expl): Allow for and saturate large arguments.
822 * math/libm-test.inc (exp_test): Add another test. Do not allow
823 missing overflow exception on overflow.
824 (expm1_test): Do not allow missing overflow exception on overflow.
825
826 * sysdeps/i386/fpu/e_expl.c: Move to ...
827 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
828 rather than using inline asm.
829 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
830 * sysdeps/x86_64/fpu/e_expl.S: Copy from
831 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
832
833 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
834 (nice): Likewise.
835 (poll): Likewise.
836 (signal): Likewise.
837 (time): Likewise.
838 (times): Likewise.
839
840 2012-05-04 Joseph Myers <joseph@codesourcery.com>
841
842 * sysdeps/unix/syscalls.list (adjtime): Add entry from
843 sysdeps/unix/common/syscalls.list.
844 (fchmod): Likewise.
845 (fchown): Likewise.
846 (ftruncate): Likewise.
847 (getrusage): Likewise.
848 (gettimeofday): Likewise.
849 (setpgid): Likewise.
850 (setregid): Likewise.
851 (setreuid): Likewise.
852 (sigaction): Likewise.
853 (truncate): Likewise.
854 (vhangup): Likewise.
855 * sysdeps/unix/common/syscalls.list: Remove file.
856 * sysdeps/unix/bsd/Implies: Don't include unix/common.
857 * sysdeps/unix/sysv/linux/Implies: Likewise.
858
859 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
860
861 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
863 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
864 Moved to ...
865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
866 Here.
867 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
868 to ...
869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
870 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
871 to ...
872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
873 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
874 to ...
875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
876 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
877 to ...
878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
879 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
880 to ...
881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
882 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
883 to ...
884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
885 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
886 to ...
887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
888 Here.
889 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
890 to ...
891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
892 Here.
893 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
894 to ...
895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
896 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
897 Moved to ...
898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
899 Here.
900 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
901 to ...
902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
903
904 2012-05-04 Joseph Myers <joseph@codesourcery.com>
905
906 * sysdeps/unix/common/bits/dirent.h: Remove file.
907 * sysdeps/unix/common/bits/fcntl.h: Likewise.
908
909 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
910 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
911 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
912 * sysdeps/unix/bsd/isatty.c: Likewise.
913 * sysdeps/unix/bsd/tcdrain.c: Likewise.
914 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
915 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
916
917 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
918
919 [BZ #13563]
920 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
921 long double comparison inaccuracies.
922 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
924
925 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
926
927 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
929
930 2012-05-04 Joseph Myers <joseph@codesourcery.com>
931
932 [BZ #14049]
933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
934 nonzero digits before rounding a hex value.
935 * stdlib/tst-strtod.c (tests): Add another test.
936
937 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
938
939 * sysdeps/s390/fpu/libm-test-ulps: Update.
940
941 2012-05-03 Andreas Jaeger <aj@suse.de>
942
943 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
944 does not get optimized out.
945 (malloc_opt_barrier): New.
946
947 2012-05-03 Andreas Jaeger <aj@suse.de>
948 Roland McGrath <roland@hack.frob.com>
949
950 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
951 intermediate file deletion.
952 (generated): Add .symlist files.
953
954 2012-05-03 Joseph Myers <joseph@codesourcery.com>
955
956 [BZ #13775]
957 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
958 Redirect under this condition.
959 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
960 [__USE_GNU] (__dprintf_chk): Not under this condition.
961 [__USE_GNU] (__vdprintf_chk): Likewise.
962 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
963 under this condition.
964 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
965 [__USE_XOPEN2K8] (dprintf): Define under this condition.
966 [__USE_XOPEN2K8] (vdprintf): Likewise.
967 [__USE_GNU] (__dprintf_chk): Not under this condition.
968 [__USE_GNU] (__vdprintf_chk): Likewise.
969 [__USE_GNU] (dprintf): Likewise.
970 [__USE_GNU] (vdprintf): Likewise.
971
972 2012-05-03 Roland McGrath <roland@hack.frob.com>
973
974 * elf/Makefile (common-generated): Set this instead of generated for
975 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
976 $(all-built-dso)-derived lists.
977
978 2012-05-03 Andreas Jaeger <aj@suse.de>
979
980 * sysdeps/i386/fpu/libm-test-ulps: Update.
981
982 * FAQ: Removed.
983 * FAQ.in: Likewise.
984 * scripts/gen-FAQ.pl: Likewise.
985 * manual/install.texi (Installation): Point to online location of
986 FAQ.
987 * Makefile (files-for-dist): Remove FAQ.
988 (FAQ): Remove.
989
990 2012-05-02 Allan McRae <allan@archlinux.org>
991
992 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
993 (LDFLAGS-reldepmod5.so): Likewise.
994 (LDFLAGS-reldep6mod1.so): Likewise.
995 (LDFLAGS-reldep6mod4.so): Likewise.
996 (LDFLAGS-reldep8mod3.so): Likewise.
997 (LDFLAGS-unload4mod1.so): Likewise.
998 (LDFLAGS-unload4mod2.so): Likewise.
999 (LDFLAGS-tst-initorder): Likewise.
1000 (LDFLAGS-tst-initordera2.so): Likewise.
1001 (LDFLAGS-tst-initordera3.so): Likewise.
1002 (LDFLAGS-tst-initordera4.so): Likewise.
1003 (LDFLAGS-tst-initorderb2.so): Likewise.
1004 (LDFLAGS-noload): Likewise.
1005 (LDFLAGS-next): Likewise.
1006 (LDFLAGS-order2mod1.so): Likewise.
1007 (LDFLAGS-order2mod2.so): Likewise.
1008 (LDFLAGS-tst-initorder2): Likewise.
1009 (LDFLAGS-tst-initorder2a.so): Likewise.
1010 (LDFLAGS-tst-initorder2b.so): Likewise.
1011 (LDFLAGS-tst-initorder2c.so): Likewise.
1012 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1013
1014 2012-05-02 David S. Miller <davem@davemloft.net>
1015
1016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1017
1018 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1019
1020 [BZ #14055]
1021 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1022
1023 2012-05-02 Andreas Jaeger <aj@suse.de>
1024
1025 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1026 since we manipulate rounding mode.
1027 (CPPFLAGS-test-idouble.c): Likewise.
1028 (CPPFLAGS-test-ifloat.c): Likewise.
1029 (CFLAGS-test-ldouble.c): Likewise.
1030 (CFLAGS-test-double.c): Likewise.
1031 (CFLAGS-test-float.c): Likewise.
1032 (CFLAGS-test-misc.c): Likewise.
1033 (CFLAGS-test-test-fenv.c): Likewise.
1034
1035 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1036
1037 [BZ #2550]
1038 [BZ #2570]
1039 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1040 comparisons to determine direction to adjust input.
1041
1042 2012-05-01 Roland McGrath <roland@hack.frob.com>
1043
1044 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1045 output to the target.
1046
1047 * scripts/localplt.awk: New file.
1048 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1049 (check-localplt-CFLAGS): Variable removed.
1050 ($(all-built-dso:=.jmprel)): New static pattern rule.
1051 (generated): Add those targets.
1052 (localplt-built-dso): New variable.
1053 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1054
1055 * elf/check-localplt.c: File removed.
1056
1057 * scripts/check-execstack.awk: New file.
1058 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1059 (check-execstack-CFLAGS): Variable removed.
1060 ($(objpfx)check-execstack.h): Target removed.
1061 ($(objpfx)execstack-default): New target.
1062 (generated): Add that instead of check-execstack.h.
1063 ($(all-built-dso:=.phdr)): New static pattern rule.
1064 (generated): Add those targets.
1065 * elf/check-execstack.c: File removed.
1066
1067 * scripts/check-textrel.awk: New file.
1068 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1069 (check-textrel-CFLAGS): Variable removed.
1070 (all-built-dso): Use := to define.o
1071 ($(all-built-dso:=.dyn)): New static pattern rule.
1072 (generated): Add those targets.
1073 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1074 * config.make.in (READELF): New substituted variable.
1075 * elf/check-textrel.c: File removed.
1076
1077 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1078
1079 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1080 allow.
1081 * conform/data/ctype.h-data [C99-based standards] (isblank):
1082 Expect function.
1083 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1084 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1086 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1087 Specify type. Require positive value.
1088 (EILSEQ): Likewise.
1089 (ERANGE): Likewise.
1090 [ISO || POSIX] (EILSEQ): Do not expect.
1091 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1092 Specify type. Require positive value.
1093 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1098 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1119 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1127 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1128 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1134 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1135 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1140 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1141 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1143 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1144 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1148 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1149 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1150 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1151 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1152 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1153 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1154 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1155 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1156 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1158 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1159 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1160 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1161 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1162 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1163 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1165 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1166 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1167 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1168 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1169 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1170 Require >= 2.
1171 (FLT_ROUNDS): Expect as macro, not constant.
1172 (FLT_MANT_DIG): Use macro-int-constant.
1173 (DBL_MANT_DIG): Likewise.
1174 (LDBL_MANT_DIG): Likewise.
1175 (FLT_DIG): Likewise.
1176 (DBL_DIG): Likewise.
1177 (LDBL_DIG): Likewise.
1178 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1179 (DBL_MIN_EXP): Likewise.
1180 (LDBL_MIN_EXP): Likewise.
1181 (FLT_MAX_EXP): Use macro-int-constant.
1182 (DBL_MAX_EXP): Likewise.
1183 (LDBL_MAX_EXP): Likewise.
1184 (FLT_MAX_10_EXP): Likewise.
1185 (DBL_MAX_10_EXP): Likewise.
1186 (LDBL_MAX_10_EXP): Likewise.
1187 (FLT_MAX): Use macro-constant.
1188 (DBL_MAX): Likewise.
1189 (LDBL_MAX): Likewise.
1190 (FLT_EPSILON): Use macro-constant. Give upper bound.
1191 (DBL_EPSILON): Likewise.
1192 (LDBL_EPSILON): Likewise.
1193 (FLT_MIN): Likewise.
1194 (DBL_MIN): Likewise.
1195 (LDBL_MIN): Likewise.
1196 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1197 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1198 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1199 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1200 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1201 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1202 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1203 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1204 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1205 [ISO11] (FLT_TRUE_MIN): Likewise.
1206 [ISO11] (LDBL_TRUE_MIN): Likewise.
1207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1208 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1209 (SCHAR_MIN): Use macro-int-constant. Specify type.
1210 (SCHAR_MAX): Likewise.
1211 (UCHAR_MAX): Likewise.
1212 (CHAR_MIN): Likewise.
1213 (CHAR_MAX): Likewise.
1214 (MB_LEN_MAX): Use macro-int-constant.
1215 (SHRT_MIN): Use macro-int-constant. Specify type.
1216 (SHRT_MAX): Likewise.
1217 (USHRT_MAX): Likewise.
1218 (INT_MAX): Likewise.
1219 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1220 bound negative.
1221 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1222 bound with "U".
1223 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1224 bound with "L".
1225 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1226 bound negative. Suffix upper bound with "L".
1227 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1228 bound with "UL".
1229 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1230 Specify type.
1231 [C99-based standards] (LLONG_MAX): Likewise.
1232 [C99-based standards] (ULLONG_MAX): Likewise.
1233 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1234 == 0.
1235 [ISO11] (max_align_t): Require type.
1236 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1237
1238 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1239 from $CFLAGS, without defining away __attribute__ calls.
1240 (checknamespace): Use $CFLAGS_namespace.
1241
1242 * conform/conformtest.pl (@keywords): Only include C99 keywords
1243 for standards based on C99 or C11.
1244
1245 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1246 Disable tests.
1247 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1248 UNIX98]: Likewise.
1249
1250 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1251 usability of symbols in #if.
1252
1253 * conform/conformtest.pl: If macro or constant types start
1254 "promoted:", expect the symbol to be of the following type
1255 promoted by the integer promotions.
1256
1257 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1258 in one place. Also handle "macro-constant".
1259
1260 * conform/conformtest.pl: Only accept expected macro values with
1261 "==". Parse all "macro" lines in one place.
1262 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1263
1264 * conform/conformtest.pl: Handle braced types on "constant" lines
1265 instead of handling "typed-constant".
1266 * conform/data/signal.h-data: Use "constant" instead of
1267 "typed-constant".
1268
1269 * conform/conformtest.pl: Handle "optional-" at start of lines in
1270 one place rather than duplicating several cases. Handle each
1271 format of "macro" line with initial "optional-".
1272
1273 * conform/conformtest.pl: Only accept expected constant or
1274 optional-constant values with "==". Parse all "constant" lines in
1275 one place. Parse all "optional-constant" lines in one place.
1276 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1277 * conform/data/fmtmsg.h-data: Likewise.
1278 * conform/data/netinet/in.h-data: Likewise.
1279 * conform/data/tar.h-data: Likewise.
1280 * conform/data/limits.h-data: Use "==" form on "constant" and
1281 "optional-constant" lines.
1282
1283 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1284 Use -std=c99 for XOPEN2K.
1285 (@knownproblems): Remove.
1286 (newtoken): Don't check %isknown.
1287
1288 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1289 Do not expect macro.
1290 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1302 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1303 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1320 [XPG3] (acosh): Likewise.
1321 [XPG3] (asinh): Likewise.
1322 [XPG3] (atanh): Likewise.
1323 [XPG3] (cbrt): Likewise.
1324 [XPG3] (expm1): Likewise.
1325 [XPG3] (ilogb): Likewise.
1326 [XPG3] (log1p): Likewise.
1327 [XPG3] (logb): Likewise.
1328 [XPG3] (nextafter): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1331 [XPG3] (remainder): Likewise.
1332 [XPG3] (rint): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1340 [UNIX98 || XOPEN2K] (scalb): Expect.
1341 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1342 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1430 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1431 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1432 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1433 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1434 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1435 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1436 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1437 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1438 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1439 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1440 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1441 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1442 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1443 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1444 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1445 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1446 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1447 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1448 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1449 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1450 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1451 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1452 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1453 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1454 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1455 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1456 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1457 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1458 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1459 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1460 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1461 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1462 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1463 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1464 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1465 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1466 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1467 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1468 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1469 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1470 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1471 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1472 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1473 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1474 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1475 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1476 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1477 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1478
1479 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1480 _XOPEN_SOURCE_EXTENDED for XPG4.
1481
1482 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1483
1484 * Makeconfig (localtime): Remove variable.
1485 (inst_localtime-file): Likewise.
1486
1487 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1488
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1490 Update.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1492 Update.
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1494 Update.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1496 Update.
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1498 Update.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1500 Update.
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1502 Update.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1504 Update.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1506 Update.
1507
1508 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1509
1510 [BZ #2550]
1511 [BZ #2570]
1512 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1513 comparisons to determine direction to adjust input.
1514 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1515 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1517 Likewise.
1518 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1519 Likewise.
1520 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1521 Likewise.
1522 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1523 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1524 Likewise.
1525 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1526 Likewise.
1527 * math/libm-test.inc (nexttoward_test): Add more tests.
1528
1529 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1530
1531 [BZ #14040]
1532 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1533 in version GLIBC_2.1, not GLIBC_2.0.
1534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1535 Likewise.
1536
1537 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1538
1539 [BZ #13942]
1540 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1541 (1 - x) * (1 + x).
1542 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1543 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1544 * math/libm-test.inc (acos_test): Add more tests.
1545 (asin_test): Likewise.
1546 * sysdeps/i386/fpu/libm-test-ulps: Update.
1547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1548
1549 [BZ #14034]
1550 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1551 of square root.
1552 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1553 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1554 * math/libm-test.inc (acos_test_tonearest): New function.
1555 (acos_test_towardzero): Likewise.
1556 (acos_test_downward): Likewise.
1557 (acos_test_upward): Likewise.
1558 (asin_test_tonearest): Likewise.
1559 (asin_test_towardzero): Likewise.
1560 (asin_test_downward): Likewise.
1561 (asin_test_upward): Likewise.
1562 (main): Call the new functions.
1563 * sysdeps/i386/fpu/libm-test-ulps: Update.
1564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1565
1566 [BZ #13884]
1567 [BZ #13924]
1568 * math/e_exp10.c: Include <float.h>.
1569 (__ieee754_exp10): Handle underflow here rather than multiplying
1570 large negative argument by M_LN10.
1571 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1572 of __ieee754_expf.
1573 * math/e_exp10l.c: Include <float.h>.
1574 (__ieee754_exp10l): Handle underflow here rather than multiplying
1575 large negative argument by M_LN10l.
1576 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1577 spurious overflow exception on underflow.
1578
1579 2012-04-29 Marek Polacek <polacek@redhat.com>
1580
1581 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1582 (__fortify_function): New macro.
1583 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1584 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1585 __extern_always_inline.
1586 * libio/bits/stdio2.h: Likewise.
1587 * libio/bits/stdio.h: Likewise.
1588 * string/string.h: Likewise.
1589 * string/bits/string3.h: Likewise.
1590 * include/stdio.h: Likewise.
1591 * stdlib/bits/stdlib.h: Likewise.
1592 * stdlib/stdlib.h: Likewise.
1593 * rt/bits/mqueue2.h: Likewise.
1594 * rt/mqueue.h: Likewise.
1595 * posix/bits/unistd.h: Likewise.
1596 * posix/unistd.h: Likewise.
1597 * io/bits/poll2.h: Likewise.
1598 * io/bits/fcntl2.h: Likewise.
1599 * io/fcntl.h: Likewise.
1600 * io/sys/poll.h: Likewise.
1601 * misc/bits/syslog.h: Likewise.
1602 * misc/bits/syslog-ldbl.h: Likewise.
1603 * misc/sys/syslog.h: Likewise.
1604 * socket/bits/socket2.h: Likewise.
1605 * socket/sys/socket.h: Likewise.
1606 * debug/tst-chk1.c: Likewise.
1607 * wcsmbs/bits/wchar2.h: Likewise.
1608 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1609 * wcsmbs/wchar.h: Likewise.
1610
1611 2012-04-29 Andreas Jaeger <aj@suse.de>
1612
1613 * Makerules (tests): Remove enable-check-abi protection.
1614 (check-abi-warn): Remove.
1615 (check-abi-%): Remove check-abi-warn usage.
1616
1617 * configure.in: Remove check-abi configure option.
1618 * configure: Regenerated.
1619 * config.make.in (enable-check-abi): Remove.
1620
1621 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1622
1623 [BZ #14033]
1624 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1625 double functions to double *_finite functions.
1626
1627 [BZ #13941]
1628 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1629 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1630 LDBL_MIN_EXP.
1631 * stdio-common/Makefile (tests): Add tst-sprintf3.
1632 * stdio-common/tst-sprintf3.c: New file.
1633
1634 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1635 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1636
1637 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1638
1639 * conform/conformtest.pl: Remove duplicate typed-constant
1640 handling.
1641
1642 2012-04-28 David S. Miller <davem@davemloft.net>
1643
1644 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1645 (check-abi-%): Remove AWK script prerequisite and explicit
1646 abilist directory.
1647 (check-abi): Rewrite to just diff the symlist with the abilist.
1648 (config-tls, config-abi-config): Delete, no longer used.
1649 (update-abi-%): Remove AWK script and explicit abilist directory.
1650 (update-abi): Rewrite to simply compare and conditionally copy the
1651 symlist and the sysdep abilist file. Remove update-abi-config
1652 checks.
1653 * abilist/ld.abilist: Remove.
1654 * abilist/libBrokenLocale.abilist: Remove.
1655 * abilist/libanl.abilist: Remove.
1656 * abilist/libcrypt.abilist: Remove.
1657 * abilist/libdl.abilist: Remove.
1658 * abilist/librt.abilist: Remove.
1659 * abilist/libthread_db.abilist: Remove.
1660 * abilist/libutil.abilist: Remove.
1661 * scripts/extract-abilist.awk: Remove.
1662 * scripts/merge-abilist.awk: Remove.
1663 * sysdeps/generic/libcidn.abilist: New file.
1664 * sysdeps/generic/libnss_compat.abilist: New file.
1665 * sysdeps/generic/libnss_db.abilist: New file.
1666 * sysdeps/generic/libnss_dns.abilist: New file.
1667 * sysdeps/generic/libnss_files.abilist: New file.
1668 * sysdeps/generic/libnss_hesiod.abilist: New file.
1669 * sysdeps/generic/libnss_nis.abilist: New file.
1670 * sysdeps/generic/libnss_nisplus.abilist: New file.
1671 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1672 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1673 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1674 file.
1675 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1676 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1677 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1678 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1679 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1680 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1681 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1682 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1683 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1684 file.
1685 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1686 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1687 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1688 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1689 file.
1690 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1691 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1692 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1693 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1694 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1695 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1696 file.
1697 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1698 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1699 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1700 file.
1701 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1703 New file.
1704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1705 New file.
1706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1707 New file.
1708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1709 New file.
1710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1711 New file.
1712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1713 New file.
1714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1715 New file.
1716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1717 New file.
1718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1719 New file.
1720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1721 New file.
1722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1723 New file.
1724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1725 New file.
1726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1727 New file.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1729 file.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1731 New file.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1733 New file.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1735 file.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1737 New file.
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1739 New file.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1741 file.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1743 New file.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1745 New file.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1747 New file.
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1749 New file.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1751 New file.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1753 New file.
1754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1756 file.
1757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1758 New file.
1759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1760 file.
1761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1762 file.
1763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1764 file.
1765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1766 file.
1767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1768 file.
1769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1770 New file.
1771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1772 file.
1773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1774 file.
1775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1776 New file.
1777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1778 file.
1779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1781 file.
1782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1783 New file.
1784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1785 file.
1786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1787 file.
1788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1789 file.
1790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1791 file.
1792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1793 file.
1794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1795 New file.
1796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1797 file.
1798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1799 file.
1800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1801 New file.
1802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1803 file.
1804 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1805 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1806 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1807 file.
1808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1809 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1810 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1811 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1812 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1813 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1814 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1815 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1816 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1817 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1820 file.
1821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1822 New file.
1823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1824 file.
1825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1826 file.
1827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1828 file.
1829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1830 file.
1831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1832 file.
1833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1834 New file.
1835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1836 New file.
1837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1838 file.
1839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1840 New file.
1841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1842 file.
1843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1845 file.
1846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1847 New file.
1848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1849 file.
1850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1851 file.
1852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1853 file.
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1855 file.
1856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1857 file.
1858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1859 New file.
1860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1861 New file.
1862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1863 file.
1864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1865 New file.
1866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1867 file.
1868
1869 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1870
1871 * conform/conformtest.pl: Fix typo in handling typed-constant from
1872 allow-header.
1873
1874 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1875
1876 * README: Cut down references to pre-2.6 Linux kernels and
1877 Linuxthreads. Update lists of configurations in libc and ports
1878 and sort alphabetically. Say "or newer" with Linux kernel version
1879 requirements.
1880
1881 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1882
1883 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1884
1885 [BZ #887]
1886 * math/libm-test.inc (logb_test_downward): New test to expose
1887 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1888 rounding mode.
1889
1890 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1891
1892 [BZ #14027]
1893 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1894 to be done.
1895 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1896 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1897
1898 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1899
1900 * sysdeps/unix/i386/brk.S: Remove file.
1901 * sysdeps/unix/i386/dl-brk.S: Likewise.
1902 * sysdeps/unix/i386/pipe.S: Likewise.
1903 * sysdeps/unix/i386/sigreturn.S: Likewise.
1904 * sysdeps/unix/i386/syscall.S: Likewise.
1905 * sysdeps/unix/i386/vfork.S: Likewise.
1906 * sysdeps/unix/i386/wait.S: Likewise.
1907
1908 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1909 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1910
1911 * configure.in (arm*-none*): Do not allow without
1912 --enable-hacker-mode.
1913 (netbsd*): Remove case setting base_os.
1914 (386bsd*): Likewise.
1915 (freebsd*): Likewise.
1916 (bsdi*): Likewise.
1917 (osf*): Likewise.
1918 (sunos*): Likewise.
1919 (ultrix*): Likewise.
1920 (newsos*): Likewise.
1921 (dynix*): Likewise.
1922 (*bsd*): Likewise.
1923 (sysv*): Likewise.
1924 (isc*): Likewise.
1925 (esix*): Likewise.
1926 (sco*): Likewise.
1927 (minix*): Likewise.
1928 (irix4*): Likewise.
1929 (irix6*): Likewise.
1930 (solaris[2-9]*): Likewise.
1931 (none): Likewise.
1932 * configure: Regenerated.
1933
1934 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1935
1936 [BZ #11521]
1937 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1938 overflow or cancellation in calculating denominator.
1939 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1941 down expression to avoid unexpected rounding in newer GCCs.
1942 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1943
1944 2012-04-26 David S. Miller <davem@davemloft.net>
1945
1946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1947 long-double compat symbols.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1961
1962 2012-04-25 David S. Miller <davem@davemloft.net>
1963
1964 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1965 HWCAP_* values only after the memory barriers have been defined.
1966 (atomic_full_barrier): Define.
1967 (atomic_read_barrier): Define.
1968 (atomic_write_barrier): Define.
1969
1970 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1971
1972 * shlib-versions: Add libgcc_s version information.
1973 * sysdeps/generic/libgcc_s.h: Remove.
1974 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1975 libgcc_s.h.
1976 * sysdeps/gnu/unwind-resume.c: Likewise.
1977 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1978
1979 2012-04-25 David S. Miller <davem@davemloft.net>
1980
1981 * sysdeps/unix/sparc/brk.S: Delete.
1982 * sysdeps/unix/sparc/dl-brk.S: Delete.
1983 * sysdeps/unix/sparc/pipe.S: Delete.
1984 * sysdeps/unix/sparc/sysdep.S: Delete.
1985 * sysdeps/unix/sparc/sysdep.h: Delete.
1986 * sysdeps/unix/sparc/vfork.S: Delete.
1987 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1988 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1989 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1990 ret_ERRVAL, r0, r1, MOVE): Define.
1991 (JUMPTARGET): Remove.
1992 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1993 sysdeps/unix/sparc/sysdep.h
1994 (ENTRY, END): Remove.
1995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1996
1997 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1998
1999 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2000 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2001 -DIS_IN_build.
2002
2003 * timezone/README: Update upstream location and email address for
2004 tzcode and tzdata.
2005 * timezone/zdump.c: Update from tzcode 2012b.
2006 * timezone/zic.c: Likewise.
2007
2008 * configure.in (libc_cv_as_needed): Remove test.
2009 * configure: Regenerated.
2010 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2011 conditional definition.
2012 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2013 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2014 * config.make.in (have-as-needed): Remove variable.
2015
2016 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2017 Paul Pluzhnikov <ppluzhnikov@google.com>
2018
2019 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2020 strings correctly.
2021
2022 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2023
2024 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2025 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2026 * sysdeps/sh/strlen.S: Likewise.
2027
2028 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2029
2030 * sysdeps/unix/fork.S: Remove file.
2031 * sysdeps/unix/i386/fork.S: Likewise.
2032 * sysdeps/unix/sparc/fork.S: Likewise.
2033
2034 * sysdeps/unix/system.c: Remove file.
2035 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2036
2037 * sysdeps/unix/getegid.S: Remove file.
2038 * sysdeps/unix/geteuid.S: Likewise.
2039
2040 2012-04-24 Roland McGrath <roland@hack.frob.com>
2041
2042 * scripts/check-localplt.awk: New file.
2043 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2044 of diff.
2045 * scripts/data/localplt-generic.data: Add a comment.
2046
2047 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2048 NODE when __dir_mkfile failed.
2049 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2050 Reported by Ludovic Courtès <ludo@gnu.org>.
2051
2052 2012-04-24 Andreas Jaeger <aj@suse.de>
2053
2054 * Makerules (common-clean): Also remove gen-as-const-headers
2055 files.
2056
2057 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2058
2059 * Makerules (native-compile): Do not change working directory for
2060 build. Use $(OUTPUT_OPTION) in command.
2061 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2062
2063 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2064
2065 [BZ #13886]
2066 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2067 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2068 * math/libm-test.inc (floor_test): Add more tests.
2069 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2070
2071 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2072
2073 * sysdeps/unix/getdents.c: Remove file.
2074 * sysdeps/unix/sysv/getdents.c: Likewise.
2075 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2076
2077 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2078 sysdeps/unix/mman/syscalls.list.
2079 (mmap): Likewise.
2080 (mprotect): Likewise.
2081 (msync): Likewise.
2082 (munmap): Likewise.
2083 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2084 * sysdeps/unix/mman/syscalls.list: Remove.
2085 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2086
2087 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2088 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2089 * configure: Regenerated.
2090 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2091 $(libgcc_s_suffix).
2092 * config.make.in (libgcc_s_suffix): Remove variable.
2093
2094 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2095
2096 * sysdeps/unix/sysv/gethostname.c: Move to ...
2097 * sysdeps/posix/gethostname.c: ... here.
2098
2099 * sysdeps/unix/execve.S: Remove file.
2100
2101 * sysdeps/unix/_exit.S: Remove file.
2102
2103 2012-04-23 Andreas Jaeger <aj@suse.de>
2104
2105 [BZ #13739]
2106 * manual/Makefile: Remove make dist support, there's no
2107 need for a stand-alone documentation tar ball.
2108 (TEXI2DVI): Define always, it's not in Makeconfig.
2109 (dist): Removed.
2110 (tar-it): Removed.
2111 (edition): Removed.
2112 (glibc-doc-$(edition).tar): Removed
2113 (%.Z): Removed.
2114 (%.gz): Removed.
2115 (%.uu): Removed.
2116 (ETAGS): Remove, it's in Makeconfig.
2117 (move-if-change): Remove, it's in Makeconfig.
2118
2119 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2120
2121 [BZ #13970]
2122 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2123 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2124 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2125 (strtod_l, strtof_l, strtold_l): Remove __wur.
2126 It is not necessarily an error to ignore strtol's return value.
2127 One can reliably look at the stored endptr to decide whether
2128 the number had valid syntax.
2129
2130 2012-04-21 Andreas Jaeger <aj@suse.de>
2131
2132 [BZ #13739]
2133 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2134
2135 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2136
2137 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2138 * sysdeps/unix/sysv/Versions: Remove file.
2139
2140 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2141
2142 [BZ #13927]
2143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2144
2145 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2146
2147 [BZ #7064]
2148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2149 version from __vm86.
2150
2151 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2152
2153 * sysdeps/unix/common/lxstat.c: Remove file.
2154 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2155
2156 * sysdeps/unix/sysv/Makefile: Remove file.
2157
2158 * sysdeps/unix/sysv/direct.h: Remove file.
2159
2160 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2161 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2162 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2163 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2164 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2165 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2166 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2167
2168 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2169
2170 * sysdeps/unix/xmknod.c: Remove file.
2171 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2172
2173 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2174
2175 * sysdeps/unix/sysv/i386/time.S: Remove file.
2176
2177 * sysdeps/unix/fxstat.c: Remove file.
2178 * sysdeps/unix/xstat.c: Likewise.
2179 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2180
2181 * sysdeps/unix/sysv/sigaction.c: Remove file.
2182
2183 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2184 (sysdep_headers): Remove variable.
2185 [termio.h not in sysdep_headers] (generated): Likewise.
2186 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2187 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2188 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2189 * sysdeps/unix/sysv/tcflow.c: Likewise.
2190 * sysdeps/unix/sysv/tcflush.c: Likewise.
2191 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2192 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2193 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2194 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2195 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2196
2197 * sysdeps/unix/siglist.c: Remove file.
2198
2199 * sysdeps/unix/getppid.S: Remove file.
2200
2201 * sysdeps/unix/mkdir.c: Remove file.
2202 * sysdeps/unix/rmdir.c: Likewise.
2203
2204 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2205
2206 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2207 ERR_MAX value.
2208 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2209 errlist-compat value.
2210
2211 2012-04-18 David S. Miller <davem@davemloft.net>
2212
2213 * sysdeps/generic/memcopy.h (reg_char): Delete.
2214 * debug/strcat_chk.c: Use char, not reg_char.
2215 * debug/strcpy_chk.c: Likewise.
2216 * debug/strncat_chk.c: Likewise.
2217 * debug/strncpy_chk.c: Likewise.
2218 * string/memchr.c: Likewise.
2219 * string/memrchr.c: Likewise.
2220 * string/rawmemchr.c: Likewise.
2221 * string/strcat.c: Likewise.
2222 * string/strchr.c: Likewise.
2223 * string/strchrnul.c: Likewise.
2224 * string/strcmp.c: Likewise.
2225 * string/strcpy.c: Likewise.
2226 * string/strncat.c: Likewise.
2227 * string/strncmp.c: Likewise.
2228 * string/strncpy.c: Likewise.
2229
2230 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2231
2232 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2233 __builtin_memcopy is called when src and dest ranges are known to not
2234 overlap.
2235
2236 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2237
2238 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2239 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2240 fwd_align_merge macro call.
2241 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2242 bwd_align_merge macro call.
2243 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2244
2245 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2246
2247 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2248 bwd_align_merge macros.
2249 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2250 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2251 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2252
2253 2012-04-18 David S. Miller <davem@davemloft.net>
2254
2255 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2256
2257 2012-04-18 Andreas Jaeger <aj@suse.de>
2258
2259 [BZ# 6794]
2260 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2261 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2262 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2263
2264 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2265 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2266 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2267
2268 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2269 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2270 Adjust for changed ldbl-128 files.
2271
2272 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2273 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2274 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2275
2276 2012-04-17 David S. Miller <davem@davemloft.net>
2277
2278 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2279
2280 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2281
2282 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2283 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2284 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2285 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2286 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2287 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2288
2289 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2290
2291 [BZ #6794]
2292 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2293 * math/libm-test.inc: Add ilogb errno and exception tests.
2294 * math/w_ilogb.c: New file: ilogb wrapper.
2295 * math/w_ilogbf.c: New file: ilogbf wrapper.
2296 * math/w_ilogbl.c: New file: ilogbl wrapper.
2297 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2298 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2299 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2300 exception being thrown with 0.0 as argument.
2301 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2302 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2303 exception being thrown with 0.0 as argument.
2304 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2305 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2306 exception being thrown with 0.0 as argument.
2307 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2308 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2309 exception being thrown with 0.0 as argument.
2310 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2311 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2312 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2313 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2314 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2315 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2316 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2317 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2318 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2319
2320 2012-04-17 Petr Baudis <pasky@ucw.cz>
2321
2322 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2323 with altivec.
2324
2325 2012-04-16 Marek Polacek <polacek@redhat.com>
2326
2327 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2328
2329 2012-04-16 Marek Polacek <polacek@redhat.com>
2330
2331 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2332 operands of fdivp instruction.
2333
2334 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2335
2336 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2337 * elf/tst-auditmod3b.c: Likewise.
2338 * elf/tst-auditmod4b.c: Likewise.
2339 * elf/tst-auditmod5b.c: Likewise.
2340 * elf/tst-auditmod6b.c: Likewise.
2341 * elf/tst-auditmod6c.c: Likewise.
2342 * elf/tst-auditmod7b.c: Likewise.
2343 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2344 * sysdeps/x86_64/preconfigure.in: Likewise.
2345 * sysdeps/x86_64/preconfigure: Regenerated.
2346
2347 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2348
2349 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2350 __ILP32__.
2351
2352 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2353
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2355 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2356
2357 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2358
2359 [BZ #13973]
2360 * locale/iso-639.def: Fix gl language name. Spotted by
2361 Yaron Shahrabani.
2362
2363 2012-04-12 Roland McGrath <roland@hack.frob.com>
2364
2365 [BZ #2074]
2366 * libio/libio.h (__io_write_fn): Update comment.
2367
2368 2012-04-12 Petr Baudis <pasky@ucw.cz>
2369
2370 [BZ #2074]
2371 * stdio.texi (Hook Functions): The user provided writer function
2372 is not allowed to return -1.
2373
2374 2012-04-11 David S. Miller <davem@davemloft.net>
2375
2376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2377
2378 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2379
2380 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2381 Add a leading slash to rtkaio.
2382
2383 2012-04-11 Jim Meyering <meyering@redhat.com>
2384
2385 [BZ #11959]
2386 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2387 It is not necessarily an error to ignore fwrite's return
2388 value. One can reliably use ferror to test for errors after
2389 the fact.
2390
2391 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2392
2393 * bits/types.h (__snseconds_t): New type.
2394 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2395
2396 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2398 (__SNSECONDS_T_TYPE): Likewise.
2399 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2400 (__SNSECONDS_T_TYPE): Likewise.
2401 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2402 (__SNSECONDS_T_TYPE): Likewise.
2403
2404 2012-04-10 Andreas Jaeger <aj@suse.de>
2405
2406 [BZ #2636]
2407 * manual/time.texi (Processor Time): Return type of times is
2408 elapsed real time since an arbitrary point in the past.
2409 (CPU Time): Move CLK_TCK from here...
2410 (Processor Time): ...to here. Correct description.
2411 * manual/conf.texi (Constants for Sysconf): Correct description of
2412 _SC_CLK_TCK.
2413
2414 2012-04-10 David S. Miller <davem@davemloft.net>
2415
2416 [BZ #13967]
2417 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2418 where the is a gap between DT_REL(A) and DT_JMPREL.
2419
2420 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2423 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2424 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2425
2426 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2427
2428 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2429 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2430 (dl_main): Handle --inhibit-cache.
2431 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2432 _dl_inhibit_cache.
2433 * elf/dl-load.c (_dl_map_object): Use it.
2434 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2435
2436 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2437
2438 [BZ #13872]
2439 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2440 (__ieee754_powl): Saturate large exponents rather than testing for
2441 overflow of y*log2(x).
2442 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2443 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2444 exceptions.
2445
2446 [BZ #11521]
2447 * math/s_ctan.c: Include <float.h>.
2448 (__ctan): Avoid internal overflow or cancellation in calculating
2449 denominator.
2450 * math/s_ctanf.c: Likewise.
2451 * math/s_ctanl.c: Likewise.
2452 * math/s_ctanh.c: Likewise.
2453 * math/s_ctanhf.c: Likewise.
2454 * math/s_ctanhl.c: Likewise.
2455 * math/libm-test.inc (ctan_test): Add more tests.
2456 (ctanh_test): Likewise.
2457 * sysdeps/i386/fpu/libm-test-ulps: Update.
2458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2459
2460 2012-04-09 Andreas Jaeger <aj@suse.de>
2461
2462 [BZ #6894]
2463 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2464 is an optional BSD extension.
2465
2466 [BZ #10254]
2467 * manual/stdio.texi (Opening Streams): Document additional fopen
2468 parameters.
2469
2470 2012-04-09 Roland McGrath <roland@hack.frob.com>
2471
2472 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2473 %eax without telling the compiler.
2474
2475 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2476
2477 [BZ # 13963]
2478 * manual/install.texi: Use sourceware.org.
2479
2480 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2481
2482 [BZ #13873]
2483 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2484 (__ieee754_pow): Generate overflow and underflow using huge*huge
2485 and tiny*tiny rather than just returning constant infinity or zero
2486 for large exponents.
2487 * math/libm-test.inc (pow_test): Require overflow exceptions for
2488 applicable cases of large exponents.
2489
2490 [BZ #706]
2491 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2492 (__ieee754_pow): Use iterative multiplication algorithm only for
2493 integer exponents with absolute value below 1024. Check for odd
2494 integer exponents when using algorithm for real exponents.
2495 * math/libm-test.inc (pow_test): Add more tests.
2496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2497
2498 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2499
2500 [BZ #13705]
2501 * math/libm-test.inc (exp_test): Do not allow overflow exception
2502 on underflow test.
2503
2504 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2505
2506 [BZ #13705]
2507 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2508 instead of __kernel_standard_f.
2509
2510 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2511
2512 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2513 * sysdeps/x86_64/memset_chk.S: Likewise.
2514
2515 2012-04-08 Andreas Jaeger <aj@suse.de>
2516
2517 [BZ #10153]
2518 * manual/startup.texi (Environment Access): Describe return value
2519 for putenv and setenv.
2520
2521 [BZ #6895]
2522 * manual/filesys.texi (Directory Entries): Add description for
2523 DT_LNK.
2524
2525 [BZ #6890]
2526 * manual/filesys.texi (Directory Entries): Clarify that it's file
2527 system not operating system in the description of DT_UNKNOWN.
2528
2529 [BZ #6578]
2530 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2531
2532 2012-04-08 Stephen Compall <s11@member.fsf.org>
2533
2534 [BZ #6649]
2535 * manual/llio.texi (Opening and Closing Files): Add cross
2536 reference to explain mode argument.
2537
2538 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2539
2540 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2541 * sysdeps/x86_64/memset_chk.S: Likewise.
2542
2543 2012-04-07 David S. Miller <davem@davemloft.net>
2544
2545 * elf/elf.h (R_SPARC_WDISP10): Define.
2546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2547 R_SPARC_SIZE32.
2548 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2549 R_SPARC_SIZE64 and R_SPARC_H34.
2550
2551 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2552
2553 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2554 conditions and remove no longer applicable assertion.
2555
2556 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 * bits/byteswap.h: Include <features.h>.
2559 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2560 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2561
2562 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2563
2564 * bits/byteswap.h (__bswap_16): Removed.
2565 Include <bits/byteswap-16.h> to get __bswap_16.
2566 * sysdeps/i386/bits/byteswap.h: Likewise.
2567 * sysdeps/s390/bits/byteswap.h: Likewise.
2568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2569 * bits/byteswap-16.h: New file.
2570 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2571 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2572 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2573 * string/Makefile (headers): Add bits/byteswap-16.h.
2574
2575 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2576
2577 [BZ #13895]
2578 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2579 extra indirection.
2580 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2581 * nss/tst-nss-static.c: New.
2582
2583 2012-04-06 Robert Millan <rmh@gnu.org>
2584
2585 [BZ #6486]
2586 * manual/llio.texi (File Position Primitive): lseek
2587 refers to WHENCE when it really means OFFSET.
2588
2589 2012-04-06 Andreas Jaeger <aj@suse.de>
2590
2591 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2592 strncmp declarations.
2593
2594 * abilist/libc.abilist: Add __poll and __ppoll.
2595
2596 2012-04-05 David S. Miller <davem@davemloft.net>
2597
2598 * scripts/check-local-headers.sh: Accept a host triplet in the
2599 path matched by the exclude regexp.
2600
2601 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2602 definition.
2603 * sysdeps/powerpc/powerpc32/dl-machine.h
2604 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2605 * sysdeps/s390/s390-32/dl-machine.h
2606 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2607 * sysdeps/sparc/sparc32/dl-machine.h
2608 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2609 * sysdeps/sparc/sparc64/dl-machine.h
2610 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2611
2612 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2613 lazy binding.
2614 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2615 undefined symbol errors.
2616
2617 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2618 DT_NEEDED entries.
2619
2620 2012-04-05 Michael Matz <matz@suse.de>
2621
2622 [BZ #13592]
2623 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2624
2625 2012-04-05 Andreas Jaeger <aj@suse.de>
2626
2627 [BZ #13908]
2628 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2629 comment.
2630
2631 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2632
2633 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2634 which ROUND is no valid rounding mode.
2635
2636 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2637
2638 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2639 read again.
2640 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2641
2642 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2643
2644 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2645 an exception using FPU order intentionally.
2646
2647 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2648
2649 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2650 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2651 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2652 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2653
2654 2012-04-05 Simon Josefsson <simon@josefsson.org>
2655
2656 [BZ #12340]
2657 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2658 EINVAL when BUFLEN is too smal.
2659
2660 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2661
2662 [BZ #13553]
2663 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2664 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2665
2666 2012-04-03 Andreas Jaeger <aj@suse.de>
2667
2668 [BZ #13938]
2669 * manual/setjmp.texi (System V contexts): Fix sentence.
2670
2671 [BZ #13926]
2672 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2673 New macro for this case.
2674 [!__GNUC__] (__bswap_64): New inline function for this case.
2675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2676 * bits/byteswap.h: Likewise.
2677 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2678 ull, guard with __GLIBC_HAVE_LONG_LONG.
2679
2680 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2681 __GLIBC_HAVE_LONG_LONG.
2682
2683 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2684 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2685
2686 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2687
2688 [BZ #13691]
2689 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2690 inptr and inend, rather than using last_ch.
2691
2692 2012-04-02 David S. Miller <davem@davemloft.net>
2693
2694 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2695 * stdio-common/printf-parse.h (read_int): Change return type to
2696 'int', return -1 on INT_MAX overflow.
2697 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2698 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2699 overflows INT_MAX. Check for overflow of in-format-string precision
2700 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2701 SIZE_MAX not INT_MAX for integer overflow test.
2702 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2703 skip the construct in the format string but do not record anything.
2704 * stdio-common/bug22.c: Adjust to test both width/prevision
2705 INT_MAX overflow as well as total length INT_MAX overflow. Check
2706 explicitly for proper errno values.
2707
2708 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2709
2710 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2711 CHAR_MAX.
2712 * string/test-strcmp.c [! WIDE]: Likewise.
2713 * time/tst-mktime2.c: Likewise for INT_MAX.
2714 * string/test-string.h: #include <sys/param.h> for MIN.
2715
2716 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2717 * sysdeps/i386/init-first.c (init): Likewise.
2718 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2719 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2720 * sysdeps/sh/init-first.c (init): Likewise.
2721
2722 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2723
2724 * po/ru.po: Update from translation team.
2725 * po/vi.po: Likewise.
2726
2727 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2728
2729 * resolv/nss_dns/dns-host.c: Merge copyright years.
2730
2731 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2732
2733 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2734 Optimize memcpy with prefetch if
2735 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2736 src, dst pointers have unequal 16 byte alignments.
2737
2738 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2739
2740 [BZ #13928]
2741 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2742 from a CNAME entry and return the minimum ttl for the query.
2743 (gaih_getanswer_slice): Likewise.
2744
2745 2012-03-30 Jeff Law <law@redhat.com>
2746
2747 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2748 due to long keys.
2749 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2750 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2751
2752 * resolv/nss_dns/dns-host.c: Update copyright year.
2753
2754 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2755
2756 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2757 requests to save a system call. Fix check that all bytes are sent.
2758
2759 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2760 comments for sendmmsg.
2761
2762 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2763
2764 [BZ #13691]
2765 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2766 with only 1 character between 0x0041 and 0x01b0.
2767 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2768 * wcsmbs/tst-mbsnrtowcs.c: New file.
2769
2770 2012-03-29 David S. Miller <davem@davemloft.net>
2771
2772 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2773 small copies by hand.
2774
2775 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2776
2777 [BZ #13761]
2778 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2779 _nss_compat_initgroups_dyn): Fall back to malloc/free
2780 for large group memberships.
2781
2782 2012-03-28 David S. Miller <davem@davemloft.net>
2783
2784 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2785 that branches into memcpy.
2786 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2787 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2789 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2791 bits.
2792 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2793 implementation too.
2794 * sysdeps/sparc/mempcpy.S: New file.
2795
2796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2797 the IFUNC routine in the libc case.
2798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2799
2800 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2801 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2802 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2803 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2804 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2805 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2806 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2807 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2808
2809 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2810 loop to 256 bytes instead of 64 bytes and fix test signedness.
2811
2812 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2813 * sysdeps/sparc/sparc32/Makefile: rather than here...
2814 * sysdeps/sparc/sparc64/Makefile: and here.
2815
2816 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2817
2818 * malloc/mallocbug.c: Avoid warnings about unused variables.
2819
2820 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2821
2822 [BZ #13760]
2823 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2824 in the right place. Discard and retry query if response is
2825 larger than input buffer size.
2826
2827 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #369]
2830 [BZ #2678]
2831 [BZ #3866]
2832 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2833 x for large integer exponent.
2834 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2835 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2836 sign of result as needed afterwards.
2837 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2838 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2839 result for underflowing pow the same as for overflow.
2840 (__kernel_standard_l): Handle powl overflow and underflow here
2841 rather than calling __kernel_standard.
2842 * math/libm-test.inc (pow_test): Add more tests.
2843
2844 [BZ #3868]
2845 [BZ #13879]
2846 [BZ #13910]
2847 [BZ #13911]
2848 [BZ #13912]
2849 [BZ #13913]
2850 [BZ #13915]
2851 [BZ #13916]
2852 [BZ #13917]
2853 [BZ #13918]
2854 [BZ #13919]
2855 [BZ #13920]
2856 [BZ #13921]
2857 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2858 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2859 (__kernel_standard_l): New function.
2860 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2861 __kernel_standard.
2862 * math/w_acosl.c (__acosl): Likewise.
2863 * math/w_asinl.c (__asinl): Likewise.
2864 * math/w_atan2l.c (__atan2l): Likewise.
2865 * math/w_atanhl.c (__atanhl): Likewise.
2866 * math/w_coshl.c (__coshl): Likewise.
2867 * math/w_exp10l.c (__exp10l): Likewise.
2868 * math/w_exp2l.c (__exp2l): Likewise.
2869 * math/w_fmodl.c (__fmodl): Likewise.
2870 * math/w_hypotl.c (__hypotl): Likewise.
2871 * math/w_j0l.c (__j0l, __y0l): Likewise.
2872 * math/w_j1l.c (__j1l, __y1l): Likewise.
2873 * math/w_jnl.c (__jnl, __ynl): Likewise.
2874 * math/w_lgammal.c (__lgammal): Likewise.
2875 * math/w_log10l.c (__log10l): Likewise.
2876 * math/w_log2l.c (__log2l): Likewise.
2877 * math/w_logl.c (__logl): Likewise.
2878 * math/w_powl.c (__powl): Likewise.
2879 * math/w_remainderl.c (__remainderl): Likewise.
2880 * math/w_scalbl.c (sysv_scalbl): Likewise.
2881 * math/w_sinhl.c (__sinhl): Likewise.
2882 * math/w_sqrtl.c (__sqrtl): Likewise.
2883 * math/w_tgammal.c (__tgammal): Likewise.
2884 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2885 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2886 * math/libm-test.inc (acos_test): Add more tests.
2887 (acosh_test): Likewise.
2888 (asin_test): Likewise.
2889 (atanh_test): Likewise.
2890 (exp_test): Likewise.
2891 (exp10_test): Likewise.
2892 (exp2_test): Likewise.
2893 (expm1_test): Likewise.
2894 (lgamma_test): Likewise.
2895 (log_test): Likewise.
2896 (log10_test): Likewise.
2897 (log1p_test): Likewise.
2898 (log2_test): Likewise.
2899 (pow_test): Do not allow some spurious overflow exceptions.
2900 (sqrt_test): Add more tests.
2901 (tgamma_test): Likewise.
2902 (y0_test): Likewise.
2903 (y1_test): Likewise.
2904 (yn_test): Likewise.
2905
2906 2012-03-27 Anton Blanchard <anton@samba.org>
2907
2908 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2909 MAP_HUGETLB.
2910 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2911 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2912 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2913
2914 2012-03-27 David S. Miller <davem@davemloft.net>
2915
2916 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2917
2918 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2919 have-as-vis3 check.
2920
2921 2012-03-27 Andreas Jaeger <aj@suse.de>
2922
2923 * sysdeps/x86_64/elf/configure.in: Moved to ...
2924 * sysdeps/x86_64/configure.in: ... here.
2925 * sysdeps/x86_64/elf/start.S: Moved to ...
2926 * sysdeps/x86_64/start.S: ... here.
2927 * sysdeps/x86_64/elf/configure: Delete.
2928
2929 * sysdeps/x86_64/configure.in: Merge contents from
2930 sysdeps/i386/configure.in (without i686 check).
2931
2932 * sysdeps/i386/elf/Versions: Merge into ...
2933 * sysdeps/i386/Versions: ... this.
2934 * sysdeps/i386/elf/Versions: Delete file.
2935 * sysdeps/i386/elf/start.S: Moved to ...
2936 * sysdeps/i386/start.S: ...here.
2937 * sysdeps/i386/elf/configure.in: Merge into...
2938 * sysdeps/i386/configure.in: ...here.
2939 * sysdeps/i386/elf/configure.in: Delete file.
2940 * sysdeps/i386/elf/configure: Delete file.
2941
2942 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2943 * debug/backtracesyms.c: ... here.
2944 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2945 * debug/backtracesymsfd.c: ... here.
2946 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2947 * sysdeps/generic/ifunc-sel.h: ... here.
2948
2949 * sysdeps/unix/i386/start.c: Delete file.
2950 * sysdeps/unix/sparc/start.c: Delete file.
2951 * sysdeps/unix/start.c: Delete file.
2952
2953 * sysdeps/sh/elf/configure.in: Moved to ...
2954 * sysdeps/sh/configure.in: ... here.
2955 * sysdeps/sh/elf/start.S: Moved to ...
2956 * sysdeps/sh/start.S: ... here.
2957 * sysdeps/sh/elf/configure: Delete file.
2958
2959 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2960 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2961 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2962 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2963 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2964 * sysdeps/powerpc/powerpc64/start.S: here.
2965 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2966 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2967 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2968 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2969 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2970
2971 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2972 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2973 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2974 * sysdeps/powerpc/powerpc32/start.S: ... here.
2975 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2976 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2977 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2978
2979 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2980 * sysdeps/powerpc/ifunc-sel.h: ... here.
2981 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2982 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2983
2984 * sysdeps/sparc/elf/configure.in: Moved to ...
2985 * sysdeps/sparc/configure.in: ... here.
2986 * sysdeps/sparc/elf/configure: Delete file.
2987 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2988 * sysdeps/sparc/sparc32/start.S: ... here.
2989 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2990 * sysdeps/sparc/sparc64/start.S: ... here.
2991 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2992 * sysdeps/sparc/sparc32/Makefile: ... this.
2993 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2994 * sysdeps/sparc/sparc64/Makefile: ... this.
2995
2996 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2997 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2998 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2999 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3000 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3001 * sysdeps/s390/s390-32/setjmp.S: ... here.
3002 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3003 * sysdeps/s390/s390-32/configure.in: ... here.
3004 * sysdeps/s390/s390-32/elf/configure: Delete file.
3005 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3006 * sysdeps/s390/s390-32/start.S: ... here.
3007
3008 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3009 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3010 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3011 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3012 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3013 * sysdeps/s390/s390-64/setjmp.S: ... here.
3014 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3015 * sysdeps/s390/s390-64/configure.in: ... here
3016 * sysdeps/s390/s390-64/elf/configure: Delete file.
3017 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3018 * sysdeps/s390/s390-64/start.S: ... here.
3019 * sysdeps/s390/s390-64/elf/configure: Delete.
3020
3021 * configure.in: Remove support for elf directories in sysdeps.
3022
3023 * configure: Regenerated.
3024 * sysdeps/i386/configure: Regenerated.
3025 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3026 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3027 * sysdeps/s390/s390-32/configure: Regenerated.
3028 * sysdeps/s390/s390-64/configure: Regenerated.
3029 * sysdeps/sh/configure: Regenerated.
3030 * sysdeps/sparc/configure: Regenerated.
3031 * sysdeps/x86_64/configure: Regenerated.
3032
3033 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3034
3035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3036
3037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3038 denormal result into account.
3039
3040 2012-03-25 Roland McGrath <roland@hack.frob.com>
3041
3042 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3043 Reported by Allan McRae <allan@archlinux.org>.
3044
3045 2012-03-23 Jeff Law <law@redhat.com>
3046
3047 * nss/getnssent.c (__nss_getent): Fix typo.
3048
3049 2012-03-23 David S. Miller <davem@davemloft.net>
3050
3051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3052
3053 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3054
3055 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3056 to pad to uint64_t for each field.
3057 (dl_tls_index): Replace unsigned long with uint64_t.
3058
3059 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3060 Paul Pluzhnikov <ppluzhnikov@google.com>
3061
3062 [BZ #6528]
3063 * grp/Makefile (otherlibs): Don't set it.
3064 * inet/Makefile (otherlibs): Likewise.
3065 * login/Makefile (otherlibs): Likewise.
3066 * nscd/Makefile (otherlibs): Likewise.
3067 * posix/Makefile (otherlibs): Likewise.
3068 * pwd/Makefile (otherlibs): Likewise.
3069 * rt/Makefile (otherlibs): Likewise.
3070 * sunrpc/Makefile (otherlibs): Likewise.
3071 * nss/Makefile (otherlibs): Likewise.
3072 Add libnss_files to routines and static-only-routines.
3073 ($(objpfx)getent): Remove rule.
3074 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3075 static-only-routines.
3076
3077 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3078
3079 [BZ #13892]
3080 * math/s_cexp.c: Include <float.h>.
3081 (__cexp): Handle exp result overflowing not necessarily
3082 overflowing both real and imaginary parts of result.
3083 * math/s_cexpf.c: Likewise.
3084 * math/s_cexpl.c: Likewise.
3085 * math/libm-test.inc (cexp_test): Add more tests.
3086 * sysdeps/i386/fpu/libm-test-ulps: Update.
3087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3088
3089 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3090
3091 * include/link.h (ELFW): New macro.
3092 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3093 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3094
3095 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3096
3097 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3098 with uint64_t.
3099
3100 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3101
3102 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3103 declaration.
3104 (struct La_x32_retval): Likewise.
3105
3106 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 * sysdeps/x86_64/preconfigure.in: New file.
3109 * sysdeps/x86_64/preconfigure: New generated file.
3110
3111 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3112
3113 [BZ #13824]
3114 * math/e_exp2l.c: Include <float.h>.
3115 (__ieee754_exp2l): Handle overflow and underflow cases
3116 separately. Only pass fractional part of argument to
3117 __ieee754_expl.
3118 * math/libm-test.inc (exp2_test): Add more tests.
3119
3120 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3121 negating x to take absolute value.
3122 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3123 Likewise.
3124 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3125 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3126 Likewise.
3127 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3128 computing low part if x was negated.
3129 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3130
3131 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3132
3133 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3134 la_x32_gnu_pltexit.
3135 (pltexit): Cast int_retval to ptrdiff_t.
3136 * elf/tst-auditmod3b.c: Likewise.
3137 * elf/tst-auditmod4b.c: Likewise.
3138 * elf/tst-auditmod5b.c: Likewise.
3139 * elf/tst-auditmod6b.c: Likewise.
3140 * elf/tst-auditmod6c.c: Likewise.
3141 * elf/tst-auditmod7b.c: Likewise.
3142
3143 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3144 and x32_gnu_pltexit.
3145
3146 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3147 __ELF_NATIVE_CLASS.
3148 (La_x32_regs): New macro.
3149 (La_x32_retval): Likewise.
3150 (la_x32_gnu_pltenter): New function prototype.
3151 (la_x32_gnu_pltexit): Likewise.
3152
3153 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3154
3155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3156 exponent.
3157
3158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3159
3160 * configure.in (libc_cv_cc_nofma): Check for option to disable
3161 generation of FMA instructions.
3162 * configure: Regenerate.
3163 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3164 * sysdeps/ieee754/dbl-64/Makefile: New file.
3165 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3166 Remove brandred-fma4.
3167 (CFLAGS-brandred-fma4.c): Remove.
3168 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3169 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3170 define.
3171 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3172 define.
3173
3174 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3175
3176 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3177 LLONG_MAX != LONG_MAX.
3178 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3179 (_fitoa_word): Likewise.
3180 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3181 LLONG_MAX != LONG_MAX.
3182 * stdio-common/_itowa.h: Include <_itoa.h>.
3183 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3184 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3185 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3186 only if not defined.
3187 (_ITOA_WORD_TYPE): Likewise.
3188 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3189 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3190
3191 2012-03-21 David S. Miller <davem@davemloft.net>
3192
3193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3194
3195 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3196
3197 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3198 of x86_64 when setting libc_cv_slibdir, libdir and
3199 libc_cv_localedir.
3200 * sysdeps/unix/sysv/linux/configure: Regenerated.
3201
3202 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3203
3204 * manual/lang.texi (Old Varargs): Remove section.
3205 (How Variadic): Update menu.
3206 (va_start): Do not mention varargs.h.
3207
3208 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3209 Joseph Myers <joseph@codesourcery.com>
3210
3211 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3212 link test.
3213 * configure: Regenerated.
3214
3215 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3216
3217 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3218 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3219 conformtest.pl
3220
3221 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3222
3223 * NOTES: Remove.
3224 * Makefile (files-for-dist): Remove NOTES.
3225 (NOTES): Remove rule.
3226 * README: Don't refer to NOTES.
3227 * manual/creature.texi: Don't include macros.texi.
3228 * manual/intro.texi (creature.texi): Remove comment referring to
3229 NOTES.
3230
3231 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3232 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3233 * configure: Regenerated.
3234 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3235 LIBC_TRY_CC_OPTION.
3236 (libc_cv_as_i686): Likewise.
3237 (libc_cv_cc_avx): Likewise.
3238 (libc_cv_cc_sse2avx): Likewise.
3239 (libc_cv_cc_fma4): Likewise.
3240 (libc_cv_cc_novzeroupper): Likewise.
3241 * sysdeps/i386/configure: Regenerated.
3242
3243 [BZ #13883]
3244 * sysdeps/i386/fpu/s_cexp.S: Remove.
3245 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3246 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3247 * math/libm-test.inc (cexp_test): Add more tests.
3248 * sysdeps/i386/fpu/libm-test-ulps: Update.
3249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250
3251 2012-03-21 Allan McRae <allan@archlinux.org>
3252
3253 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3254
3255 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3256
3257 [BZ #13871]
3258 * math/w_exp2.c: Do not include <float.h>.
3259 (o_threshold, u_threshold): Remove.
3260 (__exp2): Calculate result before checking finiteness and calling
3261 __kernel_standard.
3262 * math/w_exp2f.c: Likewise.
3263 * math/w_exp2l.c: Likewise.
3264 * math/libm-test.inc (exp2_test): Require overflow exception for
3265 1e6 input.
3266
3267 [BZ #3866]
3268 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3269 range of signed 64-bit integers before using fistpll. Remove
3270 checks for whether integers fit in mantissa bits.
3271 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3272 the range of signed 32-bit integers before using fistpl. Remove
3273 checks for whether integers fit in mantissa bits.
3274 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3275 (__ieee754_powl): Test for y outside the range of signed 64-bit
3276 integers before using fistpll. Reduce 64-bit values to 63-bit
3277 ones as needed.
3278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3279 divide-by-zero is raised for zero to large negative powers.
3280 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3281 (__ieee754_powl): Test for y outside the range of signed 64-bit
3282 integers before using fistpll. Reduce 64-bit values to 63-bit
3283 ones as needed.
3284 * math/libm-test.inc (pow_test): Add more tests.
3285
3286 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3289 <stdio-common/_itoa.h>.
3290 * debug/segfault.c: Likewise.
3291 * elf/dl-cache.c: Likewise.
3292 * elf/dl-minimal.c: Likewise.
3293 * elf/dl-misc.c: Likewise.
3294 * elf/dl-sysdep.c: Likewise.
3295 * elf/dl-version.c: Likewise.
3296 * elf/rtld.c: Likewise.
3297 * hurd/hurdsock.c: Likewise.
3298 * hurd/lookup-retry.c: Likewise.
3299 * malloc/malloc.c: Likewise.
3300 * malloc/mtrace.c: Likewise.
3301 * nscd/nscd_getgr_r.c: Likewise.
3302 * nscd/nscd_getpw_r.c: Likewise.
3303 * nscd/nscd_getserv_r.c: Likewise.
3304 * posix/getopt_init.c: Likewise.
3305 * posix/wordexp.c: Likewise.
3306 * stdio-common/_itoa.c: Likewise.
3307 * stdio-common/printf_fphex.c: Likewise.
3308 * stdio-common/vfprintf.c: Likewise.
3309 * string/_strerror.c: Likewise.
3310 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3311 * sysdeps/i386/i686/hp-timing.h: Likewise.
3312 * sysdeps/mach/_strerror.c: Likewise.
3313 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3314 * sysdeps/mach/hurd/sethostid.c: Likewise.
3315 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3316 * sysdeps/mach/xpg-strerror.c: Likewise.
3317 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3318 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3319 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3320 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3321 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3322 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3323 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3324 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3325 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3326 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3327 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3328 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3329 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3330 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3331 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3332 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3333 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3334 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3335 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3336 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3338
3339 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3340
3341 * stdio-common/_itoa.h: Moved to ...
3342 * sysdeps/generic/_itoa.h: Here.
3343
3344 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3345
3346 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3347 instead of "_itoa.h" and "_itowa.h".
3348 * stdio-common/vfprintf.: Likewise.
3349
3350 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3353 <bits/wordsize.h>.
3354 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3355 (__signbit): Likwise.
3356 (llrintf): Likwise.
3357 (llrint): Likwise.
3358
3359 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3360
3361 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3362 __WORDSIZE != 64.
3363
3364 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3365
3366 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3367 OVERFLOW_EXCEPTION_OK.
3368 * math/libm-test.inc ("Philosophy"): Update comment about
3369 exception testing.
3370 (OVERFLOW_EXCEPTION): Define.
3371 (OVERFLOW_EXCEPTION_OK): Likewise.
3372 (INVALID_EXCEPTION_OK): Renumber.
3373 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3374 (IGNORE_ZERO_INF_SIGN): Likewise.
3375 (test_exceptions): Handle FE_OVERFLOW.
3376 (exp10_test): Expect overflow exceptions.
3377 (exp2_test): Likewise.
3378 (expm1_test): Likewise.
3379 (nextafter_test): Likewise.
3380 (pow_test): Likewise.
3381 (scalbn_test): Likewise.
3382 (scalbln_test): Likewise.
3383
3384 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3385
3386 * sysdeps/x86_64/bits/atomic.h
3387 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3388 64bit integer.
3389 (atomic_exchange_acq): Likewise.
3390 (__arch_exchange_and_add_body): Likewise.
3391 (__arch_add_body): Likewise.
3392 (atomic_add_negative): Likewise.
3393 (atomic_add_zero): Likewise.
3394
3395 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3398 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3399
3400 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3401
3402 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3403 Check __x86_64__ instead of __WORDSIZE.
3404
3405 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3408
3409 2012-03-19 David S. Miller <davem@davemloft.net>
3410
3411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3412
3413 * sysdeps/sparc/fpu/fenv_private.h: New file.
3414 * sysdeps/sparc/fpu/math_private.h: Use it.
3415 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3416 Remove.
3417 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3418 (libc_feholdexcept_setroundl): Remove.
3419 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3420 Remove.
3421 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3422 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3423
3424 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3425
3426 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3427 int64_t instead of long int.
3428 (INSERT_WORDS64): Likwise.
3429
3430 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3431
3432 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3433 _Unwind_GetCFA return to _Unwind_Ptr first.
3434
3435 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3436
3437 [BZ #13629]
3438 * math/s_clog.c: Include <float.h>.
3439 (__clog): Scale large or subnormal inputs.
3440 * math/s_clogf.c: Likewise.
3441 * math/s_clogl.c: Likewise.
3442 * math/s_clog10.c: Include <float.h>.
3443 (M_LOG10_2): Define.
3444 (__clog10): Scale large or subnormal inputs.
3445 * math/s_clog10f.c: Likewise.
3446 * math/s_clog10l.c: Likewise.
3447 * math/libm-test.inc (clog_test): Add more tests.
3448 (clog10_test): Likewise.
3449 * sysdeps/i386/fpu/libm-test-ulps: Update.
3450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3451
3452 [BZ #11451]
3453 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3454 x and y.
3455 * math/libm-test.inc (atan2_test): Add another test.
3456
3457 * Makerules (common-objdir-compile): Remove.
3458 * sysdeps/unix/Makefile (config-generated): Do not add
3459 $(unix-generated) to variable.
3460 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3461 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3462 Remove rule.
3463 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3464 Likewise.
3465 [generic bits/local_lim.h] (before-compile): Do not append to
3466 variable.
3467 [generic bits/local_lim.h] (common-generated): Likewise.
3468 [generic sys/param.h] (before-compile): Do not append to variable.
3469 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3470 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3471 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3472 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3473 include.
3474 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3475 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3476 [generic sys/param.h] ($(addprefix
3477 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3478 [generic sys/param.h] (common-generated): Do not append to
3479 variable.
3480 [generic sys/param.h] (sysdep_headers): Likewise.
3481 [generic bits/errno.h] (before-compile): Do not append to
3482 variable.
3483 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3484 rule.
3485 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3486 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3487 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3488 [generic bits/errno.h] (common-generated): Do not append to
3489 variable.
3490 [generic bits/ioctls.h] (before-compile): Do not append to
3491 variable.
3492 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3493 rule.
3494 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3495 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3496 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3497 rule.
3498 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3499 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3500 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3501 [generic bits/ioctls.h] (common-generated): Do not append to
3502 variable.
3503 [generic sys/syscall.h] (syscall.h): Remove variable.
3504 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3505 rule.
3506 [generic sys/syscall.h] (before-compile): Do not append to
3507 variable.
3508 [generic sys/syscall.h] (common-generated): Likewise.
3509 * sysdeps/unix/errnos-tmpl.c: Remove file.
3510 * sysdeps/unix/errnos.awk: Likewise.
3511 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3512 * sysdeps/unix/ioctls.awk: Likewise.
3513 * sysdeps/unix/mk-local_lim.c: Likewise.
3514 * sysdeps/unix/snarf-ioctls: Likewise.
3515
3516 2012-03-19 Richard Henderson <rth@twiddle.net>
3517
3518 * sysdeps/i386/fpu/fenv_private.h: New file.
3519 * sysdeps/i386/fpu/math_private.h: Use it.
3520 (math_opt_barrier, math_force_eval): Remove.
3521 (libc_feholdexcept_setround_53bit): Remove.
3522 (libc_feupdateenv_53bit): Remove.
3523 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3524 (math_opt_barrier, math_force_eval): Remove.
3525 (libc_feholdexcept): Remove.
3526 (libc_feholdexcept_setround): Remove.
3527 (libc_fetestexcept, libc_fesetenv): Remove.
3528 (libc_feupdateenv_test): Remove.
3529 (libc_feupdateenv, libc_feholdsetround): Remove.
3530 (libc_feresetround): Remove.
3531
3532 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3533 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3534
3535 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3536 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3537 (libc_feupdateenv_testl): New.
3538 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3539 (libc_feupdateenv_testf): New.
3540 (libc_feupdateenv): Use libc_feupdateenv_test.
3541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3543
3544 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3545 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3546 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3547 (libc_feresetround_noex): New.
3548 (libc_feresetround_noexf): New.
3549 (libc_feresetround_noexl): New.
3550 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3551 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3552 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3553 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3554 SET_RESTORE_ROUND.
3555 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3556 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3557 (__cos): Likewise.
3558 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3559 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3560 SET_RESTORE_ROUND_NOEX.
3561 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3562 SET_RESTORE_ROUND_NOEXF.
3563 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3564 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3565 (libc_feholdsetroundf): New.
3566 (libc_feresetround, libc_feresetroundf): New.
3567
3568 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3569 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3570 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3571
3572 * sysdeps/generic/math_private.h: Include <fenv.h>.
3573 (default_libc_feholdexcept): New.
3574 (default_libc_feholdexcept_setround): New.
3575 (default_libc_fesetenv, default_libc_feupdateenv): New.
3576 (libc_feholdexcept): Only define if undefined.
3577 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3578 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3579 (libc_feholdexcept_setroundl): Likewise.
3580 (libc_feholdexcept_setround_53bit): Likewise.
3581 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3582 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3583 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3584 (libc_feupdateenv_53bit): Likewise.
3585 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3586 (libc_feholdexcept): Convert from macro to inline function.
3587 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3588 (libc_fesetenv, libc_feupdateenv): Likewise.
3589
3590 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3591 not previously defined.
3592 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3593 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3594 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3595 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3596 * sysdeps/ieee754/flt-32/math_private.h: New file.
3597 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3598 math_private.h below SET_FLOAT_WORD.
3599 (__isnan, __isinf_ns, __finite): Remove.
3600 (__isnanf, __isinf_nsf, __finitef): Remove.
3601
3602 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3603
3604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3605
3606 2012-03-17 David S. Miller <davem@davemloft.net>
3607
3608 [BZ #6471]
3609 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3610 for 2.16.
3611
3612 2012-03-16 David S. Miller <davem@davemloft.net>
3613
3614 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3615 warnings.
3616
3617 [BZ #6471]
3618 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3619 properly.
3620 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3621 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3622 sysdep_routines when subdir is sysvipc.
3623 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3624 __getshmlba helper.
3625
3626 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3627
3628 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3629
3630 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3631 [__LP64__].
3632
3633 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3634
3635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3636 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3637 (__lround): Renamed to ...
3638 (__llround): This. Replace long int with long long int.
3639 Define lround functions as aliases of llround functions.
3640 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3641
3642 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3643
3644 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3645 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3646 adresses to uintptr_t. Replace "long int" and "unsigned long
3647 int" with "greg_t" on va_arg.
3648
3649 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3650
3651 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3652 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3653
3654 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3655 Move e_machine check before EI_CLASS check. Handle x32
3656 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3657 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3658 SKIP_EM_IA_64 and include
3659 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3660
3661 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3662 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3663 (add_system_dir): New macro.
3664
3665 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3666 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3667
3668 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3669
3670 [BZ #2551]
3671 [BZ #2552]
3672 [BZ #2553]
3673 [BZ #2554]
3674 [BZ #2562]
3675 [BZ #2563]
3676 [BZ #2565]
3677 [BZ #2566]
3678 [BZ #2576]
3679 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3680 (y0): Likewise.
3681 * math/w_j0f.c (j0f): Likewise.
3682 (y0f): Likewise.
3683 * math/w_j0l.c (__j0l): Likewise.
3684 (__y0l): Likewise.
3685 * math/w_j1.c (j1): Likewise.
3686 (y1): Likewise.
3687 * math/w_j1f.c (j1f): Likewise.
3688 (y1f): Likewise.
3689 * math/w_j1l.c (__j1l): Likewise.
3690 (__y1l): Likewise.
3691 * math/w_jn.c (jn): Likewise.
3692 (yn): Likewise.
3693 * math/w_jnf.c (jnf): Likewise.
3694 (ynf): Likewise.
3695 * math/w_jnl.c (__jnl): Likewise.
3696 (__ynl): Likewise.
3697 * math/libm-test.inc (j0_test): Add more tests.
3698 (j1_test): Likewise.
3699 (jn_test): Likewise. Add trailing semicolon to existing test.
3700 (y0_test): Likewise.
3701 (y1_test): Likewise.
3702 * sysdeps/i386/fpu/libm-test-ulps: Update.
3703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3704
3705 [BZ #13851]
3706 [BZ #13854]
3707 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3708 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3709 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3710 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3711 (__tanl): Set errno for infinite argument.
3712 * sysdeps/i386/fpu/mptan.c: Remove.
3713 * sysdeps/i386/fpu/s_tan.S: Likewise.
3714 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3715 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3716 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3717 * math/libm-test.inc (tan_test): Add more tests and enable more
3718 tests for double and long double.
3719 * sysdeps/i386/fpu/libm-test-ulps: Update.
3720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721
3722 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3723
3724 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3725 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3726
3727 2012-03-16 Roland McGrath <roland@hack.frob.com>
3728
3729 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3730 * configure.in: Use it for both main tree and add-ons.
3731 * configure: Regenerated.
3732
3733 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3734
3735 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3736
3737 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3738
3739 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3740 in comment.
3741
3742 [BZ #13851]
3743 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3744 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3748 infinite argument.
3749 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3751 != 0 for prec == 2.
3752 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3753 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3754 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3755 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3756 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3757 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3758 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3759 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3760 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3761 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3762 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3763 * math/libm-test.inc (cos_test): Add more tests and enable more
3764 tests for long double.
3765 (sin_test): Likewise.
3766 (sincos_test): Likewise.
3767 * sysdeps/i386/fpu/libm-test-ulps: Update.
3768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3769
3770 2012-03-16 David S. Miller <davem@davemloft.net>
3771
3772 * sysdeps/sparc/fpu/math_private.h: New file.
3773
3774 2012-03-15 David S. Miller <davem@davemloft.net>
3775
3776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3777 file.
3778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3780 file.
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3787 sysdep routines.
3788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3789
3790 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3791 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3792
3793 * sysdeps/sparc/sparc-ifunc.h: New file.
3794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3795 sparc-ifunc.h
3796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3798 Likewise.
3799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3800 Likewise.
3801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3805 Likewise.
3806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3811 Likewise.
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3813 Likewise.
3814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3832 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3838
3839 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3840
3841 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3842 scaling.
3843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3844
3845 2012-03-15 Andreas Jaeger <aj@suse.de>
3846
3847 [BZ #13852]
3848 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3849 ieee754/flt-32 implementation for sin, cos and sincos.
3850 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3851 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3852 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3853 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3854 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3855 ieee754/flt-32 implementation for tan.
3856
3857 * math/libm-test.inc (cos_test): Enable some large input tests for
3858 float as well
3859 (sin_test): Likewise.
3860 (sincos_test): Likewise.
3861 (tan_test): Add tests for large input.
3862
3863 * sysdeps/i386/fpu/libm-test-ulps: Update.
3864
3865 2012-03-15 Andreas Jaeger <aj@suse.de>
3866
3867 [BZ #13658]
3868 * math/libm-test.inc (cos_test): Add more test cases.
3869 (sin_test): Likewise.
3870 (sincos_test): Likewise.
3871
3872 2012-03-15 Andreas Jaeger <aj@suse.de>
3873
3874 [BZ #13837]
3875 * math/libm-test.inc (cos_test): Add a test case for large input
3876 value.
3877 (sin_test): Likewise.
3878 (sincos_test): Likewise.
3879
3880 2012-03-15 Andreas Jaeger <aj@suse.de>,
3881 Joseph Myers <joseph@codesourcery.com>
3882
3883 [BZ #13658]
3884 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3885 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3886 * sysdeps/i386/fpu/branred.c: Likewise.
3887 * sysdeps/i386/fpu/dosincos.c: Likewise.
3888 * sysdeps/i386/fpu/mpa.c: Likewise.
3889 * sysdeps/i386/fpu/s_cos.S: Likewise.
3890 * sysdeps/i386/fpu/s_sin.S: Likewise.
3891 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3892 * sysdeps/i386/fpu/sincos32.c: Likewise.
3893
3894 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3895 Define.
3896 (libc_feupdateenv_53bit): Define.
3897 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3898 Define.
3899 (libc_feupdateenv_53bit): Define.
3900
3901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3902 53 bit (without extend i386 double precision).
3903
3904 * math/libm-test.inc (sincos_test): Add tests for large input.
3905 (sin): Likewise.
3906 (cos): Likewise.
3907
3908 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3909
3910 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3911
3912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3913
3914 2012-03-15 David S. Miller <davem@davemloft.net>
3915
3916 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3917 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3918 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3919 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3932 file.
3933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3935 file.
3936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3938 file.
3939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3941 file.
3942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3943 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3944 fmin/fmax sysdep routines.
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3946
3947 2012-03-14 David S. Miller <davem@davemloft.net>
3948
3949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3969 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3970 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3977 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3978 routines.
3979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3980 file.
3981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3983 file.
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3986 file.
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3989 file.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3992 file.
3993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3995 file.
3996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3997 file.
3998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3999 file.
4000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4001 file.
4002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4003 New file.
4004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4005 file.
4006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4007 file.
4008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4010 file.
4011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4013 file.
4014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4016 file.
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4019 VIS3 routines.
4020
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4022 New file.
4023
4024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4025
4026 * sysdeps/sparc/configure.in: New file.
4027 * sysdeps/sparc/configure: Generate.
4028 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4029 * configure: Regenerate.
4030 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4031 * config.make.in (have-as-vis3): New.
4032 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4033 available use -Av9d instead of -Av9a.
4034 * sysdeps/sparc/sparc64/Makefile: Likewise.
4035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4037 New file.
4038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4039 file.
4040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4041 New file.
4042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4043 file.
4044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4045 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4046 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4047 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4049
4050 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4051 fzeros/fnegs to load 0x80000000 into a float register instead of
4052 using the stack.
4053 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4054
4055 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4056
4057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4058 bits/syscall.h.
4059 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4060 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4061 ($(inst_includedir)/bits/syscall.h): Remove rule.
4062 ($(objpfx)bits/syscall.d): Include instead of
4063 $(objpfx)syscall-list.d.
4064 (generated): Change syscall-list.h and syscall-list.d to
4065 bits/syscall.h and bits/syscall.d.
4066
4067 2012-03-14 Roland McGrath <roland@hack.frob.com>
4068
4069 [BZ #13846]
4070 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4071
4072 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4073
4074 [BZ #13841]
4075 * math/s_csqrt.c: Include <float.h>.
4076 (__csqrt): Scale large or subnormal inputs.
4077 * math/s_csqrtf.c: Likewise.
4078 * math/s_csqrtl.c: Likewise.
4079 * math/libm-test.inc (csqrt_test): Add more tests.
4080 * sysdeps/i386/fpu/libm-test-ulps: Update.
4081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4082
4083 [BZ #13840]
4084 * math/libm-test.inc (hypot_test): Add more tests.
4085
4086 2012-03-13 David S. Miller <davem@davemloft.net>
4087
4088 [BZ #13840]
4089 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4090 double-precision for the calculation instead of scaling.
4091
4092 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4093
4094 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4095 manipulate bits before adding and subtracting TWO52[sx].
4096 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4097 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4098 Likewise.
4099 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4100
4101 2012-03-13 David S. Miller <davem@davemloft.net>
4102
4103 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4104 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4106 rtld-global-offsets.h
4107 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4108
4109 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4110 large parameters.
4111
4112 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4113
4114 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4115 'err' in the ifdef scope in which it is actually used.
4116
4117 * nss/nss_db/db-init.c: Include string.h
4118
4119 2012-03-12 David S. Miller <davem@davemloft.net>
4120
4121 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4122 masking out of the most significant byte of random value used.
4123 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4124 Fix coding style in previous change.
4125
4126 * sysdeps/unix/sysv/linux/kernel-features.h
4127 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4128 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4129 expression.
4130 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4131 later.
4132
4133 2012-03-11 David S. Miller <davem@davemloft.net>
4134
4135 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4136 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4137 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4138 for 'resultvar' otherwise things get truncated on 64-bit.
4139
4140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4141 Fix masking out of the most significant byte of random value used.
4142
4143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4144
4145 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4146
4147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4148
4149 2012-03-09 David S. Miller <davem@davemloft.net>
4150
4151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4152 variables with appropriate CPP guards.
4153 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4154 frame pointer, not the stack pointer. Correct layout comments. Fix test
4155 on resulting framesize and the management of the outregs buffer for pltexit.
4156 Preserve floating point return values across _dl_call_pltexit call.
4157 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4158 framesize and the management of the outregs buffer for pltexit.
4159 Preserve floating point return values across _dl_call_pltexit
4160 call.
4161 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4162 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4163 (print_exit): Fix format string for return register value.
4164
4165 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4166
4167 * sunrpc/Makefile (others): Add rpcgen.
4168 ($(objpfx)rpcgen): Remove special build rule and dependency on
4169 libc.
4170 * sunrpc/rpcgen.c: New file.
4171
4172 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4173
4174 [BZ #13673]
4175 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4176 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4177 * sysdeps/i386/crti.S: Likewise.
4178 * sysdeps/i386/crtn.S: Likewise.
4179 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4180 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4181 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4182 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4183 * sysdeps/sh/crti.S: Likewise.
4184 * sysdeps/sh/crtn.S: Likewise.
4185 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4186
4187 [BZ #13673]
4188 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4189 with URL.
4190 * locale/programs/locfile-kw.gperf: Likewise.
4191 * locale/programs/charmap-kw.h: Regenerated.
4192 * locale/programs/locfile-kw.h: Likewise.
4193
4194 [BZ #13673]
4195 * intl/plural.y: Replace FSF snail mail address with URL.
4196 * intl/plural.c: Regenerated.
4197
4198 2012-03-09 Richard Henderson <rth@twiddle.net>
4199
4200 * include/math_private.h: Remove file.
4201 * math/math_private.h: Move file ...
4202 * sysdeps/generic/math_private.h: ... here.
4203
4204 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4205 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4206 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4207
4208 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4209 and <math_private.h>.
4210 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4211 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4212 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4213 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4214 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4298 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4301 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4302 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4303 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4304 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4305 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4307 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4308 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4309 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4310 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4311 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4312 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4313 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4315 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4316 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4317 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4318 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4319 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4320 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4321 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4322 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4323 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4324 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4326 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4327 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4328 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4329 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4330 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4331 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4332 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4333 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4334 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4335 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4336 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4337 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4338 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4339 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4340 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4341 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4342 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4343 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4344 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4345 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4346 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4347 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4348 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4349 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4350 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4351 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4352 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4353 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4354 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4355 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4356 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4357 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4358 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4359 * sysdeps/ieee754/k_standard.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4475 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4480 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4487 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4492 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4497 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4501 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4502 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4503 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4504 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4508 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4509 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4510 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4520 * sysdeps/ieee754/s_lib_version.c: Likewise.
4521 * sysdeps/ieee754/s_matherr.c: Likewise.
4522 * sysdeps/ieee754/s_signgam.c: Likewise.
4523 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4524 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4525 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4526 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4527 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4528 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4529 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4530 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4531 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4532 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4533 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4534 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4535 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4536 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4537 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4538 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4540 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4541 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4542 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4543 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4544
4545 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4546
4547 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4548 * sunrpc/rpc_main.c: Likewise.
4549 * sunrpc/rpc_svcout.c: Likewise.
4550
4551 2012-03-09 David S. Miller <davem@davemloft.net>
4552
4553 * include/math_private.h: New file.
4554
4555 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4556
4557 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4558 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4559 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4560 from <bits/socket_type.h>.
4561 (enum __socket_type): Don't define here.
4562 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4564 bits/socket_type.h.
4565
4566 [BZ #13566]
4567 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4568 checking __USE_GNU.
4569
4570 * Makerules ($(inst_includedir)/%.h): New rule.
4571 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4572 (install-others): Remove variable setting.
4573 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4574
4575 2012-03-08 Richard Henderson <rth@twiddle.net>
4576
4577 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4578 from macro to inline function; merge with the
4579 !__LIBC_INTERNAL_MATH_INLINES version.
4580 (__ieee754_sqrtf): Likewise.
4581
4582 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4583 to inline function.
4584 (__rintf, __floor, __floorf): Likewise.
4585
4586 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4587 macro to inline function.
4588 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4589
4590 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4591 not <math/math_private.h>.
4592
4593 2012-03-08 David S. Miller <davem@davemloft.net>
4594
4595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4596 copyright year.
4597 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4598
4599 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4600
4601 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4602 normalization.
4603 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4604 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4605
4606 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4607
4608 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4609 be defined individually, they must be defined as a block. Define
4610 S for printing a string instead of hidint the different by using a
4611 macro for adding the 'l'.
4612 * stdio-common/tst-fphex-wide.c: Adjust.
4613
4614 2012-03-07 Marek Polacek <polacek@redhat.com>
4615
4616 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4617
4618 2012-03-08 Marek Polacek <polacek@redhat.com>
4619
4620 [BZ #13806]
4621 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4622 * stdio-common/tst-fphex.c: Define a few macros to make the
4623 test reusable. Use them.
4624 * stdio-common/tst-fphex-wide.c: New file.
4625
4626 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4627
4628 [BZ #6911]
4629 * manual/macros.texi (gnusystems): New macro.
4630 (nongnusystems): Likewise.
4631 (gnulinuxhurdsystems): Likewise.
4632 (gnuhurdsystems): Likewise..
4633 (gnulinuxsystems): Likewise.
4634 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4635 variants of the GNU system, not "GNU system".
4636 * manual/conf.texi: Likewise.
4637 * manual/errno.texi: Likewise. Update example of errno macro
4638 expansion.
4639 * manual/filesys.texi: Likewise.
4640 (getumask): Document as specific to GNU/Hurd.
4641 * manual/install.texi: Likewise. Reword some references to
4642 GNU/Linux.
4643 * manual/intro.texi: Likewise.
4644 * manual/io.texi: Likewise.
4645 (File Name Portability): Detail which constraints are inapplicable
4646 to all GNU systems and which are only inapplicable to GNU/Hurd.
4647 * manual/job.texi: Likewise.
4648 * manual/llio.texi: Likewise.
4649 (O_NOCTTY): Document as present on GNU/Linux.
4650 * manual/maint.texi: Likewise.
4651 * manual/memory.texi: Likewise.
4652 * manual/pattern.texi: Likewise.
4653 * manual/pipe.texi: Likewise.
4654 * manual/process.texi: Likewise.
4655 * manual/resource.texi: Likewise.
4656 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4657 child on GNU/Hurd.
4658 * manual/setjmp.texi: Likewise.
4659 * manual/signal.texi: Likewise.
4660 * manual/startup.texi: Likewise.
4661 * manual/stdio.texi: Likewise.
4662 * manual/terminal.texi: Likewise.
4663 (ONLCR): Document as POSIX.
4664 (OXTABS): Document availability on GNU/Linux as XTABS.
4665 (ONOEOT): Document availability separately from other bits.
4666 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4667 * manual/time.texi: Likewise.
4668 * manual/users.texi: Likewise.
4669 * INSTALL: Regenerated.
4670 * sysdeps/gnu/errlist.c: Regenerated.
4671
4672 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4673 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4674 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4675 puts.
4676 * configure: Regenerated.
4677
4678 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4679
4680 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4681 default includes instead of AC_HEADER_CHECK.
4682 * sysdeps/i386/configure: Regenerated.
4683
4684 [BZ #10716]
4685 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4686 * math/s_cacoshf.c (__cacoshf): Likewise.
4687 * math/s_cacoshl.c (__cacoshl): Likewise.
4688 * math/s_casinh.c (__casinh): Set signs of result from argument.
4689 * math/s_casinhf.c (__casinhf): Likewise.
4690 * math/s_casinhl.c (__casinhl): Likewise.
4691 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4692 (casinh_test): Add more tests.
4693 * sysdeps/i386/fpu/libm-test-ulps: Update.
4694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695
4696 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4697
4698 * po/zh_TW.po: Update from translation team.
4699
4700 * login/Makefile (distribute): Remove variable.
4701 * catgets/Makefile: Likewise.
4702 * mach/Makefile: Likewise.
4703 * malloc/Makefile: Likewise.
4704 * misc/Makefile: Likewise.
4705 * iconv/Makefile: Likewise.
4706 * nscd/Makefile: Likewise.
4707 * hurd/Makefile: Likewise.
4708 * manual/Makefile: Likewise.
4709 * locale/Makefile: Likewise.
4710 * intl/Makefile: Likewise.
4711 * conform/Makefile: Likewise.
4712 * nss/Makefile: Likewise.
4713 * time/Makefile: Likewise.
4714 * soft-fp/Makefile: Likewise.
4715 * dirent/Makefile: Likewise.
4716 * gmon/Makefile: Likewise.
4717 * po/Makefile: Likewise.
4718 * rt/Makefile: Likewise.
4719 * socket/Makefile: Likewise.
4720 * math/Makefile: Likewise.
4721 * signal/Makefile: Likewise.
4722 * debug/Makefile: Likewise.
4723 * elf/Makefile: Likewise.
4724 * timezone/Makefile: Likewise.
4725 * stdlib/Makefile: Likewise.
4726 * iconvdata/Makefile: Likewise.
4727 * sunrpc/Makefile: Likewise.
4728 * io/Makefile: Likewise.
4729 * argp/Makefile: Likewise.
4730 * inet/Makefile: Likewise.
4731 * hesiod/Makefile: Likewise.
4732 * grp/Makefile: Likewise.
4733 * csu/Makefile: Likewise.
4734 * wctype/Makefile: Likewise.
4735 * crypt/Makefile: Likewise.
4736 * libio/Makefile: Likewise.
4737 * string/Makefile: Likewise.
4738 * nis/Makefile: Likewise.
4739 * resolv/Makefile: Likewise.
4740 * stdio-common/Makefile: Likewise.
4741 * wcsmbs/Makefile: Likewise.
4742 * dlfcn/Makefile: Likewise.
4743 * posix/Makefile: Likewise.
4744
4745 [BZ #6959]
4746 * timezone/Makefile: Don't install timezone files, just the programs
4747 and scripts.
4748
4749 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4750
4751 * nss/databases.def: Add missing gshadow entry.
4752
4753 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4754
4755 2012-03-06 Marek Polacek <polacek@redhat.com>
4756
4757 [BZ #13726]
4758 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4759 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4760 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4761 * stdio-common/tst-long-dbl-fphex.c: New file.
4762
4763 2012-03-06 David S. Miller <davem@davemloft.net>
4764
4765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4766 (set_obp_int): New function.
4767 (get_obp_int): New function.
4768 (__get_clockfreq_via_dev_openprom): Likewise.
4769 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4770 Avoid unused variable warnings on 'val' and use builtin_expect.
4771 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4772 __builtin_expect.
4773 (INLINE_CLONE_SYSCALL): Likewise.
4774
4775 2012-03-05 David S. Miller <davem@davemloft.net>
4776
4777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4778
4779 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4780
4781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4782
4783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4784 only for |x| >= 40.
4785 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4786
4787 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4788
4789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4790 Replace gettimeofday with __vdso_gettimeofday.
4791
4792 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4793 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4794 __vdso_clock_gettime and __vdso_getcpu.
4795
4796 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4797 time with __vdso_time.
4798
4799 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4800
4801 * manual/lang.texi (size_t): Note types to which size_t may be
4802 equivalent with the GNU C Library, but do not describe when
4803 differences between them are significant.
4804
4805 2012-03-05 Andreas Jaeger <aj@suse.de>
4806
4807 * sysdeps/i386/fpu/libm-test-ulps: Update.
4808
4809 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4810
4811 [BZ #3976]
4812 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4813 (__ieee754_pow): Save and restore rounding mode and use
4814 round-to-nearest for main computations.
4815 * math/libm-test.inc (pow_test_tonearest): New function.
4816 (pow_test_towardzero): Likewise.
4817 (pow_test_downward): Likewise.
4818 (pow_test_upward): Likewise.
4819 (main): Call the new functions.
4820 * sysdeps/i386/fpu/libm-test-ulps: Update.
4821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4822
4823 [BZ #3976]
4824 * math/libm-test.inc (cosh_test_tonearest): New function.
4825 (cosh_test_towardzero): Likewise.
4826 (cosh_test_downward): Likewise.
4827 (cosh_test_upward): Likewise.
4828 (sinh_test_tonearest): Likewise.
4829 (sinh_test_towardzero): Likewise.
4830 (sinh_test_downward): Likewise.
4831 (sinh_test_upward): Likewise.
4832 (main): Call the new functions.
4833 * sysdeps/i386/fpu/libm-test-ulps: Update.
4834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4835
4836 2012-03-05 Tom de Vries <tom@codesourcery.com>
4837
4838 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4839 default stack guard is set in last bytes.
4840 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4841
4842 2012-03-05 Kees Cook <keescook@chromium.org>
4843
4844 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4845
4846 [BZ #13656]
4847 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4848 possibly allocate from heap instead of stack.
4849 * stdio-common/bug-vfprintf-nargs.c: New file.
4850 * stdio-common/Makefile (tests): Add nargs overflow test.
4851
4852 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4853
4854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4855
4856 2012-03-03 Marek Polacek <polacek@redhat.com>
4857
4858 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4859 * math/math_private.h: Likewise.
4860 * stdlib/tst-strtod.c: Likewise.
4861 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4862 * sysdeps/x86_64/bits/atomic.h: Likewise.
4863
4864 2012-03-02 David S. Miller <davem@davemloft.net>
4865
4866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4870 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4871 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4872 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4873 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4874
4875 2012-03-02 Roland McGrath <roland@hack.frob.com>
4876
4877 [BZ #13792]
4878 * manual/examples/README: New file, says the example source files
4879 can be used under GPL>=2.
4880 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4881 line containing just "*/".
4882 * manual/examples/add.c: Add copyright header (GPL>=2).
4883 * manual/examples/argp-ex1.c: Likewise.
4884 * manual/examples/argp-ex2.c: Likewise.
4885 * manual/examples/argp-ex3.c: Likewise.
4886 * manual/examples/argp-ex4.c: Likewise.
4887 * manual/examples/atexit.c: Likewise.
4888 * manual/examples/db.c: Likewise.
4889 * manual/examples/dir.c: Likewise.
4890 * manual/examples/dir2.c: Likewise.
4891 * manual/examples/execinfo.c: Likewise.
4892 * manual/examples/filecli.c: Likewise.
4893 * manual/examples/filesrv.c: Likewise.
4894 * manual/examples/fmtmsgexpl.c: Likewise.
4895 * manual/examples/genpass.c: Likewise.
4896 * manual/examples/inetcli.c: Likewise.
4897 * manual/examples/inetsrv.c: Likewise.
4898 * manual/examples/isockad.c: Likewise.
4899 * manual/examples/longopt.c: Likewise.
4900 * manual/examples/memopen.c: Likewise.
4901 * manual/examples/memstrm.c: Likewise.
4902 * manual/examples/mkfsock.c: Likewise.
4903 * manual/examples/mkisock.c: Likewise.
4904 * manual/examples/mygetpass.c: Likewise.
4905 * manual/examples/pipe.c: Likewise.
4906 * manual/examples/popen.c: Likewise.
4907 * manual/examples/rprintf.c: Likewise.
4908 * manual/examples/search.c: Likewise.
4909 * manual/examples/select.c: Likewise.
4910 * manual/examples/setjmp.c: Likewise.
4911 * manual/examples/sigh1.c: Likewise.
4912 * manual/examples/sigusr.c: Likewise.
4913 * manual/examples/stpcpy.c: Likewise.
4914 * manual/examples/strdupa.c: Likewise.
4915 * manual/examples/strftim.c: Likewise.
4916 * manual/examples/strncat.c: Likewise.
4917 * manual/examples/subopt.c: Likewise.
4918 * manual/examples/swapcontext.c: Likewise.
4919 * manual/examples/termios.c: Likewise.
4920 * manual/examples/testopt.c: Likewise.
4921 * manual/examples/testpass.c: Likewise.
4922 * manual/examples/timeval_subtract.c: Likewise.
4923
4924 [BZ #13792]
4925 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4926 function to ...
4927 * manual/timeval_subtract.c.texi: ... here, new file.
4928
4929 2012-03-02 David S. Miller <davem@davemloft.net>
4930
4931 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4932
4933 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4934
4935 [BZ #3976]
4936 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4937 (__sin): Save and restore rounding mode and use round-to-nearest
4938 for all computations.
4939 (__cos): Save and restore rounding mode and use round-to-nearest
4940 for all computations.
4941 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4942 <fenv.h>.
4943 (tan): Save and restore rounding mode and use round-to-nearest for
4944 all computations.
4945 * math/libm-test.inc (cos_test_tonearest): New function.
4946 (cos_test_towardzero): Likewise.
4947 (cos_test_downward): Likewise.
4948 (cos_test_upward): Likewise.
4949 (sin_test_tonearest): Likewise.
4950 (sin_test_towardzero): Likewise.
4951 (sin_test_downward): Likewise.
4952 (sin_test_upward): Likewise.
4953 (tan_test_tonearest): Likewise.
4954 (tan_test_towardzero): Likewise.
4955 (tan_test_downward): Likewise.
4956 (tan_test_upward): Likewise.
4957 (main): Call the new functions.
4958 * sysdeps/i386/fpu/libm-test-ulps: Update.
4959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4960
4961 [BZ #10135]
4962 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4963 small n, then large n, before computing and testing k+n.
4964 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4966 Likewise.
4967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4968 Likewise.
4969 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4970 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4971 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4972 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4973 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4974 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4975 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4976 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4977 * math/libm-test.inc (scalbn_test): Add more tests.
4978 (scalbln_test): Likewise.
4979
4980 * manual/filesys.texi (mode_t): Describe constraints on size and
4981 signedness, not exact equivalence to a particular type.
4982 (ino_t): Likewise.
4983 (ino64_t): Likewise.
4984 (dev_t): Likewise.
4985 (nlink_t): Likewise.
4986 (blkcnt_t): Likewise.
4987 (blkcnt64_t): Likewise.
4988 * manual/llio.texi (off_t): Likewise.
4989
4990 [BZ #3976]
4991 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4992 (__ieee754_exp): Save and restore rounding mode and use
4993 round-to-nearest for all computations.
4994 * math/libm-test.inc (exp_test_tonearest): New function.
4995 (exp_test_towardzero): Likewise.
4996 (exp_test_downward): Likewise.
4997 (exp_test_upward): Likewise.
4998 (main): Call the new functions.
4999 * sysdeps/i386/fpu/libm-test-ulps: Update.
5000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5001
5002 2012-03-01 Chris Demetriou <cgd@google.com>
5003
5004 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5005 have predictable order.
5006
5007 2012-03-01 David S. Miller <davem@davemloft.net>
5008
5009 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5010
5011 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5012 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5013 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5014 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5015
5016 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5017 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5018 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5020 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5021 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5022 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5023 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5024 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5025
5026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5027
5028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5029 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5030 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5031
5032 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5033 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5034 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5035 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5036 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5037 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5038 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5039 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5040 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5041 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5042 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5043 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5045 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5048 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5049 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5050 * sysdeps/sparc/elf/configure: Regenerated.
5051
5052 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5053
5054 * configure.in (AS, LD): Require binutils 2.20 or later.
5055 * configure: Regenerated.
5056 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5057 as required minimum version.
5058 * INSTALL: Regenerated.
5059
5060 [BZ #2541]
5061 [BZ #4108]
5062 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5063 before squaring exponent.
5064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5065 bottom long double and 27 bits of top long double before squaring
5066 exponent.
5067 * math/libm-test.inc (erfc_test): Add more tests.
5068 * sysdeps/i386/fpu/libm-test-ulps: Update.
5069 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5071
5072 2012-03-01 Kai Tietz <ktietz@redhat.com>
5073
5074 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5075 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5076 containing bit-fields.
5077 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5078 * soft-fp/single.h (_FP_UNION_S): Likewise.
5079 * soft-fp/double.h (_FP_UNION_D): Likewise.
5080
5081 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5082
5083 [BZ #13786]
5084 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5085 not include ../strcmp.S.
5086 [USE_AS_STRNCASECMP_L]: Likewise.
5087 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5088 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5089 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5090 (__strncasecmp_l_ia32): Define as alias to
5091 __strncasecmp_l_nonascii.
5092
5093 [BZ #5794]
5094 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5095 * sysdeps/i386/fpu/libm-test-ulps: Update.
5096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5097
5098 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5100
5101 2012-02-29 Jeff Law <law@redhat.com>
5102
5103 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5104 out of bounds read.
5105
5106 2012-02-29 Marek Polacek <polacek@redhat.com>
5107
5108 [BZ #13706]
5109 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5110 * elf/Makefile: Add rules to run tst-unused-dep.out.
5111
5112 2012-02-28 David S. Miller <davem@davemloft.net>
5113
5114 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5115 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5116 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5118 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5119 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5120
5121 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5122
5123 * math/libm-test.inc (llround_test): Move one test from
5124 lround_test. Use TEST_f_L in moved test.
5125 (lround_test): Move misplaced test to llround_test. Add testcase
5126 from bug 2561.
5127
5128 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5129
5130 * sysdeps/x86_64/fpu/e_expf.S: New file.
5131 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5132
5133 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5134
5135 [BZ #13637]
5136 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5137 of remain_len that may cause incomplete multi-byte character and
5138 false match.
5139 * posix/bug-regex33.c: New file.
5140 * posix/Makefile (tests): Add bug-regex33.
5141
5142 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5143
5144 * manual/macros.texi: New file.
5145 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5146 * manual/libc.texinfo: Include macros.texi.
5147 * manual/creatute.texi: Likewise.
5148 * manual/install.texi: Likewise.
5149 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5150 @glibcadj{} in references to the GNU C Library.
5151 * manual/charset.texi: Likewise.
5152 * manual/conf.texi: Likewise.
5153 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5154 when not using those macros.
5155 * manual/creature.texi: Likewise.
5156 * manual/crypt.texi: Likewise.
5157 * manual/errno.texi: Likewise.
5158 * manual/filesys.texi: Likewise.
5159 * manual/header.texi: Likewise.
5160 * manual/install.texi: Likewise.
5161 * manual/intro.texi: Likewise.
5162 * manual/io.texi: Likewise.
5163 * manual/job.texi: Likewise.
5164 * manual/lang.texi: Likewise.
5165 * manual/libc.texiinfo: Likewise.
5166 * manual/llio.texi: Likewise.
5167 * manual/locale.texi: Likewise.
5168 * manual/maint.texi: Likewise.
5169 * manual/math.texi: Likewise.
5170 * manual/memory.texi: Likewise.
5171 * manual/message.texi: Likewise.
5172 * manual/nss.texi: Likewise.
5173 * manual/pattern.texi: Likewise.
5174 * manual/process.texi: Likewise.
5175 * manual/resource.texi: Likewise.
5176 * manual/search.texi: Likewise.
5177 * manual/setjmp.texi: Likewise.
5178 * manual/signal.texi: Likewise.
5179 * manual/socket.texi: Likewise.
5180 * manual/startup.texi: Likewise.
5181 * manual/stdio.texi: Likewise.
5182 * manual/string.texi: Likewise.
5183 * manual/sysinfo.texi: Likewise.
5184 * manual/syslog.texi: Likewise.
5185 * manual/terminal.texi: Likewise.
5186 * manual/time.texi: Likewise.
5187 * manual/users.texi: Likewise.
5188 * INSTALL: Regenerated.
5189 * NOTES: Regenerated.
5190 * sysdeps/gnu/errlist.c: Regenerated.
5191
5192 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5193
5194 * include/dirent.h: Include <dirstream.h> before
5195 <dirent/dirent.h>.
5196
5197 2012-02-28 David S. Miller <davem@davemloft.net>
5198
5199 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5200 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5201 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5202 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5203
5204 2012-02-27 David S. Miller <davem@davemloft.net>
5205
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5208 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5209 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5210
5211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5212 frame pointer instead of stack pointer relative arg slot.
5213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5214 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5215 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5216
5217 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5218
5219 [BZ #3992]
5220 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5221
5222 2012-02-27 David S. Miller <davem@davemloft.net>
5223
5224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5228 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5229 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5230 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5231 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5232
5233 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5234
5235 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5236 later. Allow versions 5-9.
5237 * configure: Regenerated.
5238 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5239 required minimum version and 4.6 as recommended version. Do not
5240 mention bugs in GCC 2.7 and 2.8.
5241 * INSTALL: Regenerated.
5242
5243 2012-02-27 David S. Miller <davem@davemloft.net>
5244
5245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5249 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5250 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5251 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5252 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5253
5254 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5255 manipulate bits before adding and subtracting TWO112[sx].
5256 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5257
5258 2012-02-27 Roland McGrath <roland@hack.frob.com>
5259
5260 [BZ #13775]
5261 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5262 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5263 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5264 being in POSIX, because they are in 1003.1-2008.
5265
5266 * rt/tst-aio.c: Include <fcntl.h>.
5267 * rt/tst-aio7.c: Likewise.
5268 * rt/tst-aio64.c: Likewise.
5269
5270 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5271
5272 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5273
5274 * manual/install.texi (--with-headers): Describe headers as
5275 interface headers, not private headers.
5276 (Specific advice for GNU/Linux systems): Describe use of headers
5277 from "make headers_install", not private headers from older
5278 kernels.
5279 * INSTALL: Regenerated.
5280 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5281 Change to 2.6.19.
5282 * sysdeps/unix/sysv/linux/configure: Regenerated.
5283
5284 * manual/llio.texi (fclean): Remove documentation.
5285
5286 * manual/Makefile (libc-texi-generated): New variable. Include
5287 version.texi.
5288 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5289 $(libc-texi-generated), not duplicated list of files.
5290 (version.texi, stamp-version): New rules.
5291 (realclean): Remove $(libc-texi-generated), not individual files
5292 from that list. Do not remove dir-add.texinfo.
5293 * manual/libc.texinfo: Comment out uses of edition numbers and
5294 references to printed manual. Remove last-updated dates.
5295 (EDITION): Comment out.
5296 (ISBN): Likewise.
5297 (VERSION, UPDATED): Remove.
5298 (version.texi): Include.
5299
5300 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5301
5302 * sysdeps/posix/spawni.c: Include <signal.h>.
5303 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5304 * sysdeps/pthread/aio_fsync.c: Likewise.
5305
5306 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5307
5308 * conform/Makefile (tests): Run only when not cross-compiling and
5309 when fast-check is not defined.
5310
5311 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5312 * conform/data/limits.h-data: Fixes for POSIX2008.
5313 * conform/run-conformtest.sh: Run all tests.
5314 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5315 headers.
5316 * include/bits/dlfcn.h: Likewise.
5317 * include/langinfo.h: Likewise.
5318 * include/monetary.h: Likewise.
5319 * include/sys/poll.h: Likewise.
5320
5321 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5322 for __USE_GNU.
5323 * posix/spawn.h: Define __need_sigset_t.
5324 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5325 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5326 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5327 to get sigevent_t only.
5328 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5329 only for __USE_GNU.
5330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5331 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5332 process_vm_writev only for __USE_GNU.
5333 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5334
5335 * conform/Makefile: For now ignore errors from run-conformtest.
5336 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5337 POSIX to avoid namespace pollution. Don't prepend headers.
5338 * conform/data/aio.h-data: Fixes for POSIX testing.
5339 * conform/data/fcntl.h-data: Likewise.
5340 * conform/data/glob.h-data: Likewise.
5341 * conform/data/grp.h-data: Likewise.
5342 * conform/data/pthread.h-data: Likewise.
5343 * conform/data/pwd.h-data: Likewise.
5344 * conform/data/signal.h-data: Likewise.
5345 * conform/data/spawn.h-data: Likewise.
5346 * conform/data/stdio.h-data: Likewise.
5347 * conform/data/stdlib.h-data: Likewise.
5348 * conform/data/stropts.h-data: Likewise.
5349 * conform/data/sys/mman.h-data: Likewise.
5350 * conform/data/sys/stat.h-data: Likewise.
5351 * conform/data/sys/types.h-data: Likewise.
5352 * conform/data/sys/wait.h-data: Likewise.
5353 * conform/data/time.h-data: Likewise.
5354 * conform/data/unistd.h-data: Likewise.
5355 * conform/data/utime.h-data: Likewise.
5356
5357 * io/sys/stat.h: fchmod was always in POSIX.
5358 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5359 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5360 * rt/aio.h: Define __need_timespec before including <time.h>.
5361 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5362 struct. Add forward declaration of pthread_attr_t and use it in
5363 sigevent.
5364 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5365 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5366 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5367 always remove CLK_TCK definition.
5368
5369 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5370
5371 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5372
5373 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5374
5375 * conform/run-conformtest.sh: New file.
5376 * conform/Makefile: Run run-conformtest for tests.
5377 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5378 support.
5379
5380 * conform/data/uchar.h-data: New file.
5381 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5382 * conform/data/arpa/inet.h-data: Likewise.
5383 * conform/data/assert.h-data: Likewise.
5384 * conform/data/complex.h-data: Likewise.
5385 * conform/data/cpio.h-data: Likewise.
5386 * conform/data/ctype.h-data: Likewise.
5387 * conform/data/dirent.h-data: Likewise.
5388 * conform/data/dlfcn.h-data: Likewise.
5389 * conform/data/errno.h-data: Likewise.
5390 * conform/data/fcntl.h-data: Likewise.
5391 * conform/data/float.h-data: Likewise.
5392 * conform/data/fmtmsg.h-data: Likewise.
5393 * conform/data/fnmatch.h-data: Likewise.
5394 * conform/data/ftw.h-data: Likewise.
5395 * conform/data/glob.h-data: Likewise.
5396 * conform/data/grp.h-data: Likewise.
5397 * conform/data/iconv.h-data: Likewise.
5398 * conform/data/inttypes.h-data: Likewise.
5399 * conform/data/langinfo.h-data: Likewise.
5400 * conform/data/libgen.h-data: Likewise.
5401 * conform/data/limits.h-data: Likewise.
5402 * conform/data/locale.h-data: Likewise.
5403 * conform/data/math.h-data: Likewise.
5404 * conform/data/monetary.h-data: Likewise.
5405 * conform/data/mqueue.h-data: Likewise.
5406 * conform/data/ndbm.h-data: Likewise.
5407 * conform/data/net/if.h-data: Likewise.
5408 * conform/data/netdb.h-data: Likewise.
5409 * conform/data/netinet/in.h-data: Likewise.
5410 * conform/data/nl_types.h-data: Likewise.
5411 * conform/data/poll.h-data: Likewise.
5412 * conform/data/pthread.h-data: Likewise.
5413 * conform/data/pwd.h-data: Likewise.
5414 * conform/data/regex.h-data: Likewise.
5415 * conform/data/sched.h-data: Likewise.
5416 * conform/data/search.h-data: Likewise.
5417 * conform/data/semaphore.h-data: Likewise.
5418 * conform/data/setjmp.h-data: Likewise.
5419 * conform/data/signal.h-data: Likewise.
5420 * conform/data/spawn.h-data: Likewise.
5421 * conform/data/stdarg.h-data: Likewise.
5422 * conform/data/stdio.h-data: Likewise.
5423 * conform/data/stdlib.h-data: Likewise.
5424 * conform/data/string.h-data: Likewise.
5425 * conform/data/strings.h-data: Likewise.
5426 * conform/data/stropts.h-data: Likewise.
5427 * conform/data/sys/ipc.h-data: Likewise.
5428 * conform/data/sys/mman.h-data: Likewise.
5429 * conform/data/sys/msg.h-data: Likewise.
5430 * conform/data/sys/resource.h-data: Likewise.
5431 * conform/data/sys/select.h-data: Likewise.
5432 * conform/data/sys/sem.h-data: Likewise.
5433 * conform/data/sys/shm.h-data: Likewise.
5434 * conform/data/sys/socket.h-data: Likewise.
5435 * conform/data/sys/stat.h-data: Likewise.
5436 * conform/data/sys/statvfs.h-data: Likewise.
5437 * conform/data/sys/time.h-data: Likewise.
5438 * conform/data/sys/timeb.h-data: Likewise.
5439 * conform/data/sys/times.h-data: Likewise.
5440 * conform/data/sys/types.h-data: Likewise.
5441 * conform/data/sys/uio.h-data: Likewise.
5442 * conform/data/sys/un.h-data: Likewise.
5443 * conform/data/sys/utsname.h-data: Likewise.
5444 * conform/data/sys/wait.h-data: Likewise.
5445 * conform/data/syslog.h-data: Likewise.
5446 * conform/data/tar.h-data: Likewise.
5447 * conform/data/termios.h-data: Likewise.
5448 * conform/data/utime.h-data: Likewise.
5449 * conform/data/utmpx.h-data: Likewise.
5450 * conform/data/varargs.h-data: Likewise.
5451 * conform/data/wchar.h-data: Likewise.
5452 * conform/data/wctype.h-data: Likewise.
5453 * conform/data/wordexp.h-data: Likewise.
5454
5455 * include/stropts.h: New file.
5456 * include/uchar.h: New file.
5457 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5458 * include/assert.h: Likewise.
5459 * include/ctype.h: Likewise.
5460 * include/dirent.h: Likewise.
5461 * include/dlfcn.h: Likewise.
5462 * include/fcntl.h: Likewise.
5463 * include/fnmatch.h: Likewise.
5464 * include/glob.h: Likewise.
5465 * include/grp.h: Likewise.
5466 * include/libio.h: Likewise.
5467 * include/locale.h: Likewise.
5468 * include/math.h: Likewise.
5469 * include/net/if.h: Likewise.
5470 * include/netdb.h: Likewise.
5471 * include/netinet/in.h: Likewise.
5472 * include/pthread.h: Likewise.
5473 * include/pwd.h: Likewise.
5474 * include/regex.h: Likewise.
5475 * include/sched.h: Likewise.
5476 * include/search.h: Likewise.
5477 * include/setjmp.h: Likewise.
5478 * include/signal.h: Likewise.
5479 * include/stdio.h: Likewise.
5480 * include/stdlib.h: Likewise.
5481 * include/string.h: Likewise.
5482 * include/sys/cdefs.h: Likewise.
5483 * include/sys/mman.h: Likewise.
5484 * include/sys/msg.h: Likewise.
5485 * include/sys/resource.h: Likewise.
5486 * include/sys/select.h: Likewise.
5487 * include/sys/socket.h: Likewise.
5488 * include/sys/stat.h: Likewise.
5489 * include/sys/statvfs.h: Likewise.
5490 * include/sys/time.h: Likewise.
5491 * include/sys/times.h: Likewise.
5492 * include/sys/uio.h: Likewise.
5493 * include/sys/utsname.h: Likewise.
5494 * include/sys/wait.h: Likewise.
5495 * include/termios.h: Likewise.
5496 * include/time.h: Likewise.
5497 * include/ulimit.h: Likewise.
5498 * include/unistd.h: Likewise.
5499 * include/utime.h: Likewise.
5500 * include/wchar.h: Likewise.
5501 * include/wctype.h: Likewise.
5502 * include/wordexp.h: Likewise.
5503
5504 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5505
5506 * time/time.h: TIME_UTC must be a macro.
5507 Make timespec_get available for ISO C11 only as well.
5508
5509 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5510
5511 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5512 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5513
5514 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5515
5516 * configure.in: Use -o not -a in test for unsupported multi-arch.
5517
5518 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5519
5520 * manual/texinfo.tex: Update to version 2012-01-19.16.
5521
5522 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5523
5524 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5525
5526 2012-02-24 Roland McGrath <roland@hack.frob.com>
5527
5528 [BZ #13738]
5529 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5530 * manual/fdl-1.3.texi: New file.
5531 * manual/fdl-1.1.texi: File removed.
5532
5533 [BZ #13738]
5534 * manual/libc.texinfo (FDL_VERSION): New @set.
5535 Use it for mention of FDL in cover text.
5536 (Documentation License): Use it in @include file name.
5537
5538 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5539 Roland McGrath <roland@hack.frob.com>
5540
5541 [BZ #5461]
5542 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5543 not LONG_LONG_MAX and LONG_LONG_MIN.
5544 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5545 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5546 name.
5547 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5548
5549 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5550
5551 [BZ #2547]
5552 [BZ #11365]
5553 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5554 manipulate bits before adding and subtracting TWO23[sx].
5555 * math/libm-test.inc (nearbyint_test): Add more tests.
5556
5557 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5558
5559 [BZ #2548]
5560 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5561 bits before adding and subtracting TWO23[sx].
5562 * math/libm-test.inc (rint_test): Add more tests.
5563 (rint_test_tonearest): Likewise.
5564 (rint_test_towardzero): Likewise.
5565 (rint_test_downward): Likewise.
5566 (rint_test_upward: Likewise.
5567
5568 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5569
5570 [BZ #10110]
5571 * include/stdc-predef.h: New file. Extracted from features.h.
5572 * include/features.h: Include stdc-predef.h.
5573 * Makefile (headers): Add stdc-predef.h.
5574 * CONFORMANCE (Compiler limitations): Update.
5575
5576 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5577
5578 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5579
5580 2012-02-21 David S. Miller <davem@davemloft.net>
5581
5582 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5583 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5584
5585 2012-02-20 David S. Miller <davem@davemloft.net>
5586
5587 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5588 using a normal save/restore sequence, rather than allocating a
5589 dummy stack frame just to store a frame pointer and restore.
5590 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5591
5592 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5593
5594 * manual/install.texi: Fix stray word in line-wrapped comment.
5595
5596 2012-02-20 David S. Miller <davem@davemloft.net>
5597
5598 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5599 both binutils and gcc support GOTDATA.
5600
5601 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5602 "rd %pc" in the PIC register setup sequences.
5603
5604 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5605 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5606 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5607 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5608 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5610 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5611 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5613 (SYSCALL_ERROR_HANDLER): Likewise.
5614 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5615 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5616 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5617 (SYSCALL_ERROR_HANDLER): Likewise.
5618
5619 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5620 (HAVE_GCC_GOTDATA): New.
5621 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5622 relocation support in both binutils and gcc.
5623 * sysdeps/sparc/elf/configure: Regenerate.
5624
5625 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5626 * sysdeps/sparc/sparc32/elf/configure: Delete.
5627 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5628 * sysdeps/sparc/sparc64/elf/configure: Delete.
5629 * sysdeps/sparc/elf/configure.in: New file.
5630 * sysdeps/sparc/elf/configure: Generate.
5631
5632 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5633 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5634 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5635 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5636 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5637
5638 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5639
5640 * manual/install.texi: Do not mention specific glibc version
5641 numbers.
5642 * manual/libc.texinfo (VERSION, UPDATED): Update.
5643 (@copying): Use @copyright{} and range of years.
5644
5645 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5646
5647 [BZ #13695]
5648 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5649 [crti.S not in sysdirs] (generated): Do not append.
5650 [crti.S not in sysdirs] (omit-deps): Likewise.
5651 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5652 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5653 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5654 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5655 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5656 Likewise.
5657 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5658 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5659 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5660 * csu/defs.awk: Remove file.
5661 * sysdeps/generic/initfini.c: Likewise.
5662 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5663 variable.
5664 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5665 Likewise.
5666
5667 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5668
5669 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5670 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5671 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5672 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5673 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5674 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5675 <bits/epoll.h>.
5676 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5677 (__EPOLL_PACKED): Define to empty if not defined by
5678 <bits/epoll.h>.
5679 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5681 bits/epoll.h.
5682
5683 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5684
5685 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5686 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5687 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5688 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5689 <bits/timerfd.h>.
5690 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5692 bits/timerfd.h.
5693
5694 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5695
5696 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5697 in C locale.
5698 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5699 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5700 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5702
5703 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5704
5705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5706 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5707
5708 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5709
5710 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5711 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5712 defined.
5713 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5714 Likewise.
5715 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5716 entry for 2.16.
5717
5718 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5719
5720 * math/w_acos.c: Use non-signaling floating-point comparisons.
5721 * math/w_acosf.c: Likewise.
5722 * math/w_acosh.c: Likewise.
5723 * math/w_acoshf.c: Likewise.
5724 * math/w_acoshl.c: Likewise.
5725 * math/w_acosl.c: Likewise.
5726 * math/w_asin.c: Likewise.
5727 * math/w_asinf.c: Likewise.
5728 * math/w_asinl.c: Likewise.
5729 * math/w_atanh.c: Likewise.
5730 * math/w_atanhf.c: Likewise.
5731 * math/w_atanhl.c: Likewise.
5732 * math/w_exp2.c: Likewise.
5733 * math/w_exp2f.c: Likewise.
5734 * math/w_exp2l.c: Likewise.
5735 * math/w_j0.c: Likewise.
5736 * math/w_j0f.c: Likewise.
5737 * math/w_j0l.c: Likewise.
5738 * math/w_j1.c: Likewise.
5739 * math/w_j1f.c: Likewise.
5740 * math/w_j1l.c: Likewise.
5741 * math/w_jn.c: Likewise.
5742 * math/w_jnf.c: Likewise.
5743 * math/w_log.c: Likewise.
5744 * math/w_log10.c: Likewise.
5745 * math/w_log10f.c: Likewise.
5746 * math/w_log10l.c: Likewise.
5747 * math/w_log2.c: Likewise.
5748 * math/w_log2f.c: Likewise.
5749 * math/w_log2l.c: Likewise.
5750 * math/w_logf.c: Likewise.
5751 * math/w_logl.c: Likewise.
5752 * math/w_sqrt.c: Likewise.
5753 * math/w_sqrtf.c: Likewise.
5754 * math/w_sqrtl.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5757 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5758 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5759 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5760
5761 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5762
5763 [BZ #9739]
5764 * manual/string.texi (strnlen): Use correct parameter name in
5765 equivalent expression.
5766
5767 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5768
5769 [BZ #11174]
5770 * manual/users.texi (seteuid): Consistently use neweuid for
5771 argument name.
5772
5773 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5774
5775 [BZ #13704]
5776 * manual/nss.texi (Services in the NSS configuration): Correct
5777 list of services in example configuration file.
5778
5779 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5780
5781 [BZ #11322]
5782 * manual/arith.texi: Remove statements about negative zero
5783 behaving identically to zero.
5784
5785 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5786
5787 [BZ #5993]
5788 * manual/install.texi: Do not document upgrading from libc5.
5789
5790 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5791
5792 [BZ #4596]
5793 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5794
5795 2012-02-18 David S. Miller <davem@davemloft.net>
5796
5797 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5798 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5799 %o7 across the call.
5800 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5801 instead.
5802 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5803 SETUP_PIC_REG_LEAF.
5804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5805 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5806 * sysdeps/sparc/crtn.S: Likewise.
5807
5808 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5809
5810 * aout/Makefile: Remove.
5811
5812 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5813
5814 [BZ #13058]
5815 * manual/examples/argp-ex1.c (main): Format definition in GNU
5816 style.
5817 * manual/examples/argp-ex2.c (main): Likewise.
5818 * manual/examples/argp-ex3.c (main): Likewise.
5819 * manual/examples/argp-ex4.c (main): Likewise.
5820 * manual/examples/longopt.c (main): Use new-style prototype
5821 definition.
5822 * manual/examples/strncat.c (main): Specify return type and use
5823 (void) for arguments.
5824 * manual/examples/subopt.c (main): Use char **argv argument.
5825
5826 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5827
5828 [BZ #5077]
5829 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5830 rounding modes.
5831
5832 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5833
5834 [BZ #6907]
5835 * manual/string.texi (strchr): Change when strchrnul is
5836 recommended.
5837
5838 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5839
5840 [BZ #174]
5841 * manual/locale.texi (setlocale): Document LOCPATH.
5842
5843 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5844
5845 [BZ #10210]
5846 * manual/process.texi (execle): Move @dots{} before last argument.
5847
5848 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5849
5850 [BZ #12047]
5851 * manual/charset.texi (Generic Charset Conversion): Fix typo
5852 (LC_TYPE -> LC_CTYPE).
5853
5854 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5855
5856 [BZ #5805]
5857 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5858 (scalbnf): Likewise.
5859 (scalbnl): Likewise.
5860 (scalbln): Likewise.
5861 (scalblnf): Likewise.
5862 (scalblnl): Likewise.
5863 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5864 (vwarnx): Likewise.
5865 (verr): Likewise.
5866 (verrx): Likewise.
5867 * manual/filesys.texi (telldir): Use braces around return type.
5868 * manual/llio.texi (mmap): Add space after comma.
5869 (mmap64): Likewise.
5870 * manual/math.texi (jn): Use @var{} on parameter names.
5871 (jnf): Likewise.
5872 (jnl): Likewise.
5873 (yn): Likewise.
5874 (ynf): Likewise.
5875 (ynl): Likewise.
5876 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5877 line.
5878 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5879 "...".
5880 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5881 (sched_get_priority_max): Likewise.
5882 * manual/signal.texi (sigvec): Add space after comma.
5883 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5884 names.
5885 (if_indextoname): Likewise.
5886 (if_freenameindex): Likewise.
5887 (sendto): Use ',' instead of '.' in prototype.
5888 * manual/startup.texi (syscall): Use @dots{} instead of literal
5889 "...".
5890 * manual/stdio.texi (__fpending): Separate initial words of
5891 paragraph from @deftypefun line.
5892 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5893 "...".
5894 (vsyslog): Use @var{} on parameter names.
5895 * manual/terminal.texi (stty): Use @var{} on parameter names.
5896 * manual/users.texi (getutmp): Use @var{} on parameter names.
5897 (getutmpx): Likewise.
5898
5899 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5900
5901 [BZ #6884]
5902 * manual/stdio.texi (fopen): Fix typos in description of
5903 ",ccs=STRING".
5904
5905 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5906
5907 [BZ #4026]
5908 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5909 get clock_id definition.
5910
5911 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5912
5913 [BZ #4822]
5914 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5915 (madvise): Cast every argument to void on its own.
5916
5917 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5918
5919 [BZ #9902]
5920 * manual/startup.texi (Exit Status): Fix typo.
5921
5922 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5923
5924 [BZ #10140]
5925 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5926 * manual/examples/argp-ex2.c: Likewise.
5927 * manual/examples/argp-ex3.c: Likewise.
5928
5929 2012-02-16 Richard Henderson <rth@redhat.com>
5930
5931 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5932 * sysdeps/s390/s390-32/initfini.c: Remove.
5933 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5934 * sysdeps/s390/s390-64/initfini.c: Remove.
5935
5936 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5937
5938 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5939 compiler output for sysdeps/generic/initfini.c.
5940 * sysdeps/sh/elf/initfini.c: Remove file.
5941
5942 2012-02-16 David S. Miller <davem@davemloft.net>
5943
5944 [BZ #11494]
5945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5946
5947 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5948 * sysdeps/sparc/crti.S: New file.
5949 * sysdeps/sparc/crtn.S: New file.
5950 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5951 * sysdeps/sparc/sparc64/Makefile: Likewise.
5952
5953 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5954
5955 [BZ #3335]
5956 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5957
5958 2012-02-15 Roland McGrath <roland@hack.frob.com>
5959
5960 [BZ #4822]
5961 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5962
5963 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5964 (write, read, close): Likewise.
5965 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5966
5967 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5968
5969 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5970 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5971 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5972 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5973 <bits/signalfd.h>.
5974 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5976 bits/signalfd.h.
5977
5978 2012-02-14 Marek Polacek <polacek@redhat.com>
5979
5980 * sysdeps/x86_64/crti.S: New file.
5981 * sysdeps/x86_64/crtn.S: New file.
5982 * sysdeps/x86_64/elf/initfini.c: Remove file.
5983
5984 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5985
5986 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5987 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5988 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5989 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5990 <bits/inotify.h>.
5991 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5993 bits/inotify.h.
5994
5995 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5996
5997 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5998 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5999 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6000 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6001 <bits/eventfd.h>.
6002 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6004 bits/eventfd.h.
6005
6006 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6007
6008 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6009 __feraiseexcept instead of feraiseexcept.
6010
6011 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6012 nanosleep invocations.
6013 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6014 strings, and add error checking for a nanosleep invocations.
6015
6016 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6017
6018 Replace FSF snail mail address with URLs, as per GNU coding standards.
6019 Most of the snail mail addresses were wrong anyway, and omitting
6020 them makes the source code easier to maintain. Almost all of the
6021 changes are to license notices and to locale LC_IDENTIFICATION
6022 addresses, except for this one:
6023 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6024 not its snail mail address.
6025
6026 2012-02-09 Richard Henderson <rth@twiddle.net>
6027
6028 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6029 of kernel-features.h.
6030
6031 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6032
6033 2012-02-08 Marek Polacek <polacek@redhat.com>
6034
6035 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6036 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6037 * sysdeps/gnu/_G_config.h: Likewise.
6038 * sysdeps/generic/_G_config.h: Likewise.
6039
6040 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6041
6042 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6043 tests.
6044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6045
6046 * sysdeps/powerpc/powerpc32/crti.S: New file.
6047 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6048 * sysdeps/powerpc/powerpc64/crti.S: New file.
6049 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6050
6051 * Makeconfig (have-initfini): Don't set.
6052 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6053 * configure.in (nopic_initfini): Don't substitute.
6054 * config.h.in (HAVE_INITFINI): Don't #undef.
6055 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6056 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6057
6058 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6059
6060 Support crti.S and crtn.S provided directly by architectures.
6061 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6062 [crti.S in sysdirs] (omit-deps): Likewise.
6063 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6064 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6065 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6066 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6067 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6068 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6069 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6070 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6071 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6072 compiler output for sysdeps/generic/initfini.c.
6073 * sysdeps/i386/elf/Makefile: Remove file.
6074 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6075
6076 2012-02-07 Marek Polacek <polacek@redhat.com>
6077
6078 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6079 * sysdeps/gnu/_G_config.h: Likewise.
6080 * sysdeps/mach/hurd/_G_config.h: Likewise.
6081
6082 2012-02-07 Marek Polacek <polacek@redhat.com>
6083
6084 * math/Makefile (tests): Add tst-CMPLX2.
6085 * math/tst-CMPLX2.c: New file.
6086
6087 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6088
6089 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6090
6091 * math/libm-test.inc (jn_test): Add missing L suffix.
6092
6093 2012-02-06 Marek Polacek <polacek@redhat.com>
6094
6095 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6096 * sysdeps/i386/fpu/e_powf.S: Likewise.
6097 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6098 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6099 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6100 * sysdeps/i386/fpu/e_pow.S: Likewise.
6101 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6102 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6103 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6104 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6105 * sysdeps/i386/fpu/e_log2.S: Likewise.
6106 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6107 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6108 * sysdeps/i386/fpu/e_powl.S: Likewise.
6109 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6110 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6111 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6112 * sysdeps/i386/fpu/e_logl.S: Likewise.
6113 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6114 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6115 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6116 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6118 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6119 * sysdeps/i386/fpu/e_log.S: Likewise.
6120 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6121 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6122 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6123 * sysdeps/i386/fpu/e_logf.S: Likewise.
6124 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6125 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6126 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6127 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6128 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6129 * sysdeps/i386/fpu/e_log10.S: Likewise.
6130 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6131 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6132 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6133 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6134 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6135 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6136 * sysdeps/i386/asm-syntax.h: Likewise.
6137 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6138 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6139 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6140 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6141 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6142 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6143 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6144 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6145 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6146 * sysdeps/powerpc/sysdep.h: Likewise.
6147 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6148 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6149
6150 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6151
6152 [BZ #411]
6153 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6154
6155 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6156
6157 * sysdeps/i386/sysdep.h: Include <features.h>.
6158 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6159 version.
6160
6161 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6162
6163 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6164 Define.
6165 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6166 LOAD_PIC_REG_STR.
6167
6168 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6169
6170 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6171 (SETUP_PIC_REG): Use GET_PC_THUNK.
6172 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6173 macro.
6174
6175 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6176
6177 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6178 for non-PIC compilation.
6179 (SETUP_PIC_REG): Add .p2align directive.
6180 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6181 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6182 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6183 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6184 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6185 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6186 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6187 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6188 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6189 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6190 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6191 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6192 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6193 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6194 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6195 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6196 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6197 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6198 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6199 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6200 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6201 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6202 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6203 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6206 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6207 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6208 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6209 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6210 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6211 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6212 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6213 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6214 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6215 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6216 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6217 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6218 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6219 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6220 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6221
6222 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6223
6224 * math/tst-CMPLX.c: Include <stdio.h>.
6225
6226 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6227
6228 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6229 float.
6230 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6231 * sysdeps/sparc/bits/mathdef.h: Likewise.
6232
6233 2012-01-31 Marek Polacek <polacek@redhat.com>
6234
6235 * libio/libio.h: Don't define _PARAMS.
6236 * locale/programs/config.h: Don't define PARAMS.
6237 * stdlib/strtol_l.c: Likewise.
6238 (__strtol_l): Remove PARAMS from the prototype.
6239
6240 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6241
6242 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6243 names. Just use the correct names. Remove unnecessary wrapper
6244 functions.
6245 * malloc/arena.c: Likewise.
6246 * malloc/hooks.c: Likewise.
6247
6248 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6249 ARENA_TEST says not to. Simplify test for creation of a new arena.
6250 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6251
6252 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6253
6254 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6255 into tail calls.
6256 (update_get_addr): New function.
6257 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6258 GET_ADDR_MODULE parameter.
6259
6260 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6261
6262 * crypt/cert.c: Remove __STDC__ conditionals.
6263 * crypt/crypt-entry.c: Likewise.
6264 * crypt/crypt_util.c: Likewise.
6265 * libio/filedoalloc.c: Likewise.
6266 * libio/fileops.c: Likewise.
6267 * libio/genops.c: Likewise.
6268 * libio/iofclose.c: Likewise.
6269 * libio/iofdopen.c: Likewise.
6270 * libio/iofopen.c: Likewise.
6271 * libio/iofopen64.c: Likewise.
6272 * libio/iogetdelim.c: Likewise.
6273 * libio/iopopen.c: Likewise.
6274 * libio/obprintf.c: Likewise.
6275 * libio/oldfileops.c: Likewise.
6276 * libio/oldiofclose.c: Likewise.
6277 * libio/oldiofdopen.c: Likewise.
6278 * libio/oldiofopen.c: Likewise.
6279 * libio/oldiopopen.c: Likewise.
6280 * libio/wfiledoalloc.c: Likewise.
6281 * libio/wgenops.c: Likewise.
6282 * locale/programs/xmalloc.c: Likewise.
6283 * misc/syslog.c: Likewise.
6284 * stdio-common/xbug.c: Likewise.
6285 * string/memchr.c: Likewise.
6286 * string/memcmp.c: Likewise.
6287 * string/memrchr.c: Likewise.
6288 * string/rawmemchr.c: Likewise.
6289 * sysdeps/posix/getcwd.c: Likewise.
6290 * time/strftime_l.c: Likewise.
6291
6292 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6293
6294 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6295 * config.make.in (config-cflags-sse2avx): Define.
6296 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6297 Fix typo.
6298
6299 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6300
6301 * scripts/config.guess: Update from upstream config git repository.
6302 * scripts/config.sub: Likewise.
6303
6304 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6305
6306 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6307 (EM_NUM): Update.
6308 (R_TILEPRO_*, R_TILEGX_*): New macros.
6309
6310 * scripts/firstversions.awk: Fix bug in version range handling.
6311
6312 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6313
6314 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6315
6316 * include/sys/epoll.h: New file.
6317 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6318 libc_hidden_def.
6319
6320 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6321
6322 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6323 Avoid unnecessary __WORDSIZE == 64 test.
6324 (fmaxf): Use VEX format if possible.
6325 (fmax): Likewise.
6326 (fminf): Likewise.
6327 (fmin): Likewise.
6328
6329 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6330 * math/math_private.h: Remove libc_fegetround* and
6331 libc_fesetround*.
6332 * sysdeps/i386/configure.in: Check for -msse2avx.
6333 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6334 also if SSE2AVX is defined.
6335 Remove libc_fegetround* and libc_fesetround*.
6336 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6337 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6338 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6339 of HAS_YMM_USABLE.
6340 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6341 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6343 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6344 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6345
6346 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6347
6348 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6349
6350 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6351 size is not set.
6352 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6353
6354 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6355
6356 [BZ #13618]
6357 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6358 relocation.
6359 * Makeconfig (libm): Define.
6360 * elf/Makefile: Add rules to build and run tst-relsort1.
6361 * elf/tst-relsort1.c: New file.
6362 * elf/tst-relsort1mod1.c: New file.
6363 * elf/tst-relsort1mod2.c: New file.
6364
6365 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6366
6367 * math/s_ldexp.c: Remove __STDC__ conditionals.
6368 * math/s_ldexpf.c: Likewise.
6369 * math/s_ldexpl.c: Likewise.
6370 * math/s_nextafter.c: Likewise.
6371 * math/s_nexttowardf.c: Likewise.
6372 * math/s_significand.c: Likewise.
6373 * math/s_significandf.c: Likewise.
6374 * math/s_significandl.c: Likewise.
6375 * math/w_jnl.c: Likewise.
6376 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6377 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6378 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6379 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6380 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6382 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6383 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6384 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6385 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6386 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6395 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6396 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6397 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6398 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6400 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6401 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6403 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6404 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6405 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6406 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6407 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6408 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6410 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6411 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6413 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6414 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6415 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6416 * sysdeps/ieee754/k_standard.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6478 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6483 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6491 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6492 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6496 * sysdeps/ieee754/s_matherr.c: Likewise.
6497 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6498 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6499 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6501
6502 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6503
6504 * crypt/md5.h: Remove __STDC__ conditionals.
6505 * libio/libioP.h: Likewise.
6506 * locale/programs/config.h: Likewise.
6507 * sysdeps/generic/sysdep.h: Likewise.
6508 * sysdeps/i386/asm-syntax.h: Likewise.
6509 * sysdeps/s390/asm-syntax.h: Likewise.
6510 * sysdeps/unix/sysdep.h: Likewise.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6513
6514 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6515
6516 * libio/libio.h: Remove __STDC__ conditionals.
6517 * malloc/obstack.h: Likewise.
6518 * math/complex.h: Likewise.
6519 * math/math.h: Likewise.
6520 * sysdeps/generic/_G_config.h: Likewise.
6521 * sysdeps/gnu/_G_config.h: Likewise.
6522 * sysdeps/mach/hurd/_G_config.h: Likewise.
6523 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6524 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6525 * sysdeps/sparc/bits/mathdef.h: Likewise.
6526
6527 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6528
6529 [BZ #13583]
6530 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6531 Clean up HAS_* macros.
6532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6533 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6534 possible.
6535 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6536 HAS_AVX.
6537 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6538 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6539 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6540 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6541 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6542
6543 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6544
6545 * elf/tst-unique3.cc (gets): Remove declaration.
6546 * elf/tst-unique3lib.cc (gets): Likewise.
6547 * elf/tst-unique3lib2.cc (gets): Likewise.
6548 * elf/tst-unique4.cc (gets): Likewise.
6549
6550 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6551
6552 * include/stdio.h: Add C++ protection. Add gets declarations and
6553 definitions.
6554 * debug/tst-chk1.c: Don't declare gets here.
6555 * stdio-common/tst-gets.c: Likewise.
6556
6557 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6558
6559 * posix/glob: Remove directory.
6560
6561 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6562
6563 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6564
6565 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6566
6567 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6568 of the non-standard EPFNOSUPPORT.
6569
6570 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6571
6572 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6573 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6574 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6575
6576 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6577
6578 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6579
6580 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6581
6582 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6583 transient errors.
6584 * nscd/grpcache.c (cache_addgr): Likewise.
6585 * nscd/hstcache.c (cache_addhst): Likewise.
6586 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6587 * nscd/pwdcache.c (cache_addpw): Likewise.
6588 * nscd/servicescache.c (cache_addserv): Likewise.
6589
6590 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6591
6592 * malloc/malloc.c: Various cleanups.
6593 * malloc/hooks.c: Likewise.
6594
6595 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6596 * stdlib/bug-fmtmsg1.c: New file.
6597
6598 * stdlib/fmtmsg.c (init): Add missing unlock.
6599 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6600
6601 2012-01-12 Marek Polacek <polacek@redhat.com>
6602
6603 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6604 and _GNU_SOURCE.
6605
6606 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6607
6608 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6609 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6610 macro to ensure uniqueness of label name.
6611 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6612 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6613
6614 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6615
6616 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6617
6618 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6619 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6620 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6622
6623 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6624
6625 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6626
6627 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6628 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6629 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6630
6631 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6632
6633 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6634 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6635 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6637
6638 * math/bits/math-finite.h: Add ldexp support.
6639
6640 2012-01-10 Marek Polacek <polacek@redhat.com>
6641
6642 * locale/programs/localedef.h (show_archive_content): Add noreturn
6643 attribute.
6644
6645 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6646
6647 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6648
6649 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6650
6651 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6652
6653 * io/Makefile (headers): Add bits/poll2.h.
6654
6655 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6656
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6658 typo #include statement.
6659
6660 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6661
6662 * include/sys/cdefs.h: Define __attribute_alloc_size.
6663 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6664 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6665 * elf/pldd.c: Likewise.
6666 * iconv/iconv_charmap.c: Likewise.
6667 * iconv/iconvconfig.c: Likewise.
6668 * iconv/strtab.c: Likewise.
6669 * locale/programs/locale.c: Likewise.
6670 * locale/programs/localedef.h: Likewise.
6671 * locale/programs/simple-hash.c: Likewise.
6672 * nscd/nscd.h: Likewise.
6673 * nss/makedb.c: Likewise.
6674 * sysdeps/generic/ldconfig.h: Likewise.
6675 * locale/programs/localedef.c: Remove xmalloc prototype.
6676 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6677
6678 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6679
6680 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6681 appropriate.
6682
6683 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6684
6685 * math/Makefile (tests): Add tst-CMPLX.
6686 * math/tst-CMPLX.c: New file.
6687
6688 * math/complex.h (CMPLXL): Fix typo.
6689
6690 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6691 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6692 GLIBC_2.16.
6693 * debug/tst-chk1.c: Add poll and ppoll tests.
6694 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6695 * include/sys/poll.h: Add hidden proto for ppoll.
6696 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6697 * sysdeps/mach/hurd/ppoll.c: Likewise.
6698 * io/ppoll.c: Likewise.
6699 * debug/poll_chk.c: New file.
6700 * debug/ppoll_chk.c: New file.
6701 * include/bits/poll2.h: New file.
6702 * io/bits/poll2.h: New file.
6703
6704 [BZ #1350]
6705 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6706
6707 * configure.in: static is always set to yes. Remove.
6708 * config.make.in: Don't set build-static.
6709 * Makeconfig: Remove use of build-static.
6710 * dlfcn/Makefile: Likewise.
6711 * elf/Makefile: Likewise.
6712 * math/Makefile: Likewise.
6713 * misc/Makefile: Likewise.
6714 * nptl/Makefile: Likewise.
6715 * sysdeps/mach/hurd/Makefile: Likewise.
6716
6717 * configure.in: PWD_P is not used anymore.
6718 * config.make.in: Remove PWD_P entry.
6719
6720 * configure.in: Remove last remnants of RANLIB.
6721 No need to check for signed size_t anymore.
6722 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6723 and IA-64.
6724 Remove __builtin_expect test because we require at least gcc 3.4.
6725 * aclocal.m4: Likewise.
6726
6727 * wcsmbs/mbrtoc16.c: Implement using towc function.
6728 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6729 * wcsmbs/wcsmbsload.c: Likewise.
6730 * iconv/gconv_simple.c: Likewise.
6731 * iconv/gconv_int.h: Likewise.
6732 * iconv/gconv_builtin.h: Likewise.
6733 * iconv/iconv_prog.c: Remove CHAR16 handling.
6734
6735 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6736
6737 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6738
6739 * configure.in: Remove --with-elf and --enable-bounded options.
6740 Dont set base_machine for ia64. More non-ELF conditions removed.
6741 Remove testing and setting of leading underscore information.
6742 * config.make.in (build-bounded): Set to no.
6743 * config.h.in: Remove NO_UNDERSCORES entry.
6744 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6745 them.
6746 * csu/start.c: Remove !NO_UNDERSCORE code.
6747 * locale/localeinfo.h: Likewise.
6748 * sysdeps/generic/machine-gmon.h: Likewise.
6749 * sysdeps/generic/sysdep.h: Likewise.
6750 * sysdeps/i386/sysdep.h: Likewise.
6751 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6752 * sysdeps/mach/sysdep.h: Likewise.
6753 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6754 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6755 * sysdeps/sh/sysdep.h: Likewise.
6756 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6757 * sysdeps/unix/i386/sysdep.S: Likewise.
6758 * sysdeps/unix/sparc/start.c: Likewise.
6759 * sysdeps/unix/sparc/sysdep.S: Likewise.
6760 * sysdeps/unix/sparc/sysdep.h: Likewise.
6761 * sysdeps/unix/start.c: Likewise.
6762 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6763 * sysdeps/x86_64/sysdep.h: Likewise.
6764
6765 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6766
6767 [BZ #13553]
6768 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6769 for non-gcc.
6770 * argp/argp-fmtstream.h: Use const instead __const.
6771 * argp/argp.h: Likewise.
6772 * assert/assert.h: Likewise.
6773 * bits/fenv.h: Likewise.
6774 * bits/sched.h: Likewise.
6775 * bits/sigset.h: Likewise.
6776 * bits/sigthread.h: Likewise.
6777 * catgets/nl_types.h: Likewise.
6778 * conform/data/pthread.h-data: Likewise.
6779 * crypt/crypt-private.h: Likewise.
6780 * crypt/crypt.h: Likewise.
6781 * crypt/crypt_util.c: Likewise.
6782 * ctype/ctype.h: Likewise.
6783 * debug/execinfo.h: Likewise.
6784 * debug/mbsnrtowcs_chk.c: Likewise.
6785 * debug/mbsrtowcs_chk.c: Likewise.
6786 * debug/wcsnrtombs_chk.c: Likewise.
6787 * debug/wcsrtombs_chk.c: Likewise.
6788 * debug/wcstombs_chk.c: Likewise.
6789 * dirent/dirent.h: Likewise.
6790 * dlfcn/dlfcn.h: Likewise.
6791 * elf/neededtest4.c: Likewise.
6792 * grp/grp.h: Likewise.
6793 * gshadow/gshadow.h: Likewise.
6794 * iconv/gconv.h: Likewise.
6795 * iconv/gconv_int.h: Likewise.
6796 * iconv/gconv_simple.c: Likewise.
6797 * iconv/iconv.h: Likewise.
6798 * iconv/loop.c: Likewise.
6799 * iconv/skeleton.c: Likewise.
6800 * include/aio.h: Likewise.
6801 * include/aliases.h: Likewise.
6802 * include/argz.h: Likewise.
6803 * include/arpa/inet.h: Likewise.
6804 * include/assert.h: Likewise.
6805 * include/dirent.h: Likewise.
6806 * include/dlfcn.h: Likewise.
6807 * include/execinfo.h: Likewise.
6808 * include/fcntl.h: Likewise.
6809 * include/fenv.h: Likewise.
6810 * include/glob.h: Likewise.
6811 * include/grp.h: Likewise.
6812 * include/libintl.h: Likewise.
6813 * include/mntent.h: Likewise.
6814 * include/netdb.h: Likewise.
6815 * include/pwd.h: Likewise.
6816 * include/rpc/netdb.h: Likewise.
6817 * include/sched.h: Likewise.
6818 * include/search.h: Likewise.
6819 * include/shadow.h: Likewise.
6820 * include/signal.h: Likewise.
6821 * include/stdio.h: Likewise.
6822 * include/stdlib.h: Likewise.
6823 * include/string.h: Likewise.
6824 * include/sys/socket.h: Likewise.
6825 * include/sys/stat.h: Likewise.
6826 * include/sys/statfs.h: Likewise.
6827 * include/sys/statvfs.h: Likewise.
6828 * include/sys/syslog.h: Likewise.
6829 * include/sys/time.h: Likewise.
6830 * include/sys/uio.h: Likewise.
6831 * include/time.h: Likewise.
6832 * include/unistd.h: Likewise.
6833 * include/utmp.h: Likewise.
6834 * include/wchar.h: Likewise.
6835 * include/wctype.h: Likewise.
6836 * inet/aliases.h: Likewise.
6837 * inet/arpa/inet.h: Likewise.
6838 * inet/netinet/ether.h: Likewise.
6839 * inet/netinet/in.h: Likewise.
6840 * intl/libintl.h: Likewise.
6841 * io/bits/fcntl2.h: Likewise.
6842 * io/fcntl.h: Likewise.
6843 * io/ftw.h: Likewise.
6844 * io/sys/poll.h: Likewise.
6845 * io/sys/stat.h: Likewise.
6846 * io/sys/statfs.h: Likewise.
6847 * io/sys/statvfs.h: Likewise.
6848 * io/utime.h: Likewise.
6849 * libio/bits/stdio.h: Likewise.
6850 * libio/bits/stdio2.h: Likewise.
6851 * libio/libio.h: Likewise.
6852 * libio/libioP.h: Likewise.
6853 * libio/stdio.h: Likewise.
6854 * locale/lc-ctype.c: Likewise.
6855 * locale/locale.h: Likewise.
6856 * login/utmp.h: Likewise.
6857 * malloc/arena.c: Likewise.
6858 * malloc/malloc.c: Likewise.
6859 * malloc/malloc.h: Likewise.
6860 * malloc/mcheck.c: Likewise.
6861 * malloc/mtrace.c: Likewise.
6862 * math/bits/mathcalls.h: Likewise.
6863 * math/fenv.h: Likewise.
6864 * math/math_private.h: Likewise.
6865 * misc/bits/error.h: Likewise.
6866 * misc/bits/syslog.h: Likewise.
6867 * misc/err.h: Likewise.
6868 * misc/error.h: Likewise.
6869 * misc/fstab.h: Likewise.
6870 * misc/mntent.h: Likewise.
6871 * misc/regexp.h: Likewise.
6872 * misc/search.h: Likewise.
6873 * misc/sgtty.h: Likewise.
6874 * misc/sys/mman.h: Likewise.
6875 * misc/sys/syslog.h: Likewise.
6876 * misc/sys/uio.h: Likewise.
6877 * misc/sys/xattr.h: Likewise.
6878 * misc/ttyent.h: Likewise.
6879 * nis/rpcsvc/ypclnt.h: Likewise.
6880 * nss/nss.h: Likewise.
6881 * posix/bits/unistd.h: Likewise.
6882 * posix/fnmatch.h: Likewise.
6883 * posix/glob.h: Likewise.
6884 * posix/sched.h: Likewise.
6885 * posix/spawn.h: Likewise.
6886 * posix/sys/wait.h: Likewise.
6887 * posix/unistd.h: Likewise.
6888 * posix/wordexp.h: Likewise.
6889 * pwd/pwd.h: Likewise.
6890 * resolv/netdb.h: Likewise.
6891 * resource/sys/resource.h: Likewise.
6892 * rt/aio.h: Likewise.
6893 * rt/bits/mqueue2.h: Likewise.
6894 * rt/mqueue.h: Likewise.
6895 * shadow/shadow.h: Likewise.
6896 * signal/signal.h: Likewise.
6897 * socket/send.c: Likewise.
6898 * socket/sendto.c: Likewise.
6899 * socket/sys/socket.h: Likewise.
6900 * stdio-common/printf.h: Likewise.
6901 * stdlib/bits/stdlib.h: Likewise.
6902 * stdlib/fmtmsg.h: Likewise.
6903 * stdlib/monetary.h: Likewise.
6904 * stdlib/stdlib.h: Likewise.
6905 * stdlib/ucontext.h: Likewise.
6906 * streams/stropts.h: Likewise.
6907 * string/argz.h: Likewise.
6908 * string/bits/string2.h: Likewise.
6909 * string/string.h: Likewise.
6910 * string/strings.h: Likewise.
6911 * sunrpc/rpc/auth.h: Likewise.
6912 * sunrpc/rpc/auth_des.h: Likewise.
6913 * sunrpc/rpc/clnt.h: Likewise.
6914 * sunrpc/rpc/netdb.h: Likewise.
6915 * sunrpc/rpc/pmap_clnt.h: Likewise.
6916 * sunrpc/rpc/xdr.h: Likewise.
6917 * sysdeps/generic/inttypes.h: Likewise.
6918 * sysdeps/generic/net/if.h: Likewise.
6919 * sysdeps/generic/sys/swap.h: Likewise.
6920 * sysdeps/gnu/net/if.h: Likewise.
6921 * sysdeps/gnu/utmpx.h: Likewise.
6922 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6923 * sysdeps/i386/i486/bits/string.h: Likewise.
6924 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6925 * sysdeps/s390/bits/string.h: Likewise.
6926 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6927 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6928 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6929 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6930 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6931 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6932 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6933 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6934 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6935 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6936 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6937 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6938 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6939 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6940 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6941 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6942 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6945 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6946 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6947 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6948 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6949 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6950 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6951 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6952 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6953 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6954 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6955 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6956 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6957 * sysvipc/sys/ipc.h: Likewise.
6958 * sysvipc/sys/msg.h: Likewise.
6959 * sysvipc/sys/sem.h: Likewise.
6960 * sysvipc/sys/shm.h: Likewise.
6961 * termios/termios.h: Likewise.
6962 * time/sys/time.h: Likewise.
6963 * time/time.h: Likewise.
6964 * wcsmbs/bits/wchar2.h: Likewise.
6965 * wcsmbs/uchar.h: Likewise.
6966 * wcsmbs/wchar.h: Likewise.
6967 * wctype/wctype.h: Likewise.
6968
6969 [BZ #13551]
6970 * Makeconfig: Remove all but ELF support including AIX support.
6971 * Makerules: Likewise.
6972 * config.h.in: Likewise.
6973 * config.make.in: Likewise.
6974 * configure: Likewise.
6975 * configure.in: Likewise.
6976 * csu/Makefile: Likewise.
6977 * csu/version.c: Likewise.
6978 * debug/Makefile: Likewise.
6979 * dlfcn/Makefile: Likewise.
6980 * elf/Makefile: Likewise.
6981 * extra-lib.mk: Likewise.
6982 * iconv/Makefile: Likewise.
6983 * include/libc-symbols.h: Likewise.
6984 * include/shlib-compat.h: Likewise.
6985 * resolv/Makefile: Likewise.
6986 * resolv/res_libc.c: Likewise.
6987 * rt/Makefile: Likewise.
6988 * sysdeps/i386/asm-syntax.h: Likewise.
6989 * sysdeps/i386/sysdep.h: Likewise.
6990 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6991 * sysdeps/mach/sysdep.h: Likewise.
6992 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6993 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6994 * sysdeps/s390/asm-syntax.h: Likewise.
6995 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6996 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6997 * sysdeps/sh/sysdep.h: Likewise.
6998 * sysdeps/unix/sparc/sysdep.h: Likewise.
6999 * sysdeps/wordsize-32/divdi3.c: Likewise.
7000 * sysdeps/x86_64/sysdep.h: Likewise.
7001
7002 * argp/Versions: Remove _argp_unlock_xxx.
7003
7004 [BZ #13559]
7005 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7006 * abilist/libBrokenLocale.abilist: Likewise.
7007 * abilist/libanl.abilist: Likewise.
7008 * abilist/libc.abilist: Likewise.
7009 * abilist/libcrypt.abilist: Likewise.
7010 * abilist/libdl.abilist: Likewise.
7011 * abilist/libm.abilist: Likewise.
7012 * abilist/libnsl.abilist: Likewise.
7013 * abilist/libpthread.abilist: Likewise.
7014 * abilist/libresolv.abilist: Likewise.
7015 * abilist/librt.abilist: Likewise.
7016 * abilist/libthread_db.abilist: Likewise.
7017 * abilist/libutil.abilist: Likewise.
7018 * abilist/libnss_db.abilist: New file.
7019
7020 * scripts/abilist.awk: Add support for indirect functions.
7021
7022 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7023
7024 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7025
7026 * shlib-versions: Remove entries for ports architectures.
7027
7028 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7029 files in ports.
7030 * elf/stackguard-macros.h: Remove support for IA-64.
7031 * elf/tst-auditmod1.c: Likewise.
7032 * sysdeps/generic/ldsodefs.h: Likewise.
7033
7034 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7035 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7036 configure files.
7037
7038 [BZ #13552]
7039 * configure.in: Remove --enable-omitfp support.
7040 * FAQ.in: Adjust.
7041 * config.make.in: Likewise.
7042 * Makeconfig: Likewise.
7043 * manual/install.texi: Likewise.
7044
7045 In case anyone cares, the IA-64 architecture could move to ports.
7046 * sysdeps/ia64/*: Removed.
7047 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7048 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7049
7050 [BZ #13555]
7051 * configure.in: Remove entries for unsupported architectures.
7052
7053 [BZ #13533]
7054 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7055 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7056 routines.
7057 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7058 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7059 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7060 fall back to using wcrtomb.
7061 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7062 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7063 renaming.
7064 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7065 * wcsmbs/tst-c16c32-1.c: New file.
7066
7067 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7068 local variable.
7069
7070 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7071
7072 * elf/tst-unique3.cc: Add explicit declaration of gets.
7073 * elf/tst-unique3lib.cc: Likewise.
7074 * elf/tst-unique3lib2.cc: Likewise.
7075 * elf/tst-unique4.cc: Likewise.
7076
7077 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7078
7079 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7080
7081 [BZ #13566]
7082 * assert/assert.h (static_assert): Don't define for C++.
7083 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7084 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7085
7086 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7087
7088 * iconv/loop.c (single loop): Fix assertion in storing of
7089 remaining bytes.
7090
7091 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7092
7093 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7094
7095 * posix/getconf.c: Update copyright year.
7096 * nss/getent.c: Likewise.
7097 * nss/makedb.c: Likewise.
7098 * iconv/iconvconfig.c: Likewise.
7099 * iconv/iconv_prog.c: Likewise.
7100 * elf/ldconfig.c: Likewise.
7101 * elf/pldd.c: Likewise.
7102 * elf/sotruss.ksh: Likewise.
7103 * catgets/gencat.c: Likewise.
7104 * csu/version.c: Likewise.
7105 * elf/ldd.bash.in: Likewise.
7106 * elf/sprof.c (print_version): Likewise.
7107 * locale/programs/locale.c: Likewise.
7108 * locale/programs/localedef.c: Likewise.
7109 * login/programs/pt_chown.c: Likewise.
7110 * nscd/nscd.c (print_version): Likewise.
7111 * debug/xtrace.sh: Likewise.
7112 * malloc/memusage.sh: Likewise.
7113 * malloc/mtrace.pl: Likewise.
7114 * debug/catchsegv.sh: Likewise.
7115
7116 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7117
7118 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7119 pure attribute.
7120
7121 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7122
7123 [BZ #13533]
7124 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7125 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7126 transformations.
7127 * iconv/gconv_int.h: Likewise.
7128 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7129 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7130 from libc for GLIBC_2.16.
7131 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7132 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7133 * wcsmbs/uchar.h: Really define mbstate_t.
7134 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7135 * wcsmbs/c16rtomb.c: New file.
7136 * wcsmbs/mbrtoc16.c: New file.
7137 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7138 for C/POSIX locale.
7139 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7140 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7141
7142 * wcsmbs/wchar.h: Add missing __restrict.
7143
7144 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7145
7146 [BZ #13532]
7147 * time/Makefile (routines): Add timespec_get.
7148 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7149 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7150 timespec for ISO C11.
7151 * time/timespec_get.c: New file.
7152 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7153 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7154
7155 [BZ #13531]
7156 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7157 * stdlib/stdlib.h: Declare aligned_alloc.
7158 * Versions.def: Add GLIBC_2.16 for libc.
7159 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7160
7161 [BZ 13527]
7162 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7163 ISO C11.
7164
7165 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7166 code.
7167
7168 [BZ #13528]
7169 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7170
7171 [BZ #13529]
7172 * assert/assert.h (static_assert): Define.
7173
7174 * version.h: Update for 2.16 development version.
7175
7176 [BZ #13526]
7177 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7178 _ISOC11_SOURCE.
7179
7180 * version.h (RELEASE): Bump for 2.15 release.
7181 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7182
7183 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7184 Patch by Marek Polacek <mpolacek@redhat.com>.
7185
7186 * bits/byteswap.h: Protect long long constants with __extension__.
7187 * sysdeps/i386/bits/byteswap.h: Likewise.
7188 * sysdeps/ia64/bits/byteswap.h: Likewise.
7189 * sysdeps/s390/bits/byteswap.h: Likewise.
7190 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7191
7192 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7193
7194 [BZ #13540]
7195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7196 destination buffer.
7197 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7198
7199 2011-12-23 Marek Polacek <polacek@redhat.com>
7200
7201 * elf/dl-addr.c (determine_info): Add inline keyword.
7202 * elf/tst-auditmod4b.c (check_avx): Likewise.
7203 * elf/tst-auditmod6b.c (check_avx): Likewise.
7204 * elf/tst-auditmod6c.c (check_avx): Likewise.
7205 * elf/tst-auditmod7b.c (check_avx): Likewise.
7206
7207 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7208
7209 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7210 !__SSE_MATH__.
7211
7212 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7213
7214 [BZ #13540]
7215 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7216 processing for last bytes.
7217
7218 2011-08-06 Bruno Haible <bruno@clisp.org>
7219
7220 [BZ #13061]
7221 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7222 U+0385, not to U+1FEE.
7223
7224 [BZ #13062]
7225 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7226 entry for U+00A5 U+0301.
7227
7228 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7229
7230 [BZ #13166]
7231 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7232 buffer for the output is too small.
7233
7234 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7235 optimization.
7236
7237 [BZ #13185]
7238 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7239 SSE flags if possible.
7240
7241 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7242
7243 [BZ #13540]
7244 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7245 processing for last bytes.
7246
7247 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7248
7249 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7250 (syscall-list-default-options, syscall-list-default-condition)
7251 (syscall-list-includes): Define.
7252 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7253 list of ABIs and options and #if conditions for each ABI. Do not
7254 handle common syscalls between ABIs specially.
7255 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7256 Remove.
7257 (syscall-list-variants, syscall-list-32bit-options)
7258 (syscall-list-32bit-condition, syscall-list-64bit-options)
7259 (syscall-list-64bit-condition): Define.
7260 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7261 (syscall-list-variants, syscall-list-32bit-options)
7262 (syscall-list-32bit-condition, syscall-list-64bit-options)
7263 (syscall-list-64bit-condition): Define.
7264 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7265 Remove.
7266 (syscall-list-variants, syscall-list-32bit-options)
7267 (syscall-list-32bit-condition, syscall-list-64bit-options)
7268 (syscall-list-64bit-condition): Define.
7269 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7270 Remove.
7271 (syscall-list-variants, syscall-list-32bit-options)
7272 (syscall-list-32bit-condition, syscall-list-64bit-options)
7273 (syscall-list-64bit-condition): Define.
7274
7275 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7276
7277 * locale/iso-639.def: Add brx entry.
7278
7279 [BZ #13328]
7280 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7281 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7282
7283 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7284 __feraiseexcept_renamed.
7285
7286 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7287
7288 [BZ #13538]
7289 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7290 EPOLLET with unsigned values.
7291 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7293
7294 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7295 to large cancellation.
7296 * math/s_cacoshf.c: Likewise.
7297 * math/s_cacoshl.c: Likewise.
7298
7299 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7300
7301 [BZ #13305]
7302 [BZ #12786]
7303 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7304 * math/s_cacoshf.c: Likewise.
7305 * math/s_cacoshl.c: Likewise.
7306
7307 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7308
7309 [BZ #13439]
7310 * iconv/gconv.h: Define __GCONV_SWAP.
7311 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7312 * iconvdata/utf-16.c: Likewise.
7313 * iconvdata/utf-32.c: Likewise.
7314
7315 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7316
7317 [BZ #13524]
7318 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7319 numerator after shifting it by one limb.
7320
7321 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7322
7323 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7324 under [__USE_EXTERN_INLINES].
7325
7326 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7327
7328 [BZ #13446]
7329 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7330
7331 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7332
7333 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7334 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7335 optimized code.
7336 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7337 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7338 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7339 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7340 for strncasecmp/strncasecmp_l compilation.
7341 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7342 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7343
7344 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7345
7346 [BZ #13484]
7347 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7348 of __asm__.
7349
7350 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7351
7352 [BZ #13506]
7353 * time/tzfile.c (__tzfile_read): Check values from file header.
7354
7355 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7356
7357 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7358 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7359 * powerpc/powerpc32/dl-start.S: Likewise.
7360 * powerpc/powerpc32/elf/start.S: Likewise.
7361 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7362 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7363 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7364 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7365 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7366 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7367 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7368 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7369 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7370 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7371 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7372 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7373 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7374 * powerpc/powerpc32/memset.S: Likewise.
7375 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7376 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7377 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7378 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7379 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7380 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7381 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7382 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7383 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7384 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7385 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7386 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7387 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7388
7389 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7390
7391 * math/libm-test.inc: Added more nearbyint tests.
7392 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7393 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7394 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7395 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7396
7397 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7398
7399 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7400 FD_CLOEXEC.
7401
7402 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7403
7404 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7405 Add wcscpy-ssse3 wcscpy-c.
7406 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7407 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7408 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7409 * sysdeps/x86_64/wcschr.S: New file.
7410 * sysdeps/x86_64/wcsrchr.S: New file.
7411 * string/test-strcmp.c: Remove checking of wcscmp function for
7412 wrong alignments.
7413 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7414 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7415 wcsrchr-sse2 wcsrchr-c.
7416 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7417 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7418 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7419 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7420 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7421 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7422 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7423 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7424 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7425 * wcsmbc/wcschr.c (WCSCHR): New macro.
7426
7427 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7428
7429 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7430 * wcsmbs/test-wcsrchr.c: New file.
7431 * string/test-strrchr.c: Add wcsrchr support.
7432 (WIDE): New macro.
7433 * wcsmbs/test-wcscpy.c: New file.
7434 * string/test-strcpy.c: Add wcscpy support.
7435 (WIDE): New macro.
7436
7437 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7438
7439 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7440 the inner loop.
7441
7442 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7443
7444 [BZ #13472]
7445 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7446
7447 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7448
7449 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7450 Minor optimizations.
7451
7452 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7453 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7454 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7455
7456 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7457
7458 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7459 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7460 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7461 for gcc to avoid warnings.
7462 * inet/Makefile (tests): Add tst-checks.
7463 * inet/tst-checks.c: New file.
7464
7465 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7466 warning.
7467
7468 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7469 __wmemcmp_sse2.
7470
7471 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7472 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7473
7474 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7475
7476 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7477
7478 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7479 problem.
7480
7481 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7482
7483 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7484
7485 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7486 conditional on GCC version.
7487 (__arch_compare_and_exchange_val_8_acq)
7488 (__arch_compare_and_exchange_val_16_acq)
7489 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7490 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7491 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7492
7493 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7494
7495 * sysdeps/sh/backtrace.c: New file.
7496
7497 2011-12-02 Andreas Schwab <schwab@redhat.com>
7498
7499 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7500 parenthesis.
7501
7502 2011-12-01 Andreas Schwab <schwab@redhat.com>
7503
7504 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7505 falling back to utime.
7506
7507 2011-11-30 Andreas Schwab <schwab@redhat.com>
7508
7509 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7510 expectations for float.
7511
7512 2011-11-29 Andreas Schwab <schwab@redhat.com>
7513
7514 * locale/weight.h (findidx): Add parameter len.
7515 * locale/weightwc.h (findidx): Likewise.
7516 * posix/fnmatch_loop.c (FCT): Adjust caller.
7517 * posix/regcomp.c (build_equiv_class): Likewise.
7518 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7519 * posix/regexec.c (check_node_accept_bytes): Likewise.
7520 * string/strcoll_l.c (STRCOLL): Likewise.
7521 * string/strxfrm_l.c (STRXFRM): Likewise.
7522
7523 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7524
7525 * Makefile.in: Remove CVSOPT handling.
7526 * configure.in: Remove use of AC_REVISION.
7527 * iconvdata/Makefile (distribute): No need to filter out CVS.
7528 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7529 handling.
7530
7531 2011-11-16 Andreas Schwab <schwab@redhat.com>
7532
7533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7534 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7535 [USE_AS_STRNCASECMP_L]: Likewise.
7536 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7537 NO_TLS_DIRECT_SEG_REFS.
7538 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7539 Fix argument offsets for non-PIC.
7540 [USE_AS_STRNCASECMP_L]: Likewise.
7541 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7542 NO_TLS_DIRECT_SEG_REFS.
7543
7544 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7545
7546 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7547 O_CLOEXEC.
7548 * locale/loadlocale.c (_nl_load_locale): Likewise.
7549
7550 2011-11-15 Andreas Schwab <schwab@redhat.com>
7551
7552 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7553 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7555 (SYSCALL_GETTIME): Set errno on error.
7556
7557 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7558 count references to noai6ai_cached.
7559
7560 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7561
7562 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7563
7564 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7565 FD_CLOEXEC for /proc/self/maps.
7566
7567 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7568 FD_CLOEXEC for /proc/meminfo.
7569
7570 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7571 gai.conf.
7572
7573 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7574 FD_CLOEXEC for given file.
7575
7576 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7577
7578 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7579 FD_CLOEXEC for /etc/hosts.
7580 (_gethtent): Likewise.
7581
7582 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7583
7584 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7585 cancellation and set FD_CLOEXEC for /etc/netgroup.
7586
7587 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7588 reading /etc/publickey.
7589
7590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7591 allow cancellation when reading /etc/group.
7592
7593 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7594 cancellation.
7595 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7596
7597 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7598 when using data file.
7599
7600 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7601
7602 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7603 (write_nis_obj): Use "c" and "e" in fopen.
7604
7605 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7606
7607 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7608
7609 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7610
7611 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7612
7613 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7614 locale.alias.
7615
7616 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7617
7618 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7619
7620 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7621
7622 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7623 file parsing and set FD_CLOEXEC.
7624
7625 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7626
7627 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7628
7629 2011-11-14 Andreas Schwab <schwab@redhat.com>
7630
7631 * malloc/arena.c (arena_get2): Don't call reused_arena when
7632 _int_new_arena failed.
7633
7634 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7635
7636 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7637 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7638 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7639 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7640 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7641 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7642 to compile strcasecmp and strncasecmp.
7643 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7644 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7645
7646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7647
7648 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7649
7650 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7651 locale-defines.sym to gen-as-const-headers.
7652 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7653 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7655 to compile strcasecmp and strncasecmp.
7656 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7657 strcasecmp_l and strncasecmp_l.
7658 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7659 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7660 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7662 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7663 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7664 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7665 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7666 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7667 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7668 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7669
7670 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7671
7672 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7673 result of SYSDEP_GETTIME_CPU to retval.
7674 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7675 parameter list to macro. Remove trailing semicolon. Adjust users.
7676
7677 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7678 variable.
7679
7680 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7681 mantissa words.
7682 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7683
7684 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7685 from unused variable.
7686
7687 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7688 DWARF definitions.
7689 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7690 for assembling.
7691
7692 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7693 over namespaces.
7694
7695 * sunrpc/rpc_prot.c (rejected): Fix case value.
7696
7697 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7698 unsigned long long int to avoid warnings in shift.
7699
7700 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7701 of use of trans.
7702 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7703 variable tmp.
7704
7705 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7706 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7707 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7708
7709 * nis/nis_table.c (nis_list): Use variable of correct type for
7710 result of __follow_path call.
7711
7712 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713
7714 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7715 of math functions ceil, trunc, floor, round, and sqrt, when
7716 avaliable on the platform.
7717 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7718 name clash.
7719 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7720 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7721 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7722
7723 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7724
7725 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7727
7728 2011-11-11 Roland McGrath <roland@hack.frob.com>
7729
7730 * include/unistd.h: Fix __readlink return type.
7731 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7732
7733 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7734
7735 * stdlib/ucontext.h: Undo last change for makecontext.
7736
7737 2011-11-11 Andreas Schwab <schwab@redhat.com>
7738
7739 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7740
7741 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7742 * setjmp/setjmp.h: Mark functions as non-leaf.
7743 * setjmp/bits/setjmp2.h: Likewise.
7744 * stdlib/ucontext.h: Likewise.
7745
7746 2011-11-10 Andreas Schwab <schwab@redhat.com>
7747
7748 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7749 (reused_arena): Don't check arena limit.
7750 (arena_get2): Atomically check arena limit.
7751
7752 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7753
7754 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7755 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7756
7757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7758 instructions.
7759
7760 2011-11-07 Andreas Schwab <schwab@redhat.com>
7761
7762 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7763 handler when locking.
7764
7765 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7766 Fix size of allocated buffer.
7767
7768 2011-11-04 Andreas Schwab <schwab@redhat.com>
7769
7770 [BZ #10103]
7771 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7772 declarations for long double functions.
7773 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7774
7775 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7776
7777 2011-11-03 Andreas Schwab <schwab@redhat.com>
7778
7779 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7780 installed.
7781
7782 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7783 is disabled.
7784
7785 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7786
7787 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7788
7789 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7790
7791 * include/alloca.h (stackinfo_alloca_round): Define.
7792 (extend_alloca): Use it.
7793 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7794 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7795 here.
7796
7797 * scripts/check-local-headers.sh: Ignore libaudit.h.
7798
7799 * nscd/Makefile (extra-objs): Make recursively expanded.
7800
7801 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7802
7803 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7804 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7805
7806 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7807 * posix/tst-rfc3484-2.c: Likewise.
7808 * posix/tst-rfc3484-3.c: Likewise.
7809
7810 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7811 process_vm_writev.
7812 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7813 process_vm_writev.
7814 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7815 process_vm_writev from libc using GLIBC_2.15 version.
7816
7817 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7818
7819 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7820
7821 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7822 stack usage.
7823
7824 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7825
7826 [BZ #13367]
7827 * nss/getent.c (initgroups_keys): Show error message in case no group
7828 names are given.
7829
7830 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7831 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7832 __bump_nl_timestamp.
7833 * nscd/connections (nscd_init): When host database is served open
7834 netlink socket and request notification about configuration changes.
7835 (main_loop_poll): Track netlink file descriptor and bump timestamp
7836 in case data becomes available.
7837 (main_loop_epoll): Likewise.
7838 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7839 (database_pers_head): Add extra_data fileds.
7840 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7841 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7842 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7843 Adjust caller.
7844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7845 in6ai data, call __free_in6ai.
7846 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7847 Add -DHAVE_NETLINK.
7848 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7849 interface information. Reuse previous data if netlink timestamp
7850 is not changed.
7851 (__bump_nl_timestamp): New function.
7852 (__free_in6ai): New function.
7853
7854 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7855
7856 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7857 close_not_cancel_no_status here.
7858 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7859
7860 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7861
7862 [BZ #13276]
7863 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7864 return value.
7865
7866 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7867 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7868 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7869
7870 2011-07-03 Andreas Jaeger <aj@suse.de>
7871
7872 [BZ #10709]
7873 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7874 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7875 * math/libm-test.inc (sin_test): Add test case.
7876
7877 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7878
7879 [BZ #13337]
7880 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7881 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7882
7883 * elf/chroot_canon.c (chroot_canon): Cleanups.
7884
7885 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7886
7887 [BZ #13335]
7888 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7889 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7890
7891 * string/test-strchr.c: Make usable for strchrnul testing.
7892 * string/test-strchrnul.c: New file.
7893 * string/Makefile (strop-tests): Add strchrnul.
7894
7895 * po/it.po: Update from translation team.
7896 * po/es.po: Likewise.
7897
7898 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7899
7900 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7901 the three constants needed as parameters. Drop the others.
7902 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7903 __m128i_strloadu_tolower.
7904 Create and initialize variable zero and use it in all the places
7905 where _mm_setzero_si128 was used.
7906
7907 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7908 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7909 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7910 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7911 anymore.
7912 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7913 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7914 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7915 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7916 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7917 __mpranred, __mptan.
7918 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7919 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7920 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7921 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7922 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7923 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7924 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7925 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7926 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7927
7928 2011-10-28 Andreas Schwab <schwab@redhat.com>
7929
7930 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7931 redefine if SHARED.
7932 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7933
7934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7935 wide char related routines to wcsmbs subdir.
7936
7937 2011-10-27 Andreas Schwab <schwab@redhat.com>
7938
7939 [BZ #13344]
7940 * misc/sys/cdefs.h (__THROWNL): Define.
7941 * posix/unistd.h: Use __THREADNL instead of __THREAD
7942 for memory synchronization functions.
7943
7944 2011-10-26 Roland McGrath <roland@hack.frob.com>
7945
7946 [BZ #13349]
7947 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7948 doesn't exist.
7949 * manual/stdio.texi (Obstack Streams): Node removed.
7950
7951 2011-10-26 Andreas Schwab <schwab@redhat.com>
7952
7953 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7954 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7955 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7956
7957 * math/math_private.h (math_force_eval): Allow non-addressable
7958 arguments.
7959 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7960
7961 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7962
7963 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7964 file is not needed.
7965
7966 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7967 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7968 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7969 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7970 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7971 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7972 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7973 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7974 Add AVX variants.
7975 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7976 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7977 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7978 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7979 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7980 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7981 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7982 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7983 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7984 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7985 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7986 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7987 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7988 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7989 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7990 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7991 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7992 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7993 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7994
7995 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7996 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7997
7998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7999 place. Use VEX encoding when compiling for AVX.
8000
8001 2011-10-25 Andreas Schwab <schwab@redhat.com>
8002
8003 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8004 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8005
8006 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8007
8008 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8009
8010 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8011 useless if() expression.
8012 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8021 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8022 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8023 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8024 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8025 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8026 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8027 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8028 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8029 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8030 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8031
8032 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8033
8034 2011-10-25 Andreas Schwab <schwab@redhat.com>
8035
8036 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8037 condition.
8038 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8039
8040 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8041
8042 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8043 .text section. Avoid duplicate constants.
8044 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8054 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8056 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8059 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8061 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8067 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8068 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8069 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8070 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8071 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8072 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8073 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8074 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8075 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8076 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8077 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8078 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8079 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8080 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8081 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8082 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8083 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8084 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8085 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8086 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8087 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8088 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8089
8090 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8091
8092 * sysdeps/x86_64/dla.h: Move to ...
8093 * sysdeps/x86_64/fpu/dla.h: ...here.
8094 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8095 situations. Use __builtin_fma only for gcc 4.6 and up.
8096
8097 * config.make.in: Add have-mfma4 entry.
8098 * configure.in: Substitute libc_cv_cc_fma4.
8099 * math/Makefile (dbl-only-routines): Add sincostab.
8100 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8101 Use __sincostab not sincos.
8102 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8103 name is a macro.
8104 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8108 using __copysign.
8109 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8110 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8111 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8112 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8113 and __inv.
8114 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8115 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8116 __copysign.
8117 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8118 define aliases when function name is a macro.
8119 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8120 sysdeps/ieee754/dbl-64/sincos.tbl.
8121 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8122 fma4-enabled routines.
8123 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8124 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8125 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8126 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8127 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8128 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8129 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8130 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8131 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8132 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8133 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8134 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8135 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8136 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8137 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8138 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8139 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8140 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8141 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8142 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8143 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8144 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8145 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8146 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8147 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8148 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8149 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8150 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8151 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8152 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8153
8154 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8155 rename.
8156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8164
8165 2011-10-24 Andreas Schwab <schwab@redhat.com>
8166
8167 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8168
8169 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8170
8171 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8172
8173 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8174 prediction.
8175 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8176
8177 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8178 Remove unused variable magic_bits.
8179 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8180
8181 * string/strnlen.c: Define and use STRNLEN macro.
8182 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8183 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8184 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8185 * wcsmbs/wcslen.c: Define and use WCSLEN.
8186 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8187 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8188 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8189 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8190 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8191 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8192 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8193
8194 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8195
8196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8197 strnlen-sse2-no-bsf.
8198 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8200 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8201 Add strnlen support.
8202 (USE_AS_STRNLEN): New macro.
8203 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8204 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8205 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8206 * sysdeps/x86_64/wcslen.S: New file.
8207
8208 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8209
8210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8211 XMM-moves are used for copying on small sizes.
8212
8213 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8214
8215 * wcsmbs/Makefile (strop-tests): Add wcschr.
8216 * wcsmbs/test-wcschr.c: New file.
8217 * string/test-strchr.c: Update.
8218 Add wcschr support.
8219 (WIDE): New macro.
8220
8221 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8222
8223 * wcsmbs/Makefile (strop-tests): Add wcslen.
8224 * wcsmbs/test-wcslen.c: New file.
8225 * string/test-strlen.c: Update.
8226 Add wcslen support.
8227 (WIDE): New macro.
8228
8229 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8230
8231 * po/it.po: Update from translation team.
8232
8233 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8234
8235 * sysdeps/x86_64/wcscmp.S: Update.
8236 Fix wrong comparison semantics.
8237 wcscmp shall use signed comparison not unsigned.
8238 Don't use substraction to avoid overflow bug.
8239 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8240 * wcsmbc/wcscmp.c: Likewise.
8241 * string/test-strcmp.c: Likewise.
8242 Add new tests to check cases with negative values.
8243
8244 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8245
8246 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8247 * sysdeps/x86_64/dla.h: ...here. New file.
8248 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8257
8258 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8259
8260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8261 __ynl_finite aliases.
8262
8263 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8264
8265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8266
8267 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8268 define DLA_FMA.
8269 [DLA_FMA] (EMULV): Use DLA_FMA.
8270 [DLA_FMA] (MUL12): Use EMULV.
8271 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8272 that are not needed.
8273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8280
8281 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8282
8283 * math/s_nan.c: Undef __nan.
8284 * math/s_nanf.c: Undef __nanf.
8285 * math/s_nanl.c: Undef __nanl.
8286 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8287 "math_private.h".
8288
8289 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8290
8291 * math/s_catan.c: Add branch predictions.
8292 * math/s_catanf.c: Likewise.
8293 * math/s_catanh.c: Likewise.
8294 * math/s_catanhf.c: Likewise.
8295 * math/s_catanhl.c: Likewise.
8296 * math/s_catanl.c: Likewise.
8297 * math/s_cexp.c: Likewise.
8298 * math/s_cexpf.c: Likewise.
8299 * math/s_cexpl.c: Likewise.
8300 * math/s_clog.c: Likewise.
8301 * math/s_clog10.c: Likewise.
8302 * math/s_clog10f.c: Likewise.
8303 * math/s_clog10l.c: Likewise.
8304 * math/s_clogf.c: Likewise.
8305 * math/s_clogl.c: Likewise.
8306 * math/s_csqrt.c: Likewise.
8307 * math/s_csqrtf.c: Likewise.
8308 * math/s_csqrtl.c: Likewise.
8309 * math/s_ctanf.c: Likewise.
8310 * math/s_ctanh.c: Likewise.
8311 * math/s_ctanhf.c: Likewise.
8312 * math/s_ctanhl.c: Likewise.
8313 * math/s_ctanl.c: Likewise.
8314
8315 * math/math_private.h: Define __nan, __nanf, __nanl.
8316 * math/s_cacosh.c: Include <math_private.h>.
8317 * math/s_cacoshl.c: Likewise.
8318 * math/s_casinh.c: Likewise.
8319 * math/s_casinhf.c: Likewise.
8320 * math/s_casinhl.c: Likewise.
8321 * math/s_ccos.c: Rely entire on ccosh.
8322 * math/s_ccosf.c: Rely entire on ccoshf.
8323 * math/s_ccosl.c: Rely entirely on ccoshl.
8324 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8325 Remove tests for FE_INVALID.
8326 * math/s_ccoshf.c: Likewise.
8327 * math/s_ccoshl.c: Likewise.
8328 * math/s_csin.c: Likewise.
8329 * math/s_csinf.c: Likewise.
8330 * math/s_csinh.c Likewise.
8331 * math/s_csinhf.c: Likewise.
8332 * math/s_csinhl.c: Likewise.
8333 * math/s_csinl.c: Likewise.
8334 * math/s_ctan.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8336 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8337 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8338
8339 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8340
8341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8342 compilation problems.
8343
8344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8345 __builtin_expect.
8346
8347 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8348
8349 * sysdeps/i386/configure.in: Test for -mfma4 option.
8350 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8351 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8352 COMMON_CPUID_INDEX_80000001.
8353 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8354 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8355 use it if FMA3 is not supported.
8356 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8357
8358 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8359 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8360
8361 2011-10-20 Andreas Schwab <schwab@redhat.com>
8362
8363 [BZ #12892]
8364 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8365 it would create a cycle with a link time dependency.
8366
8367 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8368
8369 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8370 instruction.
8371 * string/Makefile (strop-tests): Add rawmemchr.
8372 * string/test-rawmemchr.c: New file.
8373
8374 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8375 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8376 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8377 when compiling str{,n}casecmp and when AVX is available. Hook up
8378 new optimized code in initializers.
8379
8380 2011-10-19 Andreas Schwab <schwab@redhat.com>
8381
8382 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8383 __feraiseexcept instead of feraiseexcept.
8384
8385 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8386
8387 * math/math_private.h: Define defaults for libc_fetestexcept and
8388 libc_feupdateenv.
8389 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8390 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8391 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8392 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8393 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8394 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8395 libc_fetestexcept and libc_feupdateenv.
8396
8397 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8398 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8399 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8400 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8401 libc_feholdexcept_setround.
8402
8403 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8404 Add s_nearbyint-c and s_nearbyintf-c.
8405 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8406 nearbyintf inlines.
8407 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8408 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8409 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8410 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8411
8412 * math/math_private.h: Define defaults for libc_fegetround,
8413 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8414 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8415 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8416 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8417 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8418 standard functions.
8419 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8420 Remove comments and hacks for old compiler versions.
8421 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8422 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8423 libc_feholdexceptl.
8424
8425 2011-10-18 Andreas Schwab <schwab@redhat.com>
8426
8427 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8428 (__feraiseexcept_renamed): Add __NTH.
8429 (feraiseexcept): Add __NTH. Rename local variables to fix
8430 namespace violations.
8431
8432 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8433
8434 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8435
8436 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8437
8438 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8439 recently added interfaces.
8440 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8441
8442 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8443 about macro parameter expansion.
8444
8445 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8446 __NO_MATH_INLINES is defined. Cleanups.
8447
8448 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8449 and __floorf is target has SSE4.1.
8450 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8451 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8452 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8453 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8454
8455 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8456 name.
8457 (floorf): Likewise.
8458
8459 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8460
8461 2011-10-17 Andreas Schwab <schwab@redhat.com>
8462
8463 * misc/sys/cdefs.h: Fix last change.
8464
8465 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8466 database lookup.
8467
8468 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8469
8470 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8471
8472 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8481 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8482 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8483 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8484 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8485 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8486 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8487 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8488 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8489 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8490 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8491 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8492 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8493 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8494
8495 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8496 ceil, ceilf, floor, floorf.
8497
8498 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8499 Perform IRELATIVE relocations last.
8500
8501 * elf/do-rel.h: Add another parameter nrelative, replacing the
8502 local variable with the same name. Change name of the function
8503 to end in Rel or Rela (uppercase).
8504 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8505 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8506 elf_dynamic_do_##reloc function.
8507
8508 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8509
8510 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8511 is sufficient, at least on modern CPUs.
8512
8513 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8514
8515 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8516 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8517
8518 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8519 __expl_finite.
8520 * math/bits/math-finite.h: Add entries for exp.
8521 * math/e_expl.c: Add __*_finite alias.
8522 * sysdeps/i386/fpu/e_exp.S: Likewise.
8523 * sysdeps/i386/fpu/e_expf.S: Likewise.
8524 * sysdeps/i386/fpu/e_expl.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8526 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8530 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8531 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8532
8533 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8534 is sufficient, at least on modern CPUs.
8535
8536 * ctype/ctype-info.c (__ctype_init): Define.
8537 * include/ctype.h (__ctype_init): Declare.
8538 (__ctype_b_loc): The variable is always initialized.
8539 (__ctype_toupper_loc): Likewise.
8540 (__ctype_tolower_loc): Likewise.
8541 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8542 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8543
8544 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8545
8546 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8547
8548 * configure.in: Also look in $cxxmachine/include for C++ system
8549 headers.
8550
8551 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8552
8553 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8554 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8555 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8556 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8557 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8558 (USE_AS_WMEMCMP): New macro.
8559 Fixing indents.
8560 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8561 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8562 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8563 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8565 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8566 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8567 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8568 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8569 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8570 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8571 (USE_AS_WMEMCMP): New macro.
8572 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8573 * sysdeps/string/test-memcmp.c: Update.
8574 Fix simple_wmemcmp.
8575 Add new tests.
8576 * wcsmbs/wmemcmp.c: Update.
8577 (WMEMCMP): New macro.
8578 Fix overflow bug.
8579
8580 2011-10-12 Andreas Jaeger <aj@suse.de>
8581
8582 [BZ #13268]
8583 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8584
8585 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8586
8587 * libio/iofwide.c (do_length): Avoid warning.
8588
8589 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8590
8591 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8592
8593 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8594
8595 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8596 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8597 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8598 * sysdeps/i386/i686/fpu/e_log.S: New file.
8599 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8600 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8601
8602 * ctype/ctype.h: Add support for inlined isXXX functions when
8603 compiling C++ code.
8604
8605 2011-10-14 Andreas Schwab <schwab@redhat.com>
8606
8607 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8608
8609 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8610
8611 2011-10-13 Roland McGrath <roland@hack.frob.com>
8612
8613 [BZ #13291]
8614 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8615
8616 2011-10-13 Andreas Schwab <schwab@redhat.com>
8617
8618 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8619 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8620 feraiseexcept.
8621
8622 * sysdeps/x86_64/memrchr.S: Check for zero size.
8623
8624 * string/stratcliff.c: Add memrchr tests.
8625
8626 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8627
8628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8629 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8630 rawmemchr-sse2 rawmemchr-sse2-bsf.
8631 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8632 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8633 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8634 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8635 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8636 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8637 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8638 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8639 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8640 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8641 * string/memrchr.c (MEMRCHR): New macro.
8642
8643 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8644
8645 Add integration with gcc's -ffinite-math-only and optimize wrapper
8646 functions in libm.
8647 * Versions.def: Define GLIBC_2.15 version for libm.
8648 * math/Makefile (headers): Add bits/math-finite.h.
8649 * math/bits/math-finite.h: New file.
8650 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8651 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8652 * math/e_acoshl.c: Add __*_finite alias.
8653 * math/e_acosl.c: Likewise.
8654 * math/e_asinl.c: Likewise.
8655 * math/e_atan2l.c: Likewise.
8656 * math/e_atanhl.c: Likewise.
8657 * math/e_coshl.c: Likewise.
8658 * math/e_exp10.c: Likewise.
8659 * math/e_exp10f.c: Likewise.
8660 * math/e_exp10l.c: Likewise.
8661 * math/e_exp2l.c: Likewise.
8662 * math/e_fmodl.c: Likewise.
8663 * math/e_gammal_r.c: Likewise.
8664 * math/e_hypotl.c: Likewise.
8665 * math/e_j0l.c: Likewise.
8666 * math/e_j1l.c: Likewise.
8667 * math/e_jnl.c: Likewise.
8668 * math/e_lgammal_r.c: Likewise.
8669 * math/e_log10l.c: Likewise.
8670 * math/e_log2l.c: Likewise.
8671 * math/e_logl.c: Likewise.
8672 * math/e_powl.c: Likewise.
8673 * math/e_sinhl.c: Likewise.
8674 * math/e_sqrtl.c: Likewise.
8675 * math/e_scalb.c: Completely rewritten and optimized.
8676 * math/e_scalbf.c: Likewise.
8677 * math/e_scalbl.c: Likewise.
8678 * math/w_acos.c: Likewise.
8679 * math/w_acosf.c: Likewise.
8680 * math/w_acosl.c: Likewise.
8681 * math/w_acosh.c: Likewise.
8682 * math/w_acoshf.c: Likewise.
8683 * math/w_acoshl.c: Likewise.
8684 * math/w_asin.c: Likewise.
8685 * math/w_asinf.c: Likewise.
8686 * math/w_asinl.c: Likewise.
8687 * math/w_atan2.c: Likewise.
8688 * math/w_atan2f.c: Likewise.
8689 * math/w_atan2l.c: Likewise.
8690 * math/w_atanh.c: Likewise.
8691 * math/w_atanhf.c: Likewise.
8692 * math/w_atanhl.c: Likewise.
8693 * math/w_exp10.c: Likewise.
8694 * math/w_exp10f.c: Likewise.
8695 * math/w_exp10l.c: Likewise.
8696 * math/w_fmod.c: Likewise.
8697 * math/w_fmodf.c: Likewise.
8698 * math/w_fmodl.c: Likewise.
8699 * math/w_j0.c: Likewise.
8700 * math/w_j0f.c: Likewise.
8701 * math/w_j0l.c: Likewise.
8702 * math/w_j1.c: Likewise.
8703 * math/w_j1f.c: Likewise.
8704 * math/w_j1l.c: Likewise.
8705 * math/w_jn.c: Likewise.
8706 * math/w_jnf.c: Likewise.
8707 * math/w_log.c: Likewise.
8708 * math/w_logf.c: Likewise.
8709 * math/w_logl.c: Likewise.
8710 * math/w_log10.c: Likewise.
8711 * math/w_log10f.c: Likewise.
8712 * math/w_log10l.c: Likewise.
8713 * math/w_log2.c: Likewise.
8714 * math/w_log2f.c: Likewise.
8715 * math/w_log2l.c: Likewise.
8716 * math/w_pow.c: Likewise.
8717 * math/w_powf.c: Likewise.
8718 * math/w_powl.c: Likewise.
8719 * math/w_remainder.c: Likewise.
8720 * math/w_remainderf.c: Likewise.
8721 * math/w_remainderl.c: Likewise.
8722 * math/w_scalb.c: Likewise.
8723 * math/w_scalbf.c: Likewise.
8724 * math/w_scalbl.c: Likewise.
8725 * math/w_sqrt.c: Likewise.
8726 * math/w_sqrtf.c: Likewise.
8727 * math/w_sqrtl.c: Likewise.
8728 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8729 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8730 used.
8731 * math/math_private.h: Declare __kernel_standard_f.
8732 * math/w_cosh.c: Remove cruft and optimize a bit.
8733 * math/w_coshf.c: Likewise.
8734 * math/w_coshl.c: Likewise.
8735 * math/w_exp2.c: Likewise.
8736 * math/w_exp2f.c: Likewise.
8737 * math/w_exp2l.c: Likewise.
8738 * math/w_hypot.c: Likewise.
8739 * math/w_hypotf.c: Likewise.
8740 * math/w_hypotl.c: Likewise.
8741 * math/w_lgamma.c: Likewise.
8742 * math/w_lgamma_r.c: Likewise.
8743 * math/w_lgammaf.c: Likewise.
8744 * math/w_lgammaf_r.c: Likewise.
8745 * math/w_lgammal.c: Likewise.
8746 * math/w_lgammal_r.c: Likewise.
8747 * math/w_sinh.c: Likewise.
8748 * math/w_sinhf.c: Likewise.
8749 * math/w_sinhl.c: Likewise.
8750 * math/w_tgamma.c: Likewise.
8751 * math/w_tgammaf.c: Likewise.
8752 * math/w_tgammal.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8754 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8755 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8756 Minor optimizations. Pretty printing. Remove cruft.
8757 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8758 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8759 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8760 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8761 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8762 * sysdeps/i386/fpu/e_asin.S: Likewise.
8763 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8764 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8765 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8766 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8767 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8768 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8769 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8770 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8771 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8772 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8773 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8774 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8775 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8776 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8777 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8778 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8779 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8780 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8781 * sysdeps/i386/fpu/e_log.S: Likewise.
8782 * sysdeps/i386/fpu/e_log10.S: Likewise.
8783 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8784 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8785 * sysdeps/i386/fpu/e_log2.S: Likewise.
8786 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8787 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8788 * sysdeps/i386/fpu/e_logf.S: Likewise.
8789 * sysdeps/i386/fpu/e_logl.S: Likewise.
8790 * sysdeps/i386/fpu/e_pow.S: Likewise.
8791 * sysdeps/i386/fpu/e_powf.S: Likewise.
8792 * sysdeps/i386/fpu/e_powl.S: Likewise.
8793 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8794 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8795 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8796 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8797 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8798 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8799 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8800 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8801 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8823 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8824 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8825 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8826 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8827 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8828 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8829 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8830 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8831 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8832 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8833 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8834 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8835 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8836 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8837 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8838 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8839 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8840 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8841 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8842 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8843 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8882 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8887 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8890 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8893 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8895 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8896 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8897 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8898 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8899 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8900 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8901 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8902 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8903 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8904 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8905 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8906 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8907 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8908 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8909 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8910 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8911 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8912 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8913 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8914 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8915 (__isnanf): Likewise.
8916 (__isinf_ns): Likewise.
8917 (__isinf_nsf): Likewise.
8918 (__finite): Likewise.
8919 (__finitef): Likewise.
8920 (__ieee754_sqrt): Define as macro.
8921 (__ieee754_sqrtf): Define as macro.
8922 (__ieee754_sqrtl): Define as macro.
8923 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8924 inlined copy.
8925 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8926 __FINITE_MATH_ONLY__ consistent.
8927 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8928
8929 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8930
8931 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8932 of rawmemchr.
8933
8934 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8935
8936 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8937
8938 * po/ja.po: Update from translation team.
8939
8940 2011-10-08 Roland McGrath <roland@hack.frob.com>
8941
8942 * locale/programs/locarchive.c (prepare_address_space): New function.
8943 (create_archive, enlarge_archive, open_archive): Use it.
8944
8945 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8946 inside [SHARED], where it is used.
8947
8948 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8949
8950 * nss/getent.c (netgroup_keys): Remove unused variable.
8951 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8952
8953 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8954
8955 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8956 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8958 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8959 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8960 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8961 * math/Makefile (libm-calls): Add s_isinf_ns.
8962 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8963 * math/multc3.c: Likewise.
8964 * math/s_casin.c: Likewise.
8965 * math/s_casinf.c: Likewise.
8966 * math/s_casinl.c: Likewise.
8967 * math/s_ccos.c: Likewise.
8968 * math/s_ccosf.c: Likewise.
8969 * math/s_ccosl.c: Likewise.
8970 * math/s_ctan.c: Likewise.
8971 * math/s_ctanf.c: Likewise.
8972 * math/s_ctanh.c: Likewise.
8973 * math/s_ctanhf.c: Likewise.
8974 * math/s_ctanhl.c: Likewise.
8975 * math/s_ctanl.c: Likewise.
8976 * math/w_fmod.c: Likewise.
8977 * math/w_fmodf.c: Likewise.
8978 * math/w_fmodl.c: Likewise.
8979 * math/w_remainder.c: Likewise.
8980 * math/w_remainderf.c: Likewise.
8981 * math/w_remainderl.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8983 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8984 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8985 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8986 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8987 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8988 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8989 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8990
8991 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8992 of the number.
8993 * stdio-common/printf_fphex.c: Likewise.
8994 * stdio-common/printf_size.c: Likewise.
8995
8996 * math/e_exp10.c: Include math_private.h using <...> not "...".
8997 * math/e_exp10f.c: Likewise.
8998 * math/e_exp10l.c: Likewise.
8999 * math/e_exp2l.c: Likewise.
9000 * math/e_j0l.c: Likewise.
9001 * math/e_j1l.c: Likewise.
9002 * math/e_jnl.c: Likewise.
9003 * math/e_lgammal_r.c: Likewise.
9004 * math/e_rem_pio2l.c: Likewise.
9005 * math/e_scalb.c: Likewise.
9006 * math/e_scalbf.c: Likewise.
9007 * math/e_scalbl.c: Likewise.
9008 * math/k_cosl.c: Likewise.
9009 * math/k_sinl.c: Likewise.
9010 * math/k_tanl.c: Likewise.
9011 * math/s_cacoshf.c: Likewise.
9012 * math/s_catan.c: Likewise.
9013 * math/s_catanf.c: Likewise.
9014 * math/s_catanh.c: Likewise.
9015 * math/s_catanhf.c: Likewise.
9016 * math/s_catanhl.c: Likewise.
9017 * math/s_catanl.c: Likewise.
9018 * math/s_ccosh.c: Likewise.
9019 * math/s_ccoshf.c: Likewise.
9020 * math/s_ccoshl.c: Likewise.
9021 * math/s_cexp.c: Likewise.
9022 * math/s_cexpf.c: Likewise.
9023 * math/s_cexpl.c: Likewise.
9024 * math/s_clog.c: Likewise.
9025 * math/s_clog10.c: Likewise.
9026 * math/s_clog10f.c: Likewise.
9027 * math/s_clog10l.c: Likewise.
9028 * math/s_clogf.c: Likewise.
9029 * math/s_clogl.c: Likewise.
9030 * math/s_csin.c: Likewise.
9031 * math/s_csinf.c: Likewise.
9032 * math/s_csinh.c: Likewise.
9033 * math/s_csinhf.c: Likewise.
9034 * math/s_csinhl.c: Likewise.
9035 * math/s_csinl.c: Likewise.
9036 * math/s_csqrt.c: Likewise.
9037 * math/s_csqrtf.c: Likewise.
9038 * math/s_csqrtl.c: Likewise.
9039 * math/s_ctan.c: Likewise.
9040 * math/s_ctanf.c: Likewise.
9041 * math/s_ctanh.c: Likewise.
9042 * math/s_ctanhf.c: Likewise.
9043 * math/s_ctanhl.c: Likewise.
9044 * math/s_ctanl.c: Likewise.
9045 * math/s_ldexp.c: Likewise.
9046 * math/s_ldexpf.c: Likewise.
9047 * math/s_ldexpl.c: Likewise.
9048 * math/s_significand.c: Likewise.
9049 * math/s_significandf.c: Likewise.
9050 * math/s_significandl.c: Likewise.
9051 * math/w_acos.c: Likewise.
9052 * math/w_acosf.c: Likewise.
9053 * math/w_acosh.c: Likewise.
9054 * math/w_acoshf.c: Likewise.
9055 * math/w_acoshl.c: Likewise.
9056 * math/w_acosl.c: Likewise.
9057 * math/w_asin.c: Likewise.
9058 * math/w_asinf.c: Likewise.
9059 * math/w_asinl.c: Likewise.
9060 * math/w_atan2.c: Likewise.
9061 * math/w_atan2f.c: Likewise.
9062 * math/w_atan2l.c: Likewise.
9063 * math/w_atanh.c: Likewise.
9064 * math/w_atanhf.c: Likewise.
9065 * math/w_atanhl.c: Likewise.
9066 * math/w_cosh.c: Likewise.
9067 * math/w_coshf.c: Likewise.
9068 * math/w_coshl.c: Likewise.
9069 * math/w_dremf.c: Likewise.
9070 * math/w_exp10.c: Likewise.
9071 * math/w_exp10f.c: Likewise.
9072 * math/w_exp10l.c: Likewise.
9073 * math/w_exp2.c: Likewise.
9074 * math/w_exp2f.c: Likewise.
9075 * math/w_fmod.c: Likewise.
9076 * math/w_fmodf.c: Likewise.
9077 * math/w_fmodl.c: Likewise.
9078 * math/w_hypot.c: Likewise.
9079 * math/w_hypotf.c: Likewise.
9080 * math/w_hypotl.c: Likewise.
9081 * math/w_j0.c: Likewise.
9082 * math/w_j0f.c: Likewise.
9083 * math/w_j0l.c: Likewise.
9084 * math/w_j1.c: Likewise.
9085 * math/w_j1f.c: Likewise.
9086 * math/w_j1l.c: Likewise.
9087 * math/w_jn.c: Likewise.
9088 * math/w_jnf.c: Likewise.
9089 * math/w_jnl.c: Likewise.
9090 * math/w_lgamma.c: Likewise.
9091 * math/w_lgamma_r.c: Likewise.
9092 * math/w_lgammaf.c: Likewise.
9093 * math/w_lgammaf_r.c: Likewise.
9094 * math/w_lgammal.c: Likewise.
9095 * math/w_lgammal_r.c: Likewise.
9096 * math/w_log.c: Likewise.
9097 * math/w_log10.c: Likewise.
9098 * math/w_log10f.c: Likewise.
9099 * math/w_log10l.c: Likewise.
9100 * math/w_log2.c: Likewise.
9101 * math/w_log2f.c: Likewise.
9102 * math/w_log2l.c: Likewise.
9103 * math/w_logf.c: Likewise.
9104 * math/w_logl.c: Likewise.
9105 * math/w_pow.c: Likewise.
9106 * math/w_powf.c: Likewise.
9107 * math/w_powl.c: Likewise.
9108 * math/w_remainder.c: Likewise.
9109 * math/w_remainderf.c: Likewise.
9110 * math/w_remainderl.c: Likewise.
9111 * math/w_scalb.c: Likewise.
9112 * math/w_scalbf.c: Likewise.
9113 * math/w_scalbl.c: Likewise.
9114 * math/w_sinh.c: Likewise.
9115 * math/w_sinhf.c: Likewise.
9116 * math/w_sinhl.c: Likewise.
9117 * math/w_sqrt.c: Likewise.
9118 * math/w_sqrtf.c: Likewise.
9119 * math/w_sqrtl.c: Likewise.
9120 * math/w_tgamma.c: Likewise.
9121 * math/w_tgammaf.c: Likewise.
9122 * math/w_tgammal.c: Likewise.
9123
9124 * po/ja.po: Update from translation team.
9125
9126 2011-09-29 Andreas Jaeger <aj@suse.de>
9127
9128 [BZ #13179]
9129 * sunrpc/netname.c (netname2host): Fix logic.
9130
9131 [BZ #6779]
9132 [BZ #6783]
9133 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9134 correctly.
9135 * math/w_remainder.c (__remainder): Likewise.
9136 * math/w_remainderf.c (__remainderf): Likewise.
9137 * math/libm-test.inc (remainder_test): Add test cases.
9138
9139 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9140
9141 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9142 sdiv_qrnnd.
9143
9144 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9145
9146 * string/test-memcmp.c: Avoid unncessary #defines.
9147 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9148
9149 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9150
9151 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9152 Use new sse2 version for core i3 - i7 as it's faster
9153 than sse42 version.
9154 (bit_Prefer_PMINUB_for_stringop): New.
9155 * sysdeps/x86_64/rawmemchr.S: Update.
9156 Replace with faster SSE2 version.
9157 * sysdeps/x86_64/memrchr.S: New file.
9158 * sysdeps/x86_64/memchr.S: Update.
9159 Replace with faster SSE2 version.
9160
9161 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9162
9163 * elf/dl-load.c (lose): Add cast to avoid warning.
9164
9165 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9166
9167 * po/ca.po: Update from translation team.
9168
9169 * inet/getnetgrent_r.c: Hook up nscd.
9170 * nscd/Makefile (routines): Add nscd_netgroup.
9171 (nscd-modules): Add netgroupcache.
9172 (CFLAGS-netgroupcache.c): Define.
9173 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9174 (cache_search): Add const to second parameter.
9175 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9176 INNETGR.
9177 (dbs): Add netgrdb entry.
9178 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9179 (verify_persistent_db): Handle netgrdb.
9180 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9181 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9182 GETFDNETGR.
9183 (netgroup_response_header): Define.
9184 (innetgroup_response_header): Define.
9185 (datahead): Add netgroup_response_header and innetgroup_response_header
9186 elements.
9187 * nscd/nscd.conf: Add entries for netgroup cache.
9188 * nscd/nscd.h (dbtype): Add netgrdb.
9189 (_PATH_NSCD_NETGROUP_DB): Define.
9190 (netgroup_iov_disabled): Declare.
9191 (xmalloc, xcalloc, xrealloc): Move declarations here.
9192 (cache_search): Adjust prototype.
9193 Add netgroup-related prototypes.
9194 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9195 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9196 (__nscd_innetgr): Declare.
9197 * nscd/selinux.c (perms): Use access_vector_t as element type and
9198 add netgroup-related initializers.
9199 * nscd/netgroupcache.c: New file.
9200 * nscd/nscd_netgroup.c: New file.
9201 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9202 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9203 For four parameters use innetgr.
9204 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9205 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9206 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9207 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9208
9209 * nscd/connections.c (register_traced_file): Don't register file
9210 for disabled databases.
9211
9212 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9213
9214 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9215
9216 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9217 from tree and freeing node.
9218
9219 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9220
9221 * nss/nsswitch.c (__nss_database_lookup): Handle
9222 nss_parse_service_list out of memory case.
9223
9224 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9225
9226 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9227 out of memory case.
9228
9229 2011-10-04 Andreas Schwab <schwab@redhat.com>
9230
9231 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9232 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9233 pass it down.
9234 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9235 elf_machine_rela, elf_machine_lazy_rel.
9236 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9237 (ELF_DYNAMIC_DO_REL): Likewise.
9238 (ELF_DYNAMIC_DO_RELA): Likewise.
9239 (ELF_DYNAMIC_RELOCATE): Likewise.
9240 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9241 to ELF_DYNAMIC_DO_REL.
9242 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9243 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9244 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9245 elf_machine_rela.
9246 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9247 skip_ifunc, don't call ifunc function if non-zero.
9248 (elf_machine_rela): Likewise.
9249 (elf_machine_lazy_rel): Likewise.
9250 (elf_machine_lazy_rela): Likewise.
9251 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9252 (elf_machine_lazy_rel): Likewise.
9253 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9254 Likewise.
9255 (elf_machine_lazy_rel): Likewise.
9256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9257 Likewise.
9258 (elf_machine_lazy_rel): Likewise.
9259 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9260 (elf_machine_lazy_rel): Likewise.
9261 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9262 (elf_machine_lazy_rel): Likewise.
9263 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9264 (elf_machine_lazy_rel): Likewise.
9265 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9266 (elf_machine_lazy_rel): Likewise.
9267 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9268 (elf_machine_lazy_rel): Likewise.
9269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9270 (elf_machine_lazy_rel): Likewise.
9271
9272 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9273
9274 * nss/nss_files/files-init.c (_nss_files_init): Use static
9275 initialization for all the *_traced_file variables.
9276
9277 2011-09-28 Andreas Schwab <schwab@redhat.com>
9278
9279 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9280
9281 2011-09-27 Roland McGrath <roland@hack.frob.com>
9282
9283 [BZ #13226]
9284 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9285
9286 2011-09-27 Andreas Schwab <schwab@redhat.com>
9287
9288 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9289 Reread the line before reparsing it.
9290
9291 2011-09-26 Andreas Schwab <schwab@redhat.com>
9292
9293 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9294
9295 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9296 Maxim Kuvyrkov <maxim@codesourcery.com>
9297 Joseph Myers <joseph@codesourcery.com>
9298
9299 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9300 if needed for __stack_chk_guard.
9301
9302 2011-09-19 Roland McGrath <roland@hack.frob.com>
9303
9304 * sysdeps/posix/spawni.c (script_execute): Always define it.
9305 It will be optimized away if unused.
9306 (maybe_script_execute): New function.
9307 (__spawni): Call it.
9308
9309 * Makerules: Don't include tls.make.
9310 (config-tls): Always set to thread.
9311 * tls.make.c: File removed.
9312
9313 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9314
9315 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9316 * config.make.in (CPPFLAGS-config): New substituted variable.
9317
9318 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9319
9320 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9321
9322 [BZ #13192]
9323 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9324 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9325
9326 2011-09-15 Roland McGrath <roland@hack.frob.com>
9327
9328 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9329 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9330 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9331 (CALL_FAIL): Likewise.
9332 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9333 (CALL_FAIL): Macro removed.
9334 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9335
9336 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9337
9338 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9339 for __FINITE_MATH_ONLY__ == 1.
9340
9341 2011-09-15 Andreas Schwab <schwab@redhat.com>
9342
9343 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9344 __ieee754_sqrt instead of sqrt.
9345 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9346 __ieee754_sqrtf instead of sqrtf.
9347 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9348 __floorf instead of floorf.
9349 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9350 __floorf, __truncf instead of floorf, truncf.
9351
9352 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9353
9354 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9355
9356 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9357 __extern_always_inline.
9358 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9359 32-bit.
9360
9361 2011-09-14 Andreas Schwab <schwab@redhat.com>
9362
9363 * elf/rtld.c (dl_main): Also relocate in dependency order when
9364 doing symbol dependency testing.
9365
9366 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9367
9368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9369 Always define `refsym'.
9370
9371 2011-09-13 Andreas Schwab <schwab@redhat.com>
9372
9373 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9374 (__FD_ELT): Renamed from __FDELT.
9375 * misc/bits/select2.h (__FD_ELT): Likewise.
9376 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9377 __FD_MASK instead of __FDELT, __FDMASK.
9378 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9379 Likewise.
9380 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9381 Likewise.
9382
9383 * elf/Makefile (gen-ldd): Fix pattern.
9384
9385 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9386 (init_tls): Likewise.
9387
9388 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9389
9390 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9391
9392 2011-09-12 Andreas Schwab <schwab@redhat.com>
9393
9394 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9395 `struct cmsghdr *' instead of `void *'.
9396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9397 Likewise.
9398
9399 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9400
9401 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9402 if non-absolute.
9403 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9404 ldd_rewrite_script.
9405
9406 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9407
9408 * configure.in: Remove --with-tls option.
9409 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9410 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9411 out in case it is missing.
9412 * sysdeps/ia64/elf/configure.in: Likewise.
9413 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9414 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9415 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9416 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9417 * sysdeps/sh/elf/configure.in: Likewise.
9418 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9419 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9420 * sysdeps/x86_64/elf/configure.in: Likewise.
9421 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9422 * sysdeps/mach/hurd/tls.h: Likewise.
9423
9424 [BZ #13067]
9425 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9426
9427 [BZ #13090]
9428 * configure.in: Fix use of AC_INIT.
9429
9430 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9431
9432 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9433
9434 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9435 __set_errno.
9436 * malloc/hooks.c: Likewise.
9437
9438 [BZ #11929]
9439 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9440 variables statically.
9441 (narenas): Initialize.
9442 (list_lock): Initialize.
9443 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9444 initializtion of main_arena and list_lock. Small cleanups.
9445 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9446 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9447 Add initializers to main_arena and mp_.
9448 (malloc_state): Remove pagesize member. Change all users to use
9449 GLRO(dl_pagesize).
9450
9451 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9452 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9453 is always initialized.
9454
9455 * malloc/malloc.c: Removed unused configurations and dead code.
9456 * malloc/arena.c: Likewise.
9457 * malloc/hooks.c: Likewise.
9458 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9459
9460 * include/tls.h: Removed. USE___THREAD must always be defined.
9461 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9462 * elf/dl-libc.c: Likewise.
9463 * elf/dl-tsd.c: Likewise.
9464 * include/errno.h: Likewise.
9465 * include/netdb.h: Likewise.
9466 * include/resolv.h: Likewise.
9467 * inet/herrno-loc.c: Likewise.
9468 * inet/herrno.c: Likewise.
9469 * malloc/arena.c: Likewise.
9470 * malloc/hooks.c: Likewise.
9471 * malloc/malloc.c: Likewise.
9472 * resolv/res-state.c: Likewise.
9473 * resolv/res_libc.c: Likewise.
9474 * sysdeps/i386/dl-machine.h: Likewise.
9475 * sysdeps/ia64/dl-machine.h: Likewise.
9476 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9477 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9478 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9479 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9480 * sysdeps/sh/dl-machine.h: Likewise.
9481 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9482 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9483 * sysdeps/unix/i386/sysdep.S: Likewise.
9484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9485 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9490 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9492 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9494 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9495 * sysdeps/x86_64/dl-machine.h: Likewise.
9496 * tls.make.c: Likewise.
9497
9498 * configure.in: Remove --with-__thread option. Make tests for
9499 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9500 tls_model attribute fail if no support is available. Remove
9501 USE_IN_LIBIO.
9502 * Makeconfig: Adjust for dropped configure option. All features are
9503 now mandatory.
9504 * Makerules: Likewise.
9505 * Versions.def: Likewise.
9506 * argp/argp-fmtstream.c: Likewise.
9507 * argp/argp-fmtstream.h: Likewise.
9508 * argp/argp-help.c: Likewise.
9509 * assert/assert.c: Likewise.
9510 * config.h.in: Likewise.
9511 * config.make.in: Likewise.
9512 * configure: Likewise.
9513 * configure.in: Likewise.
9514 * csu/Versions: Likewise.
9515 * csu/init.c: Likewise.
9516 * elf/tst-audit2.c: Likewise.
9517 * elf/tst-tls10.c: Likewise.
9518 * elf/tst-tls10.h: Likewise.
9519 * elf/tst-tls11.c: Likewise.
9520 * elf/tst-tls12.c: Likewise.
9521 * elf/tst-tls14.c: Likewise.
9522 * elf/tst-tlsmod11.c: Likewise.
9523 * elf/tst-tlsmod12.c: Likewise.
9524 * elf/tst-tlsmod13.c: Likewise.
9525 * elf/tst-tlsmod13a.c: Likewise.
9526 * elf/tst-tlsmod14a.c: Likewise.
9527 * elf/tst-tlsmod15b.c: Likewise.
9528 * elf/tst-tlsmod16a.c: Likewise.
9529 * elf/tst-tlsmod16b.c: Likewise.
9530 * elf/tst-tlsmod7.c: Likewise.
9531 * elf/tst-tlsmod8.c: Likewise.
9532 * elf/tst-tlsmod9.c: Likewise.
9533 * gmon/gmon.c: Likewise.
9534 * grp/fgetgrent_r.c: Likewise.
9535 * grp/putgrent.c: Likewise.
9536 * hurd/fopenport.c: Likewise.
9537 * include/libc-symbols.h: Likewise.
9538 * include/tls.h: Likewise.
9539 * intl/gettextP.h: Likewise.
9540 * intl/loadinfo.h: Likewise.
9541 * locale/global-locale.c: Likewise.
9542 * locale/localeinfo.h: Likewise.
9543 * mach/devstream.c: Likewise.
9544 * malloc/arena.c: Likewise.
9545 * malloc/set-freeres.c: Likewise.
9546 * misc/err.c: Likewise.
9547 * misc/getttyent.c: Likewise.
9548 * misc/mntent_r.c: Likewise.
9549 * posix/getopt.c: Likewise.
9550 * posix/wordexp.c: Likewise.
9551 * pwd/fgetpwent_r.c: Likewise.
9552 * resolv/Versions: Likewise.
9553 * resolv/res_hconf.c: Likewise.
9554 * shadow/fgetspent_r.c: Likewise.
9555 * shadow/putspent.c: Likewise.
9556 * stdio-common/printf_fphex.c: Likewise.
9557 * stdio-common/tmpfile.c: Likewise.
9558 * stdlib/abort.c: Likewise.
9559 * stdlib/fmtmsg.c: Likewise.
9560 * sunrpc/auth_unix.c: Likewise.
9561 * sunrpc/clnt_perr.c: Likewise.
9562 * sunrpc/clnt_tcp.c: Likewise.
9563 * sunrpc/clnt_udp.c: Likewise.
9564 * sunrpc/clnt_unix.c: Likewise.
9565 * sunrpc/openchild.c: Likewise.
9566 * sunrpc/svc_simple.c: Likewise.
9567 * sunrpc/svc_tcp.c: Likewise.
9568 * sunrpc/svc_udp.c: Likewise.
9569 * sunrpc/svc_unix.c: Likewise.
9570 * sunrpc/xdr.c: Likewise.
9571 * sunrpc/xdr_array.c: Likewise.
9572 * sunrpc/xdr_rec.c: Likewise.
9573 * sunrpc/xdr_ref.c: Likewise.
9574 * sunrpc/xdr_stdio.c: Likewise.
9575
9576 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9577
9578 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9579
9580 2011-07-03 Andreas Jaeger <aj@suse.de>
9581
9582 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9583 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9584 regenerate with gen-libm-tests.pl.
9585
9586 2010-05-12 Petr Baudis <pasky@suse.cz>
9587
9588 [BZ #11589]
9589 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9590 around j0() zero points by switching to j1().
9591 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9595
9596 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9597
9598 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9599 instead of 0.
9600 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9601 instead of 0. .
9602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9603 Patch in part by Pavel Roskin <proski@gnu.org>.
9604
9605 [BZ #13138]
9606 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9607 realloc.
9608 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9609 Free memory block if necessary.
9610
9611 [BZ #12847]
9612 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9613 be NULL. Don't lock in this case.
9614
9615 2011-09-09 Roland McGrath <roland@hack.frob.com>
9616
9617 * elf/elf.h (ELFOSABI_GNU): New macro.
9618 (ELFOSABI_LINUX): Define to that.
9619
9620 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9621
9622 * string/strncat.c (strncat): Undef the symbol in case it has been
9623 defined in bits/string.h.
9624
9625 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9626
9627 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9628
9629 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9630 link map.
9631
9632 2011-08-17 Andreas Jaeger <aj@suse.de>
9633
9634 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9635
9636 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9637 Ian Lance Taylor <iant@google.com>
9638
9639 * math/libm-test.inc (lround_test): New testcase.
9640 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9641
9642 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9643
9644 * Makefile: Remove support for automatic cvs check-ins.
9645 * Makerules: Likewise.
9646 * config.make.in: Likewise.
9647 * configure.in: Likewise.
9648 * intl/Makefile: Likewise.
9649 * locale/Makefile: Likewise.
9650 * po/Makefile: Likewise.
9651 * posix/Makefile: Likewise.
9652 * sysdeps/gnu/Makefile: Likewise.
9653 * sysdeps/mach/hurd/Makefile: Likewise.
9654 * sysdeps/sparc/sparc32/Makefile: Likewise.
9655
9656 [BZ #13118]
9657 * posix/Makefile (bug-regex32-ENV): Define.
9658 Patch by John Stanley <jpsinthemix@verizon.net>.
9659
9660 * misc/Makefile (headers): Add bits/select2.h.
9661 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9662 * misc/bits/select2.h: New file.
9663 * include/bits/select2.h: New file.
9664 * debug/Makefile (routines): Add fdelt_chk.
9665 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9666 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9667 FD_ISSET.
9668 * debug/fdelt_chk.c: New file.
9669
9670 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9671 * wcsmbs/test-wmemcmp.c: Likewise.
9672 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9673 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9674
9675 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9676
9677 * string/Makefile (strop-tests): Add memcmp.
9678 * string/test-wmemcmp.c: New file.
9679 * string/test-memcmp.c: Add wmemcmp support.
9680
9681 2011-09-08 Roland McGrath <roland@hack.frob.com>
9682
9683 [BZ #13153]
9684 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9685 2011-07-19 change.
9686
9687 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9688 garbage value in a __mach_port_mod_refs call in the cases of the
9689 task-self and thread-self ports.
9690
9691 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9692
9693 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9694
9695 2011-09-08 Andreas Schwab <schwab@redhat.com>
9696
9697 * elf/dl-load.c (lose): Check for non-null L.
9698
9699 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9700
9701 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9702
9703 * elf/dl-libc.c (dlerror_run): Pass back error code from
9704 dl_catch_error.
9705
9706 [BZ #13123]
9707 * elf/dl-load.c (lose): Free l_origin if it is valid.
9708
9709 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9710 names.
9711 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9712 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9713 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9714 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9715 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9716 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9717
9718 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9719
9720 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9721 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9722 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9723 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9724 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9725 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9726 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9727 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9728 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9729 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9730
9731 2011-08-15 Alan Modra <amodra@gmail.com>
9732
9733 [BZ #13092]
9734 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9735 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9736 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9737 ppc_mcount to static-only-routines.
9738 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9739 __mcount_internal.
9740 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9741 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9742
9743 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9744
9745 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9746 for finite and infinity parameters.
9747
9748 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9749
9750 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9751 and add nop instructions for throughput optimization.
9752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9753
9754 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9755
9756 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9757 aligned copy for power7 with vector-scalar instructions.
9758 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9759
9760 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9763 AVX check.
9764
9765 2011-09-07 Andreas Schwab <schwab@redhat.com>
9766
9767 [BZ #13144]
9768 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9769 last change.
9770
9771 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9772
9773 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9774 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9775 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9776 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9777 clock_gettime.
9778
9779 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9780
9781 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9782 Forgot to demangle the pointer.
9783
9784 * sysdeps/i386/sysdep.h: Define atom_text_section.
9785 * sysdeps/x86_64/sysdep.h: Likewise.
9786 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9787 section with atom_text_section.
9788 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9789 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9790 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9791 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9792 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9793
9794 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9796 already be defined. Change to take two parameters and don't assign
9797 result to variable. Adjust all users.
9798 Define INTERNAL_GETTIME if not already defined.
9799 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9800 call.
9801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9802 HAVE_CLOCK_GETTIME_VSYSCALL.
9803 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9804
9805 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9806 gettimeofday vsyscall, just use time.
9807
9808 2011-09-06 Andreas Schwab <schwab@redhat.com>
9809
9810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9811 <errno.h>.
9812
9813 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9814
9815 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9816 syscall on x86-64.
9817 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9818 syscall.
9819 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9820 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9821 syscall if possible.
9822
9823 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9824
9825 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9826 e_ident. Don't pass to find_mapsXX.
9827 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9828
9829 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9830
9831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9832 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9833 * sysdeps/x86_64/multiarch/strchr.S: Update.
9834 Check bit_slow_BSF bit.
9835 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9836 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9837 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9838
9839 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9840
9841 [BZ #13134]
9842 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9843 before glibc 2.15.
9844 (tryshell): Define.
9845 (__spawni): Change last parameter to be flag. Test
9846 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9847 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9848 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9849 * posix/spawni.c: Likewise.
9850 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9851 * posix/spawnp.c: Likewise. Change normal version to use
9852 SPAWN_XFLAGS_USE_PATH.
9853 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9854 SPAWN_XFLAGS_TRY_SHELL.
9855
9856 [BZ #13150]
9857 * posix/glob.h: Remove gcc 1.x support.
9858
9859 [BZ #13068]
9860 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9861
9862 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9863
9864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9865 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9866 strrchr-sse2-bsf
9867 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9868 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9869 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9870 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9871 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9872 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9873
9874 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9875
9876 * sysdeps/x86_64/wcscmp.S: New file.
9877
9878 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9879 wcscmp-c wcscmp-sse2
9880 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9881 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9882 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9883 * wcsmbs/wcscmp.c: Allow renaming.
9884
9885 2011-09-05 David S. Miller <davem@davemloft.net>
9886
9887 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9888 stack slot, rather than the struct return pointer slot.
9889 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9890 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9892 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9893
9894 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9895
9896 * po/ja.po: Update from translation team.
9897
9898 [BZ #13144]
9899 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9900 kernel in 64-bit binaries.
9901
9902 2011-09-01 David S. Miller <davem@davemloft.net>
9903
9904 * elf/elf.h (HWCAP_SPARC_*): Move to..
9905 * sysdeps/sparc/sysdep.h: this new file and add new values.
9906 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9907 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9908 _DL_HWCAP_COUNT to 24.
9909 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9910 entries.
9911 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9912 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9913 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9915 instead of magic constants.
9916 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9917
9918 2011-08-31 David S. Miller <davem@davemloft.net>
9919
9920 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9922 Reimplement to do errno handling inline.
9923 (SYSCALL_ERROR_HANDLER): New macro.
9924 (__SYSCALL_STRING): Do not do errno handling in asm.
9925 (__CLONE_SYSCALL_STRING): Delete.
9926 (__INTERNAL_SYSCALL_STRING): Delete.
9927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9928 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9929 (PSEUDO): Reimplement to do errno handling inline.
9930 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9931 (SYSCALL_ERROR_HANDLER): New macro.
9932 (__SYSCALL_STRING): Do not do errno handling in asm.
9933 (__CLONE_SYSCALL_STRING): Delete.
9934 (__INTERNAL_SYSCALL_STRING): Delete.
9935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9936 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9937 i386.
9938 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9939 (inline_syscall*): Add 'err' argument.
9940 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9941 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9942 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9943 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9944
9945 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9946 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9947
9948 2011-08-30 Andreas Schwab <schwab@redhat.com>
9949
9950 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9951
9952 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9953
9954 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9955 directive.
9956
9957 2011-08-24 David S. Miller <davem@davemloft.net>
9958
9959 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9960
9961 2011-08-24 Andreas Schwab <schwab@redhat.com>
9962
9963 * elf/Makefile: Add rules to build and run unload8 test.
9964 * elf/unload8.c: New file.
9965 * elf/unload8mod1.c: New file.
9966 * elf/unload8mod1x.c: New file.
9967 * elf/unload8mod2.c: New file.
9968 * elf/unload8mod3.c: New file.
9969
9970 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9971 it wasn't used.
9972
9973 2011-08-23 David S. Miller <davem@davemloft.net>
9974
9975 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9976 subtract stack bias.
9977 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9978 %sp not %fp in calculations.
9979 (_JMPBUF_UNWINDS_ADJ): Likewise.
9980
9981 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9982 (aio_suspend): Call it to force an exception region around the
9983 AIO_MISC_WAIT() invocation.
9984
9985 2011-08-23 Andreas Schwab <schwab@redhat.com>
9986
9987 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9988 backslash.
9989
9990 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9991
9992 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9993 protection macro.
9994 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9995 and <dl-machine.h>.
9996 (Elf64_FuncDesc): Remove.
9997
9998 2011-08-22 David S. Miller <davem@davemloft.net>
9999
10000 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10001 sigaltstack check, add missing cfi directives.
10002 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10003 missing cfi directives, and sigaltstack handling.
10004
10005 2011-08-16 Andreas Schwab <schwab@redhat.com>
10006
10007 [BZ #11724]
10008 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10009 object is seen twice.
10010 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10011
10012 * elf/Makefile (distribute): Add tst-initorder2.c.
10013 (tests): Add tst-initorder2.
10014 (modules-names): Add tst-initorder2a tst-initorder2b
10015 tst-initorder2c tst-initorder2d. Add rules to build them.
10016 ($(objpfx)tst-initorder2.out): New rule.
10017 * elf/tst-initorder2.c: New file.
10018 * elf/tst-initorder2.exp: New file.
10019
10020 2011-08-22 Andreas Schwab <schwab@redhat.com>
10021
10022 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10023
10024 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10025 dependencies back to end of function.
10026
10027 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10028 $(elfobjdir)/ld.so.
10029
10030 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10031
10032 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10033 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10035 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10036 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10037 of __vdso_gettimeofday.
10038 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10039 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10040 attribute_hidden.
10041 (_libc_vdso_platform_setup): Remove initialization of
10042 __vdso_gettimeofday and __vdso_time.
10043
10044 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10045
10046 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10047 and fgetc_unlocked.
10048 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10049 getc_unlocked.
10050
10051 * elf/dl-open.c (add_to_global): Report additions to the global scope
10052 for LD_DEBUG=scopes.
10053 (dl_open_worker): Also print scope of newly loaded dependencies.
10054 (_dl_show_scope): Indicate if there is no scope.
10055
10056 [BZ #13114]
10057 * stdio-common/Makefile (tests): Add bug24.
10058 * stdio-common/bug24.c: New file.
10059
10060 2011-08-19 Andreas Jaeger <aj@suse.de>
10061
10062 [BZ #13114]
10063 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10064 non-existant file when using close-on-exec mode.
10065
10066 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10067
10068 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10069 the very first instruction.
10070
10071 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10072 the CFI state in the end.
10073 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10074 inclusion of dl-trampoline.h.
10075 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10076
10077 2011-08-19 Andreas Schwab <schwab@redhat.com>
10078
10079 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10080 expectations for long double.
10081
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10083 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10084
10085 2011-08-14 David S. Miller <davem@davemloft.net>
10086
10087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10088 artificual limit depends upon the system page size.
10089
10090 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10091
10092 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10093 * resolv/Makefile: Define CFLAGS-libresolv.
10094
10095 2011-08-17 Andreas Schwab <schwab@redhat.com>
10096
10097 * nss/makedb.c (compute_tables): Make variables used in nested
10098 function static.
10099
10100 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10101
10102 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10103 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10104 if buffer was too small.
10105
10106 * elf/pldd.c (main): Attach to all threads in the process.
10107 Rewrite /proc handling to use *at functions.
10108
10109 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10110
10111 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10112 specifies first scope to show.
10113 (dl_open_worker): Update callers. Move printing scope of new
10114 object to before the relocation.
10115 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10116 * sysdeps/generic/ldsodefs.h: Update declaration.
10117
10118 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10119 string for the scope number.
10120
10121 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10122
10123 * nscd/servicescache.c (cache_addserv): Make sure written is always
10124 initialized.
10125
10126 2011-08-14 Roland McGrath <roland@hack.frob.com>
10127
10128 * sysdeps/i386/i486/bits/atomic.h
10129 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10130 statement expression, so as to suppress "set but not used" warning.
10131 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10132
10133 * string/strncat.c (STRNCAT): Use prototype definition.
10134
10135 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10136 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10137 -Iprograms here.
10138 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10139 (localedef-modules): Add localedef.
10140 (locale-modules): Add locale.
10141
10142 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10143 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10144 to avoid a warning.
10145
10146 2011-08-14 David S. Miller <davem@davemloft.net>
10147
10148 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10149 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10150
10151 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10152
10153 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10154 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10155 * elf/rtld.c (dl_main): Set l_name of vDSO.
10156 Call _dl_show_scope when DL_DEBUG_SCOPES.
10157 (process_dl_debug): Recognize scopes flag and also set it for all.
10158 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10159 Declare _dl_show_scope.
10160
10161 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10162 (do_dlopen): Pass caller_dlopen to dl_open.
10163 (__libc_dlopen_mode): Initialize caller_dlopen.
10164
10165 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10166 of libc. Make tolower call locale-independent. Optimize a bit by
10167 using isdigit instead of isalnum.
10168 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10169
10170 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10171
10172 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10173 was a dependency or dynamically loaded.
10174
10175 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10176
10177 * intl/l10nflist.c: Allow architecture-specific pop function.
10178 * sysdeps/x86_64/l10nflist.c: New file.
10179
10180 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10181 classification.
10182
10183 2011-08-10 Andreas Schwab <schwab@redhat.com>
10184
10185 * include/dirent.h: Add libc_hidden_proto for scandirat and
10186 scandirat64. Don't declare __scandirat64.
10187 * dirent/scandirat.c: Add libc_hidden_def.
10188 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10189 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10190
10191 2011-08-10 David S. Miller <davem@davemloft.net>
10192
10193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10194 enum.
10195 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10196 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10197 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10198
10199 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10200
10201 * Versions.def [libc]: Add GLIBC_2.15.
10202 * dirent/Makefile (routines): Add scandirat and scandirat64.
10203 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10204 GLIBC_2.15.
10205 * dirent/dirent.h: Declare scandirat and scandirat64.
10206 * dirent/scandirat.c: New file.
10207 * dirent/scandirat64.c: New file.
10208 * sysdeps/wordsize-64/scandirat.c: New file.
10209 * sysdeps/wordsize-64/scandirat64.c: New file.
10210 * dirent/opendir.c: Define opendirat.
10211 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10212 using scandirat.
10213 * dirent/scandir64.c: Adjust for scandir.c change.
10214 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10215 __scandirat64, and __scandir_cancel_handler.
10216 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10217 additional parameter and use openat instead of open (outside of ld.so).
10218 Add new __opendir as wrapper around __opendirat.
10219 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10220 here without requiring old scandirat implementation.
10221
10222 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10223
10224 * dirent/scandir.c (cancel_handler): Renamed to
10225 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10226 defined. Adjust users.
10227 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10229
10230 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10231
10232 * string/test-string.h (IMPL): Use __STRING to expand name and then
10233 stringify it.
10234
10235 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10236 of cleanups.
10237
10238 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10239
10240 * string/Makefile: Update.
10241 (strop-tests): Append strncat.
10242 * string/test-wcscmp.c: New file.
10243 New comprehensive test for wcscmp.
10244 * string/test-strcmp.c: Update.
10245 (WIDE): New define.
10246
10247 2011-07-22 Andreas Schwab <schwab@redhat.com>
10248
10249 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10250 line.
10251
10252 2011-07-26 Andreas Schwab <schwab@redhat.com>
10253
10254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10255 encoding to ACE if AI_IDN.
10256
10257 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10258
10259 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10260 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10261
10262 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10263
10264 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10265 Fix overflow bug in strncat.
10266 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10267
10268 * string/test-strncat.c: Update.
10269 Add new tests for checking overflow bugs.
10270
10271 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10272
10273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10274 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10275 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10276 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10277 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10278 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10279 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10280 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10281 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10282
10283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10284 (USE_AS_STRCAT): Define.
10285 Add strcat and strncat support.
10286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10287
10288 2011-07-25 Andreas Schwab <schwab@redhat.com>
10289
10290 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10291 __n bigger than INT_MAX+1.
10292 (__strncmp_g): Likewise.
10293
10294 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10295
10296 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10297 * libio/stido.h: Likewise.
10298
10299 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10300 (AF_NFC): Define.
10301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10302 (AF_NFC): Define.
10303
10304 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10305 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10306 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10307 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10308 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10309
10310 [BZ #13021]
10311 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10312 installed.
10313
10314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10315 typo.
10316 (_dl_x86_64_save_sse): Likewise.
10317
10318 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10319
10320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10321 OSXSAVE.
10322 (_dl_x86_64_save_sse): Likewise.
10323
10324 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10325
10326 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10327
10328 2011-07-21 Andreas Schwab <schwab@redhat.com>
10329
10330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10331 change.
10332 (_dl_x86_64_save_sse): Use correct AVX check.
10333
10334 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10335
10336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10337 bug in strncpy/strncat.
10338 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10339
10340 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10341
10342 * string/tester.c (test_strcat): Add tests for different alignments
10343 of source and destination.
10344 (test_strncat): Likewise.
10345
10346 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10347
10348 [BZ #12852]
10349 * posix/glob.c (glob): Check passed in values before using them in
10350 expressions to avoid some overflows.
10351 (glob_in_dir): Likewise.
10352
10353 [BZ #13007]
10354 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10355 check for AVX enablement so that we don't crash with old kernels and
10356 new hardware.
10357 * elf/tst-audit4.c: Add same checks here.
10358 * elf/tst-audit6.c: Likewise.
10359
10360 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10361
10362 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10363
10364 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10365
10366 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10367
10368 * po/cs.po: Update from translation team.
10369 * po/bg.po: Likewise.
10370
10371 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10372
10373 * misc/sys/cdefs.h: Add support for const attribute.
10374 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10375 to gnu_dev_{major,minor,makedev} functions.
10376
10377 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10378
10379 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10380
10381 2011-07-20 Andreas Schwab <schwab@redhat.com>
10382
10383 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10384 strlen results.
10385
10386 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10387
10388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10389 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10390 register in order to avoid conflicts with the soft frame pointer
10391 being held in r11 when necessary.
10392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10393 (INTERNAL_VSYSCALL_NCS): Likewise.
10394
10395 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10396
10397 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10398 * elf/dl-fini.c (_dl_fini): Adjust caller.
10399 * elf/dl-close.c (_dl_close_worker): Likewise.
10400 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10401
10402 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10403
10404 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10405 "aux_cache->nlibs < 0".
10406
10407 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10408 in the reload-count case.
10409
10410 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10411
10412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10413 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10414 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10415 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10416 * sysdeps/x86_64/multiarch/strcat.S: New file.
10417 * sysdeps/x86_64/multiarch/strncat.S: New file.
10418 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10419 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10420 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10421 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10423 (USE_AS_STRCAT): Define.
10424 Add strcat and strncat support.
10425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10426 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10427 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10428 * string/strncat.c: Update.
10429 (USE_AS_STRNCAT): Define.
10430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10431 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10432 and i7.
10433 * sysdeps/x86_64/multiarch/init-arch.h
10434 (bit_Prefer_PMINUB_for_stringop): New.
10435 (index_Prefer_PMINUB_for_stringop): Likewise.
10436 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10437 bit_Prefer_PMINUB_for_stringop.
10438
10439 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10440
10441 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10442 buffer64.
10443 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10444 of casting of buffer.
10445 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10446 buffer32 and buffer64.
10447 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10448 writes instead of casting of buffer.
10449 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10450 buffer32.
10451 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10452 casting of buffer.
10453
10454 2011-07-19 Andreas Schwab <schwab@redhat.com>
10455
10456 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10457
10458 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10459
10460 * nscd/nscd.c (termination_handler): Don't do anything for a database
10461 if it has not yet been initialized.
10462
10463 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10464
10465 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10466
10467 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10468
10469 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10470
10471 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10472
10473 * po/nl.po: Update from translation team.
10474 * po/sv.po: Likewise.
10475
10476 2011-07-16 Roland McGrath <roland@hack.frob.com>
10477
10478 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10479 now disallowed by GCC.
10480
10481 * configure.in (use-default-link): Default to yes if a test -shared
10482 link meets our qualifications.
10483 * configure: Regenerated.
10484
10485 * config.make.in (output-format): New variable.
10486 * configure.in: Check for ld --print-output-format support.
10487 * configure: Regenerated.
10488 * Makerules ($(common-objpfx)format.lds)
10489 [$(output-format) != unknown]: Just use $(output-format),
10490 instead of the linker-script munging.
10491
10492 2011-07-14 Roland McGrath <roland@hack.frob.com>
10493
10494 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10495 of $(common-objpfx)shlib.lds.
10496 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10497
10498 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10499 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10500
10501 * configure.in (-z relro check): Adjust test code to add a large
10502 writable data section after it.
10503 * configure: Regenerated.
10504
10505 2011-07-11 Roland McGrath <roland@hack.frob.com>
10506
10507 * configure.in (-z relro check): Fix test code to make the variable
10508 truly const.
10509 * configure: Regenerated.
10510
10511 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10512
10513 * nscd/nscd.h (struct traced_file): Define.
10514 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10515 elements. Add traced_files.
10516 (inotify_fd): Declare.
10517 (register_traced_file): Declare.
10518 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10519 (inotify_fd): Export.
10520 (resolv_conf_descr): Remove.
10521 (nscd_init): Move inotify descriptor creation to main.
10522 Don't register files for notification here.
10523 (register_traced_file): New function.
10524 (invalidate_cache): Don't use reset_res to determine whether to call
10525 res_init, go through the list of registered files.
10526 (main_loop_poll): The inotify descriptors are now stored in the
10527 structures for the traced files.
10528 (main_loop_epoll): Likewise
10529 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10530 to __nss_disable_nscd.
10531 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10532 for a database anymore. Check the records for all the registered
10533 files instead.
10534 * nss/Makefile (libnss_files-routines): Add files-init.
10535 (libnss_db-routines): Add db-init.
10536 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10537 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10538 * nss/nss_db/db-init.c: New file.
10539 * nss/nss_files/files-init.c: New file.
10540 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10541 __nss_lookup_function.
10542 (__nss_lookup_function): Call nss_load_library.
10543 (nss_load_all_libraries): New function.
10544 (__nss_disable_nscd): Take parameter with callback function for files
10545 to register. Set is_nscd. Load all the DSOs for the NSS modules
10546 used for the cached services.
10547 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10548 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10549 options for features to all the files in nscd.
10550
10551 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10552
10553 2011-07-10 Roland McGrath <roland@hack.frob.com>
10554
10555 * csu/elf-init.c (__libc_csu_init): Comment typo.
10556
10557 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10558
10559 * po/pl.po: Update from translation team.
10560 * po/ja.po: Likewise.
10561 * po/ru.po: Likewise.
10562 * po/ko.po: Likewise.
10563 * po/fr.po: Likewise.
10564
10565 2011-07-09 Roland McGrath <roland@hack.frob.com>
10566
10567 * configure.in (.ctors/.dtors header and trailer check):
10568 Use an empirical test on a built program.
10569 * configure: Regenerated.
10570
10571 * configure.in (-z relro check): Use an empirical test on a built DSO.
10572 Detect, but do not require, on ia64.
10573 * configure: Regenerated.
10574
10575 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10576 Update tests that use readelf to use $READELF instead.
10577 * configure: Regenerated.
10578
10579 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10580
10581 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10582 if the result is not used.
10583
10584 2011-07-05 Andreas Jaeger <aj@suse.de>
10585
10586 [BZ#9696]
10587 * stdlib/tst-strtod.c: Add testcase.
10588
10589 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10590
10591 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10592 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10593 The latter has a higher limit. Take additional parameter to pass to
10594 the new function.
10595 (__pathconf): Pass file to __statfs_link_max.
10596 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10597 __statfs_link_max.
10598 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10599 __statfs_link_max.
10600
10601 [BZ #12868]
10602 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10604 Handle Lustre.
10605 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10606 (__statfs_filesize_max): Likewise.
10607 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10608
10609 2011-07-05 Andreas Jaeger <aj@suse.de>
10610
10611 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10612
10613 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10614
10615 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10616 `status' variable.
10617 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10618 Likewise.
10619
10620 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10621
10622 * Makefile (strop-tests): Add strncat.
10623 * string/test-strncat.c: New file.
10624
10625 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10626
10627 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10628
10629 2011-06-21 Andreas Jaeger <aj@suse.de>
10630
10631 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10632 Copy rule from iconvdata/Makefile.
10633
10634 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10635
10636 [BZ #12922]
10637 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10638 but no long options are defined, just return 'W'.
10639
10640 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10641
10642 [BZ #9696]
10643 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10644
10645 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10646
10647 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10648 netgroups to read.
10649 (innetgr): Likewise.
10650
10651 2011-07-05 Roland McGrath <roland@hack.frob.com>
10652
10653 * config.make.in (install_root): Default to $(DESTDIR).
10654
10655 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10656
10657 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10658
10659 2011-07-02 Roland McGrath <roland@hack.frob.com>
10660
10661 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10662
10663 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10664 containing directory rather than embedding absolute directory names.
10665
10666 * scripts/check-local-headers.sh: Rewritten using awk.
10667 Match by word, not by line. Print error messages for matches.
10668 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10669
10670 * Makerules [shlib-lds-flags empty]:
10671 ($(common-objpfx)libc_pic.opts): New target.
10672 ($(common-objpfx)libc_pic.os.clean): New target.
10673 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10674
10675 * config.make.in (OBJCOPY): New variable.
10676 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10677 * configure: Regenerated.
10678
10679 * config.make.in (use-default-link): New variable.
10680 * configure.in (use_default_link): Grok --with-default-link to set it.
10681 * configure: Regenerated.
10682 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10683 (shlib-lds, shlib-lds-flags): Define to empty.
10684
10685 * Makerules (shlib-lds): New variable.
10686 (shlib-lds-flags): New variable.
10687 (build-shlib, build-moduile, build-module-asneeded): Use it.
10688 ($(common-objpfx)libc.so): Use $(shlib-lds).
10689 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10690 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10691
10692 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10693 DT_FLAGS/DT_FLAGS_1 with zero flags.
10694
10695 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10696 linker script munging.
10697
10698 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10699
10700 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10701 as 128-bit value.
10702 * crypt/sha512.c (sha512_process_block): Perform total addition using
10703 128-bit if possible.
10704 (__sha512_finish_ctx): Likewise.
10705 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10706 as 64-bit value.
10707 * crypt/sha256.c (SWAP64): Define.
10708 (sha256_process_block): Perform total addition using 64-bit if
10709 possible.
10710 (__sha256_finish_ctx): Likewise.
10711
10712 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10713
10714 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10716 * nscd/hstcache.c (cache_addhst): Likewise.
10717 * nscd/grpcache.c (cache_addgr): Likewise.
10718 * nscd/aicache.c (addhstaiX): Likewise
10719 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10720
10721 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10722
10723 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10725 * nscd/hstcache.c (cache_addhst): Likewise.
10726 * nscd/grpcache.c (cache_addgr): Likewise.
10727 * nscd/aicache.c (addhstaiX): Likewise
10728
10729 2011-07-01 Andreas Schwab <schwab@redhat.com>
10730
10731 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10732 domain only when needed.
10733
10734 2011-06-30 Andreas Schwab <schwab@redhat.com>
10735
10736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10737 is always restored.
10738
10739 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10740
10741 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10742 are re-adding the entry.
10743 * nscd/servicescache.c (cache_addserv): Likewise.
10744
10745 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10746
10747 * sysdeps/generic/dl-irel.h: fix protection against multiple
10748 inclusions.
10749 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10750
10751 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10752
10753 [BZ #12935]
10754 * malloc/memusage.sh: Fix quoting in message.
10755 * debug/xtrace.sh: Likewise.
10756
10757 * configure.in: Remove support for --experimental-malloc option, make
10758 it the default.
10759 * config.make.in: Likewise.
10760 * malloc/Makefile: Likewise.
10761
10762 2011-06-27 Andreas Schwab <schwab@redhat.com>
10763
10764 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10765 two-byte characters.
10766
10767 2011-06-27 Roland McGrath <roland@hack.frob.com>
10768
10769 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10770 AC_CACHE_CHECK invocation.
10771 * configure: Regenerated.
10772
10773 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10774
10775 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10776
10777 [BZ #12350]
10778 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10779 bit from old_res_options.
10780
10781 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10782
10783 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10784 value type for setfct.
10785
10786 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10787
10788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10789 __gettimeofday instead of gettimeofday.
10790
10791 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10792
10793 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10794
10795 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10796
10797 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10798
10799 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10800 info.
10801
10802 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10803
10804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10805 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10806 strcpy-sse2-unaligned strncpy-sse2-unaligned
10807 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10808 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10809 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10810 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10811 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10812 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10814 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10815 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10816 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10817 (STRCPY): Support SSE2 and SSSE3 versions.
10818
10819 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10820
10821 [BZ #12874]
10822 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10823 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10824 kernels which artificially limit size of requests.
10825
10826 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10827
10828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10829 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10830 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10831 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10832 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10833 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10834 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10835 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10836 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10837 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10838 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10839 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10840 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10841 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10842 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10844 Enable unaligned load optimization for Intel Core i3, i5 and i7
10845 processors.
10846 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10847 Define.
10848 (index_Fast_Unaligned_Load): Define.
10849 (HAS_FAST_UNALIGNED_LOAD): Define.
10850
10851 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10852
10853 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10854
10855 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10856
10857 [BZ #12907]
10858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10859 until it is clear that the information is realy needed.
10860 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10861
10862 2011-06-22 Andreas Schwab <schwab@redhat.com>
10863
10864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10865
10866 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10867
10868 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10869 /sys/devices/system/cpu/online if it is usable.
10870
10871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10872 reading the information from the /proc filesystem to once a second.
10873
10874 2011-06-21 Andreas Jaeger <aj@suse.de>
10875
10876 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10877 NULL after inclusion of kernel headers.
10878
10879 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10880
10881 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10882 calls to internal_setent.
10883
10884 [BZ #12885]
10885 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10886 addresses using gethostbyname4_r ignore IPv4 addresses.
10887
10888 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10889 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10890
10891 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10892
10893 2011-06-20 David S. Miller <davem@davemloft.net>
10894
10895 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10896 inclusions.
10897 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10898
10899 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10900 (elf_irel): Use it.
10901 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10902 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10903 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10904 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10905 * sysdeps/x86_64/dl-irel.h: Likewise.
10906
10907 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10908 * elf/dl-sym.c: Likewise.
10909
10910 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10911
10912 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10913 need to dereference resplen2.
10914
10915 2011-06-14 Andreas Schwab <schwab@redhat.com>
10916
10917 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10918
10919 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10920
10921 * Makeconfig: Define vardbdir and inst_vardbdir.
10922 * nss/Makefile: Add rules to install db-Makefile.
10923
10924 * nss/nss_db/db-XXX.c: Cleanup.
10925
10926 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10927 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10928 GLIBC_PRIVATE.
10929 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10930 * nss/makedb.c: Implement -g option to specify that value strings
10931 are generated and should not be added to table iterated over for
10932 get*ent calls.
10933 * nss/nss_db/db-initgroups.c: New file.
10934
10935 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10936 interface.
10937
10938 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10939 (internal_getgrouplist): Adjust to name change.
10940 Update use_initgroups_entry if this is not the first call.
10941 * nss/databases.def: Add initgroups entry.
10942
10943 * nss/makedb.c (compute_tables): Check result of multiple hash table
10944 sizes to minimize maximum chain length.
10945
10946 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10947
10948 * Versions.def: Add entry for libnss_db.
10949 * shlib-versions: Likewise.
10950 * nss/Makefile: Add rules to build libnss_db.
10951 * nss/Versions: Add libnss_db information. Organize libnss_files
10952 entries better.
10953 * nss/db-Makefile: Add gshadow support. Change rules for the new
10954 makedb progra. Some minor improvements to generate smaller files.
10955 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10956 here from...
10957 * nss/makedb.c: ...here.
10958 Improve database format to be smaller and require less memory at
10959 runtime.
10960 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10961 db anymore.
10962 * nss/nss_db/db-netgrp.c: Likewise.
10963 * nss/nss_db/db-open.c: Likewise.
10964 * nss/nss_files/flies-XXX.x: Adjust comments.
10965 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10966 * nss/nss_files/files-grp.c: Likewise.
10967 * nss/nss_files/files-hosts.c: Likewise.
10968 * nss/nss_files/files-network.c: Likewise.
10969 * nss/nss_files/files-proto.c: Likewise.
10970 * nss/nss_files/files-pwd.c: Likewise.
10971 * nss/nss_files/files-rpc.c: Likewise.
10972 * nss/nss_files/files-service.c: Likewise.
10973 * nss/nss_files/files-sgrp.c: Likewise.
10974 * nss/nss_files/files-spwd.c: Likewise.
10975 * nss/nss_db/db-alias.c: Removed.
10976 * nss/nss_db/dummy-db.h: Removed.
10977
10978 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10979
10980 * nss/makedb.c: Rewritten to not use database library.
10981 * nss/Makefile: Update to build new makedb program.
10982
10983 2011-06-14 Andreas Jaeger <aj@suse.de>
10984
10985 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10986 memset declaration.
10987
10988 2011-06-10 Andreas Schwab <schwab@redhat.com>
10989
10990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10991 tmpbuf.
10992
10993 2011-06-10 Roland McGrath <roland@hack.frob.com>
10994
10995 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10996 * elf/Makefile ($(objpfx)ld.so): Likewise.
10997
10998 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10999 Don't list ld.so twice in dependencies.
11000
11001 * posix/bug-regex31.c: Include <stdlib.h>.
11002
11003 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11004
11005 * nis/nss_compat/compat-spwd.c
11006 (getspent_next_nss_netgr): Remove unused variable.
11007 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11008
11009 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11010 nonmembers" output to use the right array.
11011
11012 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11013
11014 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11015
11016 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11017 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11018 * catgets/gencat.c (read_input_file): Likewise.
11019 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11020
11021 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11022 variable definition inside #if's controlling its use.
11023
11024 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11025
11026 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11027
11028 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11029
11030 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11031 unreachable code.
11032
11033 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11034
11035 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11036 * configure: Regenerated.
11037
11038 * Makerules: Revert last change.
11039 * elf/Makefile: Likewise.
11040
11041 2011-06-09 Roland McGrath <roland@hack.frob.com>
11042
11043 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11044 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11045 (reloc-link): Likewise.
11046
11047 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11048
11049 * elf/Makefile: Add rules to build pldd.
11050 * elf/pldd.c: New file.
11051 * elf/pldd-xx.c: New file.
11052
11053 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11054
11055 * version.h: Update for 2.15 development version.
11056
11057 2011-06-07 David S. Miller <davem@davemloft.net>
11058
11059 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11060 ifuncs.
11061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11062 elf_machine_lazy_rel): Likewise.
11063 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11064 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11065 elf_machine_lazy_rel): Likewise.
11066 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11067 dl_hwcap via passed in argument.
11068 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11069 Likewise.
11070
11071 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11072
11073 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11074
11075 2011-06-06 Roland McGrath <roland@hack.frob.com>
11076
11077 [BZ #12849]
11078 * manual/fdl-1.1.texi: New file, verbatim from:
11079 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11080 * manual/lgpl-2.1.texi: New file, verbatim from:
11081 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11082 * manual/Makefile (licenses): New variable, list those new file names.
11083 (texis): Use it.
11084 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11085
11086 * manual/fdl.texi: File removed.
11087 * manual/lesser.texi: File removed.
11088 * manual/libc.texinfo (Copying, Documentation License):
11089 Use new @include file names, put @appendix directive before @include.
11090
11091 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11092
11093 [BZ #12841]
11094 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11095 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11096 (mq_open): Add __NTH.
11097
11098 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11099
11100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11101 Assume Intel Core i3/i5/i7 processor if AVX is available.
11102
11103 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11104
11105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11106 typo.
11107
11108 2011-05-31 Andreas Schwab <schwab@redhat.com>
11109
11110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11111 memory. Use alloca_account. Fix memory leak when retrying.
11112
11113 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11114
11115 * version.h (RELEASE): Bump for 2.14 release.
11116 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11117
11118 * config.make.in (RANLIB): Remove entry.
11119
11120 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11121
11122 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11123 (libc.pot): Work around missing support for .ksh extension in xgettext.
11124
11125 [BZ #12684]
11126 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11127 if both request failed.
11128 (send_dg): In case of server errors clear resplen or *resplen2.
11129
11130 [BZ #12454]
11131 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11132 when there are multiple maps.
11133 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11134 (_dl_fini): Remove test here.
11135
11136 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11137
11138 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11139
11140 [BZ #12350]
11141 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11142 bit from old_res_options.
11143 (gaih_inet): Likewise.
11144
11145 [BZ #11099]
11146 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11147 as signed.
11148
11149 * resolv/res_init.c (res_setoptions): Make the code more compact.
11150
11151 [BZ #11558]
11152 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11153 set RES_USEVC.
11154
11155 [BZ #11634]
11156 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11157
11158 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11159
11160 [BZ #11781]
11161 * malloc/malloc.h: Declare malloc hook variables as volatile.
11162
11163 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11164 in last patch.
11165
11166 [BZ #11799]
11167 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11168 raise in the comment.
11169 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11171 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11172
11173 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11174
11175 [BZ #12811]
11176 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11177 grow the buffers more if it already has to be sufficient.
11178 (build_wcs_upper_buffer): Likewise.
11179 * posix/regexec.c (check_matching): Likewise.
11180 (clean_state_log_if_needed): Likewise.
11181 (extend_buffers): Don't enlarge buffers beyond size of the input
11182 buffer.
11183 Patches mostly by Emil Wojak <emil@wojak.eu>.
11184 * posix/bug-regex32.c: New file.
11185 * posix/Makefile (tests): Add bug-regex32.
11186
11187 * locale/findlocale.c (_nl_find_locale): Return right away if
11188 _nl_explode_name failed.
11189 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11190
11191 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11192
11193 * debug/xtrace.sh: Unify messages.
11194 * malloc/memusage.sh: Likewise.
11195
11196 [BZ #12813]
11197 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11198 time symbol from vDSO. Substitute with vsyscall if not available.
11199 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11200 __vdso_time.
11201
11202 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11203 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11204 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11205 Add sendmmsg and internal_sendmmsg.
11206 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11207 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11208 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11209
11210 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11211 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11213
11214 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11215
11216 [BZ #12813]
11217 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11218 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11219 available.
11220 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11221 __vdso_getcpu.
11222
11223 [BZ #12814]
11224 * iconvdata/Makefile (tests): Add bug-iconv9.
11225 * iconvdata/bug-iconv9.c: New file.
11226
11227 2011-05-27 Andreas Schwab <schwab@redhat.com>
11228
11229 [BZ #12814]
11230 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11231
11232 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11233
11234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11235 (struct user_regs_struct): Change intcs field back to cs.
11236
11237 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11238
11239 * po/ja.po: Update from translation team.
11240
11241 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11242
11243 [BZ #12795]
11244 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11245 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11246
11247 2011-05-20 Andreas Schwab <schwab@redhat.com>
11248
11249 * stdlib/longlong.h: Update from GCC.
11250
11251 2011-05-23 Andreas Schwab <schwab@redhat.com>
11252
11253 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11254 parameter name.
11255 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11256 Add parameter name.
11257 (__sysconf): Pass it down.
11258
11259 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11260
11261 [BZ #12671]
11262 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11263 some situations.
11264 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11265 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11266 add in in __libc_use_alloca calls. Adjust callers.
11267 (glob): Use malloc in some situations.
11268
11269 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11270 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11271 pltexit.
11272
11273 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11274
11275 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11276 and CLOCK_BOOTTIME_ALARM.
11277
11278 [BZ #12782]
11279 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11280 is returned.
11281
11282 * string/_strerror.c (__strerror_r): Print negative errors as signed
11283 numbers.
11284
11285 [BZ #12777]
11286 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11287 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11288 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11289
11290 * configure.in: Fix typo in redirection and correct removal of test
11291 files in two cases.
11292
11293 [BZ #12788]
11294 * locale/setlocale.c (new_composite_name): Fix test to check for
11295 identical name of all categories.
11296
11297 [BZ #12792]
11298 * libio/filedoalloc.c (local_isatty): New function.
11299 (_IO_file_doallocate): Use local_isatty.
11300 * stdio-common/perror.c (perror): In case a new stream is used
11301 forward the stream error.
11302 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11303 error flag.
11304
11305 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11306
11307 [BZ #11869]
11308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11309 alloca.
11310 * include/alloca.h (extend_alloca_account): Define.
11311
11312 [BZ #11857]
11313 * posix/regex.h: Fix comments with documentation of user-accessible
11314 fields after compilation and describe correct free'ing of pattern
11315 after re_compile_pattern.
11316 Patch by Reuben Thomas <rrt@sc3d.org>.
11317
11318 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11319
11320 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11321 and -mno-altivec to prevent the compiler from using Altivec and/or
11322 VSX instructions when the corresponding registers are not available.
11323
11324 2011-05-19 Andreas Schwab <schwab@redhat.com>
11325
11326 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11327
11328 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11329
11330 * libio/freopen.c (freopen): Use __dup2, not dup2.
11331 * libio/freopen64.c (freopen64): Likewise.
11332
11333 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11334
11335 [BZ #12775]
11336 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11337 * math/Makefile (tests): Add test-powl.
11338 (CFLAGS-test-powl.c): Define.
11339 * math/test-powl.c: New file.
11340
11341 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11342
11343 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11344
11345 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11346
11347 [BZ #11837]
11348 * iconvdata/gb18030.c: Update to GB18020-2005.
11349
11350 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11351
11352 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11353 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11354 Patch by Aharon Robbins <arnold@skeeve.com>.
11355
11356 [BZ #11892]
11357 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11358 on the stack.
11359
11360 [BZ #11895]
11361 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11362 through underflows.
11363
11364 [BZ #12766]
11365 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11366 point to strings before performing equality test for error_one_per_line
11367 mode.
11368
11369 [BZ #11697]
11370 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11371
11372 [BZ #11820]
11373 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11374 (struct user_fpregs_struct): Avoid __uint*_t types.
11375
11376 [BZ #6420]
11377 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11378 symbol info. Use it instead of calling _dl_addr locally.
11379 (lock_and_info): New function.
11380 (tr_freehook): Call lock_and_info and pass symbol info as additional
11381 parameter to tr_where.
11382 (tr_mallochook): Likewise.
11383 (tr_reallochook): Likewise.
11384 (tr_memalignhook): Likewise.
11385
11386 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11387 used and couldn't be at all thread-safe.
11388
11389 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11390
11391 * libio/freopen.c (freopen): Don't close old file descriptor
11392 before the new one is opened. Instead dup the new file descriptor
11393 to the old one after the new stream is created.
11394 * libio/freopen64.c (freopen64): Likewise.
11395 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11396 * libio/fileops.c (_IO_new_file_close_it): Handle new
11397 _IO_FLAGS2_NOCLOSE flag.
11398 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11399 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11400 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11401 _IO_FLAGS2_NOCLOSE flag.
11402 * include/unistd.h: Add hidden_proto for dup3.
11403 Define __have_dup3.
11404 * io/dup3.c: Define hidden symbol.
11405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11406
11407 [BZ #7101]
11408 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11409 when an incomplete long option is used.
11410 * posix/tst-getopt_long1.c: New file.
11411 * posix/Makefile (tests): Add tst-getopt_long1.
11412
11413 [BZ #10138]
11414 * scripts/config.guess: Update from autoconf-2.68.
11415 * scripts/config.sub: Likewise.
11416
11417 [BZ #10157]
11418 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11419 tests into ...
11420 (has_cpuclock): ...this. New function.
11421 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11422 macro here based on has_cpuclock code.
11423
11424 [BZ #10149]
11425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11426 First byte (not low byte) is now always NUL.
11427 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11428
11429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11430 Use non-cancelable interfaces.
11431
11432 [BZ #9809]
11433 * locale/iso-639.def: Add entry for Sorani.
11434
11435 [BZ #11901]
11436 * include/stdlib.h: Move include protection to the right place.
11437 Define abort_msg_s. Declare __abort_msg with it.
11438 * stdlib/abort.c (__abort_msg): Adjust type.
11439 * assert/assert.c (__assert_fail_base): New function. Majority
11440 of code from __assert_fail. Allocate memory for __abort_msg with
11441 mmap.
11442 (__assert_fail): Now call __assert_fail_base.
11443 * assert/assert-perr.c: Remove bulk of implementation. Use
11444 __assert_fail_base.
11445 * include/assert.hL Declare __assert_fail_base.
11446 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11447 mmap.
11448 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11449
11450 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11451
11452 [BZ #11952]
11453 [BZ #12453]
11454 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11455 until all modules are registered in the DTV.
11456 * elf/Makefile: Add rules to build and run tst-tls19.
11457 * elf/tst-tls19.c: New file.
11458 * elf/tst-tls19mod1.c: New file.
11459 * elf/tst-tls19mod2.c: New file.
11460 * elf/tst-tls19mod3.c: New file.
11461 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11462
11463 [BZ #12083]
11464 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11465 correctly.
11466
11467 [BZ #12601]
11468 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11469 two-byte sequence errors.
11470 * iconvdata/Makefile (tests): Add bug-iconv8.
11471 * iconvdata/bug-iconv8.c: New file.
11472
11473 [BZ #12626]
11474 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11475 buf2 definition.
11476
11477 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11478
11479 [BZ #12432]
11480 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11481 (dummy_getcfa): New function.
11482 (init): Get _Unwind_GetCFA address, use dummy if not found.
11483 (backtrace_helper): In recursion check, also check whether CFA changes.
11484 (__backtrace): Completely initialize arg.
11485
11486 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11487 storing incomplete byte sequence in state object. Avoid testing for
11488 guaranteed too small input if we know there is enough data available.
11489
11490 2011-05-11 Andreas Schwab <schwab@redhat.com>
11491
11492 * Makeconfig (+link-pie): Indent.
11493 * Rules (binaries-pie): Define if $(have-fpie) and
11494 $(build-shared).
11495 (binaries-shared): Also filter out $(binaries-pie).
11496 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11497 * nscd/Makefile (others-pie): Add nscd.
11498 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11499 ($(objpfx)nscd): Remove command override.
11500 * login/Makefile (others-pie): Add pt_chown.
11501 ($(objpfx)pt_chown): Remove command override.
11502 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11503 remove command overrides.
11504
11505 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11506
11507 * libio/tst_putwc.c: Fix error messages.
11508
11509 [BZ #12724]
11510 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11511 currently writing and seek to current position when not.
11512 * libio/Makefile (tests): Add bug-fclose1.
11513 * libio/bug-fclose1.c: New file.
11514
11515 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11516
11517 [BZ #12511]
11518 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11519 don't set DF_1_NODELETE here.
11520 (do_lookup_x): When entering new entry test for copy relocation
11521 and if necessary set DF_1_NODELETE flag.
11522 * elf/tst-unique4.cc: New file.
11523 * elf/tst-unique4.h: New file.
11524 * elf/tst-unique4lib.cc: New file.
11525 * elf/Makefile: Add rules to build and run tst-unique4.
11526 Patch by Piotr Bury <pbury@goahead.com>.
11527
11528 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11529
11530 [BZ #12052]
11531 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11532
11533 [BZ #12625]
11534 * misc/mntent_r.c (addmntent): Flush the stream after the output
11535
11536 [BZ #12393]
11537 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11538 (is_trusted_path_normalize): Skip initial colon. Append slash
11539 to empty buffer. Duplicate is_trusted_path code but allow
11540 constructed patch to be prefix.
11541 (is_dst): Allow $ORIGIN followed by /.
11542 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11543 Correct testing of result of is_trusted_path_normalize
11544 (decompose_rpath): Fix warning.
11545
11546 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11547
11548 [BZ #11257]
11549 * grp/initgroups.c (internal_getgrouplist): When we found the service
11550 list through the initgroups entry in nsswitch.conf do not always
11551 continue on a successful lookup. Don't always use the
11552 __nss_group_database value if it is set.
11553 * nss/nsswitch.conf (initgroups): Change action for successful db
11554 lookup to continue for compatibility.
11555
11556 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11557
11558 [BZ #11532]
11559 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11560 and CP774 modules.
11561 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11562 and CP774 modules.
11563 * iconvdata/tst-tables.sh: Likewise.
11564 * iconvdata/cp770.c: New file.
11565 * iconvdata/cp771.c: New file.
11566 * iconvdata/cp772.c: New file.
11567 * iconvdata/cp773.c: New file.
11568 * iconvdata/cp774.c: New file.
11569 * iconvdata/testdata/CP770: New file.
11570 * iconvdata/testdata/CP770..UTF8: New file.
11571 * iconvdata/testdata/CP771: New file.
11572 * iconvdata/testdata/CP771..UTF8: New file.
11573 * iconvdata/testdata/CP772: New file.
11574 * iconvdata/testdata/CP772..UTF8: New file.
11575 * iconvdata/testdata/CP773: New file.
11576 * iconvdata/testdata/CP773..UTF8: New file.
11577 * iconvdata/testdata/CP774: New file.
11578 * iconvdata/testdata/CP774..UTF8: New file.
11579
11580 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11581 END CHARMAP line.
11582 * iconvdata/gen-8bit-gap.sh: Likewise.
11583 * iconvdata/gen-8bit.sh: Likewise.
11584
11585 * locale/iso-639.def: Add ary entry.
11586
11587 [BZ #11258]
11588 * locale/C-translit.h.in: Add U20A1 transliteration.
11589
11590 [BZ #12178]
11591 * locale/iso-639.def: Add wae entry.
11592 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11593
11594 [BZ #12545]
11595 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11596 for n.
11597
11598 [BZ #12711]
11599 * locale/C-translit.h.in: Add entry for U20B9.
11600 Patch by pravin.d.s@gmail.com.
11601
11602 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11603
11604 [BZ #12713]
11605 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11606 ENAMETOOLONG use generic getcwd.
11607 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11608 in rtld. Use *stat64.
11609 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11610 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11611 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11612 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11613 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11614 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11615 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11616 __fstatat64 macros.
11617 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11618 * dirent/rewinddir.c: Add libc_hidden_def.
11619 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11620 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11621
11622 * include/dirent.h (__alloc_dir): Add flags parameter.
11623 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11624 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11625 __alloc_dir.
11626 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11627 from fdopendir if O_CLOEXEC is already set.
11628
11629 2011-03-15 Alan Modra <amodra@gmail.com>
11630
11631 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11632 l_tls_firstbyte_offset non-zero. Save padding offset in
11633 l_tls_firstbyte_offset for later use.
11634 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11635 freeing static tls block.
11636
11637 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11638
11639 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11640 where #ifdef was intended. The intent is to prevent ARG_MAX from
11641 being defined by the kernel headers.
11642
11643 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11644
11645 [BZ #12734]
11646 * resolv/resolv.h: Define RES_NOTLDQUERY.
11647 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11648 no-tld-query and set RES_NOTLDQUERY.
11649 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11650 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11651 modern BIND to search name as TLD unless forbidden.
11652
11653 2011-05-07 Petr Baudis <pasky@suse.cz>
11654 Ulrich Drepper <drepper@gmail.com>
11655
11656 [BZ #12393]
11657 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11658 (is_trusted_path): ...to here.
11659 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11660 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11661 using is_trusted_path_normalize() in setuid scripts.
11662
11663 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11664
11665 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11666 __BEGIN/__END_DECLS.
11667
11668 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11669
11670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11671 NSS_STATUS_NOTFOUND if no record was found.
11672
11673 2011-05-05 Andreas Schwab <schwab@redhat.com>
11674
11675 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11676 (headers-not-in-tirpc): Remove rpc/netdb.h
11677 * resolv/netdb.h: Revert last change.
11678
11679 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11680
11681 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11682 circular dependency between libgcc.a and libc.a.
11683
11684 2011-05-05 Andreas Schwab <schwab@redhat.com>
11685
11686 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11687 * nis/Makefile: Don't install rpcsvc/*.
11688 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11689 instead of <rpc/types.h>.
11690 (MAXHOSTNAMELEN): Define.
11691
11692 2011-05-03 Andreas Schwab <schwab@redhat.com>
11693
11694 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11695
11696 2011-04-28 Maciej Babinski <mbabinski@google.com>
11697
11698 [BZ #12714]
11699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11700 gethostbyname4_r when IPv6 results are possible.
11701
11702 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11703
11704 [BZ #12723]
11705 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11706 _PC_PIPE_BUF handling.
11707
11708 2011-04-30 Bruno Haible <bruno@clisp.org>
11709
11710 [BZ #12717]
11711 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11712 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11713 to 'int'.
11714 * inet/getnameinfo.c (getnameinfo): Likewise.
11715
11716 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11717
11718 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11719 to groups setting in database lookup.
11720 * nss/nsswitch.conf: Add initgroups entry.
11721
11722 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11723
11724 [BZ #12685]
11725 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11726 mode string.
11727 Patch by Eric Blake <eblake@redhat.com>.
11728
11729 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11730
11731 * sunrpc/Makefile (need-export-routines): Add svc_run.
11732 (routines): Remove svc_run.
11733 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11734 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11735 * sunrpc/svc_run.c (svc_run): Likewise.
11736 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11737
11738 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11739
11740 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11741 problem in reallocation in last patch.
11742
11743 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11744
11745 * sunrpc/Makefile: Move inclusion of Rules.
11746
11747 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11748
11749 * nss/nss_files/files-initgroups.c: New file.
11750 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11751 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11752 _nss_files_initgroups_dyn.
11753
11754 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11755
11756 * elf/elf.h (R_ARM_IRELATIVE): Define.
11757
11758 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11759
11760 * po/ru.po: Update from translation team.
11761
11762 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11763
11764 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11765 dependencies.
11766
11767 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11768
11769 [BZ #12653]
11770 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11771 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11772 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11773 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11774 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11775
11776 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11777
11778 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11779 differing bytes.
11780 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11781 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11782 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11783
11784 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11785
11786 [BZ #12420]
11787 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11788 storing it.
11789 * stdlib/bug-getcontext.c: New file.
11790 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11791
11792 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11793
11794 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11795 instructions into .machine "z9-109".
11796 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11797 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11798
11799 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11800
11801 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11802 between environment variables and auxiliary vector.
11803
11804 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11805
11806 * Makefile: Add rules to build linkobj/libc.so.
11807 * include/libc-symbols.h: Define libc_hidden_nolink.
11808 * include/rpc/auth.h: Mark functions which are to be hidden.
11809 * include/rpc/auth_des.h: Likewise.
11810 * include/rpc/auth_unix.h: Likewise.
11811 * include/rpc/clnt.h: Likewise.
11812 * include/rpc/des_crypt.h: Likewise.
11813 * include/rpc/key_prot.h: Likewise.
11814 * include/rpc/pmap_clnt.h: Likewise.
11815 * include/rpc/pmap_prot.h: Likewise.
11816 * include/rpc/pmap_rmt.h: Likewise.
11817 * include/rpc/rpc_msg.h: Likewise.
11818 * include/rpc/svc.h: Likewise.
11819 * include/rpc/svc_auth.h: Likewise.
11820 * include/rpc/xdr.h: Likewise.
11821 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11822 * nss/Makefile: Likewise.
11823 * sunrpc/Makefile: Don't install headers. Build library with normal
11824 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11825 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11826 for the compat linking library. Remove use of INTDEF/INTUSE.
11827 * sunrpc/auth_none.c: Likewise.
11828 * sunrpc/auth_unix.c: Likewise.
11829 * sunrpc/authdes_prot.c: Likewise.
11830 * sunrpc/authuxprot.c: Likewise.
11831 * sunrpc/clnt_gen.c: Likewise.
11832 * sunrpc/clnt_perr.c: Likewise.
11833 * sunrpc/clnt_raw.c: Likewise.
11834 * sunrpc/clnt_simp.c: Likewise.
11835 * sunrpc/clnt_tcp.c: Likewise.
11836 * sunrpc/clnt_udp.c: Likewise.
11837 * sunrpc/clnt_unix.c: Likewise.
11838 * sunrpc/des_crypt.c: Likewise.
11839 * sunrpc/des_soft.c: Likewise.
11840 * sunrpc/get_myaddr.c: Likewise.
11841 * sunrpc/key_call.c: Likewise.
11842 * sunrpc/key_prot.c: Likewise.
11843 * sunrpc/netname.c: Likewise.
11844 * sunrpc/pm_getmaps.c: Likewise.
11845 * sunrpc/pm_getport.c: Likewise.
11846 * sunrpc/pmap_clnt.c: Likewise.
11847 * sunrpc/pmap_prot.c: Likewise.
11848 * sunrpc/pmap_prot2.c: Likewise.
11849 * sunrpc/pmap_rmt.c: Likewise.
11850 * sunrpc/publickey.c: Likewise.
11851 * sunrpc/rpc_cmsg.c: Likewise.
11852 * sunrpc/rpc_common.c: Likewise.
11853 * sunrpc/rpc_dtable.c: Likewise.
11854 * sunrpc/rpc_prot.c: Likewise.
11855 * sunrpc/rpc_thread.c: Likewise.
11856 * sunrpc/rtime.c: Likewise.
11857 * sunrpc/svc.c: Likewise.
11858 * sunrpc/svc_auth.c: Likewise.
11859 * sunrpc/svc_authux.c: Likewise.
11860 * sunrpc/svc_raw.c: Likewise.
11861 * sunrpc/svc_run.c: Likewise.
11862 * sunrpc/svc_simple.c: Likewise.
11863 * sunrpc/svc_tcp.c: Likewise.
11864 * sunrpc/svc_udp.c: Likewise.
11865 * sunrpc/svc_unix.c: Likewise.
11866 * sunrpc/svcauth_des.c: Likewise.
11867 * sunrpc/xcrypt.c: Likewise.
11868 * sunrpc/xdr.c: Likewise.
11869 * sunrpc/xdr_array.c: Likewise.
11870 * sunrpc/xdr_float.c: Likewise.
11871 * sunrpc/xdr_intXX_t.c: Likewise.
11872 * sunrpc/xdr_mem.c: Likewise.
11873 * sunrpc/xdr_rec.c: Likewise.
11874 * sunrpc/xdr_ref.c: Likewise.
11875 * sunrpc/xdr_sizeof.c: Likewise.
11876 * sunrpc/xdr_stdio.c: Likewise.
11877
11878 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11879
11880 [BZ #12650]
11881 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11882 * sysdeps/ia64/dl-tls.h: Likewise.
11883 * sysdeps/powerpc/dl-tls.h: Likewise.
11884 * sysdeps/s390/dl-tls.h: Likewise.
11885 * sysdeps/sh/dl-tls.h: Likewise.
11886 * sysdeps/sparc/dl-tls.h: Likewise.
11887 * sysdeps/x86_64/dl-tls.h: Likewise.
11888 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11889
11890 2011-03-14 Andreas Schwab <schwab@redhat.com>
11891
11892 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11893 rpath element also skip the following colon.
11894 (expand_dynamic_string_token): Add is_path parameter and pass
11895 down to DL_DST_REQUIRED and _dl_dst_substitute.
11896 (decompose_rpath): Call expand_dynamic_string_token with
11897 non-zero is_path. Ignore empty rpaths.
11898 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11899 with zero is_path.
11900
11901 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11902
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11904 Make cancelable.
11905
11906 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11907
11908 [BZ #12655]
11909 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11910 Patch by Filipe David Manana <fdmanana@apache.org>.
11911
11912 2011-04-07 Andreas Schwab <schwab@redhat.com>
11913
11914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11915 Maintain aligned stack.
11916 (CHECK_RSP): Remove unused macro.
11917
11918 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11919
11920 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11921 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11922
11923 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11924
11925 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11926
11927 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11928
11929 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11930
11931 [BZ #12518]
11932 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11933 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11934 * sysdeps/x86_64/memmove.c: New file.
11935 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11936 (memcpy): Renamed to ...
11937 (__new_memcpy): This.
11938 (memcpy): Provide GLIBC_2_14 memcpy.
11939 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11940 (memcpy): Provide GLIBC_2_2_5 memcpy.
11941
11942 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11943
11944 [BZ #12631]
11945 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11946
11947 2011-03-30 Andreas Schwab <schwab@redhat.com>
11948
11949 * misc/syncfs.c: New file.
11950 * misc/Makefile (routines): Add syncfs.
11951 * posix/unistd.h: Declare syncfs.
11952 * sysdeps/unix/syscalls.list: Add syncfs.
11953
11954 2011-04-01 Andreas Schwab <schwab@redhat.com>
11955
11956 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11957 open_by_handle_at.
11958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11959 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11963 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11964 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11965
11966 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11967
11968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11969 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11970 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11975
11976 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11977 sync_file_range.c with -fexceptions.
11978 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11979 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11980 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11981 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11982 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11983 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11984 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11985 sync_file_range as cancellation point
11986 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11987 now a wrapper around __call_sync_file_range with cancellation handling.
11988 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11989 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11990 function name to __call_sync_file_range.
11991 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11992 Add call_sync_file_range.
11993
11994 2011-04-01 Andreas Schwab <schwab@redhat.com>
11995
11996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11997 bits/timex.h.
11998
11999 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12000
12001 * iconv/iconv.h: Fix typo in comment.
12002 * io/fcntl.h: Likewise.
12003 * libio/stdio.h: Likewise.
12004 * posix/spawn.h: Likewise.
12005 * posix/unistd.h: Likewise.
12006 * stdlib/stdlib.h: Likewise.
12007 * time/time.h: Likewise.
12008 * wcsmbs/wchar.h: Likewise.
12009
12010 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12011 open_by_handle): Add.
12012 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12013 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12014 Augment a few comments.
12015 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12020 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12021 open_by_handle.
12022
12023 * io/fcntl.h (AT_EMPTY_PATH): Define.
12024
12025 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12026
12027 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12028 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12029 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12030 to...
12031 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12032 * Versions.def: Add GLIBC_2.14.
12033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12034 Export.
12035
12036 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12037
12038 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12039 round counter.
12040 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12041
12042 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12043
12044 [BZ #12597]
12045 * string/test-strncmp.c (do_page_test): New function.
12046 (check2): Likewise.
12047 (test_main): Call check2.
12048 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12049
12050 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12051
12052 [BZ #12587]
12053 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12054 Handle cache information in CPU leaf 4.
12055 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12056
12057 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12058
12059 [BZ #12583]
12060 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12061 character representation.
12062 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12063
12064 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12065
12066 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12067 END(__isnan) to END(__isnanf) to match function entry point/label
12068 EALIGN(__isnanf,...).
12069
12070 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12071
12072 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12073
12074 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12075
12076 [BZ #12510]
12077 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12078 copy from the symbol referenced in the relocation to initialize the
12079 used variable.
12080 Patch by Piotr Bury <pbury@goahead.com>.
12081 * elf/Makefile: Add rules to build and tst-unique3.
12082 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12083 * elf/tst-unique3.cc: New file.
12084 * elf/tst-unique3.h: New file.
12085 * elf/tst-unique3lib.cc: New file.
12086 * elf/tst-unique3lib2.cc: New file.
12087
12088 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12089
12090 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12091
12092 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12093 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12094 to _start.
12095
12096 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12097
12098 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12099 to-be-loaded object along a path to loader is ld.so.
12100
12101 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12102 Ulrich Drepper <drepper@gmail.com>
12103
12104 * sysdeps/x86_64/memset.S: After aligning destination, code
12105 branches to different locations depending on the value of
12106 misalignment, when multiarch is enabled. Fix this.
12107
12108 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12109
12110 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12111 Set _x86_64_preferred_memory_instruction for AMD processsors.
12112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12113 Set bit_Prefer_SSE_for_memop for AMD processors.
12114
12115 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12116
12117 * libio/fmemopen.c (fmemopen): Optimize a bit.
12118
12119 2011-03-03 Andreas Schwab <schwab@redhat.com>
12120
12121 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12122
12123 2011-03-03 Roland McGrath <roland@redhat.com>
12124
12125 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12126
12127 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12128
12129 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12130 __bzero_ultra1 instead of __memset_ultra1.
12131
12132 2011-02-23 Andreas Schwab <schwab@redhat.com>
12133 Ulrich Drepper <drepper@gmail.com>
12134
12135 [BZ #12509]
12136 * include/link.h (struct link_map): Add l_orig_initfini.
12137 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12138 returning unsuccessfully.
12139 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12140 close of a file loaded at startup, restore the original l_initfini
12141 list.
12142 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12143 list, store the pointer.
12144 * elf/Makefile ($(objpfx)noload-mem): New rule.
12145 (noload-ENV): Define.
12146 (tests): Add $(objpfx)noload-mem.
12147 * elf/noload.c: Include <memcheck.h>.
12148 (main): Call mtrace. Close all opened handles.
12149
12150 2011-02-17 Andreas Schwab <schwab@redhat.com>
12151
12152 [BZ #12454]
12153 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12154 dependencies are missing.
12155
12156 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12157
12158 Fix __if_freereq crash: Unlike the generic version which uses free,
12159 Hurd needs munmap.
12160 * sysdeps/mach/hurd/ifreq.h: New file.
12161
12162 2011-01-27 Petr Baudis <pasky@suse.cz>
12163 Ulrich Drepper <drepper@gmail.com>
12164
12165 [BZ 12445]#
12166 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12167 to extend_alloca().
12168 * stdio-common/bug23.c: New file.
12169 * stdio-common/Makefile (tests): Add bug23.
12170
12171 2010-09-28 Andreas Schwab <schwab@redhat.com>
12172 Ulrich Drepper <drepper@gmail.com>
12173
12174 [BZ #12489]
12175 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12176 before performing relro protection. At old place add assertion
12177 to make sure nothing changed.
12178
12179 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12180 Glauber de Oliveira Costa <glommer@gmail.com>
12181
12182 * elf/elf.h: Add new ARM TLS relocs.
12183
12184 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12185
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12187 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12188 cast from r3.
12189 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12190 'tests' variable.
12191 * sysdeps/wordsize-64/tst-writev.c: New file.
12192
12193 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12194
12195 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12196 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12197 insns in _dl_start to prevent a TOC reference before relocs are
12198 resolved.
12199
12200 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12201
12202 [BZ #12469]
12203 * Makeconfig: Remove RANLIB definition.
12204 * Makerules: Don't use RANLIB.
12205 * aclocal.m4: Remove ranlib test.
12206 * configure.in: No need to check for ranlib.
12207 * elf/rtld-Rules: Don't use RANLIB.
12208
12209 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12210
12211 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12212 protection macro.
12213 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12214 inclusion protection macro.
12215
12216 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12217 SIGRTMIN and SIGRTMAX and print information in that case only when
12218 SIGRTMIN is defined.
12219
12220 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12221
12222 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12223 arginfo fn returning -1.
12224
12225 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12226 and thousands string is zero terminated.
12227
12228 2011-02-03 Andreas Schwab <schwab@redhat.com>
12229
12230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12231 sysdeps/unix/sysv/linux/bits/socket.h.
12232
12233 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12234
12235 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12236 (__CPU_COUNT): Remove old macros.
12237 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12238 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12239 (__CPU_ALLOC, __CPU_FREE): Add macros.
12240 (__sched_cpualloc, __sched_cpufree): Add declarations.
12241
12242 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12243
12244 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12245 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12246 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12247 (readdhstai): Return value of addhstaiX call.
12248 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12249 (addgrbyX): Return value returned by cache_addgr.
12250 (readdgrbyname): Return value returned by addgrbyX.
12251 (readdgrbygid): Likewise.
12252 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12253 (addpwbyX): Return value returned by cache_addpw.
12254 (readdpwbyname): Return value returned by addhstbyX.
12255 (readdpwbyuid): Likewise.
12256 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12257 (addservbyX): Return value returned by cache_addserv.
12258 (readdservbyname): Return value returned by addservbyX:
12259 (readdservbyport): Likewise.
12260 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12261 (addhstbyX): Return value returned by cache_addhst.
12262 (readdhstbyname): Return value returned by addhstbyX.
12263 (readdhstbyaddr): Likewise.
12264 (readdhstbynamev6): Likewise.
12265 (readdhstbyaddrv6): Likewise.
12266 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12267 (readdinitgroups): Return value returned by addinitgroupsX.
12268 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12269 (prune_cache): Keep track of timeout value of re-added entries.
12270 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12271 * nscd/nscd.h: Adjust prototypes of readd* functions.
12272
12273 2011-02-04 Roland McGrath <roland@redhat.com>
12274
12275 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12276 (nis_stats): Likewise.
12277 * nis/nis_modify.c (nis_modify): Likewise.
12278 * nis/nis_remove.c (nis_remove): Likewise.
12279 * nis/nis_add.c (nis_add): Likewise.
12280
12281 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12282
12283 * posix/fnmatch_loop.c: Add some consts.
12284
12285 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12286
12287 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12288
12289 [BZ #12460]
12290 * config.make.in (config-cflags-novzeroupper): Define.
12291 * configure.in: Substitute libc_cv_cc_novzeroupper.
12292 * elf/Makefile (AVX-CFLAGS): Define.
12293 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12294 (CFLAGS-tst-auditmod4a.c): Likewise.
12295 (CFLAGS-tst-auditmod4b.c): Likewise.
12296 (CFLAGS-tst-auditmod6b.c): Likewise.
12297 (CFLAGS-tst-auditmod6c.c): Likewise.
12298 (CFLAGS-tst-auditmod7b.c): Likewise.
12299 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12300
12301 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12302
12303 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12304 function to the callback.
12305 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12306
12307 2011-02-02 Andreas Schwab <schwab@redhat.com>
12308
12309 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12310 of errno.
12311
12312 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12313
12314 [BZ #11724]
12315 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12316 of constructors.
12317 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12318 of destructors.
12319 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12320
12321 [BZ #11724]
12322 * elf/Makefile: Add rules to build and run new test.
12323 * elf/tst-initorder.c: New file.
12324 * elf/tst-initorder.exp: New file.
12325 * elf/tst-initordera1.c: New file.
12326 * elf/tst-initordera2.c: New file.
12327 * elf/tst-initordera3.c: New file.
12328 * elf/tst-initordera4.c: New file.
12329 * elf/tst-initorderb1.c: New file.
12330 * elf/tst-initorderb2.c: New file.
12331 * elf/tst-order-a1.c: New file.
12332 * elf/tst-order-a2.c: New file.
12333 * elf/tst-order-a3.c: New file.
12334 * elf/tst-order-a4.c: New file.
12335 * elf/tst-order-b1.c: New file.
12336 * elf/tst-order-b2.c: New file.
12337 * elf/tst-order-main.c: New file.
12338 New test case by George Gensure <werkt0@gmail.com>.
12339
12340 2010-10-01 Andreas Schwab <schwab@redhat.com>
12341
12342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12343 decoding ACE if AI_CANONIDN.
12344
12345 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12346
12347 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12348
12349 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12350
12351 * version.h (RELEASE): Bump for 2.13 release.
12352 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12353
12354 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12355
12356 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12357 MADV_NOHUGEPAGE.
12358 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12359 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12360 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12361 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12362 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12363 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12364
12365 * posix/getconf.c: Update copyright year.
12366 * catgets/gencat.c: Likewise.
12367 * csu/version.c: Likewise.
12368 * debug/catchsegv.sh: Likewise.
12369 * debug/xtrace.sh: Likewise.
12370 * elf/ldconfig.c: Likewise.
12371 * elf/ldd.bash.in: Likewise.
12372 * elf/sprof.c (print_version): Likewise.
12373 * iconv/iconv_prog.c: Likewise.
12374 * iconv/iconvconfig.c: Likewise.
12375 * locale/programs/locale.c: Likewise.
12376 * locale/programs/localedef.c: Likewise.
12377 * malloc/memusage.sh: Likewise.
12378 * malloc/mtrace.pl: Likewise.
12379 * nscd/nscd.c (print_version): Likewise.
12380 * nss/getent.c: Likewise.
12381
12382 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12383 PF_CAIF, and PF_ALG.
12384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12385
12386 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12387
12388 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12389 (modules-names): Use them.
12390 (ifunc-test-modules, ifunc-pie-tests): Define.
12391 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12392 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12393 (test-extras): Likewise.
12394 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12395 $(compile-command.c).
12396 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12397 (all-built-dso): Define.
12398 (check-textrel.out, check-execstack.out): Depend on it.
12399
12400 * configure.in: Don't override --enable-multi-arch.
12401
12402 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12403
12404 [BZ #6812]
12405 * nscd/hstcache.c (tryagain): Define.
12406 (cache_addhst): Return tryagain not notfound for temporary errors.
12407 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12408 failed.
12409
12410 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12411
12412 [BZ #10563]
12413 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12414 to make the syscall.
12415 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12416
12417 [BZ #12378]
12418 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12419 and fall back to matching as normal character if the string ends before
12420 the matching ']' is found. This is what POSIX requires.
12421 * posix/testfnm.c: Adjust test result.
12422 * posix/globtest.sh: Adjust test result. Add new test.
12423 * posix/tst-fnmatch.input: Likewise.
12424 * posix/tst-fnmatch2.c: Add new test.
12425
12426 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12427
12428 * elf/Makefile (check-execstack): Revert last change. Depend on
12429 check-execstack.h.
12430 (check-execstack.h): New target.
12431 (generated): Add check-execstack.h.
12432 * elf/check-execstack.c: Include "check-execstack.h".
12433 (main): Revert last change.
12434 (handle_file): Return zero if GNU_STACK is absent and
12435 DEFAULT_STACK_PERMS doesn't include PF_X.
12436
12437 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12438
12439 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12440 in child fails because the descriptor is already closed.
12441 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12442 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12443 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12444
12445 [BZ #12397]
12446 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12447 syscall.
12448
12449 [BZ #10484]
12450 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12451 temporary buffer used to handle multi lookups locally.
12452 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12453
12454 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12455
12456 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12457 loader is ld.so.
12458
12459 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12460
12461 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12462 alignment for SSE2.
12463
12464 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12465
12466 [BZ #12394]
12467 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12468 characters. When rounding increased number of integer digits recompute
12469 number of groups.
12470 * stdio-common/tst-grouping.c: New file.
12471 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12472
12473 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12474
12475 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12476 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12477
12478 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12479 void.
12480 * bits/select.h: Likewise.
12481
12482 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12483
12484 * po/ja.po: Update from translation team.
12485
12486 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12487
12488 [BZ #11155]
12489 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12490 implementation just like for lxstat, fxstatat, et al.
12491
12492 2010-12-27 Jim Meyering <meyering@redhat.com>
12493
12494 [BZ #12348]
12495 * posix/regexec.c (build_trtable): Return failure indication upon
12496 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12497
12498 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12499
12500 [BZ #12201]
12501 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12502 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12503 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12504 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12505
12506 [BZ #12207]
12507 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12508
12509 [BZ #12204]
12510 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12511 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12512
12513 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12514
12515 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12516 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12517 script has SORT_BY_INIT_PRIORITY.
12518 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12519 NO_CTORS_DTORS_SECTIONS is defined.
12520 * elf/soinit.c: Likewise.
12521 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12522 NO_CTORS_DTORS_SECTIONS is defined.
12523 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12524 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12525 * sysdeps/sh/init-first.c: Likewise.
12526 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12527
12528 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12529
12530 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12531 always use the slow path.
12532
12533 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12534
12535 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12536 similar rule which adds the sysdep directories to the header search in
12537 order to pick up the correct platform stackinfo.h.
12538 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12539 perform test if it is, otherwise return successfully without testing.
12540 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12541 DEFAULT_STACK_PERMS define in stackinfo.h.
12542 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12543 defined in stackinfo.h.
12544 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12545 DEFAULT_STACK_PERMS defined in stackinfo.h.
12546 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12547 * sysdeps/ia64/stackinfo.h: Likewise.
12548 * sysdeps/s390/stackinfo.h: Likewise.
12549 * sysdeps/sh/stackinfo.h: Likewise.
12550 * sysdeps/sparc/stackinfo.h: Likewise.
12551 * sysdeps/x86_64/stackinfo.h: Likewise.
12552 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12553 PF_X for powerpc64. Retain PF_X for powerpc32.
12554
12555 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12556
12557 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12558 accurately.
12559 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12560 GETDENTS_64BIT_ALIGNED.
12561
12562 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12563
12564 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12565
12566 2010-12-10 Andreas Schwab <schwab@redhat.com>
12567
12568 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12569 _GNU_SOURCE.
12570
12571 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12572 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12573 Remove __restrict.
12574 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12575 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12576
12577 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12578
12579 [BZ #11655]
12580 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12581 are initialized.
12582
12583 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12584
12585 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12586
12587 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12588
12589 * po/it.po: Update from translation team.
12590
12591 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12592
12593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12594 unused codes.
12595
12596 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12597
12598 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12599
12600 2010-11-24 Andreas Schwab <schwab@redhat.com>
12601
12602 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12603 specially.
12604 (gaih_getanswer_slice): Likewise.
12605
12606 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12607
12608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12609
12610 2010-05-31 Petr Baudis <pasky@suse.cz>
12611
12612 [BZ #11149]
12613 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12614 silently even in the chroot mode.
12615
12616 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12617
12618 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12619 last patch a bit. Pretty printing
12620
12621 2010-05-31 Petr Baudis <pasky@suse.cz>
12622
12623 [BZ #10085]
12624 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12625 initialization of skip_initgroups_dyn.
12626
12627 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12628
12629 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12630 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12631
12632 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12633
12634 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12635
12636 2010-11-11 Andreas Schwab <schwab@redhat.com>
12637
12638 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12639 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12640 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12641 ($(objpfx)tst-fnmatch-mem): New rule.
12642 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12643 * posix/tst-fnmatch.c (main): Call mtrace.
12644
12645 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12646
12647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12648 Support Intel processor model 6 and model 0x2c.
12649
12650 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12651
12652 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12653 signed comparison.
12654
12655 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12656
12657 [BZ #12205]
12658 * string/test-strncasecmp.c (check_result): New function.
12659 (do_one_test): Use it.
12660 (check1): New function.
12661 (test_main): Use it.
12662 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12663 Support strcasecmp and strncasecmp.
12664
12665 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12666
12667 [BZ #12194]
12668 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12669 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12670
12671 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12672
12673 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12674 IFUNC support.
12675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12676 memset-x86-64.
12677 * sysdeps/x86_64/multiarch/bzero.S: New file.
12678 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12679 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12680 * sysdeps/x86_64/multiarch/memset.S: New file.
12681 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12683 Set bit_Prefer_SSE_for_memop for Intel processors.
12684 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12685 Define.
12686 (index_Prefer_SSE_for_memop): Define.
12687 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12688
12689 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12690
12691 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12692 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12693
12694 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12695
12696 [BZ #12191]
12697 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12698 (__x86_64_raw_data_cache_size_half): Likewise.
12699 (__x86_64_raw_shared_cache_size): Likewise.
12700 (__x86_64_raw_shared_cache_size_half): Likewise.
12701
12702 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12703 (__x86_64_raw_data_cache_size_half): Likewise.
12704 (__x86_64_raw_shared_cache_size): Likewise.
12705 (__x86_64_raw_shared_cache_size_half): Likewise.
12706 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12707 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12708 and __x86_64_raw_shared_cache_size_half. Round
12709 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12710 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12711 to multiple of 256 bytes.
12712
12713 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12714
12715 [BZ #12167]
12716 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12717 of inacessible symlinks. Verify result of symlink before returning it.
12718 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12719 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12720
12721 2010-10-28 Erich Ritz <erichritz@gmail.com>
12722
12723 * math/math.h (isinf): Fix typo in comment.
12724
12725 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12726
12727 * po/da.po: Update from translation team.
12728
12729 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12730
12731 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12732 is added to the list.
12733
12734 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12735 Ulrich Drepper <drepper@gmail.com>
12736
12737 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12738 the global list here. Move code to...
12739 (_dl_add_to_namespace_list): ...here. New function.
12740 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12741 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12742 * elf/dl-load.c (lose): Don't remove the element from the list.
12743 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12744 (_dl_map_object): Likewise.
12745
12746 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12747
12748 [BZ #12159]
12749 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12750 into all bytes of SSE register.
12751 Patch by Richard Li <richardpku@gmail.com>.
12752
12753 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12754
12755 [BZ #12140]
12756 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12757 perturbing.
12758
12759 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12760
12761 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12762 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12763 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12764 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12766 submachine.
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12768
12769 2010-10-22 Andreas Schwab <schwab@redhat.com>
12770
12771 * include/dlfcn.h (__RTLD_SECURE): Define.
12772 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12773 mode & __RTLD_SECURE instead.
12774 (open_path): Rename preloaded parameter to secure.
12775 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12776 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12777 * elf/dl-deps.c (openaux): Likewise.
12778 * elf/rtld.c (struct map_args): Remove is_preloaded.
12779 (map_doit): Don't use it.
12780 (dl_main): Likewise.
12781 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12782 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12783
12784 2010-09-09 Andreas Schwab <schwab@redhat.com>
12785
12786 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12787 (sysd-rules-targets): Remove duplicates.
12788 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12789 rtld-%.$o dependency.
12790
12791 2010-10-18 Andreas Schwab <schwab@redhat.com>
12792
12793 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12794 _dl_map_object do it.
12795
12796 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12797
12798 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12799 fast fma builtins, define the macros in the C99 standard.
12800 (FP_FAST_FMAF): Likewise.
12801 (FP_FAST_FMAL): Likewise.
12802 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12803
12804 * bits/mathdef.h: Update copyright year.
12805 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12806
12807 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12808
12809 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12810 builtins, define the macros in the C99 standard.
12811 (FP_FAST_FMAF): Likewise.
12812 (FP_FAST_FMAL): Likewise.
12813 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12814 multiply/add.
12815 (FP_FAST_FMAF): Likewise.
12816
12817 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12818
12819 [BZ #3268]
12820 * math/libm-test.inc (fma_test): Some new testcases.
12821 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12823 y and infinite z. Do multiplication by C already in long double.
12824 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12826 y and infinite z. Do bitwise or of inexact bit into u.d.
12827 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12828 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12829 * sysdeps/i386/fpu/s_fma.S: Removed.
12830 * sysdeps/i386/fpu/s_fmal.S: Removed.
12831
12832 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12833
12834 [BZ #3268]
12835 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12837 computation is not scheduled after fetestexcept. Fix value
12838 of minimum denormal long double.
12839
12840 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12841
12842 [BZ #3268]
12843 * math/libm-test.inc (fma_test): Add some more tests.
12844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12845 correctly.
12846
12847 2010-10-15 Andreas Schwab <schwab@redhat.com>
12848
12849 * scripts/data/localplt-s390-linux-gnu.data: New file.
12850 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12851
12852 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12853
12854 [BZ #3268]
12855 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12856 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12857 instead of dbl-64.
12858 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12859 inlines.
12860 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12861 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12862 if one of x and y is very large and the other is subnormal.
12863 * sysdeps/s390/fpu/s_fmaf.c: New file.
12864 * sysdeps/s390/fpu/s_fma.c: New file.
12865 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12866 * sysdeps/powerpc/fpu/s_fma.S: New file.
12867 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12868 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12869 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12870
12871 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12872
12873 [BZ #3268]
12874 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12875 fma tests.
12876 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12877 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12878 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12879 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12880 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12881 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12883
12884 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12885
12886 [BZ #12078]
12887 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12888 * posix/bug-regex31.input: Add test case.
12889
12890 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12891
12892 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12893 * posix/bug-regex31.input: New file.
12894
12895 [BZ #12078]
12896 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12897 (parse_sub_exp): Fix last change, use postorder.
12898
12899 * posix/bug-regex31.c: New file.
12900 * posix/Makefile: Add rules to build and run bug-regex31.
12901
12902 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12903
12904 [BZ #12078]
12905 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12906
12907 [BZ #12108]
12908 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12909 to have entries in sys_siglist.
12910
12911 [BZ #12093]
12912 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12913 be NULL.
12914
12915 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12916
12917 [BZ #3268]
12918 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12919 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12920 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12921 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12922 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12923 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12924 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12925 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12926 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12927 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12928 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12929 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12930 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12931 * math/ftestexcept.c (fetestexcept): Likewise.
12932 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12933 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12934 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12935 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12936 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12937 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12938 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12939
12940 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12941
12942 [BZ #12107]
12943 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12944 newline.
12945
12946 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12947
12948 * string/bug-strstr1.c: New file.
12949 * string/Makefile: Add rules to build and run bug-strstr1.
12950
12951 2010-10-05 Eric Blake <eblake@redhat.com>
12952
12953 [BZ #12092]
12954 * string/str-two-way.h (two_way_long_needle): Always clear memory
12955 when skipping input due to the shift table.
12956
12957 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12958
12959 [BZ #12005]
12960 * malloc/mcheck.c: Handle large requests.
12961
12962 [BZ #12077]
12963 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12964 for strncmp and strncasecmp.
12965 * string/stratcliff.c: Add tests for strcmp and strncmp.
12966 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12967
12968 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12969
12970 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12971 __set_fpscr.
12972
12973 2010-09-30 Andreas Jaeger <aj@suse.de>
12974
12975 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12976 (CGROUP_SUPER_MAGIC): Define.
12977 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12978 Handle btrfs and cgroup file systems.
12979 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12980 Likewise.
12981
12982 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12983
12984 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12985 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12986
12987 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12988
12989 [BZ #12067]
12990 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12991 trying to locate the ELF header.
12992
12993 2010-09-27 Andreas Schwab <schwab@redhat.com>
12994
12995 [BZ #11611]
12996 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12997 Mask out sign-bit copies when constructing f_fsid.
12998
12999 2010-09-24 Petr Baudis <pasky@suse.cz>
13000
13001 * debug/stack_chk_fail_local.c: Add missing licence exception.
13002 * debug/warning-nop.c: Likewise.
13003
13004 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13005
13006 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13007 implementing getdents64 using getdents syscall, set d_type if
13008 __ASSUME_GETDENTS32_D_TYPE.
13009
13010 2010-09-16 Andreas Schwab <schwab@redhat.com>
13011
13012 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13013 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13014
13015 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13016
13017 [BZ #12037]
13018 * posix/unistd.h: Undo change of feature selection for ftruncate from
13019 2010-01-11.
13020
13021 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13022
13023 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13024 detection.
13025
13026 2010-09-20 Andreas Schwab <schwab@redhat.com>
13027
13028 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13029 fanotify_mark.
13030 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13031
13032 2010-09-14 Andreas Schwab <schwab@redhat.com>
13033
13034 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13035 variables after CHECK_SP call.
13036 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13037
13038 2010-09-13 Andreas Schwab <schwab@redhat.com>
13039 Ulrich Drepper <drepper@redhat.com>
13040
13041 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13042 re-relocationg ld.so.
13043 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13044 _dl_init_paths call.
13045 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13046 here anymore.
13047
13048 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13049
13050 * resolv/res_init.c (__res_vinit): Count the default server we added.
13051
13052 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13053 Ulrich Drepper <drepper@redhat.com>
13054
13055 [BZ #11968]
13056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13057 (____longjmp_chk): Use %ebx for saving value across system call.
13058 Add unwind info.
13059
13060 2010-09-06 Andreas Schwab <schwab@redhat.com>
13061
13062 * manual/Makefile: Don't mix pattern rules with normal rules.
13063
13064 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13065
13066 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13067 operation.
13068 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13069 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13070 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13071 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13072 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13073 Likewise.
13074
13075 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13076
13077 [BZ #11979]
13078 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13079 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13080
13081 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13082
13083 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13084 * sysdeps/x86_64/addmul_1.S: Likewise.
13085 * sysdeps/x86_64/lshift.S: Likewise.
13086 * sysdeps/x86_64/mul_1.S: Likewise.
13087 * sysdeps/x86_64/rshift.S: Likewise.
13088 * sysdeps/x86_64/sub_n.S: Likewise.
13089 * sysdeps/x86_64/submul_1.S: Likewise.
13090
13091 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13092
13093 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13094 Define __sched_param instead of SCHED_* and sched_param when
13095 <bits/sched.h> is included with __need_schedparam defined.
13096 * bits/sched.h [__need_schedparam]
13097 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13098 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13099 (__defined_schedparam): Define to 1.
13100 (__sched_param): New structure, identical to sched_param.
13101 (__need_schedparam): Undefine.
13102
13103 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13104
13105 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13106 (epoll_create1): Declare.
13107
13108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13109
13110 2010-08-31 Andreas Schwab <schwab@redhat.com>
13111
13112 [BZ #7066]
13113 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13114 shifting retval into place.
13115
13116 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13117
13118 * nis/rpcsvc/nis.h: Update copyright notice.
13119 * nis/rpcsvc/nis.x: Likewise.
13120 * nis/rpcsvc/nis_callback.h: Likewise.
13121 * nis/rpcsvc/nis_callback.x: Likewise.
13122 * nis/rpcsvc/nis_object.x: Likewise.
13123 * nis/rpcsvc/nis_tags.h: Likewise.
13124 * nis/rpcsvc/yp.h: Likewise.
13125 * nis/rpcsvc/yp.x: Likewise.
13126 * nis/rpcsvc/ypupd.h: Likewise.
13127 * nis/yp_xdr.c: Likewise.
13128 * nis/ypupdate_xdr.c: Likewise.
13129
13130 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13131 mainly the body of pmap_getport. Add parameters to specify timeouts.
13132 (pmap_getport): Use __libc_rpc_getport.
13133 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13134 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13135 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13136
13137 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13138
13139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13140 fanotify_mark.
13141
13142 2010-08-27 Roland McGrath <roland@redhat.com>
13143
13144 * sysdeps/i386/i686/multiarch/Makefile
13145 (CFLAGS-varshift.c): New variable.
13146
13147 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13148
13149 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13150 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13151
13152 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13153
13154 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13155
13156 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13157
13158 * sysdeps/x86_64/strlen.S: Unroll the loop.
13159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13160 strlen-sse2 strlen-sse2-bsf.
13161 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13162 __strlen_no_bsf if bit_Slow_BSF is set.
13163 (__strlen_sse42): Removed.
13164 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13165 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13166
13167 2010-08-25 Roland McGrath <roland@redhat.com>
13168
13169 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13170 * sysdeps/x86_64/multiarch/varshift.c: New file.
13171 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13172 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13173 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13174 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13175
13176 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13177
13178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13179 strlen-sse2 strlen-sse2-bsf.
13180 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13181 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13182 (__strlen_sse2): Removed.
13183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13184 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13186 bit_Slow_BSF for Atom.
13187 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13188 (index_Slow_BSF): Define.
13189 (HAS_SLOW_BSF): Define.
13190
13191 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13192
13193 [BZ #10851]
13194 * resolv/res_init.c (__res_vinit): When no server address at all
13195 is given default to loopback.
13196
13197 2010-08-24 Roland McGrath <roland@redhat.com>
13198
13199 * configure.in: Remove config-name.h generation.
13200 * configure: Regenerated.
13201 * config-name.in: File removed.
13202 * scripts/config-uname.sh: New file.
13203 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13204 ($(objdir)config-name.h): New target.
13205
13206 * sunrpc/rpc_parse.h: Avoid nested comment.
13207
13208 2010-08-24 Richard Henderson <rth@redhat.com>
13209 Ulrich Drepper <drepper@redhat.com>
13210 H.J. Lu <hongjiu.lu@intel.com>
13211
13212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13214 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13215 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13216 _mm_alignr_epi8 with _mm_loadu_si128.
13217 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13218 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13219 (__m128i_shift_right): Removed.
13220 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13221 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13222 * sysdeps/x86_64/multiarch/varshift.h: New file.
13223 * sysdeps/x86_64/multiarch/varshift.S: New file.
13224
13225 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13226
13227 * configure.in: Move assembler checks to before sysdep dir checking.
13228
13229 2010-08-20 Petr Baudis <pasky@suse.cz>
13230
13231 * LICENSES: Sync the sunrpc license.
13232
13233 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13234
13235 * sunrpc/auth_des.c: Update copyright notice once again.
13236 * sunrpc/auth_none.c: Likewise.
13237 * sunrpc/auth_unix.c: Likewise.
13238 * sunrpc/authdes_prot.c: Likewise.
13239 * sunrpc/authuxprot.c: Likewise.
13240 * sunrpc/bindrsvprt.c: Likewise.
13241 * sunrpc/clnt_gen.c: Likewise.
13242 * sunrpc/clnt_perr.c: Likewise.
13243 * sunrpc/clnt_raw.c: Likewise.
13244 * sunrpc/clnt_simp.c: Likewise.
13245 * sunrpc/clnt_tcp.c: Likewise.
13246 * sunrpc/clnt_udp.c: Likewise.
13247 * sunrpc/clnt_unix.c: Likewise.
13248 * sunrpc/des_crypt.c: Likewise.
13249 * sunrpc/des_soft.c: Likewise.
13250 * sunrpc/get_myaddr.c: Likewise.
13251 * sunrpc/getrpcport.c: Likewise.
13252 * sunrpc/key_call.c: Likewise.
13253 * sunrpc/key_prot.c: Likewise.
13254 * sunrpc/openchild.c: Likewise.
13255 * sunrpc/pm_getmaps.c: Likewise.
13256 * sunrpc/pm_getport.c: Likewise.
13257 * sunrpc/pmap_clnt.c: Likewise.
13258 * sunrpc/pmap_prot.c: Likewise.
13259 * sunrpc/pmap_prot2.c: Likewise.
13260 * sunrpc/pmap_rmt.c: Likewise.
13261 * sunrpc/rpc/auth.h: Likewise.
13262 * sunrpc/rpc/auth_unix.h: Likewise.
13263 * sunrpc/rpc/clnt.h: Likewise.
13264 * sunrpc/rpc/des_crypt.h: Likewise.
13265 * sunrpc/rpc/key_prot.h: Likewise.
13266 * sunrpc/rpc/netdb.h: Likewise.
13267 * sunrpc/rpc/pmap_clnt.h: Likewise.
13268 * sunrpc/rpc/pmap_prot.h: Likewise.
13269 * sunrpc/rpc/pmap_rmt.h: Likewise.
13270 * sunrpc/rpc/rpc.h: Likewise.
13271 * sunrpc/rpc/rpc_des.h: Likewise.
13272 * sunrpc/rpc/rpc_msg.h: Likewise.
13273 * sunrpc/rpc/svc.h: Likewise.
13274 * sunrpc/rpc/svc_auth.h: Likewise.
13275 * sunrpc/rpc/types.h: Likewise.
13276 * sunrpc/rpc/xdr.h: Likewise.
13277 * sunrpc/rpc_clntout.c: Likewise.
13278 * sunrpc/rpc_cmsg.c: Likewise.
13279 * sunrpc/rpc_common.c: Likewise.
13280 * sunrpc/rpc_cout.c: Likewise.
13281 * sunrpc/rpc_dtable.c: Likewise.
13282 * sunrpc/rpc_hout.c: Likewise.
13283 * sunrpc/rpc_main.c: Likewise.
13284 * sunrpc/rpc_parse.c: Likewise.
13285 * sunrpc/rpc_parse.h: Likewise.
13286 * sunrpc/rpc_prot.c: Likewise.
13287 * sunrpc/rpc_sample.c: Likewise.
13288 * sunrpc/rpc_scan.c: Likewise.
13289 * sunrpc/rpc_scan.h: Likewise.
13290 * sunrpc/rpc_svcout.c: Likewise.
13291 * sunrpc/rpc_tblout.c: Likewise.
13292 * sunrpc/rpc_util.c: Likewise.
13293 * sunrpc/rpc_util.h: Likewise.
13294 * sunrpc/rpcinfo.c: Likewise.
13295 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13296 * sunrpc/rpcsvc/key_prot.x: Likewise.
13297 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13298 * sunrpc/rpcsvc/mount.x: Likewise.
13299 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13300 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13301 * sunrpc/rpcsvc/rex.x: Likewise.
13302 * sunrpc/rpcsvc/rstat.x: Likewise.
13303 * sunrpc/rpcsvc/rusers.x: Likewise.
13304 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13305 * sunrpc/rpcsvc/spray.x: Likewise.
13306 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13307 * sunrpc/rtime.c: Likewise.
13308 * sunrpc/svc.c: Likewise.
13309 * sunrpc/svc_auth.c: Likewise.
13310 * sunrpc/svc_authux.c: Likewise.
13311 * sunrpc/svc_raw.c: Likewise.
13312 * sunrpc/svc_run.c: Likewise.
13313 * sunrpc/svc_simple.c: Likewise.
13314 * sunrpc/svc_tcp.c: Likewise.
13315 * sunrpc/svc_udp.c: Likewise.
13316 * sunrpc/svc_unix.c: Likewise.
13317 * sunrpc/svcauth_des.c: Likewise.
13318 * sunrpc/xcrypt.c: Likewise.
13319 * sunrpc/xdr.c: Likewise.
13320 * sunrpc/xdr_array.c: Likewise.
13321 * sunrpc/xdr_float.c: Likewise.
13322 * sunrpc/xdr_mem.c: Likewise.
13323 * sunrpc/xdr_rec.c: Likewise.
13324 * sunrpc/xdr_ref.c: Likewise.
13325 * sunrpc/xdr_sizeof.c: Likewise.
13326 * sunrpc/xdr_stdio.c: Likewise.
13327
13328 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13329 handling.
13330
13331 2010-08-19 Andreas Schwab <schwab@redhat.com>
13332
13333 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13334
13335 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13336
13337 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13338 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13339 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13340 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13341 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13342 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13343 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13344 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13345 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13346 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13347 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13348 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13349 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13350 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13351
13352 2010-07-26 Anton Blanchard <anton@samba.org>
13353
13354 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13355 * malloc/arena.c (heap_trim): Likewise.
13356
13357 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13358
13359 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13360 here. Not...
13361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13362 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13363
13364 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13365
13366 * sysdeps/i386/elf/Makefile: New file.
13367
13368 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13369
13370 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13371 from fanotify_init.
13372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13374
13375 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13376
13377 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13378 of strncasecmp_l.
13379 * sysdeps/multiarch/strcmp.S: Likewise.
13380
13381 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13382
13383 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13384 strncase_l-nonascii.
13385 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13386 Add strncase_l-ssse3.
13387 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13388 * sysdeps/x86_64/strcmp.S: Likewise.
13389 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13390 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13391 * sysdeps/x86_64/strncase.S: New file.
13392 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13393 * sysdeps/x86_64/strncase_l.S: New file.
13394 * string/Makefile (strop-tests): Add strncasecmp.
13395 * string/test-strncasecmp.c: New file.
13396
13397 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13398 warning.
13399
13400 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13401 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13402
13403 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13404
13405 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13406
13407 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13408
13409 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13410 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13411 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13412
13413 2010-05-01 Alan Modra <amodra@gmail.com>
13414
13415 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13416 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13417 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13418 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13419 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13420 tidying. Don't tail-call __sigjmp_save for static lib.
13421 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13422 save location.
13423 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13424 (CALL_MCOUNT): Add eh info, and nop after bl.
13425 (TAIL_CALL_SYSCALL_ERROR): New macro.
13426 (PSEUDO_RET): Use it.
13427 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13428 Correct save location of integer regs and cr.
13429 (_dl_profile_resolve): Correct cr save location. Delete nops
13430 after bl when SHARED. Reduce cfi size a little by better
13431 placement of cfi directives.
13432 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13433 make a stack frame. Instead use parm save area as a temp.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13435 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13437 Don't make a stack frame for parent, use parm save area.
13438 Increase child stack frame to 112 bytes. Don't save unused reg,
13439 and adjust reg usage. Set up cfi on error recovery and
13440 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13442 (__makecontext): Add dummy nop after jump to exit.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13444 Use correct parm save area and cr save, reduce stack frame.
13445 Correct cfi for possible PSEUDO_RET frame setup.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13447 Branch to local label emitted by PSEUDO_RET rather than
13448 __syscall_error.
13449
13450 2010-08-12 Andreas Schwab <schwab@redhat.com>
13451
13452 [BZ #11904]
13453 * locale/programs/locale.c (print_assignment): New function.
13454 (show_locale_vars): Use it.
13455
13456 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13457
13458 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13459 field.
13460 (struct statfs64): Likewise.
13461 (_STATFS_F_FLAGS): Define.
13462 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13463 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13464 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13465 (ST_VALID): Define locally.
13466 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13467 __statvfs_getflags, use the provided value.
13468 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13469 __ASSUME_STATFS_F_FLAGS.
13470
13471 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13472
13473 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13474 Add sys/fanotify.h.
13475 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13476 fanotify_mask for GLIBC_2.13.
13477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13478 fanotify_init and fanotify_mark.
13479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13480 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13481
13482 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13483 Add prlimit.
13484 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13485 prlimit64 for GLIBC_2.13.
13486 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13487 prlimit64.
13488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13489 syscall.
13490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13491 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13492 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13493 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13495 add prlimit alias.
13496 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13497
13498 [BZ #11903]
13499 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13500 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13501
13502 * nss/Makefile: Add rules to build and run tst-nss-test1.
13503 * shlib-versions: Add entry for libnss_test1.
13504 * nss/nss_test1.c: New file.
13505 * nss/tst-nss-test1.c: New file.
13506
13507 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13508 (__nss_configure_lookup): Set appropriate entry in
13509 __nss_configure_lookup to true.
13510 * nss/nsswitch.h: Define enum with indeces of databases in
13511 databases and __nss_database_custom arrays. Declare
13512 __nss_database_custom.
13513 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13514 to avoid using nscd when custom rules are installed.
13515 * nss/getXXbyYY_r.c: Likewise.
13516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13517
13518 * nss/nss_files/files-parse.c: Whitespace fixes.
13519
13520 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13521
13522 [BZ #11883]
13523 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13524 * posix/fnmatch_loop.c: Likewise.
13525
13526 2010-07-17 Andi Kleen <ak@linux.intel.com>
13527
13528 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13529 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13530 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13531 * Versions.def [GLIBC_2.13]: Add.
13532
13533 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13534
13535 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13536 Also fail if tpwd after pwuid call is NULL.
13537
13538 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13539
13540 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13541 when converting to ms.
13542
13543 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13544
13545 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13546 EOPNOTSUPP errors with ENOTTY.
13547 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13548 EOPNOTSUPP errors with ENOTTY.
13549
13550 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13551
13552 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13553 Add strcasecmp_l-ssse3.
13554 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13555 strcasecmp.
13556 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13557 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13558 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13559
13560 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13561
13562 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13563
13564 * string/Makefile (strop-tests): Add strcasecmp.
13565 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13566 strcasecmp_l-nonascii.
13567 (gen-as-const-headers): Add locale-defines.sym.
13568 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13569 * sysdeps/x86_64/strcasecmp.S: New file.
13570 * sysdeps/x86_64/strcasecmp_l.S: New file.
13571 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13572 * sysdeps/x86_64/locale-defines.sym: New file.
13573 * string/test-strcasecmp.c: New file.
13574
13575 * string/test-strcasestr.c: Test both ends of the range of characters.
13576 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13577
13578 2010-07-29 Roland McGrath <roland@redhat.com>
13579
13580 [BZ #11856]
13581 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13582
13583 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13584
13585 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13586 for ld.so.
13587
13588 2010-07-27 Andreas Schwab <schwab@redhat.com>
13589
13590 * manual/memory.texi (Malloc Tunable Parameters): Document
13591 M_PERTURB.
13592
13593 2010-07-26 Roland McGrath <roland@redhat.com>
13594
13595 [BZ #11840]
13596 * configure.in (-fgnu89-inline check): Set and substitute
13597 gnu89_inline, not libc_cv_gnu89_inline.
13598 * configure: Regenerated.
13599 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13600
13601 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13602
13603 * string/test-strnlen.c: New file.
13604 * string/Makefile (strop-tests): Add strnlen.
13605 * string/tester.c (test_strnlen): Add a few more test cases.
13606 * string/tst-strlen.c: Better error reporting.
13607
13608 * sysdeps/x86_64/strnlen.S: New file.
13609
13610 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13611
13612 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13613 lower-latency instructions.
13614
13615 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13616
13617 * string/test-strcasestr.c: New file.
13618 * string/test-strstr.c: New file.
13619 * string/Makefile (strop-tests): Add strstr and strcasestr.
13620 * string/str-two-way.h: Don't undefine MAX.
13621 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13622
13623 2010-07-21 Andreas Schwab <schwab@redhat.com>
13624
13625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13626 strcasestr-nonascii.
13627 (CFLAGS-strcasestr-nonascii.c): Define.
13628 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13629 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13630 Remove unused attribute.
13631
13632 2010-07-20 Roland McGrath <roland@redhat.com>
13633
13634 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13635 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13636 ld.so.cache was broken. With it, there is no way to disable dsocaps
13637 like LD_HWCAP_MASK can disable hwcaps.
13638
13639 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13640
13641 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13642
13643 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13644
13645 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13646 call in strcasestr.
13647 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13648 __strcasestr_sse42_nonascii.
13649 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13650 strcasestr-nonascii.c.
13651 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13652
13653 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13654
13655 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13657 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13659
13660 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13661
13662 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13663 fcntl.
13664
13665 2010-07-06 Andreas Schwab <schwab@redhat.com>
13666
13667 [BZ #11577]
13668 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13669 dl_signal_cerror.
13670
13671 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13672
13673 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13674 _PC_PIPE_BUF using F_GETPIPE_SZ.
13675
13676 2010-07-05 Roland McGrath <roland@redhat.com>
13677
13678 * manual/arith.texi (Rounding Functions): Fix rint description
13679 implicit in round description.
13680
13681 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13682
13683 * elf/Makefile: Fix linking for a few tests to make recent linker
13684 happy.
13685
13686 2010-06-30 Andreas Schwab <schwab@redhat.com>
13687
13688 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13689 $(common-objpfx)libc_nonshared.a.
13690
13691 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13692
13693 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13694 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13695 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13696 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13697 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13698 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13699 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13700 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13715 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13716 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13717 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13718 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13719 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13720 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13721 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13722 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13723 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13724 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13725 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13726 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13741
13742 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13743
13744 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13745 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13746 * string/memmove.c (memmove): Renamed to ...
13747 (MEMMOVE): ...this. Default to memmove.
13748 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13749 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13750 (END_CHK): Define.
13751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13752 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13753 mempcpy-ssse3-back memmove-ssse3-back.
13754 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13755 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13757 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13758 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13759 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13760 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13761 * sysdeps/x86_64/multiarch/memmove.c: New file.
13762 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13763 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13764 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13765 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13766 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13767 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13768 Define.
13769 (index_Fast_Copy_Backward): Define.
13770 (HAS_ARCH_FEATURE): Define.
13771 (HAS_FAST_REP_STRING): Define.
13772 (HAS_FAST_COPY_BACKWARD): Define.
13773
13774 2010-06-21 Andreas Schwab <schwab@redhat.com>
13775
13776 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13777 Restore proper fallback handling.
13778
13779 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13780
13781 [BZ #11701]
13782 * posix/group_member.c (__group_member): Correct checking loop.
13783
13784 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13785 OOM in getpwuid_r correctly. Return error number when the caller
13786 should return, otherwise -1.
13787 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13788 call returning > 0 value.
13789 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13790
13791 2010-06-07 Andreas Schwab <schwab@redhat.com>
13792
13793 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13794 libc_nonshared.a from targets in modules-names.
13795
13796 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13797
13798 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13799 requires it.
13800
13801 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13802
13803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13804 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13805 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13806 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13807
13808 2010-06-02 Andreas Schwab <schwab@redhat.com>
13809
13810 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13811
13812 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13813
13814 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13815 and F_GETPIPE_SZ.
13816 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13818 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13820 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13821 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13822
13823 2010-06-14 Roland McGrath <roland@redhat.com>
13824
13825 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13826
13827 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13828
13829 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13830 __REDIRECT followed by __THROW.
13831 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13832 * posix/getopt.h (getopt): Likewise.
13833
13834 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13835
13836 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13837 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13838 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13839 in AT_FLAGS.
13840 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13841 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13842
13843 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13844
13845 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13846
13847 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13848
13849 [BZ #11640]
13850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13851 Properly check family and model.
13852
13853 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13854
13855 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13856
13857 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13858
13859 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13860
13861 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13862
13863 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13864 symbol reference.
13865
13866 2010-05-19 Andreas Schwab <schwab@redhat.com>
13867
13868 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13869 symbol reference.
13870
13871 2010-05-21 Andreas Schwab <schwab@redhat.com>
13872
13873 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13874 and internal_recvmmsg.
13875 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13876 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13877 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13878 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13879
13880 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13881 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13882 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13883
13884 2010-05-20 Andreas Schwab <schwab@redhat.com>
13885
13886 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13887
13888 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13889
13890 POWER7 optimizations.
13891 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13892 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13893
13894 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13895
13896 * version.h: Update for 2.13 development version.
13897
13898 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13899
13900 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13901 exceptions. Return 0.
13902
13903 2010-05-07 Roland McGrath <roland@redhat.com>
13904
13905 * elf/ldconfig.c (main): Add a const.
13906
13907 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13908
13909 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13910 (args_options): Add no-idn option.
13911 (ahosts_keys_int): Add idn_flags to ai_flags.
13912 (parse_option): Handle 'i' option to clear idn_flags.
13913
13914 * malloc/malloc.c (_int_free): Possible race in the most recently
13915 added check. Only act on the data if no current modification
13916 happened.
13917
13918 See ChangeLog.17 for earlier changes.