]> sourceware.org Git - glibc.git/blame - ChangeLog
Update comments for CALL_THREAD_FCT
[glibc.git] / ChangeLog
CommitLineData
4822a2a5
L
12012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4 thread pointer.
5 (TLS_IE): Use mov/add instead of movq/addq to load thread
6 pointer.
7 (TLS_GD_PREFIX): New.
8 (TLS_GD): Use it.
9
842b81d6
DM
102012-05-11 David S. Miller <davem@davemloft.net>
11
12 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14 (_FPU_SETCW): Likewise.
15
1cf463cd
L
162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17
18 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19 is 32-byte aligned.
20
60cc4a18
AS
212012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22
23 [BZ #11837]
24 * iconvdata/gb18030.c: Update tables.
25 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26 characters specially.
27 (BODY for TO_LOOP): Add encoding of missing ranges.
28
febb44a4
TS
292012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30
31 [BZ #13673]
32 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33 * sysdeps/mach/hurd/dup3.c: Likewise.
34 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35 * sysdeps/powerpc/memmove.c:: Likewise.
36
0a10fb9e
L
372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38
39 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41
df8a552f
L
422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43
44 * elf/elf.h (R_X86_64_RELATIVE64): New.
45 (R_X86_64_NUM): Updated.
46 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50 tst-quad1pie tst-quad2pie
51 (modules-names): Add tst-quadmod1 tst-quadmod2.
52 ($(objpfx)tst-quad1): New dependency.
53 ($(objpfx)tst-quad2): Likewise.
54 ($(objpfx)tst-quad1pie): Likewise.
55 ($(objpfx)tst-quad2pie): Likewise.
56 * sysdeps/x86_64/tst-quad1.c: New file.
57 * sysdeps/x86_64/tst-quad1pie.c: New file.
58 * sysdeps/x86_64/tst-quad2.c: Likewise.
59 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
60 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64
f34d6f84
ST
652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66
f42d41d1
ST
67 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69 * streams/stropts.h (t_scalar_t): Define type.
70
3c3571fc
ST
71 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72 (_PATH_PRESERVE): Set to "/var/lib".
73 (_PATH_RWHODIR): Set to "/var/spool/rwho".
74
61f06bd3
ST
75 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76 instead of int.
77
918d4d71
ST
78 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79 if __dir_mkfile succeeded.
80
f34d6f84
ST
81 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82 checking for _hurd_dtablesize. Unlock it right after having
83 finished _hurd_dtable allocation.
84
10589b4a
TS
852012-05-10 Thomas Schwinge <thomas@schwinge.name>
86
674cdbc7
TS
87 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
88 * sysdeps/mach/hurd/configure: Regenerated.
89 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
90 special-casing to...
91 * sysdeps/gnu/configure.in: ... this new file.
92 * sysdeps/unix/sysv/linux/configure: Regenerated.
93 * sysdeps/gnu/configure: New generated file.
94
8e41b99f
TS
95 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
96 for Linux: use nsec instead of usec, as well as:
97 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
98 members of type struct timespec.
99 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
100 New macros.
101 (struct stat64): Likewise.
102 (_STATBUF_ST_NSEC): New macro.
103 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
104
10589b4a
TS
105 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
106 __strtoul_internal rather than strtoul.
107
63643c85
PT
1082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
109
110 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
111 and reject them.
112
3faebe6a
ST
1132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
114
115 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
116 which preserves existing values.
117 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
118
c6474b07
PT
1192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
120
121 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
122 TIMEOUT values. Return EINVAL for NFDS values either negative or
123 greater than FD_SETSIZE.
124
1043890b
ST
1252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
126
127 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
128 allocated, call __vm_protect to finish enabling the existing space, and
129 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
130 allocate the remainder.
131
37ed8b9b
PT
1322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
133
134 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
135 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
136
db653660
ST
1372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
138
37ed8b9b
PT
139 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
140 sysdeps/mach/hurd/readlink.c.
b29d4053 141
db653660
ST
142 * posix/tst-sysconf.c (posix_options): Only use
143 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
144 _POSIX_SYNCHRONIZED_IO when they are defined
145 * sysdeps/mach/hurd/bits/posix_opt.h:
146 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
147 (_XOPEN_REALTIME): Undefine macro.
148 (_XOPEN_REALTIME_THREADS): Undefine macro.
149 (_XOPEN_SHM): Undefine macro.
150 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
151 macro to -1.
152 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
153 macro to -1.
154 (_POSIX_ASYNC_IO): Undefine macro.
155 (_POSIX_PRIORITIZED_IO): Undefine macro.
156 (_POSIX_SPIN_LOCKS): Define macro to -1.
157
ee16e894
ST
158 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
159 SA_NODEFER, SA_RESETHAND.
160 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
161 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
162 F_DUPFD_CLOEXEC.
163
6103ae3b
TS
1642012-05-10 Thomas Schwinge <thomas@schwinge.name>
165
166 * elf/Makefile (pldd-modules): Define unconditionally.
167
80b4e5f3
TS
1682012-05-10 Thomas Schwinge <thomas@schwinge.name>
169
170 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
171
edadcbd6
ST
1722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
173
174 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
175 Return ENOENT when name is empty.
176 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
177
80694780
TS
1782012-05-10 Thomas Schwinge <thomas@schwinge.name>
179
1792c087
TS
180 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
181
80694780
TS
182 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
183
6b645f0d
ST
1842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
185
80694780
TS
186 Fix mlock in all cases except non-readable pages.
187 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
188 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 189
6b645f0d
ST
190 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
191 (__mkdir): When path is `/', just fail with EEXIST.
192 * sysdeps/mach/hurd/mkdirat.c: Likewise.
193
e468f8a3
TS
1942012-05-10 Thomas Schwinge <thomas@schwinge.name>
195
196 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
197 <sys/uio.h> (for writev).
198 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
199 and <sys/param.h> (for MIN).
200
a4186cff
PT
2012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
202
203 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
204 REQUESTED_TIME. Properly set the remaining time and return EINTR
205 if interrupted.
206
510bbf14
TS
2072012-05-10 Thomas Schwinge <thomas@schwinge.name>
208
209 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
210 Depend on against $(link-rpcuserlibs).
211
5d5722e8
ST
2122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
213
a4186cff
PT
214 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
215 (__libc_stack_end): Do not use attribute_relro.
216 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
217 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 218 to libthread-provided value.
a4186cff
PT
219 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
220 attribute_relro.
5d5722e8 221
37233df9
TS
2222012-05-10 Thomas Schwinge <thomas@schwinge.name>
223
be971a2b
TS
224 [BZ #3748]
225 * bits/libc-lock.h (__libc_once_get): New macro.
226 * sysdeps/mach/bits/libc-lock.h: Likewise.
227 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
229 instead of using implementation details.
230
37233df9
TS
231 * libio/fileops.c: Unconditionally include <kernel-features.h>.
232 * libio/freopen.c: Likewise.
233 * libio/freopen64.c: Likewise.
234 * misc/syslog.c: Likewise.
235 * nscd/connections.c: Likewise.
236 * nscd/netgroupcache.c: Likewise.
237 * sysdeps/posix/getcwd.c: Likewise.
238
38de94a5
RM
2392012-05-10 Roland McGrath <roland@hack.frob.com>
240
241 * math/w_ilogbf.c: Add #include <limits.h>.
242
67530489
ST
2432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
244
a4186cff 245 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
246 path instead of returning without unlocking.
247
67530489
ST
248 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
249 immediate-write ioctls.
250 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
251
5aa3a74a
TS
2522012-05-10 Thomas Schwinge <thomas@schwinge.name>
253
18bad2ae
TS
254 * sysdeps/mach/hurd/i386/init-first.c (init): Use
255 __builtin_frame_address instead of making assumptions about the
256 location of the return address relative to DATA. Force early load of
257 the return address.
258 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
259 __builtin_frame_address.
260
5aa3a74a
TS
261 dup3 for GNU Hurd.
262 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
263 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
264 implement dup3 and do some further code clean-ups.
265 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
266 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
267
ecd0de9a
ST
2682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
269
cd9fa985
ST
270 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
271
a4186cff
PT
272 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
273 HURD_CRITICAL_END around holding _hurd_dtable_lock.
274 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
275 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
276 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
277 d->port.lock.
802ca5a5 278
a4186cff
PT
279 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
280 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
281 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 282
bcf55240
TS
2832012-05-10 Thomas Schwinge <thomas@schwinge.name>
284
6960eb42
TS
285 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
286 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
287 definitions.
288
eb43375f
TS
289 accept4 for GNU Hurd.
290 * include/sys/socket.h (__libc_accept4): New prototype.
291 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
292 to implement __libc_accept4.
293 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
294 __libc_accept4.
295 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
296
bcf55240
TS
297 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
298 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
299 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
300 signal-defines.sym.
301
6178c55b
ST
3022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
303
a4186cff 304 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 305
6f080c2f
TS
3062012-05-10 Thomas Schwinge <thomas@schwinge.name>
307
308 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
309 assertion on O_CLOEXEC flag.
310 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
311 * hurd/intern-fd.c: Likewise.
312 * hurd/port2fd.c: Likewise.
313
bcfe3a54
ST
3142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
315
316 [BZ #3906]
317 * bits/in.h (IPV6_PKTINFO): Define new macro.
318 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
319
89c9aa49
AZ
3202012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
321
322 [BZ #13954]
323 [BZ #13955]
324 [BZ #13956]
325 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
327 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
328 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
329 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
330 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
331 * math/libm-test.inc (logb_test) : Additional logb tests.
332
021db4be
AJ
3332012-05-09 Andreas Schwab <schwab@linux-m68k.org>
334 Andreas Jaeger <aj@suse.de>
335
336 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
337 * configure: Regenerated.
338 * config.h.in (LINK_OBSOLETE_RPC): New macro.
339 * config.make.in (link-obsolete-rpc): New substituted variable.
340 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
341 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
342 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
343 (shared-only-routines): Don't set it under [link-obsolete-rpc],
344 so that libc.a contains the symbols.
345 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
346 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
347 * sunrpc/auth_none.c: Likewise.
348 * sunrpc/auth_unix.c: Likewise.
349 * sunrpc/authdes_prot.c: Likewise.
350 * sunrpc/authuxprot.c: Likewise.
351 * sunrpc/clnt_gen.c: Likewise.
352 * sunrpc/clnt_perr.c: Likewise.
353 * sunrpc/clnt_raw.c: Likewise.
354 * sunrpc/clnt_simp.c: Likewise.
355 * sunrpc/clnt_tcp.c: Likewise.
356 * sunrpc/clnt_udp.c: Likewise.
357 * sunrpc/clnt_unix.c: Likewise.
358 * sunrpc/des_crypt.c: Likewise.
359 * sunrpc/des_soft.c: Likewise.
360 * sunrpc/get_myaddr.c: Likewise.
361 * sunrpc/key_call.c: Likewise.
362 * sunrpc/key_prot.c: Likewise.
363 * sunrpc/netname.c: Likewise.
364 * sunrpc/pm_getmaps.c: Likewise.
365 * sunrpc/pm_getport.c: Likewise.
366 * sunrpc/pmap_clnt.c: Likewise.
367 * sunrpc/pmap_prot.c: Likewise.
368 * sunrpc/pmap_prot2.c: Likewise.
369 * sunrpc/pmap_rmt.c: Likewise.
370 * sunrpc/publickey.c: Likewise.
371 * sunrpc/rpc_cmsg.c: Likewise.
372 * sunrpc/rpc_common.c: Likewise.
373 * sunrpc/rpc_dtable.c: Likewise.
374 * sunrpc/rpc_prot.c: Likewise.
375 * sunrpc/rpc_thread.c: Likewise.
376 * sunrpc/rtime.c: Likewise.
377 * sunrpc/svc.c: Likewise.
378 * sunrpc/svc_auth.c: Likewise.
379 * sunrpc/svc_raw.c: Likewise.
380 * sunrpc/svc_run.c: Likewise.
381 * sunrpc/svc_tcp.c: Likewise.
382 * sunrpc/svc_udp.c: Likewise.
383 * sunrpc/svc_unix.c: Likewise.
384 * sunrpc/svcauth_des.c: Likewise.
385 * sunrpc/xcrypt.c: Likewise.
386 * sunrpc/xdr.c: Likewise.
387 * sunrpc/xdr_array.c: Likewise.
388 * sunrpc/xdr_float.c: Likewise.
389 * sunrpc/xdr_intXX_t.c: Likewise.
390 * sunrpc/xdr_mem.c: Likewise.
391 * sunrpc/xdr_rec.c: Likewise.
392 * sunrpc/xdr_ref.c: Likewise.
393 * sunrpc/xdr_sizeof.c: Likewise.
394 * sunrpc/xdr_stdio.c: Likewise.
395
b5c086a2
RM
3962012-05-10 Roland McGrath <roland@hack.frob.com>
397
398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
399 change. Update copyright years.
400
6d74dd09
JM
4012012-05-10 Joseph Myers <joseph@codesourcery.com>
402
403 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
404
28e72501
MK
4052012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
406 Joseph Myers <joseph@codesourcery.com>
407 Paul Pluzhnikov <ppluzhnikov@google.com>
408
409 [BZ #14012]
410 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
411 requiring rpcgen.
412 [cross-compiling] (extra-libs): Likewise.
413 [cross-compiling] (extra-libs-others): Likewise.
414 [cross-compiling] (librpcsvc-routines): Likewise.
415 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
416 [cross-compiling] (omit-deps): Likewise.
417 (sunrpc-CPPFLAGS): New variable.
418 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
419 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
420 (cross-rpcgen-objs): New variable.
421 (extra-objs): Append $(cross-rpcgen-objs).
422 ($(cross-rpcgen-objs)): New rule.
423 ($(objpfx)cross-rpcgen): Likewise.
424 (rpcgen-cmd): Define to use $(built-program-file). Expand
425 comment.
426 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
427 ($(objpfx)x%.stmp): Likewise.
428 * sunrpc/proto.h [IS_IN_build] (_): Define.
429 [IS_IN_build] (_libc_intl_domainname): Likewise.
430
c8c59454
L
4312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
432
433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
434 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
435 and R_X86_64_TPOFF64.
436
6f27cd16
JM
4372012-05-10 Joseph Myers <joseph@codesourcery.com>
438
439 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
440 sysdeps/unix/sysv/syscalls.list.
441 (stime): Likewise.
442 (utime): Likewise.
443 * sysdeps/unix/sysv/syscalls.list: Remove file.
444
02467e1c
PE
4452012-05-10 Paul Eggert <eggert@cs.ucla.edu>
446
447 [BZ #3440]
448 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
449 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
450 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
451 (__LC_IDENTIFICATION): Make these macros useful in #if
452 expressions, as required by C99.
453
da392631
AS
4542012-05-10 Andreas Schwab <schwab@linux-m68k.org>
455
456 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
457 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
458 after this.
459
8115f29b
L
4602012-05-09 H.J. Lu <hongjiu.lu@intel.com>
461
462 * stdlib/longlong.h: Updated from GCC.
463
bdd74070
AJ
4642012-05-09 Andreas Jaeger <aj@suse.de>
465
edfe0dbe
AJ
466 * nscd/nscd.c (run_modes): Make named enum, reorder so that
467 default is first entry.
468 (run_mode): Set type.
469 (main): Remove informal message about syslog.
470 (options): Fix typo.
471
bcfe3a54
ST
472 [BZ #14053]
473 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 474 to asm.
bcfe3a54
ST
475 (lrint): Likewise.
476 (llrintf): Likewise.
477 (llrint): Likewise.
478 (rint): Likewise.
479 (rintf): Likewise.
480 (nearbyint): Likewise.
481 (nearbyintf): Likewise.
bdd74070 482
91d8d69e
AJ
4832012-05-09 Andreas Jaeger <aj@suse.de>
484 Pedro Alves <palves@redhat.com>
485
486 * nscd/nscd.c (run_mode): Use enum.
487 (main): Cleanup coding style issue.
488
bb90b80b
AJ
4892012-05-09 Alexandre Oliva <aoliva@redhat.com>
490 Andreas Jaeger <aj@suse.de>
491
bcfe3a54
ST
492 * nscd/nscd.c (go_background): Replaced with...
493 (run_mode): ... this.
bb90b80b 494 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
495 (options): Add -F --foreground.
496 (main): Implement it.
497 (parse_opt): Parse it.
bb90b80b 498
1a4b75a1
AJ
4992012-05-09 Andreas Jaeger <aj@suse.de>
500
501 [BZ #14083]
502 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
503 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
504 -Wconversion warning.
505 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
506 Likewise.
507
b1cc2472
JM
5082012-05-09 Joseph Myers <joseph@codesourcery.com>
509
510 * conform/data/locale.h-data (NULL): Use macro-constant. Require
511 == 0.
512 (LC_ALL): Use macro-int-constant.
513 (LC_COLLATE): Likewise.
514 (LC_CTYPE): Likewise.
515 (LC_MESSAGES): Likewise.
516 (LC_MONETARY): Likewise.
517 (LC_NUMERIC): Likewise.
518 (LC_TIME): Likewise.
519 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
520 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
522 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
523 Specify type.
524 [C99-based standards] (float_t): Expect type.
525 [C99-based standards] (double_t): Expect type.
526 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
527 type.
528 [C99-based standards] (HUGE_VALL): Likewise.
529 [C99-based standards] (INFINITY): Likewise.
530 [C99-based standards] (NAN): Likewise.
531 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
532 [C99-based standards] (FP_NAN): Likewise.
533 [C99-based standards] (FP_NORMAL): Likewise.
534 [C99-based standards] (FP_SUBNORMAL): Likewise.
535 [C99-based standards] (FP_ZERO): Likewise.
536 [C99-based standards] (FP_FAST_FMA): Use
537 optional-macro-int-constant. Specify type. Require == 1.
538 [C99-based standards] (FP_FAST_FMAF): Likewise.
539 [C99-based standards] (FP_FAST_FMAL): Likewise.
540 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
541 [C99-based standards] (FP_ILOGBNAN): Likewise.
542 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
543 Specify type.
544 [C99-based standards] (MATH_ERREXCEPT): Likewise.
545 [C99-based standards] (math_errhandling): Specify type.
546 [ISO99 || ISO11] (signgam): Do not allow.
547 [non-C99-based standards] (copysignf): Do not allow.
548 [non-C99-based standards] (exp2f): Likewise.
549 [non-C99-based standards] (log2f): Likewise.
550 [non-C99-based standards] (modff): Allow.
551 [non-C99-based standards] (erff): Do not allow.
552 [non-C99-based standards] (erfcf): Likewise.
553 [non-C99-based standards] (gammaf): Likewise.
554 [non-C99-based standards] (hypotf): Likewise.
555 [non-C99-based standards] (j0f): Likewise.
556 [non-C99-based standards] (j1f): Likewise.
557 [non-C99-based standards] (jnf): Likewise.
558 [non-C99-based standards] (lgammaf): Likewise.
559 [non-C99-based standards] (tgammaf): Likewise.
560 [non-C99-based standards] (y0f): Likewise.
561 [non-C99-based standards] (y1f): Likewise.
562 [non-C99-based standards] (ynf): Likewise.
563 [non-C99-based standards] (isnanf): Likewise.
564 [non-C99-based standards] (acoshf): Likewise.
565 [non-C99-based standards] (asinhf): Likewise.
566 [non-C99-based standards] (atanhf): Likewise.
567 [non-C99-based standards] (cbrtf): Likewise.
568 [non-C99-based standards] (expm1f): Likewise.
569 [non-C99-based standards] (ilogbf): Likewise.
570 [non-C99-based standards] (log1pf): Likewise.
571 [non-C99-based standards] (logbf): Likewise.
572 [non-C99-based standards] (nextafterf): Likewise.
573 [non-C99-based standards] (remainderf): Likewise.
574 [non-C99-based standards] (rintf): Likewise.
575 [non-C99-based standards] (scalbf): Likewise.
576 [non-C99-based standards] (copysignl): Likewise.
577 [non-C99-based standards] (exp2l): Likewise.
578 [non-C99-based standards] (log2l): Likewise.
579 [non-C99-based standards] (modfl): Allow.
580 [non-C99-based standards] (erfl): Do not allow.
581 [non-C99-based standards] (erfcl): Likewise.
582 [non-C99-based standards] (gammal): Likewise.
583 [non-C99-based standards] (hypotl): Likewise.
584 [non-C99-based standards] (j0l): Likewise.
585 [non-C99-based standards] (j1l): Likewise.
586 [non-C99-based standards] (jnl): Likewise.
587 [non-C99-based standards] (lgammal): Likewise.
588 [non-C99-based standards] (tgammal): Likewise.
589 [non-C99-based standards] (y0l): Likewise.
590 [non-C99-based standards] (y1l): Likewise.
591 [non-C99-based standards] (ynl): Likewise.
592 [non-C99-based standards] (isnanl): Likewise.
593 [non-C99-based standards] (acoshl): Likewise.
594 [non-C99-based standards] (asinhl): Likewise.
595 [non-C99-based standards] (atanhl): Likewise.
596 [non-C99-based standards] (cbrtl): Likewise.
597 [non-C99-based standards] (expm1l): Likewise.
598 [non-C99-based standards] (ilogbl): Likewise.
599 [non-C99-based standards] (log1pl): Likewise.
600 [non-C99-based standards] (logbl): Likewise.
601 [non-C99-based standards] (nextafterl): Likewise.
602 [non-C99-based standards] (remainderl): Likewise.
603 [non-C99-based standards] (rintl): Likewise.
604 [non-C99-based standards] (scalbl): Likewise.
605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
606 [non-C99-based standards] (FP_*): Do not allow.
607 [C99-based standards] (FP_*): Change to
608 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
609 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
610 allow.
611 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
612 (SIG_ERR): Likewise.
613 [X/Open-based standards] (SIG_HOLD): Likewise.
614 (SIG_IGN): Likewise.
615 (SIGABRT): Use macro-int-constant. Specify type. Require
616 positive value.
617 (SIGFPE): Likewise.
618 (SIGILL): Likewise.
619 (SIGINT): Likewise.
620 (SIGSEGV): Likewise.
621 (SIGTER): Likewise.
622 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
623 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
624 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
625 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
626 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
627 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
628 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
629 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
630 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
631 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
632 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
633 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
634 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
635 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
636 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
637 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
638 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
639 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
640 [X/Open-based standards] (SIGTRAP): Likewise.
641 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
642 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
643 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
644 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
645 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
646 allow.
647
b9f1922d
IW
6482012-05-08 Ian Wienand <ianw@vmware.com>
649
650 [BZ #14080]
651 * time/tzset.c (__tzset_parse_tz): Update default rules for
652 daylight time changes in the Energy Policy Act of 2005.
653
1db86e88
AJ
6542012-05-09 Andreas Jaeger <aj@suse.de>
655
656 [BZ #13983]
657 * elf/ldconfig.c (parse_conf): Change string to make clear that
658 ldconfig only issued a warning if ld.so.conf does not exist.
659
dee4a4e3
DM
6602012-05-08 David S. Miller <davem@davemloft.net>
661
ee0db190
DM
662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
663 movxtod instead of popping the value on the stack.
664
dee4a4e3
DM
665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
666
6a43ec98
CD
6672012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
668
669 * config.h.in: Add HAVE_ARM_PCS_VFP.
670
05c2c961
RMG
6712012-05-08 Roland Mc Grath <roland@hack.frob.com>
672
bcfe3a54
ST
673 [BZ #13979]
674 * include/features.h: Warn if user requests __FORTIFY_SOURCE
675 checking but the checks are disabled for any reason.
05c2c961 676
4b30f61a
L
6772012-05-08 H.J. Lu <hongjiu.lu@intel.com>
678
679 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
680 and ELF64_R_TYPE with ELFW(R_TYPE).
681
eee2bc67
JM
6822012-05-08 Joseph Myers <joseph@codesourcery.com>
683
7ea5391a
JM
684 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
685 (ulimit): Likewise.
686
eee2bc67
JM
687 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
688 (settimeofday): Likewise.
689
abb66a67
MF
6902012-05-08 Mike Frysinger <vapier@gentoo.org>
691
692 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
693 a struct th_u2 inside the union, and move tu_block/tu_code into
694 a new th_u3 union of tu_block/tu_code inside of that. Move
695 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
696 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
697 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
698 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
699 (th_stuff): Change to th_u1.tu_stuff.
700 (th_data): Define.
701 (th_msg): Change to th_u1.th_u2.tu_data.
702
7f18b530
DM
7032012-05-07 David S. Miller <davem@davemloft.net>
704
05760585
DM
705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
706
7f18b530
DM
707 [BZ #14074]
708 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
709 (SETUP_PIC_REG): Use it.
710 (SETUP_PIC_REG_LEAF): Use it.
711
495fd99f
JM
7122012-05-07 Joseph Myers <joseph@codesourcery.com>
713
714 [BZ #13885]
715 [BZ #13923]
716 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
717 USE_AS_EXPM1L.
718 (EXPL_FINITE): Likewise.
719 (FLDLOG): Likewise.
720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
721 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
722 e_expl.S.
723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
724 USE_AS_EXPM1L.
725 (EXPL_FINITE): Likewise.
726 (FLDLOG): Likewise.
727 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
728 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
729 e_expl.S.
730 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
731 test of -max_value argument for long double.
732 * sysdeps/i386/fpu/libm-test-ulps: Update.
733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
734
6693d694
DM
7352012-05-06 David S. Miller <davem@davemloft.net>
736
737 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
738 quad soft-float symbols whose references which are compiler
739 generated.
740 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
741
6c23e11c
JM
7422012-05-06 Joseph Myers <joseph@codesourcery.com>
743
d8b82cad
JM
744 [BZ #13884]
745 [BZ #13914]
746 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
747 USE_AS_EXP10L.
748 (EXPL_FINITE): Likewise.
749 (FLDLOG): Likewise.
750 (c0): Likewise.
751 (c1): Likewise.
752 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
753 Adjust comments for base varying.
754 (__expl_finite): Change alias to EXPL_FINITE.
755 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
756 e_expl.S.
757 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
758 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
759 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
760 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
761 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
762 USE_AS_EXP10L.
763 (EXPL_FINITE): Likewise.
764 (FLDLOG): Likewise.
765 (c0): Likewise.
766 (c1): Likewise.
767 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
768 Adjust comments for base varying.
769 (__expl_finite): Change alias to EXPL_FINITE.
770 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
771 tests for bugs.
772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
773
6c23e11c
JM
774 [BZ #14064]
775 * math/libm-test.inc (check_float_internal): Correct ulp
776 calculation for subnormal expected results.
777
29ba805c
AJ
7782012-05-06 Andreas Jaeger <aj@suse.de>
779
780 * Makeconfig (+math-flags): New, set to -frounding-math.
781 (+cflags): Add +math-flags so that all of glibc gets compiled with
782 it.
783
784 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
785
7b17aeda
JM
7862012-05-05 Joseph Myers <joseph@codesourcery.com>
787
5779f134
JM
788 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
789 Disable one test.
790
41498f4d
JM
791 [BZ #13787]
792 [BZ #13922]
793 [BZ #14036]
794 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
795 (__ieee754_expl): Allow for and saturate large arguments.
796 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
797 (u_threshold): Likewise.
798 (__exp): Call __ieee754_exp before checking for overflow and
799 underflow.
800 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
801 (u_threshold): Likewise.
802 (__expf): Call __ieee754_expf before checking for overflow and
803 underflow.
804 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
805 (u_threshold): Likewise.
806 (__expl): Call __ieee754_expl before checking for overflow and
807 underflow.
808 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
809 (__ieee754_expl): Allow for and saturate large arguments.
810 * math/libm-test.inc (exp_test): Add another test. Do not allow
811 missing overflow exception on overflow.
812 (expm1_test): Do not allow missing overflow exception on overflow.
813
6698b8bf
JM
814 * sysdeps/i386/fpu/e_expl.c: Move to ...
815 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
816 rather than using inline asm.
817 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
818 * sysdeps/x86_64/fpu/e_expl.S: Copy from
819 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
820
7b17aeda
JM
821 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
822 (nice): Likewise.
823 (poll): Likewise.
824 (signal): Likewise.
825 (time): Likewise.
826 (times): Likewise.
827
f7c85819
JM
8282012-05-04 Joseph Myers <joseph@codesourcery.com>
829
830 * sysdeps/unix/syscalls.list (adjtime): Add entry from
831 sysdeps/unix/common/syscalls.list.
832 (fchmod): Likewise.
833 (fchown): Likewise.
834 (ftruncate): Likewise.
835 (getrusage): Likewise.
836 (gettimeofday): Likewise.
837 (setpgid): Likewise.
838 (setregid): Likewise.
839 (setreuid): Likewise.
840 (sigaction): Likewise.
841 (truncate): Likewise.
842 (vhangup): Likewise.
843 * sysdeps/unix/common/syscalls.list: Remove file.
844 * sysdeps/unix/bsd/Implies: Don't include unix/common.
845 * sysdeps/unix/sysv/linux/Implies: Likewise.
846
336270d0
L
8472012-05-04 H.J. Lu <hongjiu.lu@intel.com>
848
849 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
851 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
852 Moved to ...
853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
854 Here.
855 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
856 to ...
857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
858 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
859 to ...
860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
861 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
862 to ...
863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
864 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
865 to ...
866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
867 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
868 to ...
869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
870 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
871 to ...
872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
873 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
874 to ...
875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
876 Here.
877 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
878 to ...
879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
880 Here.
881 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
882 to ...
883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
884 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
885 Moved to ...
886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
887 Here.
888 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
889 to ...
890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
891
d128e450
JM
8922012-05-04 Joseph Myers <joseph@codesourcery.com>
893
fa8ee516
JM
894 * sysdeps/unix/common/bits/dirent.h: Remove file.
895 * sysdeps/unix/common/bits/fcntl.h: Likewise.
896
d128e450
JM
897 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
898 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
899 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
900 * sysdeps/unix/bsd/isatty.c: Likewise.
901 * sysdeps/unix/bsd/tcdrain.c: Likewise.
902 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
903 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
904
ff8faaf0 9052012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 906
62881be4 907 [BZ #13563]
31dc8730
AZ
908 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
909 long double comparison inaccuracies.
910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
912
6fef930c
AS
9132012-05-04 Andreas Schwab <schwab@linux-m68k.org>
914
915 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
916 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
917
8f203e6c
JM
9182012-05-04 Joseph Myers <joseph@codesourcery.com>
919
920 [BZ #14049]
921 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
922 nonzero digits before rounding a hex value.
923 * stdlib/tst-strtod.c (tests): Add another test.
924
5197d9c2
AK
9252012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
926
927 * sysdeps/s390/fpu/libm-test-ulps: Update.
928
f0c1dedf
AJ
9292012-05-03 Andreas Jaeger <aj@suse.de>
930
931 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
932 does not get optimized out.
933 (malloc_opt_barrier): New.
934
a65ef2ae 9352012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 936 Roland McGrath <roland@hack.frob.com>
a65ef2ae 937
2b942cb7 938 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 939 intermediate file deletion.
2b942cb7 940 (generated): Add .symlist files.
a65ef2ae 941
54b71e02
JM
9422012-05-03 Joseph Myers <joseph@codesourcery.com>
943
944 [BZ #13775]
945 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
946 Redirect under this condition.
947 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
948 [__USE_GNU] (__dprintf_chk): Not under this condition.
949 [__USE_GNU] (__vdprintf_chk): Likewise.
950 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
951 under this condition.
952 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
953 [__USE_XOPEN2K8] (dprintf): Define under this condition.
954 [__USE_XOPEN2K8] (vdprintf): Likewise.
955 [__USE_GNU] (__dprintf_chk): Not under this condition.
956 [__USE_GNU] (__vdprintf_chk): Likewise.
957 [__USE_GNU] (dprintf): Likewise.
958 [__USE_GNU] (vdprintf): Likewise.
959
d3dfcc41
RM
9602012-05-03 Roland McGrath <roland@hack.frob.com>
961
962 * elf/Makefile (common-generated): Set this instead of generated for
963 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
964 $(all-built-dso)-derived lists.
965
7ac30cc5
AJ
9662012-05-03 Andreas Jaeger <aj@suse.de>
967
0c51e550
AJ
968 * sysdeps/i386/fpu/libm-test-ulps: Update.
969
7ac30cc5
AJ
970 * FAQ: Removed.
971 * FAQ.in: Likewise.
972 * scripts/gen-FAQ.pl: Likewise.
973 * manual/install.texi (Installation): Point to online location of
974 FAQ.
975 * Makefile (files-for-dist): Remove FAQ.
976 (FAQ): Remove.
977
d4c2917f
AM
9782012-05-02 Allan McRae <allan@archlinux.org>
979
980 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
981 (LDFLAGS-reldepmod5.so): Likewise.
982 (LDFLAGS-reldep6mod1.so): Likewise.
983 (LDFLAGS-reldep6mod4.so): Likewise.
984 (LDFLAGS-reldep8mod3.so): Likewise.
985 (LDFLAGS-unload4mod1.so): Likewise.
986 (LDFLAGS-unload4mod2.so): Likewise.
987 (LDFLAGS-tst-initorder): Likewise.
988 (LDFLAGS-tst-initordera2.so): Likewise.
989 (LDFLAGS-tst-initordera3.so): Likewise.
990 (LDFLAGS-tst-initordera4.so): Likewise.
991 (LDFLAGS-tst-initorderb2.so): Likewise.
992 (LDFLAGS-noload): Likewise.
993 (LDFLAGS-next): Likewise.
994 (LDFLAGS-order2mod1.so): Likewise.
995 (LDFLAGS-order2mod2.so): Likewise.
996 (LDFLAGS-tst-initorder2): Likewise.
997 (LDFLAGS-tst-initorder2a.so): Likewise.
998 (LDFLAGS-tst-initorder2b.so): Likewise.
999 (LDFLAGS-tst-initorder2c.so): Likewise.
1000 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1001
d77f993f
DM
10022012-05-02 David S. Miller <davem@davemloft.net>
1003
1004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1005
171a70b4
PP
10062012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1007
1008 [BZ #14055]
1009 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1010
0be196ad
AJ
10112012-05-02 Andreas Jaeger <aj@suse.de>
1012
1013 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1014 since we manipulate rounding mode.
1015 (CPPFLAGS-test-idouble.c): Likewise.
1016 (CPPFLAGS-test-ifloat.c): Likewise.
1017 (CFLAGS-test-ldouble.c): Likewise.
1018 (CFLAGS-test-double.c): Likewise.
1019 (CFLAGS-test-float.c): Likewise.
1020 (CFLAGS-test-misc.c): Likewise.
1021 (CFLAGS-test-test-fenv.c): Likewise.
1022
4f9d04aa
AZ
10232012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1024
2b942cb7
RM
1025 [BZ #2550]
1026 [BZ #2570]
1027 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1028 comparisons to determine direction to adjust input.
4f9d04aa 1029
82a79e7d
RM
10302012-05-01 Roland McGrath <roland@hack.frob.com>
1031
f5a01ca9
RM
1032 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1033 output to the target.
1034
90fe4186
RM
1035 * scripts/localplt.awk: New file.
1036 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1037 (check-localplt-CFLAGS): Variable removed.
1038 ($(all-built-dso:=.jmprel)): New static pattern rule.
1039 (generated): Add those targets.
1040 (localplt-built-dso): New variable.
1041 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1042
1043 * elf/check-localplt.c: File removed.
1044
82397ed6
RM
1045 * scripts/check-execstack.awk: New file.
1046 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1047 (check-execstack-CFLAGS): Variable removed.
1048 ($(objpfx)check-execstack.h): Target removed.
1049 ($(objpfx)execstack-default): New target.
1050 (generated): Add that instead of check-execstack.h.
1051 ($(all-built-dso:=.phdr)): New static pattern rule.
1052 (generated): Add those targets.
1053 * elf/check-execstack.c: File removed.
1054
82a79e7d
RM
1055 * scripts/check-textrel.awk: New file.
1056 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1057 (check-textrel-CFLAGS): Variable removed.
1058 (all-built-dso): Use := to define.o
1059 ($(all-built-dso:=.dyn)): New static pattern rule.
1060 (generated): Add those targets.
1061 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1062 * config.make.in (READELF): New substituted variable.
1063 * elf/check-textrel.c: File removed.
1064
62fde54f 10652012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1066
615605c9
JM
1067 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1068 allow.
1069 * conform/data/ctype.h-data [C99-based standards] (isblank):
1070 Expect function.
1071 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1072 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1074 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1075 Specify type. Require positive value.
1076 (EILSEQ): Likewise.
1077 (ERANGE): Likewise.
1078 [ISO || POSIX] (EILSEQ): Do not expect.
1079 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1080 Specify type. Require positive value.
1081 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1082 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1083 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1084 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1085 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1086 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1087 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1088 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1089 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1090 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1091 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1092 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1093 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1098 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1119 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1127 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1128 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1134 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1135 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1140 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1141 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1143 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1144 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1148 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1149 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1150 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1151 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1152 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1153 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1154 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1155 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1156 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1157 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1158 Require >= 2.
1159 (FLT_ROUNDS): Expect as macro, not constant.
1160 (FLT_MANT_DIG): Use macro-int-constant.
1161 (DBL_MANT_DIG): Likewise.
1162 (LDBL_MANT_DIG): Likewise.
1163 (FLT_DIG): Likewise.
1164 (DBL_DIG): Likewise.
1165 (LDBL_DIG): Likewise.
1166 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1167 (DBL_MIN_EXP): Likewise.
1168 (LDBL_MIN_EXP): Likewise.
1169 (FLT_MAX_EXP): Use macro-int-constant.
1170 (DBL_MAX_EXP): Likewise.
1171 (LDBL_MAX_EXP): Likewise.
1172 (FLT_MAX_10_EXP): Likewise.
1173 (DBL_MAX_10_EXP): Likewise.
1174 (LDBL_MAX_10_EXP): Likewise.
1175 (FLT_MAX): Use macro-constant.
1176 (DBL_MAX): Likewise.
1177 (LDBL_MAX): Likewise.
1178 (FLT_EPSILON): Use macro-constant. Give upper bound.
1179 (DBL_EPSILON): Likewise.
1180 (LDBL_EPSILON): Likewise.
1181 (FLT_MIN): Likewise.
1182 (DBL_MIN): Likewise.
1183 (LDBL_MIN): Likewise.
1184 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1185 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1186 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1187 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1188 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1189 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1190 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1191 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1192 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1193 [ISO11] (FLT_TRUE_MIN): Likewise.
1194 [ISO11] (LDBL_TRUE_MIN): Likewise.
1195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1196 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1197 (SCHAR_MIN): Use macro-int-constant. Specify type.
1198 (SCHAR_MAX): Likewise.
1199 (UCHAR_MAX): Likewise.
1200 (CHAR_MIN): Likewise.
1201 (CHAR_MAX): Likewise.
1202 (MB_LEN_MAX): Use macro-int-constant.
1203 (SHRT_MIN): Use macro-int-constant. Specify type.
1204 (SHRT_MAX): Likewise.
1205 (USHRT_MAX): Likewise.
1206 (INT_MAX): Likewise.
1207 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1208 bound negative.
1209 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1210 bound with "U".
1211 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1212 bound with "L".
1213 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1214 bound negative. Suffix upper bound with "L".
1215 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1216 bound with "UL".
1217 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1218 Specify type.
1219 [C99-based standards] (LLONG_MAX): Likewise.
1220 [C99-based standards] (ULLONG_MAX): Likewise.
1221 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1222 == 0.
1223 [ISO11] (max_align_t): Require type.
1224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1225
c9140a62
JM
1226 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1227 from $CFLAGS, without defining away __attribute__ calls.
1228 (checknamespace): Use $CFLAGS_namespace.
1229
9af0bf29
JM
1230 * conform/conformtest.pl (@keywords): Only include C99 keywords
1231 for standards based on C99 or C11.
1232
343222a2
JM
1233 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1234 Disable tests.
1235 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1236 UNIX98]: Likewise.
1237
661f8cf0
JM
1238 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1239 usability of symbols in #if.
1240
ee74b9cb
JM
1241 * conform/conformtest.pl: If macro or constant types start
1242 "promoted:", expect the symbol to be of the following type
1243 promoted by the integer promotions.
62fde54f 1244
aafc49b3
JM
1245 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1246 in one place. Also handle "macro-constant".
1247
fefdf574
JM
1248 * conform/conformtest.pl: Only accept expected macro values with
1249 "==". Parse all "macro" lines in one place.
1250 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1251
f2d922fe
JM
1252 * conform/conformtest.pl: Handle braced types on "constant" lines
1253 instead of handling "typed-constant".
1254 * conform/data/signal.h-data: Use "constant" instead of
1255 "typed-constant".
1256
d22956c9
JM
1257 * conform/conformtest.pl: Handle "optional-" at start of lines in
1258 one place rather than duplicating several cases. Handle each
1259 format of "macro" line with initial "optional-".
1260
028e2e38
JM
1261 * conform/conformtest.pl: Only accept expected constant or
1262 optional-constant values with "==". Parse all "constant" lines in
1263 one place. Parse all "optional-constant" lines in one place.
1264 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1265 * conform/data/fmtmsg.h-data: Likewise.
1266 * conform/data/netinet/in.h-data: Likewise.
1267 * conform/data/tar.h-data: Likewise.
1268 * conform/data/limits.h-data: Use "==" form on "constant" and
1269 "optional-constant" lines.
1270
1b8f2850
JM
1271 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1272 Use -std=c99 for XOPEN2K.
1273 (@knownproblems): Remove.
1274 (newtoken): Don't check %isknown.
1275
a05a144b
JM
1276 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1277 Do not expect macro.
1278 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1290 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1291 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1308 [XPG3] (acosh): Likewise.
1309 [XPG3] (asinh): Likewise.
1310 [XPG3] (atanh): Likewise.
1311 [XPG3] (cbrt): Likewise.
1312 [XPG3] (expm1): Likewise.
1313 [XPG3] (ilogb): Likewise.
1314 [XPG3] (log1p): Likewise.
1315 [XPG3] (logb): Likewise.
1316 [XPG3] (nextafter): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1319 [XPG3] (remainder): Likewise.
1320 [XPG3] (rint): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1328 [UNIX98 || XOPEN2K] (scalb): Expect.
1329 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1330 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1430 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1431 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1432 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1433 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1434 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1435 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1436 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1437 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1438 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1439 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1440 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1441 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1442 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1443 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1444 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1445 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1446 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1447 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1448 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1449 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1450 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1451 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1452 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1453 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1454 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1455 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1456 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1457 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1458 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1459 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1460 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1461 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1462 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1463 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1464 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1465 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1466
73c5ebe3
JM
1467 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1468 _XOPEN_SOURCE_EXTENDED for XPG4.
1469
39c33b6c
JM
1470 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1471
62fde54f
JM
1472 * Makeconfig (localtime): Remove variable.
1473 (inst_localtime-file): Likewise.
1474
0741d64c
AS
14752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1476
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1478 Update.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1480 Update.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1482 Update.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1484 Update.
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1486 Update.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1488 Update.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1490 Update.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1492 Update.
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1494 Update.
1495
7cb029ee
JM
14962012-05-01 Joseph Myers <joseph@codesourcery.com>
1497
1498 [BZ #2550]
1499 [BZ #2570]
1500 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1501 comparisons to determine direction to adjust input.
1502 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1503 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1505 Likewise.
1506 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1507 Likewise.
1508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1509 Likewise.
1510 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1511 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1512 Likewise.
1513 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1514 Likewise.
1515 * math/libm-test.inc (nexttoward_test): Add more tests.
1516
412bd966
AS
15172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1518
1519 [BZ #14040]
1520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1521 in version GLIBC_2.1, not GLIBC_2.0.
1522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1523 Likewise.
1524
9568c0c2
JM
15252012-04-30 Joseph Myers <joseph@codesourcery.com>
1526
adfbc8ac
JM
1527 [BZ #13942]
1528 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1529 (1 - x) * (1 + x).
1530 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1531 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1532 * math/libm-test.inc (acos_test): Add more tests.
1533 (asin_test): Likewise.
1534 * sysdeps/i386/fpu/libm-test-ulps: Update.
1535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1536
5ba3cc69
JM
1537 [BZ #14034]
1538 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1539 of square root.
1540 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1541 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1542 * math/libm-test.inc (acos_test_tonearest): New function.
1543 (acos_test_towardzero): Likewise.
1544 (acos_test_downward): Likewise.
1545 (acos_test_upward): Likewise.
1546 (asin_test_tonearest): Likewise.
1547 (asin_test_towardzero): Likewise.
1548 (asin_test_downward): Likewise.
1549 (asin_test_upward): Likewise.
1550 (main): Call the new functions.
1551 * sysdeps/i386/fpu/libm-test-ulps: Update.
1552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1553
9568c0c2
JM
1554 [BZ #13884]
1555 [BZ #13924]
1556 * math/e_exp10.c: Include <float.h>.
1557 (__ieee754_exp10): Handle underflow here rather than multiplying
1558 large negative argument by M_LN10.
1559 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1560 of __ieee754_expf.
1561 * math/e_exp10l.c: Include <float.h>.
1562 (__ieee754_exp10l): Handle underflow here rather than multiplying
1563 large negative argument by M_LN10l.
1564 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1565 spurious overflow exception on underflow.
1566
5ac3ea17
MP
15672012-04-29 Marek Polacek <polacek@redhat.com>
1568
1569 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1570 (__fortify_function): New macro.
1571 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1572 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1573 __extern_always_inline.
1574 * libio/bits/stdio2.h: Likewise.
1575 * libio/bits/stdio.h: Likewise.
1576 * string/string.h: Likewise.
1577 * string/bits/string3.h: Likewise.
1578 * include/stdio.h: Likewise.
1579 * stdlib/bits/stdlib.h: Likewise.
1580 * stdlib/stdlib.h: Likewise.
1581 * rt/bits/mqueue2.h: Likewise.
1582 * rt/mqueue.h: Likewise.
1583 * posix/bits/unistd.h: Likewise.
1584 * posix/unistd.h: Likewise.
1585 * io/bits/poll2.h: Likewise.
1586 * io/bits/fcntl2.h: Likewise.
1587 * io/fcntl.h: Likewise.
1588 * io/sys/poll.h: Likewise.
1589 * misc/bits/syslog.h: Likewise.
1590 * misc/bits/syslog-ldbl.h: Likewise.
1591 * misc/sys/syslog.h: Likewise.
1592 * socket/bits/socket2.h: Likewise.
1593 * socket/sys/socket.h: Likewise.
1594 * debug/tst-chk1.c: Likewise.
1595 * wcsmbs/bits/wchar2.h: Likewise.
1596 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1597 * wcsmbs/wchar.h: Likewise.
1598
ecf0ebfb
AJ
15992012-04-29 Andreas Jaeger <aj@suse.de>
1600
1601 * Makerules (tests): Remove enable-check-abi protection.
1602 (check-abi-warn): Remove.
1603 (check-abi-%): Remove check-abi-warn usage.
1604
1605 * configure.in: Remove check-abi configure option.
1606 * configure: Regenerated.
1607 * config.make.in (enable-check-abi): Remove.
1608
6d5c57fa
AS
16092012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1610
24c5d07e 1611 [BZ #14033]
ded5180a
AS
1612 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1613 double functions to double *_finite functions.
1614
7e0d315d
AS
1615 [BZ #13941]
1616 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1617 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1618 LDBL_MIN_EXP.
1619 * stdio-common/Makefile (tests): Add tst-sprintf3.
1620 * stdio-common/tst-sprintf3.c: New file.
1621
6d5c57fa
AS
1622 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1623 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1624
0749ff8b
JM
16252012-04-28 Joseph Myers <joseph@codesourcery.com>
1626
1627 * conform/conformtest.pl: Remove duplicate typed-constant
1628 handling.
1629
8dbd5d7b
DM
16302012-04-28 David S. Miller <davem@davemloft.net>
1631
1632 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1633 (check-abi-%): Remove AWK script prerequisite and explicit
1634 abilist directory.
1635 (check-abi): Rewrite to just diff the symlist with the abilist.
1636 (config-tls, config-abi-config): Delete, no longer used.
1637 (update-abi-%): Remove AWK script and explicit abilist directory.
1638 (update-abi): Rewrite to simply compare and conditionally copy the
1639 symlist and the sysdep abilist file. Remove update-abi-config
1640 checks.
1641 * abilist/ld.abilist: Remove.
1642 * abilist/libBrokenLocale.abilist: Remove.
1643 * abilist/libanl.abilist: Remove.
1644 * abilist/libcrypt.abilist: Remove.
1645 * abilist/libdl.abilist: Remove.
1646 * abilist/librt.abilist: Remove.
1647 * abilist/libthread_db.abilist: Remove.
1648 * abilist/libutil.abilist: Remove.
1649 * scripts/extract-abilist.awk: Remove.
1650 * scripts/merge-abilist.awk: Remove.
1651 * sysdeps/generic/libcidn.abilist: New file.
1652 * sysdeps/generic/libnss_compat.abilist: New file.
1653 * sysdeps/generic/libnss_db.abilist: New file.
1654 * sysdeps/generic/libnss_dns.abilist: New file.
1655 * sysdeps/generic/libnss_files.abilist: New file.
1656 * sysdeps/generic/libnss_hesiod.abilist: New file.
1657 * sysdeps/generic/libnss_nis.abilist: New file.
1658 * sysdeps/generic/libnss_nisplus.abilist: New file.
1659 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1660 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1661 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1662 file.
1663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1664 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1665 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1666 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1667 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1668 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1669 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1670 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1671 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1672 file.
1673 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1674 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1675 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1676 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1677 file.
1678 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1679 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1680 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1681 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1682 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1683 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1684 file.
1685 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1686 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1687 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1688 file.
1689 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1691 New file.
1692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1693 New file.
1694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1695 New file.
1696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1697 New file.
1698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1699 New file.
1700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1701 New file.
1702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1703 New file.
1704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1705 New file.
1706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1707 New file.
1708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1709 New file.
1710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1711 New file.
1712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1713 New file.
1714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1715 New file.
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1717 file.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1719 New file.
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1721 New file.
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1723 file.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1725 New file.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1727 New file.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1729 file.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1731 New file.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1733 New file.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1735 New file.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1737 New file.
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1739 New file.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1741 New file.
1742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1744 file.
1745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1746 New file.
1747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1748 file.
1749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1750 file.
1751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1752 file.
1753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1754 file.
1755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1756 file.
1757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1758 New file.
1759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1760 file.
1761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1762 file.
1763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1764 New file.
1765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1766 file.
1767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1769 file.
1770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1771 New file.
1772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1773 file.
1774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1775 file.
1776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1777 file.
1778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1779 file.
1780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1781 file.
1782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1783 New file.
1784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1785 file.
1786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1787 file.
1788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1789 New file.
1790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1791 file.
1792 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1793 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1794 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1795 file.
1796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1797 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1798 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1799 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1800 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1801 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1802 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1803 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1804 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1805 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1808 file.
1809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1810 New file.
1811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1812 file.
1813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1814 file.
1815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1816 file.
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1818 file.
1819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1820 file.
1821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1822 New file.
1823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1824 New file.
1825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1826 file.
1827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1828 New file.
1829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1830 file.
1831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1833 file.
1834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1835 New file.
1836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1837 file.
1838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1839 file.
1840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1841 file.
1842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1843 file.
1844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1845 file.
1846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1847 New file.
1848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1849 New file.
1850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1851 file.
1852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1853 New file.
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1855 file.
1856
41d73a1b
JM
18572012-04-28 Joseph Myers <joseph@codesourcery.com>
1858
1859 * conform/conformtest.pl: Fix typo in handling typed-constant from
1860 allow-header.
1861
28aeeda4
JM
18622012-04-27 Joseph Myers <joseph@codesourcery.com>
1863
adae8f5e
JM
1864 * README: Cut down references to pre-2.6 Linux kernels and
1865 Linuxthreads. Update lists of configurations in libc and ports
1866 and sort alphabetically. Say "or newer" with Linux kernel version
1867 requirements.
1868
28aeeda4
JM
1869 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1870
a462cb63
RA
18712012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1872
1873 [BZ #887]
1874 * math/libm-test.inc (logb_test_downward): New test to expose
1875 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1876 rounding mode.
1877
6ad3493e
JM
18782012-04-27 Joseph Myers <joseph@codesourcery.com>
1879
1880 [BZ #14027]
1881 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1882 to be done.
1883 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1884 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1885
2ce4f015
JM
18862012-04-26 Joseph Myers <joseph@codesourcery.com>
1887
5aeb141a
JM
1888 * sysdeps/unix/i386/brk.S: Remove file.
1889 * sysdeps/unix/i386/dl-brk.S: Likewise.
1890 * sysdeps/unix/i386/pipe.S: Likewise.
1891 * sysdeps/unix/i386/sigreturn.S: Likewise.
1892 * sysdeps/unix/i386/syscall.S: Likewise.
1893 * sysdeps/unix/i386/vfork.S: Likewise.
1894 * sysdeps/unix/i386/wait.S: Likewise.
1895
7143acae
JM
1896 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1897 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1898
2ce4f015
JM
1899 * configure.in (arm*-none*): Do not allow without
1900 --enable-hacker-mode.
1901 (netbsd*): Remove case setting base_os.
1902 (386bsd*): Likewise.
1903 (freebsd*): Likewise.
1904 (bsdi*): Likewise.
1905 (osf*): Likewise.
1906 (sunos*): Likewise.
1907 (ultrix*): Likewise.
1908 (newsos*): Likewise.
1909 (dynix*): Likewise.
1910 (*bsd*): Likewise.
1911 (sysv*): Likewise.
1912 (isc*): Likewise.
1913 (esix*): Likewise.
1914 (sco*): Likewise.
1915 (minix*): Likewise.
1916 (irix4*): Likewise.
1917 (irix6*): Likewise.
1918 (solaris[2-9]*): Likewise.
1919 (none): Likewise.
1920 * configure: Regenerated.
1921
0ac229c8
AZ
19222012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1923
1924 [BZ #11521]
1925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1926 overflow or cancellation in calculating denominator.
1927 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1929 down expression to avoid unexpected rounding in newer GCCs.
1930 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1931
33f244f4
DM
19322012-04-26 David S. Miller <davem@davemloft.net>
1933
1934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1935 long-double compat symbols.
1936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1949
cfa1f3e8
DM
19502012-04-25 David S. Miller <davem@davemloft.net>
1951
1952 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1953 HWCAP_* values only after the memory barriers have been defined.
1954 (atomic_full_barrier): Define.
1955 (atomic_read_barrier): Define.
1956 (atomic_write_barrier): Define.
1957
6e236b92
SP
19582012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1959
1960 * shlib-versions: Add libgcc_s version information.
1961 * sysdeps/generic/libgcc_s.h: Remove.
1962 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1963 libgcc_s.h.
1964 * sysdeps/gnu/unwind-resume.c: Likewise.
1965 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1966
aab39a09
DM
19672012-04-25 David S. Miller <davem@davemloft.net>
1968
1969 * sysdeps/unix/sparc/brk.S: Delete.
1970 * sysdeps/unix/sparc/dl-brk.S: Delete.
1971 * sysdeps/unix/sparc/pipe.S: Delete.
1972 * sysdeps/unix/sparc/sysdep.S: Delete.
1973 * sysdeps/unix/sparc/sysdep.h: Delete.
1974 * sysdeps/unix/sparc/vfork.S: Delete.
1975 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1976 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1978 ret_ERRVAL, r0, r1, MOVE): Define.
1979 (JUMPTARGET): Remove.
1980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1981 sysdeps/unix/sparc/sysdep.h
1982 (ENTRY, END): Remove.
1983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1984
a3cc4f48
JM
19852012-04-25 Joseph Myers <joseph@codesourcery.com>
1986
2ed8cda2
JM
1987 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1988 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1989 -DIS_IN_build.
1990
35d76d59
JM
1991 * timezone/README: Update upstream location and email address for
1992 tzcode and tzdata.
1993 * timezone/zdump.c: Update from tzcode 2012b.
1994 * timezone/zic.c: Likewise.
1995
a3cc4f48
JM
1996 * configure.in (libc_cv_as_needed): Remove test.
1997 * configure: Regenerated.
1998 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1999 conditional definition.
2000 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2001 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2002 * config.make.in (have-as-needed): Remove variable.
2003
ceab42c3
SP
20042012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2005 Paul Pluzhnikov <ppluzhnikov@google.com>
2006
2007 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2008 strings correctly.
2009
3ce2865f
CLT
20102012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2011
2012 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2013 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2014 * sysdeps/sh/strlen.S: Likewise.
2015
f37e0d68
JM
20162012-04-24 Joseph Myers <joseph@codesourcery.com>
2017
ae186e9a
JM
2018 * sysdeps/unix/fork.S: Remove file.
2019 * sysdeps/unix/i386/fork.S: Likewise.
2020 * sysdeps/unix/sparc/fork.S: Likewise.
2021
b96914af
JM
2022 * sysdeps/unix/system.c: Remove file.
2023 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2024
f37e0d68
JM
2025 * sysdeps/unix/getegid.S: Remove file.
2026 * sysdeps/unix/geteuid.S: Likewise.
2027
87ef29ca
RM
20282012-04-24 Roland McGrath <roland@hack.frob.com>
2029
83bcd236
RM
2030 * scripts/check-localplt.awk: New file.
2031 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2032 of diff.
2033 * scripts/data/localplt-generic.data: Add a comment.
2034
87ef29ca
RM
2035 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2036 NODE when __dir_mkfile failed.
2037 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2038 Reported by Ludovic Courtès <ludo@gnu.org>.
2039
e5a6e567
AJ
20402012-04-24 Andreas Jaeger <aj@suse.de>
2041
2042 * Makerules (common-clean): Also remove gen-as-const-headers
2043 files.
2044
c1820385
JM
20452012-04-24 Joseph Myers <joseph@codesourcery.com>
2046
2047 * Makerules (native-compile): Do not change working directory for
2048 build. Use $(OUTPUT_OPTION) in command.
2049 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2050
94e02fc4
AZ
20512012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2052
2053 [BZ #13886]
2054 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2055 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2056 * math/libm-test.inc (floor_test): Add more tests.
2057 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2058
3a533ca3
JM
20592012-04-24 Joseph Myers <joseph@codesourcery.com>
2060
940ab4b3
JM
2061 * sysdeps/unix/getdents.c: Remove file.
2062 * sysdeps/unix/sysv/getdents.c: Likewise.
2063 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2064
90e037bd
JM
2065 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2066 sysdeps/unix/mman/syscalls.list.
2067 (mmap): Likewise.
2068 (mprotect): Likewise.
2069 (msync): Likewise.
2070 (munmap): Likewise.
2071 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2072 * sysdeps/unix/mman/syscalls.list: Remove.
2073 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2074
3a533ca3
JM
2075 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2076 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2077 * configure: Regenerated.
2078 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2079 $(libgcc_s_suffix).
2080 * config.make.in (libgcc_s_suffix): Remove variable.
2081
1ad743de
JM
20822012-04-23 Joseph Myers <joseph@codesourcery.com>
2083
4ad451e2
JM
2084 * sysdeps/unix/sysv/gethostname.c: Move to ...
2085 * sysdeps/posix/gethostname.c: ... here.
2086
5e37ce39
JM
2087 * sysdeps/unix/execve.S: Remove file.
2088
1ad743de
JM
2089 * sysdeps/unix/_exit.S: Remove file.
2090
4e681b5b
AJ
20912012-04-23 Andreas Jaeger <aj@suse.de>
2092
2093 [BZ #13739]
2094 * manual/Makefile: Remove make dist support, there's no
2095 need for a stand-alone documentation tar ball.
2096 (TEXI2DVI): Define always, it's not in Makeconfig.
2097 (dist): Removed.
2098 (tar-it): Removed.
2099 (edition): Removed.
2100 (glibc-doc-$(edition).tar): Removed
2101 (%.Z): Removed.
2102 (%.gz): Removed.
2103 (%.uu): Removed.
2104 (ETAGS): Remove, it's in Makeconfig.
2105 (move-if-change): Remove, it's in Makeconfig.
2106
c0baea34
PE
21072013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2108
2109 [BZ #13970]
2110 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2111 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2112 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2113 (strtod_l, strtof_l, strtold_l): Remove __wur.
2114 It is not necessarily an error to ignore strtol's return value.
2115 One can reliably look at the stored endptr to decide whether
2116 the number had valid syntax.
2117
7c0616fa
AJ
21182012-04-21 Andreas Jaeger <aj@suse.de>
2119
803cb6b7 2120 [BZ #13739]
7c0616fa
AJ
2121 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2122
b0fe253f
JM
21232012-04-21 Joseph Myers <joseph@codesourcery.com>
2124
2125 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2126 * sysdeps/unix/sysv/Versions: Remove file.
2127
8280f22d
MT
21282012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2129
2130 [BZ #13927]
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2132
75ce411f 21332012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2134
2135 [BZ #7064]
2136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2137 version from __vm86.
2138
097d59fa
JM
21392012-04-20 Joseph Myers <joseph@codesourcery.com>
2140
a90f3bcb
JM
2141 * sysdeps/unix/common/lxstat.c: Remove file.
2142 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2143
edc7ea78
JM
2144 * sysdeps/unix/sysv/Makefile: Remove file.
2145
cb78c221
JM
2146 * sysdeps/unix/sysv/direct.h: Remove file.
2147
efa6a45f
JM
2148 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2149 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2150 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2151 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2152 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2153 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2154 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2155
9c9f2d0c
JM
2156 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2157
4541c83b
JM
2158 * sysdeps/unix/xmknod.c: Remove file.
2159 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2160
f5d153a0
JM
2161 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2162
aa746595
JM
2163 * sysdeps/unix/sysv/i386/time.S: Remove file.
2164
cce5905e
JM
2165 * sysdeps/unix/fxstat.c: Remove file.
2166 * sysdeps/unix/xstat.c: Likewise.
2167 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2168
37fa3841
JM
2169 * sysdeps/unix/sysv/sigaction.c: Remove file.
2170
ff1962a3
JM
2171 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2172 (sysdep_headers): Remove variable.
2173 [termio.h not in sysdep_headers] (generated): Likewise.
2174 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2175 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2176 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2177 * sysdeps/unix/sysv/tcflow.c: Likewise.
2178 * sysdeps/unix/sysv/tcflush.c: Likewise.
2179 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2180 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2181 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2182 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2183 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2184
e7740d31
JM
2185 * sysdeps/unix/siglist.c: Remove file.
2186
ee06f18b
JM
2187 * sysdeps/unix/getppid.S: Remove file.
2188
097d59fa
JM
2189 * sysdeps/unix/mkdir.c: Remove file.
2190 * sysdeps/unix/rmdir.c: Likewise.
2191
ff3d51ec
AS
21922012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2193
2194 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2195 ERR_MAX value.
2196 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2197 errlist-compat value.
2198
50f81fd7
DM
21992012-04-18 David S. Miller <davem@davemloft.net>
2200
2201 * sysdeps/generic/memcopy.h (reg_char): Delete.
2202 * debug/strcat_chk.c: Use char, not reg_char.
2203 * debug/strcpy_chk.c: Likewise.
2204 * debug/strncat_chk.c: Likewise.
2205 * debug/strncpy_chk.c: Likewise.
2206 * string/memchr.c: Likewise.
2207 * string/memrchr.c: Likewise.
2208 * string/rawmemchr.c: Likewise.
2209 * string/strcat.c: Likewise.
2210 * string/strchr.c: Likewise.
2211 * string/strchrnul.c: Likewise.
2212 * string/strcmp.c: Likewise.
2213 * string/strcpy.c: Likewise.
2214 * string/strncat.c: Likewise.
2215 * string/strncmp.c: Likewise.
2216 * string/strncpy.c: Likewise.
2217
8ff41c46
WS
22182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2219
2220 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2221 __builtin_memcopy is called when src and dest ranges are known to not
2222 overlap.
2223
6b652f46
WS
22242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2225
2226 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2227 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2228 fwd_align_merge macro call.
2229 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2230 bwd_align_merge macro call.
2231 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2232
b282631e
WS
22332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2234
2235 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2236 bwd_align_merge macros.
2237 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2238 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2239 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2240
95aa737c
DM
22412012-04-18 David S. Miller <davem@davemloft.net>
2242
2243 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2244
7a99a614
AJ
22452012-04-18 Andreas Jaeger <aj@suse.de>
2246
2247 [BZ# 6794]
2248 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2249 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2250 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2251
2252 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2253 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2254 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2255
2256 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2257 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2258 Adjust for changed ldbl-128 files.
2259
2260 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2261 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2262 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2263
e5270c23
DM
22642012-04-17 David S. Miller <davem@davemloft.net>
2265
2266 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2267
fb5e92c9
AS
22682012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2269
2270 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2271 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2272 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2273 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2274 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2275 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2276
76da7265
AZ
22772012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2278
2279 [BZ #6794]
2280 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2281 * math/libm-test.inc: Add ilogb errno and exception tests.
2282 * math/w_ilogb.c: New file: ilogb wrapper.
2283 * math/w_ilogbf.c: New file: ilogbf wrapper.
2284 * math/w_ilogbl.c: New file: ilogbl wrapper.
2285 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2286 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2287 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2288 exception being thrown with 0.0 as argument.
2289 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2290 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2291 exception being thrown with 0.0 as argument.
2292 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2293 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2294 exception being thrown with 0.0 as argument.
2295 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2296 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2297 exception being thrown with 0.0 as argument.
2298 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2299 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2301 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2302 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2303 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2304 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2305 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2306 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2307
0396e69d
PB
23082012-04-17 Petr Baudis <pasky@ucw.cz>
2309
2310 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2311 with altivec.
2312
750b5926
MP
23132012-04-16 Marek Polacek <polacek@redhat.com>
2314
2315 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2316
751728a1
MP
23172012-04-16 Marek Polacek <polacek@redhat.com>
2318
2319 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2320 operands of fdivp instruction.
2321
34a27407
L
23222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2323
2324 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2325 * elf/tst-auditmod3b.c: Likewise.
2326 * elf/tst-auditmod4b.c: Likewise.
2327 * elf/tst-auditmod5b.c: Likewise.
2328 * elf/tst-auditmod6b.c: Likewise.
2329 * elf/tst-auditmod6c.c: Likewise.
2330 * elf/tst-auditmod7b.c: Likewise.
2331 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2332 * sysdeps/x86_64/preconfigure.in: Likewise.
2333 * sysdeps/x86_64/preconfigure: Regenerated.
2334
7e73e17d
L
23352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2336
2337 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2338 __ILP32__.
2339
c7a6ab72
AB
23402012-04-13 Antoine Balestrat <merkil33@gmail.com>
2341
2342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2343 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2344
a9e8e0e0
CL
23452012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2346
2347 [BZ #13973]
2348 * locale/iso-639.def: Fix gl language name. Spotted by
2349 Yaron Shahrabani.
2350
ec98af7d
RM
23512012-04-12 Roland McGrath <roland@hack.frob.com>
2352
2353 [BZ #2074]
2354 * libio/libio.h (__io_write_fn): Update comment.
2355
247c3ede
PB
23562012-04-12 Petr Baudis <pasky@ucw.cz>
2357
2358 [BZ #2074]
2359 * stdio.texi (Hook Functions): The user provided writer function
2360 is not allowed to return -1.
2361
55939d6d
DM
23622012-04-11 David S. Miller <davem@davemloft.net>
2363
2364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2365
90020f5a
MF
23662012-04-11 Mike Frysinger <vapier@gentoo.org>
2367
2368 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2369 Add a leading slash to rtkaio.
2370
288f9098
JM
23712012-04-11 Jim Meyering <meyering@redhat.com>
2372
90020f5a
MF
2373 [BZ #11959]
2374 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2375 It is not necessarily an error to ignore fwrite's return
2376 value. One can reliably use ferror to test for errors after
2377 the fact.
288f9098 2378
4be2b570
L
23792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2380
2381 * bits/types.h (__snseconds_t): New type.
2382 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2383
2384 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2386 (__SNSECONDS_T_TYPE): Likewise.
2387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2388 (__SNSECONDS_T_TYPE): Likewise.
2389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2390 (__SNSECONDS_T_TYPE): Likewise.
2391
288f9098 23922012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2393
2394 [BZ #2636]
2395 * manual/time.texi (Processor Time): Return type of times is
2396 elapsed real time since an arbitrary point in the past.
2397 (CPU Time): Move CLK_TCK from here...
2398 (Processor Time): ...to here. Correct description.
2399 * manual/conf.texi (Constants for Sysconf): Correct description of
2400 _SC_CLK_TCK.
2401
d7dd4413
DM
24022012-04-10 David S. Miller <davem@davemloft.net>
2403
2404 [BZ #13967]
2405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2406 where the is a gap between DT_REL(A) and DT_JMPREL.
2407
b46068fc
L
24082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2409
2410 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2411 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2412 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2413
73d65cc3
SP
24142012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2415
2416 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2417 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2418 (dl_main): Handle --inhibit-cache.
2419 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2420 _dl_inhibit_cache.
2421 * elf/dl-load.c (_dl_map_object): Use it.
2422 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2423
bcc8d661
JM
24242012-04-09 Joseph Myers <joseph@codesourcery.com>
2425
8f9a2fae
JM
2426 [BZ #13872]
2427 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2428 (__ieee754_powl): Saturate large exponents rather than testing for
2429 overflow of y*log2(x).
2430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2431 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2432 exceptions.
2433
bcc8d661
JM
2434 [BZ #11521]
2435 * math/s_ctan.c: Include <float.h>.
2436 (__ctan): Avoid internal overflow or cancellation in calculating
2437 denominator.
2438 * math/s_ctanf.c: Likewise.
2439 * math/s_ctanl.c: Likewise.
2440 * math/s_ctanh.c: Likewise.
2441 * math/s_ctanhf.c: Likewise.
2442 * math/s_ctanhl.c: Likewise.
2443 * math/libm-test.inc (ctan_test): Add more tests.
2444 (ctanh_test): Likewise.
2445 * sysdeps/i386/fpu/libm-test-ulps: Update.
2446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2447
823fbbb4
AJ
24482012-04-09 Andreas Jaeger <aj@suse.de>
2449
03879793
AJ
2450 [BZ #6894]
2451 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2452 is an optional BSD extension.
2453
823fbbb4
AJ
2454 [BZ #10254]
2455 * manual/stdio.texi (Opening Streams): Document additional fopen
2456 parameters.
2457
8de131cb
RM
24582012-04-09 Roland McGrath <roland@hack.frob.com>
2459
2460 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2461 %eax without telling the compiler.
2462
c0ed9d7d
CD
24632012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2464
2465 [BZ # 13963]
2466 * manual/install.texi: Use sourceware.org.
2467
c483f6b4
JM
24682012-04-09 Joseph Myers <joseph@codesourcery.com>
2469
d7dd9453
JM
2470 [BZ #13873]
2471 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2472 (__ieee754_pow): Generate overflow and underflow using huge*huge
2473 and tiny*tiny rather than just returning constant infinity or zero
2474 for large exponents.
2475 * math/libm-test.inc (pow_test): Require overflow exceptions for
2476 applicable cases of large exponents.
2477
c483f6b4
JM
2478 [BZ #706]
2479 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2480 (__ieee754_pow): Use iterative multiplication algorithm only for
2481 integer exponents with absolute value below 1024. Check for odd
2482 integer exponents when using algorithm for real exponents.
2483 * math/libm-test.inc (pow_test): Add more tests.
2484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2485
d2de7579
JM
24862012-04-08 Joseph Myers <joseph@codesourcery.com>
2487
2488 [BZ #13705]
2489 * math/libm-test.inc (exp_test): Do not allow overflow exception
2490 on underflow test.
2491
f77f1232
AJ
24922012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2493
2494 [BZ #13705]
2495 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2496 instead of __kernel_standard_f.
2497
3884932b
MF
24982012-04-08 Mike Frysinger <vapier@gentoo.org>
2499
2500 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2501 * sysdeps/x86_64/memset_chk.S: Likewise.
2502
54472e9c
AJ
25032012-04-08 Andreas Jaeger <aj@suse.de>
2504
6ab0fbfc
AJ
2505 [BZ #10153]
2506 * manual/startup.texi (Environment Access): Describe return value
2507 for putenv and setenv.
2508
61efba8c
AJ
2509 [BZ #6895]
2510 * manual/filesys.texi (Directory Entries): Add description for
2511 DT_LNK.
2512
95c3f29a
AJ
2513 [BZ #6890]
2514 * manual/filesys.texi (Directory Entries): Clarify that it's file
2515 system not operating system in the description of DT_UNKNOWN.
2516
54472e9c
AJ
2517 [BZ #6578]
2518 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2519
624254b1
SC
25202012-04-08 Stephen Compall <s11@member.fsf.org>
2521
2522 [BZ #6649]
2523 * manual/llio.texi (Opening and Closing Files): Add cross
2524 reference to explain mode argument.
2525
1e4920e0
MF
25262012-04-07 Mike Frysinger <vapier@gentoo.org>
2527
2528 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2529 * sysdeps/x86_64/memset_chk.S: Likewise.
2530
5ed848f3
DM
25312012-04-07 David S. Miller <davem@davemloft.net>
2532
2533 * elf/elf.h (R_SPARC_WDISP10): Define.
2534 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2535 R_SPARC_SIZE32.
2536 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2537 R_SPARC_SIZE64 and R_SPARC_H34.
2538
96154cd8
CD
25392012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2540
2541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2542 conditions and remove no longer applicable assertion.
2543
9904dc47
L
25442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2545
2546 * bits/byteswap.h: Include <features.h>.
2547 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2548 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2549
f8887d0a
L
25502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2551
2552 * bits/byteswap.h (__bswap_16): Removed.
2553 Include <bits/byteswap-16.h> to get __bswap_16.
2554 * sysdeps/i386/bits/byteswap.h: Likewise.
2555 * sysdeps/s390/bits/byteswap.h: Likewise.
2556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2557 * bits/byteswap-16.h: New file.
2558 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2559 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2560 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2561 * string/Makefile (headers): Add bits/byteswap-16.h.
2562
62470f60
PP
25632012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2564
2565 [BZ #13895]
2566 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2567 extra indirection.
2568 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2569 * nss/tst-nss-static.c: New.
2570
4dad7bab
RM
25712012-04-06 Robert Millan <rmh@gnu.org>
2572
2573 [BZ #6486]
2574 * manual/llio.texi (File Position Primitive): lseek
2575 refers to WHENCE when it really means OFFSET.
2576
e9142a17
AJ
25772012-04-06 Andreas Jaeger <aj@suse.de>
2578
2c040eff
AJ
2579 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2580 strncmp declarations.
2581
e9142a17
AJ
2582 * abilist/libc.abilist: Add __poll and __ppoll.
2583
ff9f1c5f
DM
25842012-04-05 David S. Miller <davem@davemloft.net>
2585
dcd2ae90
DM
2586 * scripts/check-local-headers.sh: Accept a host triplet in the
2587 path matched by the exclude regexp.
2588
993eb054
DM
2589 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2590 definition.
2591 * sysdeps/powerpc/powerpc32/dl-machine.h
2592 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2593 * sysdeps/s390/s390-32/dl-machine.h
2594 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2595 * sysdeps/sparc/sparc32/dl-machine.h
2596 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2597 * sysdeps/sparc/sparc64/dl-machine.h
2598 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2599
ff9f1c5f
DM
2600 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2601 lazy binding.
48e2e132 2602 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2603 undefined symbol errors.
2604
48e2e132 2605 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2606 DT_NEEDED entries.
2607
e80d6f94
MM
26082012-04-05 Michael Matz <matz@suse.de>
2609
2610 [BZ #13592]
2611 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2612
349fa79f
AJ
26132012-04-05 Andreas Jaeger <aj@suse.de>
2614
2615 [BZ #13908]
2616 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2617 comment.
2618
f402708f
KK
26192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2620
2621 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2622 which ROUND is no valid rounding mode.
2623
2ecccfc9
KK
26242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2625
2626 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2627 read again.
2628 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2629
8a53f50f
KK
26302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2631
2632 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2633 an exception using FPU order intentionally.
2634
26352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2636
2637 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2638 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2639 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2640 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2641
d653abb7
SJ
26422012-04-05 Simon Josefsson <simon@josefsson.org>
2643
2644 [BZ #12340]
2645 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2646 EINVAL when BUFLEN is too smal.
2647
c3b1bf7d
TS
26482012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2649
2650 [BZ #13553]
2651 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2652 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2653
b1aa60f3
AJ
26542012-04-03 Andreas Jaeger <aj@suse.de>
2655
c3b1bf7d 2656 [BZ #13938]
67f60a26
AJ
2657 * manual/setjmp.texi (System V contexts): Fix sentence.
2658
b1aa60f3
AJ
2659 [BZ #13926]
2660 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2661 New macro for this case.
2662 [!__GNUC__] (__bswap_64): New inline function for this case.
2663 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2664 * bits/byteswap.h: Likewise.
2665 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2666 ull, guard with __GLIBC_HAVE_LONG_LONG.
2667
2668 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2669 __GLIBC_HAVE_LONG_LONG.
2670
2671 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2672 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2673
39c59c35
TMQMF
26742012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2675
2676 [BZ #13691]
2677 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2678 inptr and inend, rather than using last_ch.
2679
135ffda8
DM
26802012-04-02 David S. Miller <davem@davemloft.net>
2681
2682 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2683 * stdio-common/printf-parse.h (read_int): Change return type to
2684 'int', return -1 on INT_MAX overflow.
2685 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2686 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2687 overflows INT_MAX. Check for overflow of in-format-string precision
2688 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2689 SIZE_MAX not INT_MAX for integer overflow test.
2690 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2691 skip the construct in the format string but do not record anything.
2692 * stdio-common/bug22.c: Adjust to test both width/prevision
2693 INT_MAX overflow as well as total length INT_MAX overflow. Check
2694 explicitly for proper errno values.
2695
228c019e
TS
26962012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2697
302cadd3
TS
2698 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2699 CHAR_MAX.
2700 * string/test-strcmp.c [! WIDE]: Likewise.
2701 * time/tst-mktime2.c: Likewise for INT_MAX.
2702 * string/test-string.h: #include <sys/param.h> for MIN.
2703
228c019e
TS
2704 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2705 * sysdeps/i386/init-first.c (init): Likewise.
2706 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2707 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2708 * sysdeps/sh/init-first.c (init): Likewise.
2709
cfa633f5
UD
27102012-04-01 Ulrich Drepper <drepper@gmail.com>
2711
2712 * po/ru.po: Update from translation team.
d1635ef8 2713 * po/vi.po: Likewise.
cfa633f5 2714
6cd0a5ea
SP
27152012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2716
2717 * resolv/nss_dns/dns-host.c: Merge copyright years.
2718
4b43400f
LD
27192012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2720
2721 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2722 Optimize memcpy with prefetch if
2723 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2724 src, dst pointers have unequal 16 byte alignments.
2725
48c41d04
SP
27262012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2727
2728 [BZ #13928]
2729 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2730 from a CNAME entry and return the minimum ttl for the query.
2731 (gaih_getanswer_slice): Likewise.
2732
b8dc394d
JL
27332012-03-30 Jeff Law <law@redhat.com>
2734
2735 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2736 due to long keys.
2737 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2738 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2739
2f5a5ed0
JL
2740 * resolv/nss_dns/dns-host.c: Update copyright year.
2741
1d39e359
UD
27422012-03-30 Ulrich Drepper <drepper@gmail.com>
2743
c030f70c 2744 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2745 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2746
1d39e359
UD
2747 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2748 comments for sendmmsg.
2749
27502012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2751
2752 [BZ #13691]
2753 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2754 with only 1 character between 0x0041 and 0x01b0.
2755 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2756 * wcsmbs/tst-mbsnrtowcs.c: New file.
2757
20fde227
DM
27582012-03-29 David S. Miller <davem@davemloft.net>
2759
2760 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2761 small copies by hand.
2762
984a4237
JL
27632012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2764
2765 [BZ #13761]
2766 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2767 _nss_compat_initgroups_dyn): Fall back to malloc/free
2768 for large group memberships.
2769
18c9d62b
DM
27702012-03-28 David S. Miller <davem@davemloft.net>
2771
88d85d4f
DM
2772 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2773 that branches into memcpy.
2774 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2775 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2777 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2779 bits.
2780 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2781 implementation too.
2782 * sysdeps/sparc/mempcpy.S: New file.
2783
e5aa83e1
DM
2784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2785 the IFUNC routine in the libc case.
2786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2787
88570753
DM
2788 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2789 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2790 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2791 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2792 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2793 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2794 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2795 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2796
249d7567
DM
2797 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2798 loop to 256 bytes instead of 64 bytes and fix test signedness.
2799
18c9d62b
DM
2800 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2801 * sysdeps/sparc/sparc32/Makefile: rather than here...
2802 * sysdeps/sparc/sparc64/Makefile: and here.
2803
05f3d1f6
UD
28042012-03-28 Ulrich Drepper <drepper@gmail.com>
2805
2806 * malloc/mallocbug.c: Avoid warnings about unused variables.
2807
86ae07a8
JL
28082012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2809
2810 [BZ #13760]
2811 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2812 in the right place. Discard and retry query if response is
2813 larger than input buffer size.
2814
41bf21a1
JM
28152012-03-28 Joseph Myers <joseph@codesourcery.com>
2816
d6270972
JM
2817 [BZ #369]
2818 [BZ #2678]
2819 [BZ #3866]
2820 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2821 x for large integer exponent.
2822 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2823 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2824 sign of result as needed afterwards.
2825 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2826 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2827 result for underflowing pow the same as for overflow.
2828 (__kernel_standard_l): Handle powl overflow and underflow here
2829 rather than calling __kernel_standard.
2830 * math/libm-test.inc (pow_test): Add more tests.
2831
414fca03 2832 [BZ #3868]
41bf21a1
JM
2833 [BZ #13879]
2834 [BZ #13910]
2835 [BZ #13911]
2836 [BZ #13912]
2837 [BZ #13913]
2838 [BZ #13915]
2839 [BZ #13916]
2840 [BZ #13917]
2841 [BZ #13918]
2842 [BZ #13919]
2843 [BZ #13920]
2844 [BZ #13921]
2845 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2846 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2847 (__kernel_standard_l): New function.
2848 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2849 __kernel_standard.
2850 * math/w_acosl.c (__acosl): Likewise.
2851 * math/w_asinl.c (__asinl): Likewise.
2852 * math/w_atan2l.c (__atan2l): Likewise.
2853 * math/w_atanhl.c (__atanhl): Likewise.
2854 * math/w_coshl.c (__coshl): Likewise.
2855 * math/w_exp10l.c (__exp10l): Likewise.
2856 * math/w_exp2l.c (__exp2l): Likewise.
2857 * math/w_fmodl.c (__fmodl): Likewise.
2858 * math/w_hypotl.c (__hypotl): Likewise.
2859 * math/w_j0l.c (__j0l, __y0l): Likewise.
2860 * math/w_j1l.c (__j1l, __y1l): Likewise.
2861 * math/w_jnl.c (__jnl, __ynl): Likewise.
2862 * math/w_lgammal.c (__lgammal): Likewise.
2863 * math/w_log10l.c (__log10l): Likewise.
2864 * math/w_log2l.c (__log2l): Likewise.
2865 * math/w_logl.c (__logl): Likewise.
2866 * math/w_powl.c (__powl): Likewise.
2867 * math/w_remainderl.c (__remainderl): Likewise.
2868 * math/w_scalbl.c (sysv_scalbl): Likewise.
2869 * math/w_sinhl.c (__sinhl): Likewise.
2870 * math/w_sqrtl.c (__sqrtl): Likewise.
2871 * math/w_tgammal.c (__tgammal): Likewise.
2872 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2873 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2874 * math/libm-test.inc (acos_test): Add more tests.
2875 (acosh_test): Likewise.
2876 (asin_test): Likewise.
2877 (atanh_test): Likewise.
2878 (exp_test): Likewise.
2879 (exp10_test): Likewise.
2880 (exp2_test): Likewise.
2881 (expm1_test): Likewise.
2882 (lgamma_test): Likewise.
2883 (log_test): Likewise.
2884 (log10_test): Likewise.
2885 (log1p_test): Likewise.
2886 (log2_test): Likewise.
2887 (pow_test): Do not allow some spurious overflow exceptions.
2888 (sqrt_test): Add more tests.
2889 (tgamma_test): Likewise.
2890 (y0_test): Likewise.
2891 (y1_test): Likewise.
2892 (yn_test): Likewise.
2893
dd62fda6
AB
28942012-03-27 Anton Blanchard <anton@samba.org>
2895
2896 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2897 MAP_HUGETLB.
2898 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2901
1e3cdfda
AJ
29022012-03-27 David S. Miller <davem@davemloft.net>
2903
b855ab85
DM
2904 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2905
1e3cdfda
AJ
2906 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2907 have-as-vis3 check.
2908
29092012-03-27 Andreas Jaeger <aj@suse.de>
2910
2911 * sysdeps/x86_64/elf/configure.in: Moved to ...
2912 * sysdeps/x86_64/configure.in: ... here.
2913 * sysdeps/x86_64/elf/start.S: Moved to ...
2914 * sysdeps/x86_64/start.S: ... here.
2915 * sysdeps/x86_64/elf/configure: Delete.
2916
2917 * sysdeps/x86_64/configure.in: Merge contents from
2918 sysdeps/i386/configure.in (without i686 check).
2919
2920 * sysdeps/i386/elf/Versions: Merge into ...
2921 * sysdeps/i386/Versions: ... this.
2922 * sysdeps/i386/elf/Versions: Delete file.
2923 * sysdeps/i386/elf/start.S: Moved to ...
2924 * sysdeps/i386/start.S: ...here.
2925 * sysdeps/i386/elf/configure.in: Merge into...
2926 * sysdeps/i386/configure.in: ...here.
2927 * sysdeps/i386/elf/configure.in: Delete file.
2928 * sysdeps/i386/elf/configure: Delete file.
2929
2930 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2931 * debug/backtracesyms.c: ... here.
2932 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2933 * debug/backtracesymsfd.c: ... here.
2934 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2935 * sysdeps/generic/ifunc-sel.h: ... here.
2936
2937 * sysdeps/unix/i386/start.c: Delete file.
2938 * sysdeps/unix/sparc/start.c: Delete file.
2939 * sysdeps/unix/start.c: Delete file.
2940
2941 * sysdeps/sh/elf/configure.in: Moved to ...
2942 * sysdeps/sh/configure.in: ... here.
2943 * sysdeps/sh/elf/start.S: Moved to ...
2944 * sysdeps/sh/start.S: ... here.
2945 * sysdeps/sh/elf/configure: Delete file.
2946
2947 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2948 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2949 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2950 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2951 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2952 * sysdeps/powerpc/powerpc64/start.S: here.
2953 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2954 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2955 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2956 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2957 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2958
2959 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2960 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2961 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2962 * sysdeps/powerpc/powerpc32/start.S: ... here.
2963 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2964 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2965 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2966
2967 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2968 * sysdeps/powerpc/ifunc-sel.h: ... here.
2969 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2970 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2971
2972 * sysdeps/sparc/elf/configure.in: Moved to ...
2973 * sysdeps/sparc/configure.in: ... here.
2974 * sysdeps/sparc/elf/configure: Delete file.
2975 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2976 * sysdeps/sparc/sparc32/start.S: ... here.
2977 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2978 * sysdeps/sparc/sparc64/start.S: ... here.
2979 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2980 * sysdeps/sparc/sparc32/Makefile: ... this.
2981 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2982 * sysdeps/sparc/sparc64/Makefile: ... this.
2983
2984 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2985 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2986 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2987 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2988 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2989 * sysdeps/s390/s390-32/setjmp.S: ... here.
2990 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2991 * sysdeps/s390/s390-32/configure.in: ... here.
2992 * sysdeps/s390/s390-32/elf/configure: Delete file.
2993 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2994 * sysdeps/s390/s390-32/start.S: ... here.
2995
2996 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2997 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2998 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2999 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3000 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3001 * sysdeps/s390/s390-64/setjmp.S: ... here.
3002 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3003 * sysdeps/s390/s390-64/configure.in: ... here
3004 * sysdeps/s390/s390-64/elf/configure: Delete file.
3005 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3006 * sysdeps/s390/s390-64/start.S: ... here.
3007 * sysdeps/s390/s390-64/elf/configure: Delete.
3008
3009 * configure.in: Remove support for elf directories in sysdeps.
3010
3011 * configure: Regenerated.
3012 * sysdeps/i386/configure: Regenerated.
3013 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3014 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3015 * sysdeps/s390/s390-32/configure: Regenerated.
3016 * sysdeps/s390/s390-64/configure: Regenerated.
3017 * sysdeps/sh/configure: Regenerated.
3018 * sysdeps/sparc/configure: Regenerated.
3019 * sysdeps/x86_64/configure: Regenerated.
3020
a3f61311
AS
30212012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3022
c876e002
AS
3023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3024
a3f61311
AS
3025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3026 denormal result into account.
3027
ac4c54f0
RM
30282012-03-25 Roland McGrath <roland@hack.frob.com>
3029
3030 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3031 Reported by Allan McRae <allan@archlinux.org>.
3032
6a9b9c02
JL
30332012-03-23 Jeff Law <law@redhat.com>
3034
3035 * nss/getnssent.c (__nss_getent): Fix typo.
3036
4c42a0c1
DM
30372012-03-23 David S. Miller <davem@davemloft.net>
3038
3039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3040
1532c7ac
L
30412012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3044 to pad to uint64_t for each field.
3045 (dl_tls_index): Replace unsigned long with uint64_t.
3046
3ff42526
PP
30472012-03-23 Daniel Jacobowitz <dmj@google.com>
3048 Paul Pluzhnikov <ppluzhnikov@google.com>
3049
3050 [BZ #6528]
3051 * grp/Makefile (otherlibs): Don't set it.
3052 * inet/Makefile (otherlibs): Likewise.
3053 * login/Makefile (otherlibs): Likewise.
3054 * nscd/Makefile (otherlibs): Likewise.
3055 * posix/Makefile (otherlibs): Likewise.
3056 * pwd/Makefile (otherlibs): Likewise.
3057 * rt/Makefile (otherlibs): Likewise.
3058 * sunrpc/Makefile (otherlibs): Likewise.
3059 * nss/Makefile (otherlibs): Likewise.
3060 Add libnss_files to routines and static-only-routines.
3061 ($(objpfx)getent): Remove rule.
3062 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3063 static-only-routines.
3064
7c69cd14
JM
30652012-03-22 Joseph Myers <joseph@codesourcery.com>
3066
3067 [BZ #13892]
3068 * math/s_cexp.c: Include <float.h>.
3069 (__cexp): Handle exp result overflowing not necessarily
3070 overflowing both real and imaginary parts of result.
3071 * math/s_cexpf.c: Likewise.
3072 * math/s_cexpl.c: Likewise.
3073 * math/libm-test.inc (cexp_test): Add more tests.
3074 * sysdeps/i386/fpu/libm-test-ulps: Update.
3075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3076
81b035fe
L
30772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3078
3079 * include/link.h (ELFW): New macro.
3080 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3081 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3082
1da7940c
L
30832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3084
3085 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3086 with uint64_t.
3087
b749dbb9
L
30882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3089
3090 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3091 declaration.
3092 (struct La_x32_retval): Likewise.
3093
2ff87f3f
L
30942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3095
3096 * sysdeps/x86_64/preconfigure.in: New file.
3097 * sysdeps/x86_64/preconfigure: New generated file.
3098
c0df8e69
JM
30992012-03-22 Joseph Myers <joseph@codesourcery.com>
3100
48e44791
JM
3101 [BZ #13824]
3102 * math/e_exp2l.c: Include <float.h>.
3103 (__ieee754_exp2l): Handle overflow and underflow cases
3104 separately. Only pass fractional part of argument to
3105 __ieee754_expl.
3106 * math/libm-test.inc (exp2_test): Add more tests.
3107
c0df8e69
JM
3108 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3109 negating x to take absolute value.
3110 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3111 Likewise.
3112 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3113 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3114 Likewise.
3115 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3116 computing low part if x was negated.
3117 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3118
c8e43ba7
L
31192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3120
3121 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3122 la_x32_gnu_pltexit.
3123 (pltexit): Cast int_retval to ptrdiff_t.
3124 * elf/tst-auditmod3b.c: Likewise.
3125 * elf/tst-auditmod4b.c: Likewise.
3126 * elf/tst-auditmod5b.c: Likewise.
3127 * elf/tst-auditmod6b.c: Likewise.
3128 * elf/tst-auditmod6c.c: Likewise.
3129 * elf/tst-auditmod7b.c: Likewise.
3130
3131 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3132 and x32_gnu_pltexit.
3133
3134 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3135 __ELF_NATIVE_CLASS.
3136 (La_x32_regs): New macro.
3137 (La_x32_retval): Likewise.
3138 (la_x32_gnu_pltenter): New function prototype.
3139 (la_x32_gnu_pltexit): Likewise.
3140
7998fa78
AS
31412012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3142
dcb33988
AS
3143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3144 exponent.
3145
233fc563
AS
3146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3147
7998fa78
AS
3148 * configure.in (libc_cv_cc_nofma): Check for option to disable
3149 generation of FMA instructions.
3150 * configure: Regenerate.
3151 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3152 * sysdeps/ieee754/dbl-64/Makefile: New file.
3153 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3154 Remove brandred-fma4.
3155 (CFLAGS-brandred-fma4.c): Remove.
3156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3157 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3158 define.
3159 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3160 define.
3161
8e95c99a
L
31622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3163
3164 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3165 LLONG_MAX != LONG_MAX.
3166 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3167 (_fitoa_word): Likewise.
3168 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3169 LLONG_MAX != LONG_MAX.
3170 * stdio-common/_itowa.h: Include <_itoa.h>.
3171 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3172 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3173 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3174 only if not defined.
3175 (_ITOA_WORD_TYPE): Likewise.
3176 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3177 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3178
6f4db457
DM
31792012-03-21 David S. Miller <davem@davemloft.net>
3180
3181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3182
7785fe5a
L
31832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3184
3185 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3186 of x86_64 when setting libc_cv_slibdir, libdir and
3187 libc_cv_localedir.
3188 * sysdeps/unix/sysv/linux/configure: Regenerated.
3189
4535cd55
JM
31902012-03-21 Joseph Myers <joseph@codesourcery.com>
3191
3192 * manual/lang.texi (Old Varargs): Remove section.
3193 (How Variadic): Update menu.
3194 (va_start): Do not mention varargs.h.
3195
17228132
TS
31962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3197 Joseph Myers <joseph@codesourcery.com>
3198
3199 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3200 link test.
3201 * configure: Regenerated.
3202
8149f976
TS
32032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3204
05f3d1f6
UD
3205 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3206 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3207 conformtest.pl
8149f976 3208
1a4ac776
JM
32092012-03-21 Joseph Myers <joseph@codesourcery.com>
3210
be22ce65
JM
3211 * NOTES: Remove.
3212 * Makefile (files-for-dist): Remove NOTES.
3213 (NOTES): Remove rule.
3214 * README: Don't refer to NOTES.
3215 * manual/creature.texi: Don't include macros.texi.
3216 * manual/intro.texi (creature.texi): Remove comment referring to
3217 NOTES.
3218
40b601fb
JM
3219 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3220 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3221 * configure: Regenerated.
3222 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3223 LIBC_TRY_CC_OPTION.
3224 (libc_cv_as_i686): Likewise.
3225 (libc_cv_cc_avx): Likewise.
3226 (libc_cv_cc_sse2avx): Likewise.
3227 (libc_cv_cc_fma4): Likewise.
3228 (libc_cv_cc_novzeroupper): Likewise.
3229 * sysdeps/i386/configure: Regenerated.
3230
1a4ac776
JM
3231 [BZ #13883]
3232 * sysdeps/i386/fpu/s_cexp.S: Remove.
3233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3234 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3235 * math/libm-test.inc (cexp_test): Add more tests.
3236 * sysdeps/i386/fpu/libm-test-ulps: Update.
3237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3238
a458e7fe
AM
32392012-03-21 Allan McRae <allan@archlinux.org>
3240
3241 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3242
0cb7efc5
JM
32432012-03-21 Joseph Myers <joseph@codesourcery.com>
3244
3245 [BZ #13871]
3246 * math/w_exp2.c: Do not include <float.h>.
3247 (o_threshold, u_threshold): Remove.
3248 (__exp2): Calculate result before checking finiteness and calling
3249 __kernel_standard.
3250 * math/w_exp2f.c: Likewise.
3251 * math/w_exp2l.c: Likewise.
3252 * math/libm-test.inc (exp2_test): Require overflow exception for
3253 1e6 input.
2460d3aa
JM
3254
3255 [BZ #3866]
3256 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3257 range of signed 64-bit integers before using fistpll. Remove
3258 checks for whether integers fit in mantissa bits.
3259 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3260 the range of signed 32-bit integers before using fistpl. Remove
3261 checks for whether integers fit in mantissa bits.
3262 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3263 (__ieee754_powl): Test for y outside the range of signed 64-bit
3264 integers before using fistpll. Reduce 64-bit values to 63-bit
3265 ones as needed.
3266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3267 divide-by-zero is raised for zero to large negative powers.
3268 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3269 (__ieee754_powl): Test for y outside the range of signed 64-bit
3270 integers before using fistpll. Reduce 64-bit values to 63-bit
3271 ones as needed.
3272 * math/libm-test.inc (pow_test): Add more tests.
3273
eb96ffb0
L
32742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3275
3276 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3277 <stdio-common/_itoa.h>.
3278 * debug/segfault.c: Likewise.
3279 * elf/dl-cache.c: Likewise.
3280 * elf/dl-minimal.c: Likewise.
3281 * elf/dl-misc.c: Likewise.
3282 * elf/dl-sysdep.c: Likewise.
3283 * elf/dl-version.c: Likewise.
3284 * elf/rtld.c: Likewise.
3285 * hurd/hurdsock.c: Likewise.
3286 * hurd/lookup-retry.c: Likewise.
3287 * malloc/malloc.c: Likewise.
3288 * malloc/mtrace.c: Likewise.
3289 * nscd/nscd_getgr_r.c: Likewise.
3290 * nscd/nscd_getpw_r.c: Likewise.
3291 * nscd/nscd_getserv_r.c: Likewise.
3292 * posix/getopt_init.c: Likewise.
3293 * posix/wordexp.c: Likewise.
3294 * stdio-common/_itoa.c: Likewise.
3295 * stdio-common/printf_fphex.c: Likewise.
3296 * stdio-common/vfprintf.c: Likewise.
3297 * string/_strerror.c: Likewise.
3298 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3299 * sysdeps/i386/i686/hp-timing.h: Likewise.
3300 * sysdeps/mach/_strerror.c: Likewise.
3301 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3302 * sysdeps/mach/hurd/sethostid.c: Likewise.
3303 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3304 * sysdeps/mach/xpg-strerror.c: Likewise.
3305 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3306 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3307 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3308 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3309 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3310 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3311 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3312 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3313 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3314 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3315 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3316 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3317 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3318 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3319 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3320 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3321 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3322 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3323 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3324 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3325 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3326
3327 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3328
3329 * stdio-common/_itoa.h: Moved to ...
3330 * sysdeps/generic/_itoa.h: Here.
3331
3332 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3333
3334 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3335 instead of "_itoa.h" and "_itowa.h".
3336 * stdio-common/vfprintf.: Likewise.
3337
d1af992d
L
33382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3339
3340 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3341 <bits/wordsize.h>.
3342 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3343 (__signbit): Likwise.
3344 (llrintf): Likwise.
3345 (llrint): Likwise.
3346
114883e0
L
33472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3348
3349 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3350 __WORDSIZE != 64.
3351
c135cc1b
JM
33522012-03-20 Joseph Myers <joseph@codesourcery.com>
3353
3354 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3355 OVERFLOW_EXCEPTION_OK.
3356 * math/libm-test.inc ("Philosophy"): Update comment about
3357 exception testing.
3358 (OVERFLOW_EXCEPTION): Define.
3359 (OVERFLOW_EXCEPTION_OK): Likewise.
3360 (INVALID_EXCEPTION_OK): Renumber.
3361 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3362 (IGNORE_ZERO_INF_SIGN): Likewise.
3363 (test_exceptions): Handle FE_OVERFLOW.
3364 (exp10_test): Expect overflow exceptions.
3365 (exp2_test): Likewise.
3366 (expm1_test): Likewise.
3367 (nextafter_test): Likewise.
3368 (pow_test): Likewise.
3369 (scalbn_test): Likewise.
3370 (scalbln_test): Likewise.
3371
95443d88
L
33722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3373
3374 * sysdeps/x86_64/bits/atomic.h
3375 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3376 64bit integer.
3377 (atomic_exchange_acq): Likewise.
3378 (__arch_exchange_and_add_body): Likewise.
3379 (__arch_add_body): Likewise.
3380 (atomic_add_negative): Likewise.
3381 (atomic_add_zero): Likewise.
3382
490df6c4
L
33832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3384
c2722551 3385 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3386 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3387
5e52b189
L
33882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3389
3390 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3391 Check __x86_64__ instead of __WORDSIZE.
3392
a9879d4c
L
33932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3396
5df98260
DM
33972012-03-19 David S. Miller <davem@davemloft.net>
3398
e1497744
DM
3399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3400
5df98260
DM
3401 * sysdeps/sparc/fpu/fenv_private.h: New file.
3402 * sysdeps/sparc/fpu/math_private.h: Use it.
3403 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3404 Remove.
3405 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3406 (libc_feholdexcept_setroundl): Remove.
3407 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3408 Remove.
3409 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3410 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3411
b4c35121
L
34122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3415 int64_t instead of long int.
3416 (INSERT_WORDS64): Likwise.
3417
56965fd7
L
34182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3421 _Unwind_GetCFA return to _Unwind_Ptr first.
3422
83d1aec8
JM
34232012-03-19 Joseph Myers <joseph@codesourcery.com>
3424
1897ad44
JM
3425 [BZ #13629]
3426 * math/s_clog.c: Include <float.h>.
3427 (__clog): Scale large or subnormal inputs.
3428 * math/s_clogf.c: Likewise.
3429 * math/s_clogl.c: Likewise.
3430 * math/s_clog10.c: Include <float.h>.
3431 (M_LOG10_2): Define.
3432 (__clog10): Scale large or subnormal inputs.
3433 * math/s_clog10f.c: Likewise.
3434 * math/s_clog10l.c: Likewise.
3435 * math/libm-test.inc (clog_test): Add more tests.
3436 (clog10_test): Likewise.
3437 * sysdeps/i386/fpu/libm-test-ulps: Update.
3438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3439
7726d6a9
JM
3440 [BZ #11451]
3441 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3442 x and y.
3443 * math/libm-test.inc (atan2_test): Add another test.
3444
83d1aec8
JM
3445 * Makerules (common-objdir-compile): Remove.
3446 * sysdeps/unix/Makefile (config-generated): Do not add
3447 $(unix-generated) to variable.
3448 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3449 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3450 Remove rule.
3451 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3452 Likewise.
3453 [generic bits/local_lim.h] (before-compile): Do not append to
3454 variable.
3455 [generic bits/local_lim.h] (common-generated): Likewise.
3456 [generic sys/param.h] (before-compile): Do not append to variable.
3457 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3458 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3459 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3460 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3461 include.
3462 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3463 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3464 [generic sys/param.h] ($(addprefix
3465 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3466 [generic sys/param.h] (common-generated): Do not append to
3467 variable.
3468 [generic sys/param.h] (sysdep_headers): Likewise.
3469 [generic bits/errno.h] (before-compile): Do not append to
3470 variable.
3471 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3472 rule.
3473 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3474 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3475 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3476 [generic bits/errno.h] (common-generated): Do not append to
3477 variable.
3478 [generic bits/ioctls.h] (before-compile): Do not append to
3479 variable.
3480 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3481 rule.
3482 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3483 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3484 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3485 rule.
3486 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3487 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3488 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3489 [generic bits/ioctls.h] (common-generated): Do not append to
3490 variable.
3491 [generic sys/syscall.h] (syscall.h): Remove variable.
3492 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3493 rule.
3494 [generic sys/syscall.h] (before-compile): Do not append to
3495 variable.
3496 [generic sys/syscall.h] (common-generated): Likewise.
3497 * sysdeps/unix/errnos-tmpl.c: Remove file.
3498 * sysdeps/unix/errnos.awk: Likewise.
3499 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3500 * sysdeps/unix/ioctls.awk: Likewise.
3501 * sysdeps/unix/mk-local_lim.c: Likewise.
3502 * sysdeps/unix/snarf-ioctls: Likewise.
3503
4851a949
RH
35042012-03-19 Richard Henderson <rth@twiddle.net>
3505
bd37f2ee
RH
3506 * sysdeps/i386/fpu/fenv_private.h: New file.
3507 * sysdeps/i386/fpu/math_private.h: Use it.
3508 (math_opt_barrier, math_force_eval): Remove.
3509 (libc_feholdexcept_setround_53bit): Remove.
3510 (libc_feupdateenv_53bit): Remove.
3511 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3512 (math_opt_barrier, math_force_eval): Remove.
3513 (libc_feholdexcept): Remove.
3514 (libc_feholdexcept_setround): Remove.
3515 (libc_fetestexcept, libc_fesetenv): Remove.
3516 (libc_feupdateenv_test): Remove.
3517 (libc_feupdateenv, libc_feholdsetround): Remove.
3518 (libc_feresetround): Remove.
3519
d0adc922
RH
3520 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3521 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3522
0fe0f1f8
RH
3523 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3524 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3525 (libc_feupdateenv_testl): New.
3526 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3527 (libc_feupdateenv_testf): New.
3528 (libc_feupdateenv): Use libc_feupdateenv_test.
3529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3531
eb92c487
RH
3532 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3533 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3534 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3535 (libc_feresetround_noex): New.
3536 (libc_feresetround_noexf): New.
3537 (libc_feresetround_noexl): New.
3538 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3539 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3540 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3541 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3542 SET_RESTORE_ROUND.
3543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3545 (__cos): Likewise.
3546 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3547 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3548 SET_RESTORE_ROUND_NOEX.
3549 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3550 SET_RESTORE_ROUND_NOEXF.
3551 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3552 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3553 (libc_feholdsetroundf): New.
3554 (libc_feresetround, libc_feresetroundf): New.
3555
7d2e8012
RH
3556 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3557 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3558 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3559
b4dabbb4
RH
3560 * sysdeps/generic/math_private.h: Include <fenv.h>.
3561 (default_libc_feholdexcept): New.
3562 (default_libc_feholdexcept_setround): New.
3563 (default_libc_fesetenv, default_libc_feupdateenv): New.
3564 (libc_feholdexcept): Only define if undefined.
3565 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3566 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3567 (libc_feholdexcept_setroundl): Likewise.
3568 (libc_feholdexcept_setround_53bit): Likewise.
3569 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3570 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3571 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3572 (libc_feupdateenv_53bit): Likewise.
3573 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3574 (libc_feholdexcept): Convert from macro to inline function.
3575 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3576 (libc_fesetenv, libc_feupdateenv): Likewise.
3577
4851a949
RH
3578 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3579 not previously defined.
3580 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3581 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3582 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3583 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3584 * sysdeps/ieee754/flt-32/math_private.h: New file.
3585 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3586 math_private.h below SET_FLOAT_WORD.
3587 (__isnan, __isinf_ns, __finite): Remove.
3588 (__isnanf, __isinf_nsf, __finitef): Remove.
3589
e79d442e
AS
35902012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3591
3592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3593
90b80344
DM
35942012-03-17 David S. Miller <davem@davemloft.net>
3595
3596 [BZ #6471]
3597 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3598 for 2.16.
3599
edc21804
DM
36002012-03-16 David S. Miller <davem@davemloft.net>
3601
77e927af
DM
3602 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3603 warnings.
3604
374976dd
DM
3605 [BZ #6471]
3606 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3607 properly.
3608 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3609 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3610 sysdep_routines when subdir is sysvipc.
3611 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3612 __getshmlba helper.
3613
edc21804
DM
3614 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3615
473c3ef3
L
36162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3617
3618 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3619 [__LP64__].
3620
eb0f39b6
L
36212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3622
3623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3624 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3625 (__lround): Renamed to ...
3626 (__llround): This. Replace long int with long long int.
3627 Define lround functions as aliases of llround functions.
3628 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3629
6b6cd74b
L
36302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3633 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3634 adresses to uintptr_t. Replace "long int" and "unsigned long
3635 int" with "greg_t" on va_arg.
3636
f1a77b01
L
36372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3638
3639 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3640 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3641
3642 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3643 Move e_machine check before EI_CLASS check. Handle x32
3644 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3645 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3646 SKIP_EM_IA_64 and include
3647 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3648
3649 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3650 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3651 (add_system_dir): New macro.
3652
3653 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3654 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3655
11b90b9f
JM
36562012-03-16 Joseph Myers <joseph@codesourcery.com>
3657
c36e1d23
JM
3658 [BZ #2551]
3659 [BZ #2552]
3660 [BZ #2553]
3661 [BZ #2554]
3662 [BZ #2562]
3663 [BZ #2563]
3664 [BZ #2565]
3665 [BZ #2566]
3666 [BZ #2576]
3667 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3668 (y0): Likewise.
3669 * math/w_j0f.c (j0f): Likewise.
3670 (y0f): Likewise.
3671 * math/w_j0l.c (__j0l): Likewise.
3672 (__y0l): Likewise.
3673 * math/w_j1.c (j1): Likewise.
3674 (y1): Likewise.
3675 * math/w_j1f.c (j1f): Likewise.
3676 (y1f): Likewise.
3677 * math/w_j1l.c (__j1l): Likewise.
3678 (__y1l): Likewise.
3679 * math/w_jn.c (jn): Likewise.
3680 (yn): Likewise.
3681 * math/w_jnf.c (jnf): Likewise.
3682 (ynf): Likewise.
3683 * math/w_jnl.c (__jnl): Likewise.
3684 (__ynl): Likewise.
3685 * math/libm-test.inc (j0_test): Add more tests.
3686 (j1_test): Likewise.
3687 (jn_test): Likewise. Add trailing semicolon to existing test.
3688 (y0_test): Likewise.
3689 (y1_test): Likewise.
3690 * sysdeps/i386/fpu/libm-test-ulps: Update.
3691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692
11b90b9f
JM
3693 [BZ #13851]
3694 [BZ #13854]
3695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3696 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3697 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3698 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3699 (__tanl): Set errno for infinite argument.
3700 * sysdeps/i386/fpu/mptan.c: Remove.
3701 * sysdeps/i386/fpu/s_tan.S: Likewise.
3702 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3703 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3704 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3705 * math/libm-test.inc (tan_test): Add more tests and enable more
3706 tests for double and long double.
3707 * sysdeps/i386/fpu/libm-test-ulps: Update.
3708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3709
6a1bd2a1
JK
37102012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3711
3712 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3713 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3714
10a803e0
RM
37152012-03-16 Roland McGrath <roland@hack.frob.com>
3716
3717 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3718 * configure.in: Use it for both main tree and add-ons.
3719 * configure: Regenerated.
3720
f196c7f7
L
37212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3722
3723 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3724
8848d99d
JM
37252012-03-16 Joseph Myers <joseph@codesourcery.com>
3726
96cbe7f4
JM
3727 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3728 in comment.
3729
8848d99d
JM
3730 [BZ #13851]
3731 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3732 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3736 infinite argument.
3737 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3739 != 0 for prec == 2.
3740 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3741 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3742 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3743 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3744 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3745 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3746 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3747 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3748 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3749 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3750 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3751 * math/libm-test.inc (cos_test): Add more tests and enable more
3752 tests for long double.
3753 (sin_test): Likewise.
3754 (sincos_test): Likewise.
3755 * sysdeps/i386/fpu/libm-test-ulps: Update.
3756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3757
dd7f4703
DM
37582012-03-16 David S. Miller <davem@davemloft.net>
3759
3760 * sysdeps/sparc/fpu/math_private.h: New file.
3761
006f1daa
DM
37622012-03-15 David S. Miller <davem@davemloft.net>
3763
c0c83bc8
DM
3764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3765 file.
e6a62e18 3766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3768 file.
e6a62e18
DM
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3775 sysdep routines.
3776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3777
88cb87d9
DM
3778 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3779 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3780
006f1daa 3781 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3783 sparc-ifunc.h
006f1daa 3784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3786 Likewise.
3787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3788 Likewise.
006f1daa
DM
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3793 Likewise.
006f1daa
DM
3794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3799 Likewise.
3800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3801 Likewise.
006f1daa
DM
3802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3826
11e0098e
AS
38272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3828
3829 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3830 scaling.
3831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3832
e85b09d0
AJ
38332012-03-15 Andreas Jaeger <aj@suse.de>
3834
3835 [BZ #13852]
3836 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3837 ieee754/flt-32 implementation for sin, cos and sincos.
3838 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3839 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3840 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3841 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3842 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3843 ieee754/flt-32 implementation for tan.
3844
3845 * math/libm-test.inc (cos_test): Enable some large input tests for
3846 float as well
3847 (sin_test): Likewise.
3848 (sincos_test): Likewise.
3849 (tan_test): Add tests for large input.
3850
3851 * sysdeps/i386/fpu/libm-test-ulps: Update.
3852
81c64153
AJ
38532012-03-15 Andreas Jaeger <aj@suse.de>
3854
3855 [BZ #13658]
3856 * math/libm-test.inc (cos_test): Add more test cases.
3857 (sin_test): Likewise.
3858 (sincos_test): Likewise.
3859
7bbfa5c6
AJ
38602012-03-15 Andreas Jaeger <aj@suse.de>
3861
3862 [BZ #13837]
3863 * math/libm-test.inc (cos_test): Add a test case for large input
3864 value.
3865 (sin_test): Likewise.
3866 (sincos_test): Likewise.
3867
38682012-03-15 Andreas Jaeger <aj@suse.de>,
3869 Joseph Myers <joseph@codesourcery.com>
3870
3871 [BZ #13658]
0671f479 3872 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3873 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3874 * sysdeps/i386/fpu/branred.c: Likewise.
3875 * sysdeps/i386/fpu/dosincos.c: Likewise.
3876 * sysdeps/i386/fpu/mpa.c: Likewise.
3877 * sysdeps/i386/fpu/s_cos.S: Likewise.
3878 * sysdeps/i386/fpu/s_sin.S: Likewise.
3879 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3880 * sysdeps/i386/fpu/sincos32.c: Likewise.
3881
3882 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3883 Define.
3884 (libc_feupdateenv_53bit): Define.
3885 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3886 Define.
3887 (libc_feupdateenv_53bit): Define.
3888
3889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3890 53 bit (without extend i386 double precision).
3891
3892 * math/libm-test.inc (sincos_test): Add tests for large input.
3893 (sin): Likewise.
3894 (cos): Likewise.
3895
3896 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3897
9cad04ea
AS
38982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3899
3900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3901
f7062b9a
DM
39022012-03-15 David S. Miller <davem@davemloft.net>
3903
3904 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3905 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3906 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3907 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3920 file.
f7062b9a 3921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3923 file.
f7062b9a 3924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3926 file.
f7062b9a 3927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3929 file.
f7062b9a
DM
3930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3932 fmin/fmax sysdep routines.
3933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3934
7bd951ff
DM
39352012-03-14 David S. Miller <davem@davemloft.net>
3936
559398ab
DM
3937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3966 routines.
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3968 file.
559398ab 3969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3971 file.
559398ab 3972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3974 file.
559398ab 3975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3977 file.
559398ab 3978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3980 file.
559398ab 3981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3983 file.
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3985 file.
3986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3987 file.
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3989 file.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3991 New file.
3992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3993 file.
3994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3995 file.
559398ab 3996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3998 file.
559398ab 3999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4001 file.
559398ab 4002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4004 file.
559398ab 4005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4007 VIS3 routines.
559398ab
DM
4008
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4010 New file.
4011
5a1c1e32
DM
4012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4013
eae47a36
DM
4014 * sysdeps/sparc/configure.in: New file.
4015 * sysdeps/sparc/configure: Generate.
4016 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4017 * configure: Regenerate.
4018 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4019 * config.make.in (have-as-vis3): New.
4020 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4021 available use -Av9d instead of -Av9a.
4022 * sysdeps/sparc/sparc64/Makefile: Likewise.
4023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4025 New file.
4026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4027 file.
4028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4029 New file.
4030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4031 file.
eae47a36
DM
4032 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4037
c0c83bc8
DM
4038 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4039 fzeros/fnegs to load 0x80000000 into a float register instead of
4040 using the stack.
7bd951ff
DM
4041 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4042
bd951ccb
JM
40432012-03-14 Joseph Myers <joseph@codesourcery.com>
4044
4045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4046 bits/syscall.h.
4047 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4048 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4049 ($(inst_includedir)/bits/syscall.h): Remove rule.
4050 ($(objpfx)bits/syscall.d): Include instead of
4051 $(objpfx)syscall-list.d.
4052 (generated): Change syscall-list.h and syscall-list.d to
4053 bits/syscall.h and bits/syscall.d.
4054
bb4e6db2
RM
40552012-03-14 Roland McGrath <roland@hack.frob.com>
4056
4057 [BZ #13846]
4058 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4059
aa4a2ae1
JM
40602012-03-14 Joseph Myers <joseph@codesourcery.com>
4061
e456826d
JM
4062 [BZ #13841]
4063 * math/s_csqrt.c: Include <float.h>.
4064 (__csqrt): Scale large or subnormal inputs.
4065 * math/s_csqrtf.c: Likewise.
4066 * math/s_csqrtl.c: Likewise.
4067 * math/libm-test.inc (csqrt_test): Add more tests.
4068 * sysdeps/i386/fpu/libm-test-ulps: Update.
4069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4070
aa4a2ae1
JM
4071 [BZ #13840]
4072 * math/libm-test.inc (hypot_test): Add more tests.
4073
7c10fd35
DM
40742012-03-13 David S. Miller <davem@davemloft.net>
4075
4076 [BZ #13840]
4077 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4078 double-precision for the calculation instead of scaling.
4079
f453b98b
JM
40802012-03-13 Joseph Myers <joseph@codesourcery.com>
4081
4082 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4083 manipulate bits before adding and subtracting TWO52[sx].
4084 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4086 Likewise.
4087 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4088
09a3453f
DM
40892012-03-13 David S. Miller <davem@davemloft.net>
4090
8e59da90
DM
4091 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4092 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4094 rtld-global-offsets.h
4095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4096
2a8ab7f2
DM
4097 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4098 large parameters.
4099
10f62770
DM
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4101
5f0bdb18
DM
4102 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4103 'err' in the ifdef scope in which it is actually used.
4104
09a3453f
DM
4105 * nss/nss_db/db-init.c: Include string.h
4106
b4b2eb5e
DM
41072012-03-12 David S. Miller <davem@davemloft.net>
4108
98bb2f1c
DM
4109 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4110 masking out of the most significant byte of random value used.
4111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4112 Fix coding style in previous change.
4113
b4b2eb5e
DM
4114 * sysdeps/unix/sysv/linux/kernel-features.h
4115 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4116 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4117 expression.
4118 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4119 later.
4120
6e226b09
DM
41212012-03-11 David S. Miller <davem@davemloft.net>
4122
a1bcbd40
DM
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4124 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4125 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4126 for 'resultvar' otherwise things get truncated on 64-bit.
4127
cb9d6174
DM
4128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4129 Fix masking out of the most significant byte of random value used.
4130
6e226b09
DM
4131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4132
058c132d
AS
41332012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4134
4135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4136
2d2cd515
DM
41372012-03-09 David S. Miller <davem@davemloft.net>
4138
4139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4140 variables with appropriate CPP guards.
4141 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4142 frame pointer, not the stack pointer. Correct layout comments. Fix test
4143 on resulting framesize and the management of the outregs buffer for pltexit.
4144 Preserve floating point return values across _dl_call_pltexit call.
4145 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4146 framesize and the management of the outregs buffer for pltexit.
4147 Preserve floating point return values across _dl_call_pltexit
4148 call.
4149 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4150 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4151 (print_exit): Fix format string for return register value.
4152
9a07f9d0
JM
41532012-03-10 Joseph Myers <joseph@codesourcery.com>
4154
4155 * sunrpc/Makefile (others): Add rpcgen.
4156 ($(objpfx)rpcgen): Remove special build rule and dependency on
4157 libc.
4158 * sunrpc/rpcgen.c: New file.
4159
547b5e30
PE
41602012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4161
c524201a
PE
4162 [BZ #13673]
4163 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4164 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4165 * sysdeps/i386/crti.S: Likewise.
4166 * sysdeps/i386/crtn.S: Likewise.
4167 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4168 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4169 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4170 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4171 * sysdeps/sh/crti.S: Likewise.
4172 * sysdeps/sh/crtn.S: Likewise.
4173 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4174
7b6235f2
PE
4175 [BZ #13673]
4176 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4177 with URL.
4178 * locale/programs/locfile-kw.gperf: Likewise.
4179 * locale/programs/charmap-kw.h: Regenerated.
4180 * locale/programs/locfile-kw.h: Likewise.
4181
547b5e30
PE
4182 [BZ #13673]
4183 * intl/plural.y: Replace FSF snail mail address with URL.
4184 * intl/plural.c: Regenerated.
4185
5f0a5dae
RH
41862012-03-09 Richard Henderson <rth@twiddle.net>
4187
4188 * include/math_private.h: Remove file.
4189 * math/math_private.h: Move file ...
4190 * sysdeps/generic/math_private.h: ... here.
4191
b8c03620
RH
4192 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4193 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4194 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4195
4e234f5d 4196 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4197 and <math_private.h>.
4198 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4199 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4200 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4201 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4202 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4286 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4287 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4288 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4289 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4290 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4291 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4292 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4293 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4294 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4295 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4296 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4298 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4299 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4300 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4301 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4303 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4304 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4305 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4306 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4307 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4308 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4309 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4310 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4311 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4312 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4313 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4315 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4316 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4317 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4318 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4319 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4320 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4321 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4322 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4323 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4324 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4325 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4326 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4327 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4328 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4329 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4330 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4331 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4332 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4333 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4334 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4335 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4336 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4337 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4338 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4339 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4340 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4341 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4342 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4343 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4344 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4345 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4346 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4347 * sysdeps/ieee754/k_standard.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4463 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4467 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4468 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4470 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4475 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4480 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4497 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4502 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4503 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4504 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4508 * sysdeps/ieee754/s_lib_version.c: Likewise.
4509 * sysdeps/ieee754/s_matherr.c: Likewise.
4510 * sysdeps/ieee754/s_signgam.c: Likewise.
4511 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4512 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4513 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4514 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4515 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4516 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4517 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4518 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4519 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4520 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4521 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4522 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4523 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4524 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4525 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4526 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4527 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4528 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4529 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4530 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4532
1991fa03
JM
45332012-03-09 Joseph Myers <joseph@codesourcery.com>
4534
4535 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4536 * sunrpc/rpc_main.c: Likewise.
4537 * sunrpc/rpc_svcout.c: Likewise.
4538
60d6f5a6
DM
45392012-03-09 David S. Miller <davem@davemloft.net>
4540
4541 * include/math_private.h: New file.
4542
4962050e
JM
45432012-03-09 Joseph Myers <joseph@codesourcery.com>
4544
02a6f887
JM
4545 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4546 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4547 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4548 from <bits/socket_type.h>.
4549 (enum __socket_type): Don't define here.
4550 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4552 bits/socket_type.h.
4553
c6e013c1
JM
4554 [BZ #13566]
4555 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4556 checking __USE_GNU.
4557
4962050e
JM
4558 * Makerules ($(inst_includedir)/%.h): New rule.
4559 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4560 (install-others): Remove variable setting.
4561 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4562
38842f45
RH
45632012-03-08 Richard Henderson <rth@twiddle.net>
4564
67bb6da6
RH
4565 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4566 from macro to inline function; merge with the
4567 !__LIBC_INTERNAL_MATH_INLINES version.
4568 (__ieee754_sqrtf): Likewise.
4569
15194b4b
RH
4570 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4571 to inline function.
4572 (__rintf, __floor, __floorf): Likewise.
4573
64e21ede
RH
4574 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4575 macro to inline function.
4576 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4577
38842f45
RH
4578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4579 not <math/math_private.h>.
4580
c64bf5fe
DM
45812012-03-08 David S. Miller <davem@davemloft.net>
4582
4583 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4584 copyright year.
4585 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4586
82d86f28
TS
45872012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4588
4589 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4590 normalization.
4591 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4592 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4593
aea5d727
UD
45942012-03-08 Ulrich Drepper <drepper@gmail.com>
4595
4596 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4597 be defined individually, they must be defined as a block. Define
4598 S for printing a string instead of hidint the different by using a
4599 macro for adding the 'l'.
4600 * stdio-common/tst-fphex-wide.c: Adjust.
4601
70bca0a3
MP
46022012-03-07 Marek Polacek <polacek@redhat.com>
4603
4604 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4605
65b81130
MP
46062012-03-08 Marek Polacek <polacek@redhat.com>
4607
4608 [BZ #13806]
4609 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4610 * stdio-common/tst-fphex.c: Define a few macros to make the
4611 test reusable. Use them.
4612 * stdio-common/tst-fphex-wide.c: New file.
4613
07037eeb
JM
46142012-03-08 Joseph Myers <joseph@codesourcery.com>
4615
a7a93d50
JM
4616 [BZ #6911]
4617 * manual/macros.texi (gnusystems): New macro.
4618 (nongnusystems): Likewise.
4619 (gnulinuxhurdsystems): Likewise.
4620 (gnuhurdsystems): Likewise..
4621 (gnulinuxsystems): Likewise.
4622 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4623 variants of the GNU system, not "GNU system".
4624 * manual/conf.texi: Likewise.
4625 * manual/errno.texi: Likewise. Update example of errno macro
4626 expansion.
4627 * manual/filesys.texi: Likewise.
4628 (getumask): Document as specific to GNU/Hurd.
4629 * manual/install.texi: Likewise. Reword some references to
4630 GNU/Linux.
4631 * manual/intro.texi: Likewise.
4632 * manual/io.texi: Likewise.
4633 (File Name Portability): Detail which constraints are inapplicable
4634 to all GNU systems and which are only inapplicable to GNU/Hurd.
4635 * manual/job.texi: Likewise.
4636 * manual/llio.texi: Likewise.
4637 (O_NOCTTY): Document as present on GNU/Linux.
4638 * manual/maint.texi: Likewise.
4639 * manual/memory.texi: Likewise.
4640 * manual/pattern.texi: Likewise.
4641 * manual/pipe.texi: Likewise.
4642 * manual/process.texi: Likewise.
4643 * manual/resource.texi: Likewise.
4644 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4645 child on GNU/Hurd.
4646 * manual/setjmp.texi: Likewise.
4647 * manual/signal.texi: Likewise.
4648 * manual/startup.texi: Likewise.
4649 * manual/stdio.texi: Likewise.
4650 * manual/terminal.texi: Likewise.
4651 (ONLCR): Document as POSIX.
4652 (OXTABS): Document availability on GNU/Linux as XTABS.
4653 (ONOEOT): Document availability separately from other bits.
4654 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4655 * manual/time.texi: Likewise.
4656 * manual/users.texi: Likewise.
4657 * INSTALL: Regenerated.
4658 * sysdeps/gnu/errlist.c: Regenerated.
4659
07037eeb
JM
4660 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4661 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4662 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4663 puts.
4664 * configure: Regenerated.
4665
d1d3431a
JM
46662012-03-07 Joseph Myers <joseph@codesourcery.com>
4667
af6a1e37
JM
4668 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4669 default includes instead of AC_HEADER_CHECK.
4670 * sysdeps/i386/configure: Regenerated.
4671
d1d3431a
JM
4672 [BZ #10716]
4673 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4674 * math/s_cacoshf.c (__cacoshf): Likewise.
4675 * math/s_cacoshl.c (__cacoshl): Likewise.
4676 * math/s_casinh.c (__casinh): Set signs of result from argument.
4677 * math/s_casinhf.c (__casinhf): Likewise.
4678 * math/s_casinhl.c (__casinhl): Likewise.
4679 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4680 (casinh_test): Add more tests.
4681 * sysdeps/i386/fpu/libm-test-ulps: Update.
4682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4683
482ff4da
UD
46842012-03-07 Ulrich Drepper <drepper@gmail.com>
4685
872fda05
UD
4686 * po/zh_TW.po: Update from translation team.
4687
a4300c7a
UD
4688 * login/Makefile (distribute): Remove variable.
4689 * catgets/Makefile: Likewise.
4690 * mach/Makefile: Likewise.
4691 * malloc/Makefile: Likewise.
4692 * misc/Makefile: Likewise.
4693 * iconv/Makefile: Likewise.
4694 * nscd/Makefile: Likewise.
4695 * hurd/Makefile: Likewise.
4696 * manual/Makefile: Likewise.
4697 * locale/Makefile: Likewise.
4698 * intl/Makefile: Likewise.
4699 * conform/Makefile: Likewise.
4700 * nss/Makefile: Likewise.
4701 * time/Makefile: Likewise.
4702 * soft-fp/Makefile: Likewise.
4703 * dirent/Makefile: Likewise.
4704 * gmon/Makefile: Likewise.
4705 * po/Makefile: Likewise.
4706 * rt/Makefile: Likewise.
4707 * socket/Makefile: Likewise.
4708 * math/Makefile: Likewise.
4709 * signal/Makefile: Likewise.
4710 * debug/Makefile: Likewise.
4711 * elf/Makefile: Likewise.
4712 * timezone/Makefile: Likewise.
4713 * stdlib/Makefile: Likewise.
4714 * iconvdata/Makefile: Likewise.
4715 * sunrpc/Makefile: Likewise.
4716 * io/Makefile: Likewise.
4717 * argp/Makefile: Likewise.
4718 * inet/Makefile: Likewise.
4719 * hesiod/Makefile: Likewise.
4720 * grp/Makefile: Likewise.
4721 * csu/Makefile: Likewise.
4722 * wctype/Makefile: Likewise.
4723 * crypt/Makefile: Likewise.
4724 * libio/Makefile: Likewise.
4725 * string/Makefile: Likewise.
4726 * nis/Makefile: Likewise.
4727 * resolv/Makefile: Likewise.
4728 * stdio-common/Makefile: Likewise.
4729 * wcsmbs/Makefile: Likewise.
4730 * dlfcn/Makefile: Likewise.
4731 * posix/Makefile: Likewise.
4732
3b7c4e74 4733 [BZ #6959]
482ff4da
UD
4734 * timezone/Makefile: Don't install timezone files, just the programs
4735 and scripts.
4736
f72ed77d
UD
47372012-03-06 Ulrich Drepper <drepper@gmail.com>
4738
a000466f
UD
4739 * nss/databases.def: Add missing gshadow entry.
4740
f72ed77d
UD
4741 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4742
a53b7a4e
MP
47432012-03-06 Marek Polacek <polacek@redhat.com>
4744
4745 [BZ #13726]
4746 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4747 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4748 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4749 * stdio-common/tst-long-dbl-fphex.c: New file.
4750
e9258400
DM
47512012-03-06 David S. Miller <davem@davemloft.net>
4752
4753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4754 (set_obp_int): New function.
4755 (get_obp_int): New function.
4756 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4757 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4758 Avoid unused variable warnings on 'val' and use builtin_expect.
4759 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4760 __builtin_expect.
e9258400
DM
4761 (INLINE_CLONE_SYSCALL): Likewise.
4762
3bd2c723
DM
47632012-03-05 David S. Miller <davem@davemloft.net>
4764
4765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4766
bbb78d03
AS
47672012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4768
884c5db4
AS
4769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4770
bbb78d03
AS
4771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4772 only for |x| >= 40.
4773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4774
1c9f702a 47752012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4776
4777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4778 Replace gettimeofday with __vdso_gettimeofday.
4779
7be16f82
RM
4780 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4781 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4782 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4783
4784 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4785 time with __vdso_time.
4786
ed58a00f
JM
47872012-03-05 Joseph Myers <joseph@codesourcery.com>
4788
4789 * manual/lang.texi (size_t): Note types to which size_t may be
4790 equivalent with the GNU C Library, but do not describe when
4791 differences between them are significant.
4792
30ee4ced
AJ
47932012-03-05 Andreas Jaeger <aj@suse.de>
4794
4795 * sysdeps/i386/fpu/libm-test-ulps: Update.
4796
b7cd39e8
JM
47972012-03-05 Joseph Myers <joseph@codesourcery.com>
4798
4799 [BZ #3976]
4800 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4801 (__ieee754_pow): Save and restore rounding mode and use
4802 round-to-nearest for main computations.
4803 * math/libm-test.inc (pow_test_tonearest): New function.
4804 (pow_test_towardzero): Likewise.
4805 (pow_test_downward): Likewise.
4806 (pow_test_upward): Likewise.
4807 (main): Call the new functions.
4808 * sysdeps/i386/fpu/libm-test-ulps: Update.
4809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4810
4811 [BZ #3976]
4812 * math/libm-test.inc (cosh_test_tonearest): New function.
4813 (cosh_test_towardzero): Likewise.
4814 (cosh_test_downward): Likewise.
4815 (cosh_test_upward): Likewise.
4816 (sinh_test_tonearest): Likewise.
4817 (sinh_test_towardzero): Likewise.
4818 (sinh_test_downward): Likewise.
4819 (sinh_test_upward): Likewise.
4820 (main): Call the new functions.
4821 * sysdeps/i386/fpu/libm-test-ulps: Update.
4822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4823
6c6a98c9
TV
48242012-03-05 Tom de Vries <tom@codesourcery.com>
4825
4826 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4827 default stack guard is set in last bytes.
4828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4829
21bb2d2e 48302012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4831
21bb2d2e 4832 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4833
21bb2d2e
AJ
4834 [BZ #13656]
4835 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4836 possibly allocate from heap instead of stack.
4837 * stdio-common/bug-vfprintf-nargs.c: New file.
4838 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4839
c6922934
AS
48402012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4841
4842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4843
bc957d53
MP
48442012-03-03 Marek Polacek <polacek@redhat.com>
4845
4846 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4847 * math/math_private.h: Likewise.
4848 * stdlib/tst-strtod.c: Likewise.
4849 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4850 * sysdeps/x86_64/bits/atomic.h: Likewise.
4851
6358490d
DM
48522012-03-02 David S. Miller <davem@davemloft.net>
4853
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4858 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4859 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4860 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4861 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4862
01ae168d
RM
48632012-03-02 Roland McGrath <roland@hack.frob.com>
4864
d9a17c07
RM
4865 [BZ #13792]
4866 * manual/examples/README: New file, says the example source files
4867 can be used under GPL>=2.
4868 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4869 line containing just "*/".
4870 * manual/examples/add.c: Add copyright header (GPL>=2).
4871 * manual/examples/argp-ex1.c: Likewise.
4872 * manual/examples/argp-ex2.c: Likewise.
4873 * manual/examples/argp-ex3.c: Likewise.
4874 * manual/examples/argp-ex4.c: Likewise.
4875 * manual/examples/atexit.c: Likewise.
4876 * manual/examples/db.c: Likewise.
4877 * manual/examples/dir.c: Likewise.
4878 * manual/examples/dir2.c: Likewise.
4879 * manual/examples/execinfo.c: Likewise.
4880 * manual/examples/filecli.c: Likewise.
4881 * manual/examples/filesrv.c: Likewise.
4882 * manual/examples/fmtmsgexpl.c: Likewise.
4883 * manual/examples/genpass.c: Likewise.
4884 * manual/examples/inetcli.c: Likewise.
4885 * manual/examples/inetsrv.c: Likewise.
4886 * manual/examples/isockad.c: Likewise.
4887 * manual/examples/longopt.c: Likewise.
4888 * manual/examples/memopen.c: Likewise.
4889 * manual/examples/memstrm.c: Likewise.
4890 * manual/examples/mkfsock.c: Likewise.
4891 * manual/examples/mkisock.c: Likewise.
4892 * manual/examples/mygetpass.c: Likewise.
4893 * manual/examples/pipe.c: Likewise.
4894 * manual/examples/popen.c: Likewise.
4895 * manual/examples/rprintf.c: Likewise.
4896 * manual/examples/search.c: Likewise.
4897 * manual/examples/select.c: Likewise.
4898 * manual/examples/setjmp.c: Likewise.
4899 * manual/examples/sigh1.c: Likewise.
4900 * manual/examples/sigusr.c: Likewise.
4901 * manual/examples/stpcpy.c: Likewise.
4902 * manual/examples/strdupa.c: Likewise.
4903 * manual/examples/strftim.c: Likewise.
4904 * manual/examples/strncat.c: Likewise.
4905 * manual/examples/subopt.c: Likewise.
4906 * manual/examples/swapcontext.c: Likewise.
4907 * manual/examples/termios.c: Likewise.
4908 * manual/examples/testopt.c: Likewise.
4909 * manual/examples/testpass.c: Likewise.
4910 * manual/examples/timeval_subtract.c: Likewise.
4911
01ae168d
RM
4912 [BZ #13792]
4913 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4914 function to ...
4915 * manual/timeval_subtract.c.texi: ... here, new file.
4916
49efa33d
DM
49172012-03-02 David S. Miller <davem@davemloft.net>
4918
4919 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4920
28afd92d
JM
49212012-03-02 Joseph Myers <joseph@codesourcery.com>
4922
804360ed
JM
4923 [BZ #3976]
4924 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4925 (__sin): Save and restore rounding mode and use round-to-nearest
4926 for all computations.
4927 (__cos): Save and restore rounding mode and use round-to-nearest
4928 for all computations.
4929 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4930 <fenv.h>.
4931 (tan): Save and restore rounding mode and use round-to-nearest for
4932 all computations.
4933 * math/libm-test.inc (cos_test_tonearest): New function.
4934 (cos_test_towardzero): Likewise.
4935 (cos_test_downward): Likewise.
4936 (cos_test_upward): Likewise.
4937 (sin_test_tonearest): Likewise.
4938 (sin_test_towardzero): Likewise.
4939 (sin_test_downward): Likewise.
4940 (sin_test_upward): Likewise.
4941 (tan_test_tonearest): Likewise.
4942 (tan_test_towardzero): Likewise.
4943 (tan_test_downward): Likewise.
4944 (tan_test_upward): Likewise.
4945 (main): Call the new functions.
4946 * sysdeps/i386/fpu/libm-test-ulps: Update.
4947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4948
a6d06d7b
JM
4949 [BZ #10135]
4950 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4951 small n, then large n, before computing and testing k+n.
4952 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4954 Likewise.
4955 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4956 Likewise.
4957 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4958 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4960 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4963 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4965 * math/libm-test.inc (scalbn_test): Add more tests.
4966 (scalbln_test): Likewise.
4967
07e12bb3
JM
4968 * manual/filesys.texi (mode_t): Describe constraints on size and
4969 signedness, not exact equivalence to a particular type.
4970 (ino_t): Likewise.
4971 (ino64_t): Likewise.
4972 (dev_t): Likewise.
4973 (nlink_t): Likewise.
4974 (blkcnt_t): Likewise.
4975 (blkcnt64_t): Likewise.
4976 * manual/llio.texi (off_t): Likewise.
4977
28afd92d
JM
4978 [BZ #3976]
4979 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4980 (__ieee754_exp): Save and restore rounding mode and use
4981 round-to-nearest for all computations.
4982 * math/libm-test.inc (exp_test_tonearest): New function.
4983 (exp_test_towardzero): Likewise.
4984 (exp_test_downward): Likewise.
4985 (exp_test_upward): Likewise.
4986 (main): Call the new functions.
4987 * sysdeps/i386/fpu/libm-test-ulps: Update.
4988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4989
b1eeb65d
CD
49902012-03-01 Chris Demetriou <cgd@google.com>
4991
4992 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4993 have predictable order.
4994
53362a4b
DM
49952012-03-01 David S. Miller <davem@davemloft.net>
4996
3c969083
DM
4997 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4998
759707de
DM
4999 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5000 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5001 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5002 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5003
dfdb8ff2
DM
5004 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5005 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5006 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5008 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5009 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5010 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5011 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5012 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5013
ead89f96
DM
5014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5015
7f66bd07
DM
5016 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5017 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5019
53362a4b
DM
5020 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5021 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5022 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5023 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5024 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5027 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5028 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5029 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5030 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5033 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5034 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5036 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5037 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5038 * sysdeps/sparc/elf/configure: Regenerated.
5039
7b1902cb
JM
50402012-03-01 Joseph Myers <joseph@codesourcery.com>
5041
bec039bc
JM
5042 * configure.in (AS, LD): Require binutils 2.20 or later.
5043 * configure: Regenerated.
5044 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5045 as required minimum version.
5046 * INSTALL: Regenerated.
5047
7b1902cb
JM
5048 [BZ #2541]
5049 [BZ #4108]
5050 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5051 before squaring exponent.
5052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5053 bottom long double and 27 bits of top long double before squaring
5054 exponent.
5055 * math/libm-test.inc (erfc_test): Add more tests.
5056 * sysdeps/i386/fpu/libm-test-ulps: Update.
5057 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5059
f775c276
KT
50602012-03-01 Kai Tietz <ktietz@redhat.com>
5061
5062 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5063 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5064 containing bit-fields.
5065 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5066 * soft-fp/single.h (_FP_UNION_S): Likewise.
5067 * soft-fp/double.h (_FP_UNION_D): Likewise.
5068
5b8a4d4a
JM
50692012-02-29 Joseph Myers <joseph@codesourcery.com>
5070
0bab47b6
JM
5071 [BZ #13786]
5072 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5073 not include ../strcmp.S.
5074 [USE_AS_STRNCASECMP_L]: Likewise.
5075 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5076 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5077 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5078 (__strncasecmp_l_ia32): Define as alias to
5079 __strncasecmp_l_nonascii.
5080
0fcad3e2
JM
5081 [BZ #5794]
5082 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5083 * sysdeps/i386/fpu/libm-test-ulps: Update.
5084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5085
5b8a4d4a
JM
5086 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5088
8fdceb2e
JL
50892012-02-29 Jeff Law <law@redhat.com>
5090
5091 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5092 out of bounds read.
5093
1f393a11
MP
50942012-02-29 Marek Polacek <polacek@redhat.com>
5095
5096 [BZ #13706]
5097 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5098 * elf/Makefile: Add rules to run tst-unused-dep.out.
5099
8847f037
DM
51002012-02-28 David S. Miller <davem@davemloft.net>
5101
5102 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5103 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5106 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5107 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5108
169d7f11
JM
51092012-02-29 Joseph Myers <joseph@codesourcery.com>
5110
5111 * math/libm-test.inc (llround_test): Move one test from
5112 lround_test. Use TEST_f_L in moved test.
5113 (lround_test): Move misplaced test to llround_test. Add testcase
5114 from bug 2561.
5115
39adf059
UD
51162012-02-28 Ulrich Drepper <drepper@gmail.com>
5117
5118 * sysdeps/x86_64/fpu/e_expf.S: New file.
5119 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5120
71b5d1c5
SB
51212012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5122
5123 [BZ #13637]
5124 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5125 of remain_len that may cause incomplete multi-byte character and
5126 false match.
5127 * posix/bug-regex33.c: New file.
5128 * posix/Makefile (tests): Add bug-regex33.
5129
1f77f049
JM
51302012-02-28 Joseph Myers <joseph@codesourcery.com>
5131
5132 * manual/macros.texi: New file.
5133 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5134 * manual/libc.texinfo: Include macros.texi.
5135 * manual/creatute.texi: Likewise.
5136 * manual/install.texi: Likewise.
5137 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5138 @glibcadj{} in references to the GNU C Library.
5139 * manual/charset.texi: Likewise.
5140 * manual/conf.texi: Likewise.
5141 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5142 when not using those macros.
5143 * manual/creature.texi: Likewise.
5144 * manual/crypt.texi: Likewise.
5145 * manual/errno.texi: Likewise.
5146 * manual/filesys.texi: Likewise.
5147 * manual/header.texi: Likewise.
5148 * manual/install.texi: Likewise.
5149 * manual/intro.texi: Likewise.
5150 * manual/io.texi: Likewise.
5151 * manual/job.texi: Likewise.
5152 * manual/lang.texi: Likewise.
5153 * manual/libc.texiinfo: Likewise.
5154 * manual/llio.texi: Likewise.
5155 * manual/locale.texi: Likewise.
5156 * manual/maint.texi: Likewise.
5157 * manual/math.texi: Likewise.
5158 * manual/memory.texi: Likewise.
5159 * manual/message.texi: Likewise.
5160 * manual/nss.texi: Likewise.
5161 * manual/pattern.texi: Likewise.
5162 * manual/process.texi: Likewise.
5163 * manual/resource.texi: Likewise.
5164 * manual/search.texi: Likewise.
5165 * manual/setjmp.texi: Likewise.
5166 * manual/signal.texi: Likewise.
5167 * manual/socket.texi: Likewise.
5168 * manual/startup.texi: Likewise.
5169 * manual/stdio.texi: Likewise.
5170 * manual/string.texi: Likewise.
5171 * manual/sysinfo.texi: Likewise.
5172 * manual/syslog.texi: Likewise.
5173 * manual/terminal.texi: Likewise.
5174 * manual/time.texi: Likewise.
5175 * manual/users.texi: Likewise.
5176 * INSTALL: Regenerated.
5177 * NOTES: Regenerated.
d40c5d54 5178 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5179
450bf206
AS
51802012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5181
5182 * include/dirent.h: Include <dirstream.h> before
5183 <dirent/dirent.h>.
5184
741a235b
DM
51852012-02-28 David S. Miller <davem@davemloft.net>
5186
5187 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5188 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5189 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5190 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5191
d6b5aa58
DM
51922012-02-27 David S. Miller <davem@davemloft.net>
5193
1aff59a3
DM
5194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5196 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5197 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5198
d6b5aa58
DM
5199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5200 frame pointer instead of stack pointer relative arg slot.
5201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5202 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5203 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5204
433f48bf
CD
52052012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5206
5207 [BZ #3992]
5208 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5209
d674b76d
DM
52102012-02-27 David S. Miller <davem@davemloft.net>
5211
5212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5216 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5217 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5218 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5219 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5220
0e7727f7
JM
52212012-02-27 Joseph Myers <joseph@codesourcery.com>
5222
5223 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5224 later. Allow versions 5-9.
43be4ca2 5225 * configure: Regenerated.
0e7727f7
JM
5226 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5227 required minimum version and 4.6 as recommended version. Do not
5228 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5229 * INSTALL: Regenerated.
0e7727f7 5230
a78bc654
DM
52312012-02-27 David S. Miller <davem@davemloft.net>
5232
428d5830
DM
5233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5237 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5238 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5239 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5240 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5241
a78bc654
DM
5242 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5243 manipulate bits before adding and subtracting TWO112[sx].
5244 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5245
4579f81c
RM
52462012-02-27 Roland McGrath <roland@hack.frob.com>
5247
36c8acb4
RM
5248 [BZ #13775]
5249 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5250 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5251 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5252 being in POSIX, because they are in 1003.1-2008.
5253
84ad622b
RM
5254 * rt/tst-aio.c: Include <fcntl.h>.
5255 * rt/tst-aio7.c: Likewise.
5256 * rt/tst-aio64.c: Likewise.
5257
4579f81c
RM
5258 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5259
abd923db
JM
52602012-02-27 Joseph Myers <joseph@codesourcery.com>
5261
5262 * manual/install.texi (--with-headers): Describe headers as
5263 interface headers, not private headers.
5264 (Specific advice for GNU/Linux systems): Describe use of headers
5265 from "make headers_install", not private headers from older
5266 kernels.
43be4ca2 5267 * INSTALL: Regenerated.
abd923db
JM
5268 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5269 Change to 2.6.19.
5270 * sysdeps/unix/sysv/linux/configure: Regenerated.
5271
6664049b
JM
5272 * manual/llio.texi (fclean): Remove documentation.
5273
bb8b6697
JM
5274 * manual/Makefile (libc-texi-generated): New variable. Include
5275 version.texi.
5276 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5277 $(libc-texi-generated), not duplicated list of files.
5278 (version.texi, stamp-version): New rules.
5279 (realclean): Remove $(libc-texi-generated), not individual files
5280 from that list. Do not remove dir-add.texinfo.
5281 * manual/libc.texinfo: Comment out uses of edition numbers and
5282 references to printed manual. Remove last-updated dates.
5283 (EDITION): Comment out.
5284 (ISBN): Likewise.
5285 (VERSION, UPDATED): Remove.
5286 (version.texi): Include.
5287
12e5c3b9
AS
52882012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5289
5290 * sysdeps/posix/spawni.c: Include <signal.h>.
5291 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5292 * sysdeps/pthread/aio_fsync.c: Likewise.
5293
4efeffc1 52942012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5295
ba63ba08
UD
5296 * conform/Makefile (tests): Run only when not cross-compiling and
5297 when fast-check is not defined.
5298
d94a4670
UD
5299 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5300 * conform/data/limits.h-data: Fixes for POSIX2008.
5301 * conform/run-conformtest.sh: Run all tests.
5302 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5303 headers.
5304 * include/bits/dlfcn.h: Likewise.
5305 * include/langinfo.h: Likewise.
5306 * include/monetary.h: Likewise.
5307 * include/sys/poll.h: Likewise.
5308
5309 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5310 for __USE_GNU.
5311 * posix/spawn.h: Define __need_sigset_t.
5312 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5313 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5314 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5315 to get sigevent_t only.
5316 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5317 only for __USE_GNU.
5318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5319 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5320 process_vm_writev only for __USE_GNU.
5321 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5322
5323 * conform/Makefile: For now ignore errors from run-conformtest.
5324 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5325 POSIX to avoid namespace pollution. Don't prepend headers.
5326 * conform/data/aio.h-data: Fixes for POSIX testing.
5327 * conform/data/fcntl.h-data: Likewise.
5328 * conform/data/glob.h-data: Likewise.
5329 * conform/data/grp.h-data: Likewise.
5330 * conform/data/pthread.h-data: Likewise.
5331 * conform/data/pwd.h-data: Likewise.
5332 * conform/data/signal.h-data: Likewise.
5333 * conform/data/spawn.h-data: Likewise.
5334 * conform/data/stdio.h-data: Likewise.
5335 * conform/data/stdlib.h-data: Likewise.
5336 * conform/data/stropts.h-data: Likewise.
5337 * conform/data/sys/mman.h-data: Likewise.
5338 * conform/data/sys/stat.h-data: Likewise.
5339 * conform/data/sys/types.h-data: Likewise.
5340 * conform/data/sys/wait.h-data: Likewise.
5341 * conform/data/time.h-data: Likewise.
5342 * conform/data/unistd.h-data: Likewise.
5343 * conform/data/utime.h-data: Likewise.
5344
5345 * io/sys/stat.h: fchmod was always in POSIX.
5346 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5347 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5348 * rt/aio.h: Define __need_timespec before including <time.h>.
5349 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5350 struct. Add forward declaration of pthread_attr_t and use it in
5351 sigevent.
5352 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5353 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5354 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5355 always remove CLK_TCK definition.
5356
c20105c3
AS
53572012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5358
5359 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5360
7a270350
UD
53612012-02-25 Ulrich Drepper <drepper@gmail.com>
5362
31341567
UD
5363 * conform/run-conformtest.sh: New file.
5364 * conform/Makefile: Run run-conformtest for tests.
5365 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5366 support.
5367
5368 * conform/data/uchar.h-data: New file.
5369 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5370 * conform/data/arpa/inet.h-data: Likewise.
5371 * conform/data/assert.h-data: Likewise.
5372 * conform/data/complex.h-data: Likewise.
5373 * conform/data/cpio.h-data: Likewise.
5374 * conform/data/ctype.h-data: Likewise.
5375 * conform/data/dirent.h-data: Likewise.
5376 * conform/data/dlfcn.h-data: Likewise.
5377 * conform/data/errno.h-data: Likewise.
5378 * conform/data/fcntl.h-data: Likewise.
5379 * conform/data/float.h-data: Likewise.
5380 * conform/data/fmtmsg.h-data: Likewise.
5381 * conform/data/fnmatch.h-data: Likewise.
5382 * conform/data/ftw.h-data: Likewise.
5383 * conform/data/glob.h-data: Likewise.
5384 * conform/data/grp.h-data: Likewise.
5385 * conform/data/iconv.h-data: Likewise.
5386 * conform/data/inttypes.h-data: Likewise.
5387 * conform/data/langinfo.h-data: Likewise.
5388 * conform/data/libgen.h-data: Likewise.
5389 * conform/data/limits.h-data: Likewise.
5390 * conform/data/locale.h-data: Likewise.
5391 * conform/data/math.h-data: Likewise.
5392 * conform/data/monetary.h-data: Likewise.
5393 * conform/data/mqueue.h-data: Likewise.
5394 * conform/data/ndbm.h-data: Likewise.
5395 * conform/data/net/if.h-data: Likewise.
5396 * conform/data/netdb.h-data: Likewise.
5397 * conform/data/netinet/in.h-data: Likewise.
5398 * conform/data/nl_types.h-data: Likewise.
5399 * conform/data/poll.h-data: Likewise.
5400 * conform/data/pthread.h-data: Likewise.
5401 * conform/data/pwd.h-data: Likewise.
5402 * conform/data/regex.h-data: Likewise.
5403 * conform/data/sched.h-data: Likewise.
5404 * conform/data/search.h-data: Likewise.
5405 * conform/data/semaphore.h-data: Likewise.
5406 * conform/data/setjmp.h-data: Likewise.
5407 * conform/data/signal.h-data: Likewise.
5408 * conform/data/spawn.h-data: Likewise.
5409 * conform/data/stdarg.h-data: Likewise.
5410 * conform/data/stdio.h-data: Likewise.
5411 * conform/data/stdlib.h-data: Likewise.
5412 * conform/data/string.h-data: Likewise.
5413 * conform/data/strings.h-data: Likewise.
5414 * conform/data/stropts.h-data: Likewise.
5415 * conform/data/sys/ipc.h-data: Likewise.
5416 * conform/data/sys/mman.h-data: Likewise.
5417 * conform/data/sys/msg.h-data: Likewise.
5418 * conform/data/sys/resource.h-data: Likewise.
5419 * conform/data/sys/select.h-data: Likewise.
5420 * conform/data/sys/sem.h-data: Likewise.
5421 * conform/data/sys/shm.h-data: Likewise.
5422 * conform/data/sys/socket.h-data: Likewise.
5423 * conform/data/sys/stat.h-data: Likewise.
5424 * conform/data/sys/statvfs.h-data: Likewise.
5425 * conform/data/sys/time.h-data: Likewise.
5426 * conform/data/sys/timeb.h-data: Likewise.
5427 * conform/data/sys/times.h-data: Likewise.
5428 * conform/data/sys/types.h-data: Likewise.
5429 * conform/data/sys/uio.h-data: Likewise.
5430 * conform/data/sys/un.h-data: Likewise.
5431 * conform/data/sys/utsname.h-data: Likewise.
5432 * conform/data/sys/wait.h-data: Likewise.
5433 * conform/data/syslog.h-data: Likewise.
5434 * conform/data/tar.h-data: Likewise.
5435 * conform/data/termios.h-data: Likewise.
5436 * conform/data/utime.h-data: Likewise.
5437 * conform/data/utmpx.h-data: Likewise.
5438 * conform/data/varargs.h-data: Likewise.
5439 * conform/data/wchar.h-data: Likewise.
5440 * conform/data/wctype.h-data: Likewise.
5441 * conform/data/wordexp.h-data: Likewise.
5442
5443 * include/stropts.h: New file.
5444 * include/uchar.h: New file.
5445 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5446 * include/assert.h: Likewise.
5447 * include/ctype.h: Likewise.
5448 * include/dirent.h: Likewise.
5449 * include/dlfcn.h: Likewise.
5450 * include/fcntl.h: Likewise.
5451 * include/fnmatch.h: Likewise.
5452 * include/glob.h: Likewise.
5453 * include/grp.h: Likewise.
5454 * include/libio.h: Likewise.
5455 * include/locale.h: Likewise.
5456 * include/math.h: Likewise.
5457 * include/net/if.h: Likewise.
5458 * include/netdb.h: Likewise.
5459 * include/netinet/in.h: Likewise.
5460 * include/pthread.h: Likewise.
5461 * include/pwd.h: Likewise.
5462 * include/regex.h: Likewise.
5463 * include/sched.h: Likewise.
5464 * include/search.h: Likewise.
5465 * include/setjmp.h: Likewise.
5466 * include/signal.h: Likewise.
5467 * include/stdio.h: Likewise.
5468 * include/stdlib.h: Likewise.
5469 * include/string.h: Likewise.
5470 * include/sys/cdefs.h: Likewise.
5471 * include/sys/mman.h: Likewise.
5472 * include/sys/msg.h: Likewise.
5473 * include/sys/resource.h: Likewise.
5474 * include/sys/select.h: Likewise.
5475 * include/sys/socket.h: Likewise.
5476 * include/sys/stat.h: Likewise.
5477 * include/sys/statvfs.h: Likewise.
5478 * include/sys/time.h: Likewise.
5479 * include/sys/times.h: Likewise.
5480 * include/sys/uio.h: Likewise.
5481 * include/sys/utsname.h: Likewise.
5482 * include/sys/wait.h: Likewise.
5483 * include/termios.h: Likewise.
5484 * include/time.h: Likewise.
5485 * include/ulimit.h: Likewise.
5486 * include/unistd.h: Likewise.
5487 * include/utime.h: Likewise.
5488 * include/wchar.h: Likewise.
5489 * include/wctype.h: Likewise.
5490 * include/wordexp.h: Likewise.
5491
5492 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5493
7a270350
UD
5494 * time/time.h: TIME_UTC must be a macro.
5495 Make timespec_get available for ISO C11 only as well.
5496
7724defc
UD
54972012-02-24 Ulrich Drepper <drepper@gmail.com>
5498
5499 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5500 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5501
6b1d1d46
JM
55022012-02-24 Joseph Myers <joseph@codesourcery.com>
5503
5504 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5505
0f8bbd69
JM
55062012-02-24 Joseph Myers <joseph@codesourcery.com>
5507
5508 * manual/texinfo.tex: Update to version 2012-01-19.16.
5509
66ab80bc
JM
55102012-02-24 Joseph Myers <joseph@codesourcery.com>
5511
5512 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5513
74981cc5
RM
55142012-02-24 Roland McGrath <roland@hack.frob.com>
5515
ee968201
RM
5516 [BZ #13738]
5517 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5518 * manual/fdl-1.3.texi: New file.
5519 * manual/fdl-1.1.texi: File removed.
5520
74981cc5
RM
5521 [BZ #13738]
5522 * manual/libc.texinfo (FDL_VERSION): New @set.
5523 Use it for mention of FDL in cover text.
5524 (Documentation License): Use it in @include file name.
5525
7bb764bc
JM
55262012-02-22 Joseph Myers <joseph@codesourcery.com>
5527 Roland McGrath <roland@hack.frob.com>
5528
5529 [BZ #5461]
5530 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5531 not LONG_LONG_MAX and LONG_LONG_MIN.
5532 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5533 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5534 name.
5535 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5536
6cbeae47
JM
55372012-02-22 Joseph Myers <joseph@codesourcery.com>
5538
5539 [BZ #2547]
5540 [BZ #11365]
5541 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5542 manipulate bits before adding and subtracting TWO23[sx].
5543 * math/libm-test.inc (nearbyint_test): Add more tests.
5544
fe45ce09
JM
55452012-02-22 Joseph Myers <joseph@codesourcery.com>
5546
5547 [BZ #2548]
5548 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5549 bits before adding and subtracting TWO23[sx].
5550 * math/libm-test.inc (rint_test): Add more tests.
5551 (rint_test_tonearest): Likewise.
5552 (rint_test_towardzero): Likewise.
5553 (rint_test_downward): Likewise.
5554 (rint_test_upward: Likewise.
5555
ff3b3d82
JM
55562012-02-22 Joseph Myers <joseph@codesourcery.com>
5557
5558 [BZ #10110]
5559 * include/stdc-predef.h: New file. Extracted from features.h.
5560 * include/features.h: Include stdc-predef.h.
5561 * Makefile (headers): Add stdc-predef.h.
5562 * CONFORMANCE (Compiler limitations): Update.
5563
ef0aab35
JM
55642012-02-22 Joseph Myers <joseph@codesourcery.com>
5565
5566 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5567
58639409
DM
55682012-02-21 David S. Miller <davem@davemloft.net>
5569
5570 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5571 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5572
c0e70b25
DM
55732012-02-20 David S. Miller <davem@davemloft.net>
5574
5575 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5576 using a normal save/restore sequence, rather than allocating a
5577 dummy stack frame just to store a frame pointer and restore.
5578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5579
fb06851d
JM
55802012-02-21 Joseph Myers <joseph@codesourcery.com>
5581
5582 * manual/install.texi: Fix stray word in line-wrapped comment.
5583
7a8b71c3
DM
55842012-02-20 David S. Miller <davem@davemloft.net>
5585
d510c123
DM
5586 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5587 both binutils and gcc support GOTDATA.
5588
0722d7c2
DM
5589 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5590 "rd %pc" in the PIC register setup sequences.
5591
3d2b3019
DM
5592 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5593 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5594 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5595 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5596 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5601 (SYSCALL_ERROR_HANDLER): Likewise.
5602 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5603 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5605 (SYSCALL_ERROR_HANDLER): Likewise.
5606
c80098a9
DM
5607 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5608 (HAVE_GCC_GOTDATA): New.
5609 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5610 relocation support in both binutils and gcc.
5611 * sysdeps/sparc/elf/configure: Regenerate.
5612
3a2545a0
DM
5613 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5614 * sysdeps/sparc/sparc32/elf/configure: Delete.
5615 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5616 * sysdeps/sparc/sparc64/elf/configure: Delete.
5617 * sysdeps/sparc/elf/configure.in: New file.
5618 * sysdeps/sparc/elf/configure: Generate.
5619
7a8b71c3
DM
5620 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5621 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5622 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5623 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5624 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5625
f1e86fca
JM
56262012-02-21 Joseph Myers <joseph@codesourcery.com>
5627
5628 * manual/install.texi: Do not mention specific glibc version
5629 numbers.
5630 * manual/libc.texinfo (VERSION, UPDATED): Update.
5631 (@copying): Use @copyright{} and range of years.
5632
0e7dfaef
JM
56332012-02-21 Joseph Myers <joseph@codesourcery.com>
5634
5635 [BZ #13695]
5636 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5637 [crti.S not in sysdirs] (generated): Do not append.
5638 [crti.S not in sysdirs] (omit-deps): Likewise.
5639 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5640 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5641 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5642 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5643 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5644 Likewise.
5645 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5646 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5647 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5648 * csu/defs.awk: Remove file.
5649 * sysdeps/generic/initfini.c: Likewise.
5650 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5651 variable.
5652 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5653 Likewise.
5654
599af3ca
JM
56552012-02-20 Joseph Myers <joseph@codesourcery.com>
5656
5657 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5658 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5659 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5661 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5662 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5663 <bits/epoll.h>.
5664 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5665 (__EPOLL_PACKED): Define to empty if not defined by
5666 <bits/epoll.h>.
5667 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5669 bits/epoll.h.
5670
0e499750
JM
56712012-02-20 Joseph Myers <joseph@codesourcery.com>
5672
5673 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5674 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5676 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5677 <bits/timerfd.h>.
5678 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5680 bits/timerfd.h.
5681
5ad91f6e
JM
56822012-02-20 Joseph Myers <joseph@codesourcery.com>
5683
5684 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5685 in C locale.
5686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5687 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5690
06b99b02
AJ
56912012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5692
5693 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5694 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5695
7638c0fd
AS
56962012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5697
5698 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5699 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5700 defined.
5701 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5702 Likewise.
5703 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5704 entry for 2.16.
5705
92221550
AJ
57062012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5707
5708 * math/w_acos.c: Use non-signaling floating-point comparisons.
5709 * math/w_acosf.c: Likewise.
5710 * math/w_acosh.c: Likewise.
5711 * math/w_acoshf.c: Likewise.
5712 * math/w_acoshl.c: Likewise.
5713 * math/w_acosl.c: Likewise.
5714 * math/w_asin.c: Likewise.
5715 * math/w_asinf.c: Likewise.
5716 * math/w_asinl.c: Likewise.
5717 * math/w_atanh.c: Likewise.
5718 * math/w_atanhf.c: Likewise.
5719 * math/w_atanhl.c: Likewise.
5720 * math/w_exp2.c: Likewise.
5721 * math/w_exp2f.c: Likewise.
5722 * math/w_exp2l.c: Likewise.
5723 * math/w_j0.c: Likewise.
5724 * math/w_j0f.c: Likewise.
5725 * math/w_j0l.c: Likewise.
5726 * math/w_j1.c: Likewise.
5727 * math/w_j1f.c: Likewise.
5728 * math/w_j1l.c: Likewise.
5729 * math/w_jn.c: Likewise.
5730 * math/w_jnf.c: Likewise.
5731 * math/w_log.c: Likewise.
5732 * math/w_log10.c: Likewise.
5733 * math/w_log10f.c: Likewise.
5734 * math/w_log10l.c: Likewise.
5735 * math/w_log2.c: Likewise.
5736 * math/w_log2f.c: Likewise.
5737 * math/w_log2l.c: Likewise.
5738 * math/w_logf.c: Likewise.
5739 * math/w_logl.c: Likewise.
5740 * math/w_sqrt.c: Likewise.
5741 * math/w_sqrtf.c: Likewise.
5742 * math/w_sqrtl.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5745 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5746 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5747 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5748
ebaf36eb
JM
57492012-02-19 Joseph Myers <joseph@codesourcery.com>
5750
5751 [BZ #9739]
5752 * manual/string.texi (strnlen): Use correct parameter name in
5753 equivalent expression.
5754
71c254a6
JM
57552012-02-19 Joseph Myers <joseph@codesourcery.com>
5756
5757 [BZ #11174]
5758 * manual/users.texi (seteuid): Consistently use neweuid for
5759 argument name.
5760
16d2c631
JM
57612012-02-19 Joseph Myers <joseph@codesourcery.com>
5762
5763 [BZ #13704]
5764 * manual/nss.texi (Services in the NSS configuration): Correct
5765 list of services in example configuration file.
5766
cd837b09
NB
57672012-02-19 Nick Bowler <nbowler@draconx.ca>
5768
5769 [BZ #11322]
5770 * manual/arith.texi: Remove statements about negative zero
5771 behaving identically to zero.
5772
02c4bbad
JM
57732012-02-18 Joseph Myers <joseph@codesourcery.com>
5774
5775 [BZ #5993]
5776 * manual/install.texi: Do not document upgrading from libc5.
5777
366842e7
JM
57782012-02-18 Joseph Myers <joseph@codesourcery.com>
5779
5780 [BZ #4596]
5781 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5782
dd54084d
DM
57832012-02-18 David S. Miller <davem@davemloft.net>
5784
5785 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5786 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5787 %o7 across the call.
5788 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5789 instead.
5790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5791 SETUP_PIC_REG_LEAF.
5792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5793 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5794 * sysdeps/sparc/crtn.S: Likewise.
5795
2bcc53a3
UD
57962012-02-17 Ulrich Drepper <drepper@gmail.com>
5797
5798 * aout/Makefile: Remove.
5799
09c093b5
RK
58002012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5801
5802 [BZ #13058]
5803 * manual/examples/argp-ex1.c (main): Format definition in GNU
5804 style.
5805 * manual/examples/argp-ex2.c (main): Likewise.
5806 * manual/examples/argp-ex3.c (main): Likewise.
5807 * manual/examples/argp-ex4.c (main): Likewise.
5808 * manual/examples/longopt.c (main): Use new-style prototype
5809 definition.
5810 * manual/examples/strncat.c (main): Specify return type and use
5811 (void) for arguments.
5812 * manual/examples/subopt.c (main): Use char **argv argument.
5813
2ee633a2
JM
58142012-02-17 Joseph Myers <joseph@codesourcery.com>
5815
5816 [BZ #5077]
5817 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5818 rounding modes.
5819
0520adde
FB
58202012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5821
5822 [BZ #6907]
5823 * manual/string.texi (strchr): Change when strchrnul is
5824 recommended.
5825
3f4081cd
DGM
58262012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5827
5828 [BZ #174]
5829 * manual/locale.texi (setlocale): Document LOCPATH.
5830
d1b10e78
JM
58312012-02-17 Joseph Myers <joseph@codesourcery.com>
5832
5833 [BZ #10210]
5834 * manual/process.texi (execle): Move @dots{} before last argument.
5835
79c6869c
PB
58362012-02-17 Paul Bolle <pebolle@tiscali.nl>
5837
5838 [BZ #12047]
5839 * manual/charset.texi (Generic Charset Conversion): Fix typo
5840 (LC_TYPE -> LC_CTYPE).
5841
cc6e48bc
NB
58422012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5843
5844 [BZ #5805]
5845 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5846 (scalbnf): Likewise.
5847 (scalbnl): Likewise.
5848 (scalbln): Likewise.
5849 (scalblnf): Likewise.
5850 (scalblnl): Likewise.
5851 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5852 (vwarnx): Likewise.
5853 (verr): Likewise.
5854 (verrx): Likewise.
5855 * manual/filesys.texi (telldir): Use braces around return type.
5856 * manual/llio.texi (mmap): Add space after comma.
5857 (mmap64): Likewise.
5858 * manual/math.texi (jn): Use @var{} on parameter names.
5859 (jnf): Likewise.
5860 (jnl): Likewise.
5861 (yn): Likewise.
5862 (ynf): Likewise.
5863 (ynl): Likewise.
5864 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5865 line.
5866 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5867 "...".
5868 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5869 (sched_get_priority_max): Likewise.
5870 * manual/signal.texi (sigvec): Add space after comma.
5871 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5872 names.
5873 (if_indextoname): Likewise.
5874 (if_freenameindex): Likewise.
5875 (sendto): Use ',' instead of '.' in prototype.
5876 * manual/startup.texi (syscall): Use @dots{} instead of literal
5877 "...".
5878 * manual/stdio.texi (__fpending): Separate initial words of
5879 paragraph from @deftypefun line.
5880 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5881 "...".
5882 (vsyslog): Use @var{} on parameter names.
5883 * manual/terminal.texi (stty): Use @var{} on parameter names.
5884 * manual/users.texi (getutmp): Use @var{} on parameter names.
5885 (getutmpx): Likewise.
5886
5b23062f
JM
58872012-02-17 Joseph Myers <joseph@codesourcery.com>
5888
5889 [BZ #6884]
5890 * manual/stdio.texi (fopen): Fix typos in description of
5891 ",ccs=STRING".
5892
8dee4833
AJ
58932012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5894
5895 [BZ #4026]
5896 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5897 get clock_id definition.
5898
9078ce93
TS
58992012-02-17 Thomas Schwinge <thomas@schwinge.name>
5900
5901 [BZ #4822]
5902 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5903 (madvise): Cast every argument to void on its own.
5904
3835c55f
JM
59052012-02-17 Joseph Myers <joseph@codesourcery.com>
5906
5907 [BZ #9902]
5908 * manual/startup.texi (Exit Status): Fix typo.
5909
35c47e37
JM
59102012-02-17 Joseph Myers <joseph@codesourcery.com>
5911
5912 [BZ #10140]
5913 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5914 * manual/examples/argp-ex2.c: Likewise.
5915 * manual/examples/argp-ex3.c: Likewise.
5916
e3b69ca7
RH
59172012-02-16 Richard Henderson <rth@redhat.com>
5918
5919 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5920 * sysdeps/s390/s390-32/initfini.c: Remove.
5921 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5922 * sysdeps/s390/s390-64/initfini.c: Remove.
5923
df83af67
KK
59242012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5925
5926 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5927 compiler output for sysdeps/generic/initfini.c.
5928 * sysdeps/sh/elf/initfini.c: Remove file.
5929
f63f3380
DM
59302012-02-16 David S. Miller <davem@davemloft.net>
5931
fb59b3a4
DM
5932 [BZ #11494]
5933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5934
f63f3380
DM
5935 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5936 * sysdeps/sparc/crti.S: New file.
5937 * sysdeps/sparc/crtn.S: New file.
5938 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5939 * sysdeps/sparc/sparc64/Makefile: Likewise.
5940
df6a4a4a
MF
59412012-02-15 Mike Frysinger <vapier@gentoo.org>
5942
6dd8f3dc 5943 [BZ #3335]
df6a4a4a
MF
5944 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5945
1cac7236
RM
59462012-02-15 Roland McGrath <roland@hack.frob.com>
5947
d2c736f8
RM
5948 [BZ #4822]
5949 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5950
1cac7236
RM
5951 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5952 (write, read, close): Likewise.
5953 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5954
8e475601
JM
59552012-02-15 Joseph Myers <joseph@codesourcery.com>
5956
5957 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5958 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5959 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5960 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5961 <bits/signalfd.h>.
5962 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5964 bits/signalfd.h.
5965
ed656b40
MP
59662012-02-14 Marek Polacek <polacek@redhat.com>
5967
5968 * sysdeps/x86_64/crti.S: New file.
5969 * sysdeps/x86_64/crtn.S: New file.
5970 * sysdeps/x86_64/elf/initfini.c: Remove file.
5971
2a979d3a
JM
59722012-02-13 Joseph Myers <joseph@codesourcery.com>
5973
5974 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5975 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5977 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5978 <bits/inotify.h>.
5979 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5981 bits/inotify.h.
5982
2a418ac3
JM
59832012-02-13 Joseph Myers <joseph@codesourcery.com>
5984
5985 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5986 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5987 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5988 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5989 <bits/eventfd.h>.
5990 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5992 bits/eventfd.h.
5993
fb779be7
TS
59942012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5995
e19e83c5
RM
5996 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5997 __feraiseexcept instead of feraiseexcept.
7c35ffed 5998
fb779be7
TS
5999 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6000 nanosleep invocations.
6001 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6002 strings, and add error checking for a nanosleep invocations.
6003
59ba27a6
PE
60042012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6005
6006 Replace FSF snail mail address with URLs, as per GNU coding standards.
6007 Most of the snail mail addresses were wrong anyway, and omitting
6008 them makes the source code easier to maintain. Almost all of the
6009 changes are to license notices and to locale LC_IDENTIFICATION
6010 addresses, except for this one:
6011 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6012 not its snail mail address.
6013
57b957eb
RH
60142012-02-09 Richard Henderson <rth@twiddle.net>
6015
af850b1c
RH
6016 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6017 of kernel-features.h.
6018
57b957eb
RH
6019 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6020
6b73181a
MP
60212012-02-08 Marek Polacek <polacek@redhat.com>
6022
6023 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6024 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6025 * sysdeps/gnu/_G_config.h: Likewise.
6026 * sysdeps/generic/_G_config.h: Likewise.
6027
26ecc33a
AS
60282012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6029
6c6dbc63
AS
6030 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6031 tests.
6032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6033
e216c012
AS
6034 * sysdeps/powerpc/powerpc32/crti.S: New file.
6035 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6036 * sysdeps/powerpc/powerpc64/crti.S: New file.
6037 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6038
26ecc33a
AS
6039 * Makeconfig (have-initfini): Don't set.
6040 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6041 * configure.in (nopic_initfini): Don't substitute.
6042 * config.h.in (HAVE_INITFINI): Don't #undef.
6043 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6044 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6045
3add8e13
JM
60462012-02-08 Joseph Myers <joseph@codesourcery.com>
6047
6048 Support crti.S and crtn.S provided directly by architectures.
6049 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6050 [crti.S in sysdirs] (omit-deps): Likewise.
6051 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6052 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6053 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6054 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6055 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6056 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6057 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6058 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6059 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6060 compiler output for sysdeps/generic/initfini.c.
6061 * sysdeps/i386/elf/Makefile: Remove file.
6062 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6063
a22f12b4
MP
60642012-02-07 Marek Polacek <polacek@redhat.com>
6065
6066 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6067 * sysdeps/gnu/_G_config.h: Likewise.
6068 * sysdeps/mach/hurd/_G_config.h: Likewise.
6069
148cf100
MP
60702012-02-07 Marek Polacek <polacek@redhat.com>
6071
6072 * math/Makefile (tests): Add tst-CMPLX2.
6073 * math/tst-CMPLX2.c: New file.
6074
cfdc0dd7
AS
60752012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6076
84ba42c4
AS
6077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6078
cfdc0dd7
AS
6079 * math/libm-test.inc (jn_test): Add missing L suffix.
6080
622c86f4
MP
60812012-02-06 Marek Polacek <polacek@redhat.com>
6082
6083 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6084 * sysdeps/i386/fpu/e_powf.S: Likewise.
6085 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6086 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6088 * sysdeps/i386/fpu/e_pow.S: Likewise.
6089 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6090 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6091 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6092 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6093 * sysdeps/i386/fpu/e_log2.S: Likewise.
6094 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6095 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6096 * sysdeps/i386/fpu/e_powl.S: Likewise.
6097 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6098 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6099 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6100 * sysdeps/i386/fpu/e_logl.S: Likewise.
6101 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6102 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6103 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6104 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6105 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6106 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6107 * sysdeps/i386/fpu/e_log.S: Likewise.
6108 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6109 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6110 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6111 * sysdeps/i386/fpu/e_logf.S: Likewise.
6112 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6113 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6114 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6115 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6116 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6117 * sysdeps/i386/fpu/e_log10.S: Likewise.
6118 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6119 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6120 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6121 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6122 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6123 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6124 * sysdeps/i386/asm-syntax.h: Likewise.
6125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6126 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6127 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6128 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6129 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6130 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6131 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6132 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6133 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6134 * sysdeps/powerpc/sysdep.h: Likewise.
6135 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6136 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6137
d4a54ac6
JM
61382012-02-06 Joseph Myers <joseph@codesourcery.com>
6139
6140 [BZ #411]
6141 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6142
314054ea
JM
61432012-02-06 Joseph Myers <joseph@codesourcery.com>
6144
6145 * sysdeps/i386/sysdep.h: Include <features.h>.
6146 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6147 version.
6148
d8e0ca50
JM
61492012-02-05 Joseph Myers <joseph@codesourcery.com>
6150
6151 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6152 Define.
6153 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6154 LOAD_PIC_REG_STR.
6155
b1da7dd9
JM
61562012-02-03 Joseph Myers <joseph@codesourcery.com>
6157
6158 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6159 (SETUP_PIC_REG): Use GET_PC_THUNK.
6160 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6161 macro.
6162
9a1d9254
JM
61632012-02-03 Joseph Myers <joseph@codesourcery.com>
6164
6165 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6166 for non-PIC compilation.
6167 (SETUP_PIC_REG): Add .p2align directive.
6168 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6169 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6170 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6171 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6172 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6173 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6174 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6176 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6177 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6178 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6179 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6180 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6181 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6182 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6183 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6184 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6185 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6186 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6187 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6188 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6189 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6190 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6191 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6192 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6194 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6195 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6196 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6197 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6198 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6199 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6200 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6201 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6202 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6203 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6204 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6205 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6206 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6207 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6208 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6209
65dc3b75
JM
62102012-02-03 Joseph Myers <joseph@codesourcery.com>
6211
6212 * math/tst-CMPLX.c: Include <stdio.h>.
6213
d55bf177
JM
62142012-01-31 Joseph Myers <joseph@codesourcery.com>
6215
6216 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6217 float.
6218 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6219 * sysdeps/sparc/bits/mathdef.h: Likewise.
6220
69db4f8f
MP
62212012-01-31 Marek Polacek <polacek@redhat.com>
6222
6223 * libio/libio.h: Don't define _PARAMS.
6224 * locale/programs/config.h: Don't define PARAMS.
6225 * stdlib/strtol_l.c: Likewise.
6226 (__strtol_l): Remove PARAMS from the prototype.
6227
41b81892
UD
62282012-01-31 Ulrich Drepper <drepper@gmail.com>
6229
3b49edc0
UD
6230 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6231 names. Just use the correct names. Remove unnecessary wrapper
6232 functions.
6233 * malloc/arena.c: Likewise.
6234 * malloc/hooks.c: Likewise.
6235
41b81892
UD
6236 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6237 ARENA_TEST says not to. Simplify test for creation of a new arena.
6238 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6239
27a25b6e
UD
62402012-01-30 Ulrich Drepper <drepper@gmail.com>
6241
6242 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6243 into tail calls.
6244 (update_get_addr): New function.
6245 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6246 GET_ADDR_MODULE parameter.
6247
c8a89e7d
JM
62482012-01-30 Joseph Myers <joseph@codesourcery.com>
6249
6250 * crypt/cert.c: Remove __STDC__ conditionals.
6251 * crypt/crypt-entry.c: Likewise.
6252 * crypt/crypt_util.c: Likewise.
6253 * libio/filedoalloc.c: Likewise.
6254 * libio/fileops.c: Likewise.
6255 * libio/genops.c: Likewise.
6256 * libio/iofclose.c: Likewise.
6257 * libio/iofdopen.c: Likewise.
6258 * libio/iofopen.c: Likewise.
6259 * libio/iofopen64.c: Likewise.
6260 * libio/iogetdelim.c: Likewise.
6261 * libio/iopopen.c: Likewise.
6262 * libio/obprintf.c: Likewise.
6263 * libio/oldfileops.c: Likewise.
6264 * libio/oldiofclose.c: Likewise.
6265 * libio/oldiofdopen.c: Likewise.
6266 * libio/oldiofopen.c: Likewise.
6267 * libio/oldiopopen.c: Likewise.
6268 * libio/wfiledoalloc.c: Likewise.
6269 * libio/wgenops.c: Likewise.
6270 * locale/programs/xmalloc.c: Likewise.
6271 * misc/syslog.c: Likewise.
6272 * stdio-common/xbug.c: Likewise.
6273 * string/memchr.c: Likewise.
6274 * string/memcmp.c: Likewise.
6275 * string/memrchr.c: Likewise.
6276 * string/rawmemchr.c: Likewise.
6277 * sysdeps/posix/getcwd.c: Likewise.
6278 * time/strftime_l.c: Likewise.
6279
3b100462
JM
62802012-01-30 Joseph Myers <joseph@codesourcery.com>
6281
6282 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6283 * config.make.in (config-cflags-sse2avx): Define.
6284 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6285 Fix typo.
6286
607998af
CM
62872012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6288
6289 * scripts/config.guess: Update from upstream config git repository.
6290 * scripts/config.sub: Likewise.
6291
3601428f
CM
62922012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6293
3ac8b282
CM
6294 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6295 (EM_NUM): Update.
6296 (R_TILEPRO_*, R_TILEGX_*): New macros.
6297
e034841e
CM
6298 * scripts/firstversions.awk: Fix bug in version range handling.
6299
540d7568
CM
6300 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6301
3601428f
CM
6302 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6303
463de862
CM
6304 * include/sys/epoll.h: New file.
6305 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6306 libc_hidden_def.
6307
73139a76
UD
63082012-01-28 Ulrich Drepper <drepper@gmail.com>
6309
96bc5b45
UD
6310 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6311 Avoid unnecessary __WORDSIZE == 64 test.
6312 (fmaxf): Use VEX format if possible.
6313 (fmax): Likewise.
6314 (fminf): Likewise.
6315 (fmin): Likewise.
6316
56f6f6a2
UD
6317 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6318 * math/math_private.h: Remove libc_fegetround* and
6319 libc_fesetround*.
6320 * sysdeps/i386/configure.in: Check for -msse2avx.
6321 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6322 also if SSE2AVX is defined.
6323 Remove libc_fegetround* and libc_fesetround*.
6324 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6325 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6327 of HAS_YMM_USABLE.
6328 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6329 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6332 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6333
73139a76
UD
6334 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6335
d73f93a4
AZ
63362012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6337
6338 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6339 size is not set.
6340 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6341
6ee65ed6
UD
63422012-01-27 Ulrich Drepper <drepper@gmail.com>
6343
6344 [BZ #13618]
6345 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6346 relocation.
6347 * Makeconfig (libm): Define.
6348 * elf/Makefile: Add rules to build and run tst-relsort1.
6349 * elf/tst-relsort1.c: New file.
6350 * elf/tst-relsort1mod1.c: New file.
6351 * elf/tst-relsort1mod2.c: New file.
6352
8db21882
JM
63532012-01-27 Joseph Myers <joseph@codesourcery.com>
6354
6355 * math/s_ldexp.c: Remove __STDC__ conditionals.
6356 * math/s_ldexpf.c: Likewise.
6357 * math/s_ldexpl.c: Likewise.
6358 * math/s_nextafter.c: Likewise.
6359 * math/s_nexttowardf.c: Likewise.
6360 * math/s_significand.c: Likewise.
6361 * math/s_significandf.c: Likewise.
6362 * math/s_significandl.c: Likewise.
6363 * math/w_jnl.c: Likewise.
6364 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6365 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6366 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6367 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6368 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6374 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6380 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6383 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6384 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6385 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6390 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6392 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6393 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6394 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6395 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6396 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6397 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6398 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6399 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6400 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6401 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6403 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6404 * sysdeps/ieee754/k_standard.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6466 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6471 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6479 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6480 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6484 * sysdeps/ieee754/s_matherr.c: Likewise.
6485 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6486 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6489
965a54a4
JM
64902012-01-26 Joseph Myers <joseph@codesourcery.com>
6491
6492 * crypt/md5.h: Remove __STDC__ conditionals.
6493 * libio/libioP.h: Likewise.
6494 * locale/programs/config.h: Likewise.
6495 * sysdeps/generic/sysdep.h: Likewise.
6496 * sysdeps/i386/asm-syntax.h: Likewise.
6497 * sysdeps/s390/asm-syntax.h: Likewise.
6498 * sysdeps/unix/sysdep.h: Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6501
7071ad79
JM
65022012-01-26 Joseph Myers <joseph@codesourcery.com>
6503
6504 * libio/libio.h: Remove __STDC__ conditionals.
6505 * malloc/obstack.h: Likewise.
6506 * math/complex.h: Likewise.
6507 * math/math.h: Likewise.
6508 * sysdeps/generic/_G_config.h: Likewise.
6509 * sysdeps/gnu/_G_config.h: Likewise.
6510 * sysdeps/mach/hurd/_G_config.h: Likewise.
6511 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6512 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6513 * sysdeps/sparc/bits/mathdef.h: Likewise.
6514
afc5ed09
UD
65152012-01-26 Ulrich Drepper <drepper@gmail.com>
6516
6517 [BZ #13583]
6518 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6519 Clean up HAS_* macros.
afc5ed09 6520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6521 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6522 possible.
6523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6524 HAS_AVX.
6525 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6526 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6529 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6530
bdb6de1d
JM
65312012-01-25 Joseph Myers <joseph@codesourcery.com>
6532
6533 * elf/tst-unique3.cc (gets): Remove declaration.
6534 * elf/tst-unique3lib.cc (gets): Likewise.
6535 * elf/tst-unique3lib2.cc (gets): Likewise.
6536 * elf/tst-unique4.cc (gets): Likewise.
6537
b15549e6
UD
65382012-01-24 Ulrich Drepper <drepper@gmail.com>
6539
6540 * include/stdio.h: Add C++ protection. Add gets declarations and
6541 definitions.
6542 * debug/tst-chk1.c: Don't declare gets here.
6543 * stdio-common/tst-gets.c: Likewise.
6544
a037381f
JM
65452012-01-24 Joseph Myers <joseph@codesourcery.com>
6546
6547 * posix/glob: Remove directory.
6548
f1d4aa75
JM
65492012-01-24 Joseph Myers <joseph@codesourcery.com>
6550
6551 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6552
81c0c964
PT
65532012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6554
6555 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6556 of the non-standard EPFNOSUPPORT.
6557
0ea698ae
ST
65582011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6559
6560 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6561 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6562 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6563
d220b117
UD
65642012-01-21 Ulrich Drepper <drepper@gmail.com>
6565
6566 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6567
3e1aa84e
UD
65682012-01-20 Ulrich Drepper <drepper@gmail.com>
6569
6570 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6571 transient errors.
6572 * nscd/grpcache.c (cache_addgr): Likewise.
6573 * nscd/hstcache.c (cache_addhst): Likewise.
6574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6575 * nscd/pwdcache.c (cache_addpw): Likewise.
6576 * nscd/servicescache.c (cache_addserv): Likewise.
6577
400aa020
UD
65782012-01-16 Ulrich Drepper <drepper@gmail.com>
6579
d77e7869
UD
6580 * malloc/malloc.c: Various cleanups.
6581 * malloc/hooks.c: Likewise.
6582
400aa020
UD
6583 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6584 * stdlib/bug-fmtmsg1.c: New file.
6585
6586 * stdlib/fmtmsg.c (init): Add missing unlock.
6587 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6588
e0a309cf
MP
65892012-01-12 Marek Polacek <polacek@redhat.com>
6590
6591 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6592 and _GNU_SOURCE.
6593
929d11c7
WS
65942012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6595
6596 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6597 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6598 macro to ensure uniqueness of label name.
6599 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6600 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6601
41d0e869
UD
66022012-01-11 Ulrich Drepper <drepper@gmail.com>
6603
0cc5ed3b
UD
6604 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6605
41d0e869
UD
6606 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6607 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6608 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6610
a47a831a
UD
66112012-01-10 Ulrich Drepper <drepper@gmail.com>
6612
daa891c0
UD
6613 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6614
6615 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6616 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6617 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6618
e58ef0f2
UD
6619 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6620
a47a831a 6621 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6622 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6623 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6625
6626 * math/bits/math-finite.h: Add ldexp support.
6627
a0bfc9c7
MP
66282012-01-10 Marek Polacek <polacek@redhat.com>
6629
6630 * locale/programs/localedef.h (show_archive_content): Add noreturn
6631 attribute.
6632
d6e97a1d
UD
66332012-01-09 Ulrich Drepper <drepper@gmail.com>
6634
6635 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6636
d5835c26
UD
66372012-01-08 Ulrich Drepper <drepper@gmail.com>
6638
e5f484c6
UD
6639 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6640
d5835c26
UD
6641 * io/Makefile (headers): Add bits/poll2.h.
6642
d1f741e9
WS
66432011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6644
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6646 typo #include statement.
6647
ec09c1c4
UD
66482012-01-08 Ulrich Drepper <drepper@gmail.com>
6649
6650 * include/sys/cdefs.h: Define __attribute_alloc_size.
6651 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6652 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6653 * elf/pldd.c: Likewise.
6654 * iconv/iconv_charmap.c: Likewise.
6655 * iconv/iconvconfig.c: Likewise.
6656 * iconv/strtab.c: Likewise.
6657 * locale/programs/locale.c: Likewise.
6658 * locale/programs/localedef.h: Likewise.
6659 * locale/programs/simple-hash.c: Likewise.
6660 * nscd/nscd.h: Likewise.
6661 * nss/makedb.c: Likewise.
6662 * sysdeps/generic/ldconfig.h: Likewise.
6663 * locale/programs/localedef.c: Remove xmalloc prototype.
6664 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6665
20b38e03
PP
66662012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6667
6668 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6669 appropriate.
6670
a0da5fe1
UD
66712012-01-08 Ulrich Drepper <drepper@gmail.com>
6672
1d5a644a 6673 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6674 * math/tst-CMPLX.c: New file.
1d5a644a 6675
8784a6db
UD
6676 * math/complex.h (CMPLXL): Fix typo.
6677
d9a216c0
UD
6678 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6679 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6680 GLIBC_2.16.
6681 * debug/tst-chk1.c: Add poll and ppoll tests.
6682 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6683 * include/sys/poll.h: Add hidden proto for ppoll.
6684 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6685 * sysdeps/mach/hurd/ppoll.c: Likewise.
6686 * io/ppoll.c: Likewise.
6687 * debug/poll_chk.c: New file.
6688 * debug/ppoll_chk.c: New file.
6689 * include/bits/poll2.h: New file.
6690 * io/bits/poll2.h: New file.
6691
ac097f5c
UD
6692 [BZ #1350]
6693 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6694
2119dcfa
UD
6695 * configure.in: static is always set to yes. Remove.
6696 * config.make.in: Don't set build-static.
6697 * Makeconfig: Remove use of build-static.
6698 * dlfcn/Makefile: Likewise.
6699 * elf/Makefile: Likewise.
6700 * math/Makefile: Likewise.
6701 * misc/Makefile: Likewise.
6702 * nptl/Makefile: Likewise.
6703 * sysdeps/mach/hurd/Makefile: Likewise.
6704
121766a9
UD
6705 * configure.in: PWD_P is not used anymore.
6706 * config.make.in: Remove PWD_P entry.
6707
51a1d39c 6708 * configure.in: Remove last remnants of RANLIB.
8720d066 6709 No need to check for signed size_t anymore.
215f4bdc
UD
6710 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6711 and IA-64.
3857022a 6712 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6713 * aclocal.m4: Likewise.
6714
d3ed7225
UD
6715 * wcsmbs/mbrtoc16.c: Implement using towc function.
6716 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6717 * wcsmbs/wcsmbsload.c: Likewise.
6718 * iconv/gconv_simple.c: Likewise.
6719 * iconv/gconv_int.h: Likewise.
6720 * iconv/gconv_builtin.h: Likewise.
6721 * iconv/iconv_prog.c: Remove CHAR16 handling.
6722
6723 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6724
6725 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6726
a0da5fe1
UD
6727 * configure.in: Remove --with-elf and --enable-bounded options.
6728 Dont set base_machine for ia64. More non-ELF conditions removed.
6729 Remove testing and setting of leading underscore information.
6730 * config.make.in (build-bounded): Set to no.
6731 * config.h.in: Remove NO_UNDERSCORES entry.
6732 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6733 them.
6734 * csu/start.c: Remove !NO_UNDERSCORE code.
6735 * locale/localeinfo.h: Likewise.
6736 * sysdeps/generic/machine-gmon.h: Likewise.
6737 * sysdeps/generic/sysdep.h: Likewise.
6738 * sysdeps/i386/sysdep.h: Likewise.
6739 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6740 * sysdeps/mach/sysdep.h: Likewise.
6741 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6743 * sysdeps/sh/sysdep.h: Likewise.
6744 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6745 * sysdeps/unix/i386/sysdep.S: Likewise.
6746 * sysdeps/unix/sparc/start.c: Likewise.
6747 * sysdeps/unix/sparc/sysdep.S: Likewise.
6748 * sysdeps/unix/sparc/sysdep.h: Likewise.
6749 * sysdeps/unix/start.c: Likewise.
6750 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6751 * sysdeps/x86_64/sysdep.h: Likewise.
6752
df78418a
UD
67532012-01-07 Ulrich Drepper <drepper@gmail.com>
6754
a784e502
UD
6755 [BZ #13553]
6756 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6757 for non-gcc.
6758 * argp/argp-fmtstream.h: Use const instead __const.
6759 * argp/argp.h: Likewise.
6760 * assert/assert.h: Likewise.
6761 * bits/fenv.h: Likewise.
6762 * bits/sched.h: Likewise.
6763 * bits/sigset.h: Likewise.
6764 * bits/sigthread.h: Likewise.
6765 * catgets/nl_types.h: Likewise.
6766 * conform/data/pthread.h-data: Likewise.
6767 * crypt/crypt-private.h: Likewise.
6768 * crypt/crypt.h: Likewise.
6769 * crypt/crypt_util.c: Likewise.
6770 * ctype/ctype.h: Likewise.
6771 * debug/execinfo.h: Likewise.
6772 * debug/mbsnrtowcs_chk.c: Likewise.
6773 * debug/mbsrtowcs_chk.c: Likewise.
6774 * debug/wcsnrtombs_chk.c: Likewise.
6775 * debug/wcsrtombs_chk.c: Likewise.
6776 * debug/wcstombs_chk.c: Likewise.
6777 * dirent/dirent.h: Likewise.
6778 * dlfcn/dlfcn.h: Likewise.
6779 * elf/neededtest4.c: Likewise.
6780 * grp/grp.h: Likewise.
6781 * gshadow/gshadow.h: Likewise.
6782 * iconv/gconv.h: Likewise.
6783 * iconv/gconv_int.h: Likewise.
6784 * iconv/gconv_simple.c: Likewise.
6785 * iconv/iconv.h: Likewise.
6786 * iconv/loop.c: Likewise.
6787 * iconv/skeleton.c: Likewise.
6788 * include/aio.h: Likewise.
6789 * include/aliases.h: Likewise.
6790 * include/argz.h: Likewise.
6791 * include/arpa/inet.h: Likewise.
6792 * include/assert.h: Likewise.
6793 * include/dirent.h: Likewise.
6794 * include/dlfcn.h: Likewise.
6795 * include/execinfo.h: Likewise.
6796 * include/fcntl.h: Likewise.
6797 * include/fenv.h: Likewise.
6798 * include/glob.h: Likewise.
6799 * include/grp.h: Likewise.
6800 * include/libintl.h: Likewise.
6801 * include/mntent.h: Likewise.
6802 * include/netdb.h: Likewise.
6803 * include/pwd.h: Likewise.
6804 * include/rpc/netdb.h: Likewise.
6805 * include/sched.h: Likewise.
6806 * include/search.h: Likewise.
6807 * include/shadow.h: Likewise.
6808 * include/signal.h: Likewise.
6809 * include/stdio.h: Likewise.
6810 * include/stdlib.h: Likewise.
6811 * include/string.h: Likewise.
6812 * include/sys/socket.h: Likewise.
6813 * include/sys/stat.h: Likewise.
6814 * include/sys/statfs.h: Likewise.
6815 * include/sys/statvfs.h: Likewise.
6816 * include/sys/syslog.h: Likewise.
6817 * include/sys/time.h: Likewise.
6818 * include/sys/uio.h: Likewise.
6819 * include/time.h: Likewise.
6820 * include/unistd.h: Likewise.
6821 * include/utmp.h: Likewise.
6822 * include/wchar.h: Likewise.
6823 * include/wctype.h: Likewise.
6824 * inet/aliases.h: Likewise.
6825 * inet/arpa/inet.h: Likewise.
6826 * inet/netinet/ether.h: Likewise.
6827 * inet/netinet/in.h: Likewise.
6828 * intl/libintl.h: Likewise.
6829 * io/bits/fcntl2.h: Likewise.
6830 * io/fcntl.h: Likewise.
6831 * io/ftw.h: Likewise.
6832 * io/sys/poll.h: Likewise.
6833 * io/sys/stat.h: Likewise.
6834 * io/sys/statfs.h: Likewise.
6835 * io/sys/statvfs.h: Likewise.
6836 * io/utime.h: Likewise.
6837 * libio/bits/stdio.h: Likewise.
6838 * libio/bits/stdio2.h: Likewise.
6839 * libio/libio.h: Likewise.
6840 * libio/libioP.h: Likewise.
6841 * libio/stdio.h: Likewise.
6842 * locale/lc-ctype.c: Likewise.
6843 * locale/locale.h: Likewise.
6844 * login/utmp.h: Likewise.
6845 * malloc/arena.c: Likewise.
6846 * malloc/malloc.c: Likewise.
6847 * malloc/malloc.h: Likewise.
6848 * malloc/mcheck.c: Likewise.
6849 * malloc/mtrace.c: Likewise.
6850 * math/bits/mathcalls.h: Likewise.
6851 * math/fenv.h: Likewise.
6852 * math/math_private.h: Likewise.
6853 * misc/bits/error.h: Likewise.
6854 * misc/bits/syslog.h: Likewise.
6855 * misc/err.h: Likewise.
6856 * misc/error.h: Likewise.
6857 * misc/fstab.h: Likewise.
6858 * misc/mntent.h: Likewise.
6859 * misc/regexp.h: Likewise.
6860 * misc/search.h: Likewise.
6861 * misc/sgtty.h: Likewise.
6862 * misc/sys/mman.h: Likewise.
6863 * misc/sys/syslog.h: Likewise.
6864 * misc/sys/uio.h: Likewise.
6865 * misc/sys/xattr.h: Likewise.
6866 * misc/ttyent.h: Likewise.
6867 * nis/rpcsvc/ypclnt.h: Likewise.
6868 * nss/nss.h: Likewise.
6869 * posix/bits/unistd.h: Likewise.
6870 * posix/fnmatch.h: Likewise.
6871 * posix/glob.h: Likewise.
6872 * posix/sched.h: Likewise.
6873 * posix/spawn.h: Likewise.
6874 * posix/sys/wait.h: Likewise.
6875 * posix/unistd.h: Likewise.
6876 * posix/wordexp.h: Likewise.
6877 * pwd/pwd.h: Likewise.
6878 * resolv/netdb.h: Likewise.
6879 * resource/sys/resource.h: Likewise.
6880 * rt/aio.h: Likewise.
6881 * rt/bits/mqueue2.h: Likewise.
6882 * rt/mqueue.h: Likewise.
6883 * shadow/shadow.h: Likewise.
6884 * signal/signal.h: Likewise.
6885 * socket/send.c: Likewise.
6886 * socket/sendto.c: Likewise.
6887 * socket/sys/socket.h: Likewise.
6888 * stdio-common/printf.h: Likewise.
6889 * stdlib/bits/stdlib.h: Likewise.
6890 * stdlib/fmtmsg.h: Likewise.
6891 * stdlib/monetary.h: Likewise.
6892 * stdlib/stdlib.h: Likewise.
6893 * stdlib/ucontext.h: Likewise.
6894 * streams/stropts.h: Likewise.
6895 * string/argz.h: Likewise.
6896 * string/bits/string2.h: Likewise.
6897 * string/string.h: Likewise.
6898 * string/strings.h: Likewise.
6899 * sunrpc/rpc/auth.h: Likewise.
6900 * sunrpc/rpc/auth_des.h: Likewise.
6901 * sunrpc/rpc/clnt.h: Likewise.
6902 * sunrpc/rpc/netdb.h: Likewise.
6903 * sunrpc/rpc/pmap_clnt.h: Likewise.
6904 * sunrpc/rpc/xdr.h: Likewise.
6905 * sysdeps/generic/inttypes.h: Likewise.
6906 * sysdeps/generic/net/if.h: Likewise.
6907 * sysdeps/generic/sys/swap.h: Likewise.
6908 * sysdeps/gnu/net/if.h: Likewise.
6909 * sysdeps/gnu/utmpx.h: Likewise.
6910 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6911 * sysdeps/i386/i486/bits/string.h: Likewise.
6912 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6913 * sysdeps/s390/bits/string.h: Likewise.
6914 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6915 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6916 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6917 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6918 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6919 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6920 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6921 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6922 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6923 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6924 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6925 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6926 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6927 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6928 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6929 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6930 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6932 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6933 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6935 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6936 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6937 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6938 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6939 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6940 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6942 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6944 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6945 * sysvipc/sys/ipc.h: Likewise.
6946 * sysvipc/sys/msg.h: Likewise.
6947 * sysvipc/sys/sem.h: Likewise.
6948 * sysvipc/sys/shm.h: Likewise.
6949 * termios/termios.h: Likewise.
6950 * time/sys/time.h: Likewise.
6951 * time/time.h: Likewise.
6952 * wcsmbs/bits/wchar2.h: Likewise.
6953 * wcsmbs/uchar.h: Likewise.
6954 * wcsmbs/wchar.h: Likewise.
6955 * wctype/wctype.h: Likewise.
6956
0269750c
UD
6957 [BZ #13551]
6958 * Makeconfig: Remove all but ELF support including AIX support.
6959 * Makerules: Likewise.
6960 * config.h.in: Likewise.
6961 * config.make.in: Likewise.
6962 * configure: Likewise.
6963 * configure.in: Likewise.
6964 * csu/Makefile: Likewise.
6965 * csu/version.c: Likewise.
6966 * debug/Makefile: Likewise.
6967 * dlfcn/Makefile: Likewise.
6968 * elf/Makefile: Likewise.
6969 * extra-lib.mk: Likewise.
6970 * iconv/Makefile: Likewise.
6971 * include/libc-symbols.h: Likewise.
6972 * include/shlib-compat.h: Likewise.
6973 * resolv/Makefile: Likewise.
6974 * resolv/res_libc.c: Likewise.
6975 * rt/Makefile: Likewise.
6976 * sysdeps/i386/asm-syntax.h: Likewise.
6977 * sysdeps/i386/sysdep.h: Likewise.
6978 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6979 * sysdeps/mach/sysdep.h: Likewise.
6980 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6981 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6982 * sysdeps/s390/asm-syntax.h: Likewise.
6983 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6985 * sysdeps/sh/sysdep.h: Likewise.
6986 * sysdeps/unix/sparc/sysdep.h: Likewise.
6987 * sysdeps/wordsize-32/divdi3.c: Likewise.
6988 * sysdeps/x86_64/sysdep.h: Likewise.
6989
00bbd29b
UD
6990 * argp/Versions: Remove _argp_unlock_xxx.
6991
6992 [BZ #13559]
6993 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6994 * abilist/libBrokenLocale.abilist: Likewise.
6995 * abilist/libanl.abilist: Likewise.
6996 * abilist/libc.abilist: Likewise.
6997 * abilist/libcrypt.abilist: Likewise.
6998 * abilist/libdl.abilist: Likewise.
6999 * abilist/libm.abilist: Likewise.
7000 * abilist/libnsl.abilist: Likewise.
7001 * abilist/libpthread.abilist: Likewise.
7002 * abilist/libresolv.abilist: Likewise.
7003 * abilist/librt.abilist: Likewise.
7004 * abilist/libthread_db.abilist: Likewise.
7005 * abilist/libutil.abilist: Likewise.
7006 * abilist/libnss_db.abilist: New file.
7007
7008 * scripts/abilist.awk: Add support for indirect functions.
7009
a2693a0e
UD
7010 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7011
3f05895f
UD
7012 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7013
ecb6fb48
UD
7014 * shlib-versions: Remove entries for ports architectures.
7015
664f8cb9
UD
7016 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7017 files in ports.
7018 * elf/stackguard-macros.h: Remove support for IA-64.
7019 * elf/tst-auditmod1.c: Likewise.
7020 * sysdeps/generic/ldsodefs.h: Likewise.
7021
7ae81d88
UD
7022 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7023 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7024 configure files.
7025
bdeba135
UD
7026 [BZ #13552]
7027 * configure.in: Remove --enable-omitfp support.
7028 * FAQ.in: Adjust.
7029 * config.make.in: Likewise.
7030 * Makeconfig: Likewise.
7031 * manual/install.texi: Likewise.
7032
d75a0a62
UD
7033 In case anyone cares, the IA-64 architecture could move to ports.
7034 * sysdeps/ia64/*: Removed.
7035 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7036 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7037
dcc9756b
UD
7038 [BZ #13555]
7039 * configure.in: Remove entries for unsupported architectures.
7040
d3761ebc 7041 [BZ #13533]
9954432e
UD
7042 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7043 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7044 routines.
7045 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7046 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7047 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7048 fall back to using wcrtomb.
7049 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7050 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7051 renaming.
7052 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7053 * wcsmbs/tst-c16c32-1.c: New file.
7054
7055 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7056 local variable.
7057
c3a87236
UD
7058 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7059
28926a1b
UD
7060 * elf/tst-unique3.cc: Add explicit declaration of gets.
7061 * elf/tst-unique3lib.cc: Likewise.
7062 * elf/tst-unique3lib2.cc: Likewise.
7063 * elf/tst-unique4.cc: Likewise.
7064
df78418a
UD
7065 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7066
8ecd6b2a
JM
70672012-01-06 Joseph Myers <joseph@codesourcery.com>
7068
7069 [BZ #13566]
7070 * assert/assert.h (static_assert): Don't define for C++.
7071 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7072 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7073
9f115170
UD
70742012-01-03 Ulrich Drepper <drepper@gmail.com>
7075
5e0d0300
UD
7076 * iconv/loop.c (single loop): Fix assertion in storing of
7077 remaining bytes.
7078
9f115170
UD
7079 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7080
81fb02b0
UD
70812012-01-01 Ulrich Drepper <drepper@gmail.com>
7082
7083 * posix/getconf.c: Update copyright year.
7084 * nss/getent.c: Likewise.
a316c1f6 7085 * nss/makedb.c: Likewise.
81fb02b0
UD
7086 * iconv/iconvconfig.c: Likewise.
7087 * iconv/iconv_prog.c: Likewise.
7088 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7089 * elf/pldd.c: Likewise.
7090 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7091 * catgets/gencat.c: Likewise.
7092 * csu/version.c: Likewise.
7093 * elf/ldd.bash.in: Likewise.
7094 * elf/sprof.c (print_version): Likewise.
7095 * locale/programs/locale.c: Likewise.
7096 * locale/programs/localedef.c: Likewise.
a316c1f6 7097 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7098 * nscd/nscd.c (print_version): Likewise.
7099 * debug/xtrace.sh: Likewise.
7100 * malloc/memusage.sh: Likewise.
7101 * malloc/mtrace.pl: Likewise.
7102 * debug/catchsegv.sh: Likewise.
7103
2ba92745
JJ
71042011-12-30 Jakub Jelinek <jakub@redhat.com>
7105
7106 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7107 pure attribute.
7108
dadebdae
UD
71092011-12-24 Ulrich Drepper <drepper@gmail.com>
7110
d3761ebc 7111 [BZ #13533]
db6af3eb
UD
7112 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7113 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7114 transformations.
7115 * iconv/gconv_int.h: Likewise.
7116 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7117 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7118 from libc for GLIBC_2.16.
7119 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7120 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7121 * wcsmbs/uchar.h: Really define mbstate_t.
7122 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7123 * wcsmbs/c16rtomb.c: New file.
7124 * wcsmbs/mbrtoc16.c: New file.
7125 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7126 for C/POSIX locale.
7127 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7128 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7129
dadebdae
UD
7130 * wcsmbs/wchar.h: Add missing __restrict.
7131
67371b56
UD
71322011-12-23 Ulrich Drepper <drepper@gmail.com>
7133
74033a25
UD
7134 [BZ #13532]
7135 * time/Makefile (routines): Add timespec_get.
7136 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7137 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7138 timespec for ISO C11.
7139 * time/timespec_get.c: New file.
7140 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7141 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7142
380d7e87
UD
7143 [BZ #13531]
7144 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7145 * stdlib/stdlib.h: Declare aligned_alloc.
7146 * Versions.def: Add GLIBC_2.16 for libc.
7147 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7148
4e9e7a35
UD
7149 [BZ 13527]
7150 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7151 ISO C11.
7152
380d7e87 7153 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7154 code.
7155
03a71829
UD
7156 [BZ #13528]
7157 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7158
839e283e
UD
7159 [BZ #13529]
7160 * assert/assert.h (static_assert): Define.
7161
ce5294e2 7162 * version.h: Update for 2.16 development version.
90fa7312 7163
8d44e150 7164 [BZ #13526]
d7809905
UD
7165 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7166 _ISOC11_SOURCE.
7167
c0da14cd
UD
7168 * version.h (RELEASE): Bump for 2.15 release.
7169 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7170
530a3249
MP
7171 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7172 Patch by Marek Polacek <mpolacek@redhat.com>.
7173
67371b56
UD
7174 * bits/byteswap.h: Protect long long constants with __extension__.
7175 * sysdeps/i386/bits/byteswap.h: Likewise.
7176 * sysdeps/ia64/bits/byteswap.h: Likewise.
7177 * sysdeps/s390/bits/byteswap.h: Likewise.
7178 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7179
15db4de1
LD
71802011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7181
7182 [BZ #13540]
bbe315ea
LD
7183 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7184 destination buffer.
15db4de1
LD
7185 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7186
2b2596b1
MP
71872011-12-23 Marek Polacek <polacek@redhat.com>
7188
7189 * elf/dl-addr.c (determine_info): Add inline keyword.
7190 * elf/tst-auditmod4b.c (check_avx): Likewise.
7191 * elf/tst-auditmod6b.c (check_avx): Likewise.
7192 * elf/tst-auditmod6c.c (check_avx): Likewise.
7193 * elf/tst-auditmod7b.c (check_avx): Likewise.
7194
70c6c246
UD
71952011-12-23 Ulrich Drepper <drepper@gmail.com>
7196
7197 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7198 !__SSE_MATH__.
7199
c044cf14
LD
72002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7201
15db4de1 7202 [BZ #13540]
c044cf14
LD
7203 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7204 processing for last bytes.
7205
6b13d9d9
BH
72062011-08-06 Bruno Haible <bruno@clisp.org>
7207
d455f537
BH
7208 [BZ #13061]
7209 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7210 U+0385, not to U+1FEE.
7211
6b13d9d9
BH
7212 [BZ #13062]
7213 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7214 entry for U+00A5 U+0301.
7215
db910efd
UD
72162011-12-22 Ulrich Drepper <drepper@gmail.com>
7217
27deeafc
UD
7218 [BZ #13166]
7219 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7220 buffer for the output is too small.
7221
aed9d171
UD
7222 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7223 optimization.
7224
db910efd
UD
7225 [BZ #13185]
7226 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7227 SSE flags if possible.
7228
2bd779ae
LD
72292011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7230
e7f9dac3 7231 [BZ #13540]
2bd779ae
LD
7232 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7233 processing for last bytes.
7234
154bfc16
JM
72352011-12-22 Joseph Myers <joseph@codesourcery.com>
7236
7237 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7238 (syscall-list-default-options, syscall-list-default-condition)
7239 (syscall-list-includes): Define.
7240 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7241 list of ABIs and options and #if conditions for each ABI. Do not
7242 handle common syscalls between ABIs specially.
7243 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7244 Remove.
7245 (syscall-list-variants, syscall-list-32bit-options)
7246 (syscall-list-32bit-condition, syscall-list-64bit-options)
7247 (syscall-list-64bit-condition): Define.
7248 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7249 (syscall-list-variants, syscall-list-32bit-options)
7250 (syscall-list-32bit-condition, syscall-list-64bit-options)
7251 (syscall-list-64bit-condition): Define.
7252 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7253 Remove.
7254 (syscall-list-variants, syscall-list-32bit-options)
7255 (syscall-list-32bit-condition, syscall-list-64bit-options)
7256 (syscall-list-64bit-condition): Define.
7257 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7258 Remove.
7259 (syscall-list-variants, syscall-list-32bit-options)
7260 (syscall-list-32bit-condition, syscall-list-64bit-options)
7261 (syscall-list-64bit-condition): Define.
7262
21eaf3a5
UD
72632011-12-22 Ulrich Drepper <drepper@gmail.com>
7264
16c6f992
UD
7265 * locale/iso-639.def: Add brx entry.
7266
41043168
UD
7267 [BZ #13328]
7268 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7269 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7270
21eaf3a5
UD
7271 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7272 __feraiseexcept_renamed.
7273
e3a851a2
UD
72742011-12-21 Ulrich Drepper <drepper@gmail.com>
7275
4920765e
UD
7276 [BZ #13538]
7277 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7278 EPOLLET with unsigned values.
7279 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7281
e3a851a2
UD
7282 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7283 to large cancellation.
7284 * math/s_cacoshf.c: Likewise.
7285 * math/s_cacoshl.c: Likewise.
7286
b27e24b8
RK
72872011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7288
7289 [BZ #13305]
aebefeee 7290 [BZ #12786]
b27e24b8
RK
7291 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7292 * math/s_cacoshf.c: Likewise.
7293 * math/s_cacoshl.c: Likewise.
7294
ee190f67
UD
72952011-12-21 Ulrich Drepper <drepper@gmail.com>
7296
7297 [BZ #13439]
7298 * iconv/gconv.h: Define __GCONV_SWAP.
7299 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7300 * iconvdata/utf-16.c: Likewise.
7301 * iconvdata/utf-32.c: Likewise.
7302
707f25df
AS
73032011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7304
7305 [BZ #13524]
7306 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7307 numerator after shifting it by one limb.
7308
d2daaa1e
RÁE
73092011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7310
7311 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7312 under [__USE_EXTERN_INLINES].
7313
a4647e72
UD
73142011-12-17 Ulrich Drepper <drepper@gmail.com>
7315
7316 [BZ #13446]
7317 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7318
f0b264f1
AZ
73192011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7320
7321 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7322 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7323 optimized code.
7324 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7325 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7326 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7327 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7328 for strncasecmp/strncasecmp_l compilation.
7329 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7330 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7331
8ef4f244
MP
73322011-12-08 Marek Polacek <mpolacek@redhat.com>
7333
7334 [BZ #13484]
7335 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7336 of __asm__.
7337
97ac2654
UD
73382011-12-17 Ulrich Drepper <drepper@gmail.com>
7339
7340 [BZ #13506]
7341 * time/tzfile.c (__tzfile_read): Check values from file header.
7342
91d2a845
WS
73432011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7344
7345 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7346 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7347 * powerpc/powerpc32/dl-start.S: Likewise.
7348 * powerpc/powerpc32/elf/start.S: Likewise.
7349 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7350 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7351 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7352 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7353 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7354 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7355 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7356 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7357 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7358 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7359 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7360 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7361 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7362 * powerpc/powerpc32/memset.S: Likewise.
7363 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7364 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7365 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7366 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7367 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7368 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7369 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7370 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7371 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7372 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7373 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7374 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7375 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7376
a1267ba1
AZ
73772011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7378
7379 * math/libm-test.inc: Added more nearbyint tests.
7380 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7384
ad8ac1bd
RL
73852011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7386
7387 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7388 FD_CLOEXEC.
7389
1d3e4b61
UD
73902011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7391
7392 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7393 Add wcscpy-ssse3 wcscpy-c.
7394 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7395 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7396 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7397 * sysdeps/x86_64/wcschr.S: New file.
7398 * sysdeps/x86_64/wcsrchr.S: New file.
7399 * string/test-strcmp.c: Remove checking of wcscmp function for
7400 wrong alignments.
7401 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7402 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7403 wcsrchr-sse2 wcsrchr-c.
7404 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7405 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7406 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7407 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7408 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7409 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7410 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7411 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7412 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7413 * wcsmbc/wcschr.c (WCSCHR): New macro.
7414
5b330a2d
UD
74152011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7416
7417 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7418 * wcsmbs/test-wcsrchr.c: New file.
7419 * string/test-strrchr.c: Add wcsrchr support.
7420 (WIDE): New macro.
7421 * wcsmbs/test-wcscpy.c: New file.
7422 * string/test-strcpy.c: Add wcscpy support.
7423 (WIDE): New macro.
26428b7c 7424
f039c043
UD
74252011-12-10 Ulrich Drepper <drepper@gmail.com>
7426
7427 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7428 the inner loop.
7429
850fb039
AS
74302011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7431
7432 [BZ #13472]
7433 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7434
4efbd5cb
UD
74352011-12-04 Ulrich Drepper <drepper@gmail.com>
7436
52ff5dd0 7437 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7438 Minor optimizations.
52ff5dd0 7439
4efbd5cb
UD
7440 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7441 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7442 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7443
8a426e12
UD
74442011-12-03 Ulrich Drepper <drepper@gmail.com>
7445
aff2453d
UD
7446 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7447 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7448 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7449 for gcc to avoid warnings.
7450 * inet/Makefile (tests): Add tst-checks.
7451 * inet/tst-checks.c: New file.
7452
7453 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7454 warning.
7455
7456 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7457 __wmemcmp_sse2.
7458
7459 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7460 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7461
8a426e12
UD
7462 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7463
9bea3473
UD
74642011-12-02 Ulrich Drepper <drepper@gmail.com>
7465
3a965496
UD
7466 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7467 problem.
7468
9bea3473
UD
7469 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7470
f101631b
UD
74712011-11-29 Joseph Myers <joseph@codesourcery.com>
7472
7473 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7474 conditional on GCC version.
7475 (__arch_compare_and_exchange_val_8_acq)
7476 (__arch_compare_and_exchange_val_16_acq)
7477 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7478 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7479 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7480
a98275aa
UD
74812011-12-02 Joseph Myers <joseph@codesourcery.com>
7482
7483 * sysdeps/sh/backtrace.c: New file.
7484
d4cc29a2
AS
74852011-12-02 Andreas Schwab <schwab@redhat.com>
7486
7487 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7488 parenthesis.
7489
6257af2d
AS
74902011-12-01 Andreas Schwab <schwab@redhat.com>
7491
7492 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7493 falling back to utime.
7494
b5f44c1a
AS
74952011-11-30 Andreas Schwab <schwab@redhat.com>
7496
7497 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7498 expectations for float.
7499
f3a6cc0a
AS
75002011-11-29 Andreas Schwab <schwab@redhat.com>
7501
7502 * locale/weight.h (findidx): Add parameter len.
7503 * locale/weightwc.h (findidx): Likewise.
7504 * posix/fnmatch_loop.c (FCT): Adjust caller.
7505 * posix/regcomp.c (build_equiv_class): Likewise.
7506 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7507 * posix/regexec.c (check_node_accept_bytes): Likewise.
7508 * string/strcoll_l.c (STRCOLL): Likewise.
7509 * string/strxfrm_l.c (STRXFRM): Likewise.
7510
9d65ea3a
UD
75112011-11-17 Ulrich Drepper <drepper@gmail.com>
7512
7513 * Makefile.in: Remove CVSOPT handling.
7514 * configure.in: Remove use of AC_REVISION.
7515 * iconvdata/Makefile (distribute): No need to filter out CVS.
7516 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7517 handling.
7518
5583a086
AS
75192011-11-16 Andreas Schwab <schwab@redhat.com>
7520
7521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7522 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7523 [USE_AS_STRNCASECMP_L]: Likewise.
7524 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7525 NO_TLS_DIRECT_SEG_REFS.
7526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7527 Fix argument offsets for non-PIC.
7528 [USE_AS_STRNCASECMP_L]: Likewise.
7529 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7530 NO_TLS_DIRECT_SEG_REFS.
7531
d62a8200
UD
75322011-11-15 Ulrich Drepper <drepper@gmail.com>
7533
9d65ea3a 7534 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7535 O_CLOEXEC.
7536 * locale/loadlocale.c (_nl_load_locale): Likewise.
7537
09f93bd3
AS
75382011-11-15 Andreas Schwab <schwab@redhat.com>
7539
446514f9
AS
7540 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7541 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7542 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7543 (SYSCALL_GETTIME): Set errno on error.
7544
09f93bd3
AS
7545 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7546 count references to noai6ai_cached.
7547
312be3f9
UD
75482011-11-15 Ulrich Drepper <drepper@gmail.com>
7549
7550 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7551
7552 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7553 FD_CLOEXEC for /proc/self/maps.
7554
7555 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7556 FD_CLOEXEC for /proc/meminfo.
7557
7558 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7559 gai.conf.
7560
7561 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7562 FD_CLOEXEC for given file.
7563
7564 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7565
7566 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7567 FD_CLOEXEC for /etc/hosts.
7568 (_gethtent): Likewise.
7569
7570 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7571
7572 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7573 cancellation and set FD_CLOEXEC for /etc/netgroup.
7574
7575 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7576 reading /etc/publickey.
7577
7578 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7579 allow cancellation when reading /etc/group.
7580
7581 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7582 cancellation.
7583 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7584
7585 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7586 when using data file.
7587
7588 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7589
7590 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7591 (write_nis_obj): Use "c" and "e" in fopen.
7592
7593 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7594
7595 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7596
7597 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7598
7599 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7600
7601 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7602 locale.alias.
7603
7604 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7605
7606 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7607
7608 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7609
7610 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7611 file parsing and set FD_CLOEXEC.
7612
82af0fa8
UD
76132011-11-14 Ulrich Drepper <drepper@gmail.com>
7614
7615 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7616
a5fb313c
AS
76172011-11-14 Andreas Schwab <schwab@redhat.com>
7618
7619 * malloc/arena.c (arena_get2): Don't call reused_arena when
7620 _int_new_arena failed.
7621
6abf3465
UD
76222011-11-14 Ulrich Drepper <drepper@gmail.com>
7623
7624 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7625 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7626 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7627 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7628 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7629 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7630 to compile strcasecmp and strncasecmp.
7631 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7632 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7633
7634 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7635
76e3966e
UD
76362011-11-13 Ulrich Drepper <drepper@gmail.com>
7637
7638 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7639 locale-defines.sym to gen-as-const-headers.
7640 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7641 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7642 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7643 to compile strcasecmp and strncasecmp.
7644 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7645 strcasecmp_l and strncasecmp_l.
7646 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7647 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7648 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7649 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7650 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7651 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7652 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7653 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7654 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7655 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7656 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7657
ab26144e
UD
76582011-11-12 Ulrich Drepper <drepper@gmail.com>
7659
7edb22ef
UD
7660 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7661 result of SYSDEP_GETTIME_CPU to retval.
7662 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7663 parameter list to macro. Remove trailing semicolon. Adjust users.
7664
9694fc44
UD
7665 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7666 variable.
7667
8ad89ef8
UD
7668 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7669 mantissa words.
7670 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7671
0c822ef9
UD
7672 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7673 from unused variable.
7674
874e0564
UD
7675 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7676 DWARF definitions.
7677 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7678 for assembling.
7679
3a2edc79
UD
7680 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7681 over namespaces.
7682
f3c2577f
UD
7683 * sunrpc/rpc_prot.c (rejected): Fix case value.
7684
294ce126
UD
7685 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7686 unsigned long long int to avoid warnings in shift.
7687
5e2b63c6
UD
7688 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7689 of use of trans.
7690 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7691 variable tmp.
7692
e7f4b08e
UD
7693 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7694 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7695 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7696
ab26144e
UD
7697 * nis/nis_table.c (nis_list): Use variable of correct type for
7698 result of __follow_path call.
7699
8a6d5255
AZ
77002011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7701
7702 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7703 of math functions ceil, trunc, floor, round, and sqrt, when
7704 avaliable on the platform.
7705 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7706 name clash.
7707 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7708 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7709 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7710
aaddc98c
MP
77112011-10-30 Marek Polacek <mpolacek@redhat.com>
7712
7713 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7714 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7715
95b7042b
RM
77162011-11-11 Roland McGrath <roland@hack.frob.com>
7717
7718 * include/unistd.h: Fix __readlink return type.
7719 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7720
57769839
UD
77212011-11-11 Ulrich Drepper <drepper@gmail.com>
7722
7723 * stdlib/ucontext.h: Undo last change for makecontext.
7724
edc5984d
AS
77252011-11-11 Andreas Schwab <schwab@redhat.com>
7726
98591e58
AS
7727 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7728
edc5984d
AS
7729 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7730 * setjmp/setjmp.h: Mark functions as non-leaf.
7731 * setjmp/bits/setjmp2.h: Likewise.
7732 * stdlib/ucontext.h: Likewise.
7733
77cdc054
AS
77342011-11-10 Andreas Schwab <schwab@redhat.com>
7735
7736 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7737 (reused_arena): Don't check arena limit.
7738 (arena_get2): Atomically check arena limit.
7739
fe72eebd
UD
77402011-11-08 Ulrich Drepper <drepper@gmail.com>
7741
5f078c32
UD
7742 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7743 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7744
fe72eebd
UD
7745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7746 instructions.
7747
ae1bc2fa
AS
77482011-11-07 Andreas Schwab <schwab@redhat.com>
7749
7583a88d
AS
7750 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7751 handler when locking.
7752
ae1bc2fa
AS
7753 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7754 Fix size of allocated buffer.
7755
10fb0bfa
AS
77562011-11-04 Andreas Schwab <schwab@redhat.com>
7757
998832a4
AS
7758 [BZ #10103]
7759 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7760 declarations for long double functions.
7761 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7762
10fb0bfa
AS
7763 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7764
3d7ba52b
AS
77652011-11-03 Andreas Schwab <schwab@redhat.com>
7766
a9ae54a1
AS
7767 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7768 installed.
7769
3d7ba52b
AS
7770 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7771 is disabled.
7772
bc8db248
ST
77732011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7774
7775 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7776
45b96dd6
AS
77772011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7778
647776f6
AS
7779 * include/alloca.h (stackinfo_alloca_round): Define.
7780 (extend_alloca): Use it.
7781 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7782 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7783 here.
7784
d91a8b93
AS
7785 * scripts/check-local-headers.sh: Ignore libaudit.h.
7786
45b96dd6
AS
7787 * nscd/Makefile (extra-objs): Make recursively expanded.
7788
432d41ce
UD
77892011-11-01 Ulrich Drepper <drepper@gmail.com>
7790
34372fc6
UD
7791 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7793
fadb59f8
UD
7794 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7795 * posix/tst-rfc3484-2.c: Likewise.
7796 * posix/tst-rfc3484-3.c: Likewise.
7797
78239589
UD
7798 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7799 process_vm_writev.
7800 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7801 process_vm_writev.
7802 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7803 process_vm_writev from libc using GLIBC_2.15 version.
7804
432d41ce
UD
7805 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7806
02f9c6cf
PP
78072011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7808
7809 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7810 stack usage.
7811
3a2c0242
UD
78122011-10-31 Ulrich Drepper <drepper@gmail.com>
7813
f4ec4833
UD
7814 [BZ #13367]
7815 * nss/getent.c (initgroups_keys): Show error message in case no group
7816 names are given.
7817
3a2c0242
UD
7818 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7819 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7820 __bump_nl_timestamp.
7821 * nscd/connections (nscd_init): When host database is served open
7822 netlink socket and request notification about configuration changes.
7823 (main_loop_poll): Track netlink file descriptor and bump timestamp
7824 in case data becomes available.
7825 (main_loop_epoll): Likewise.
7826 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7827 (database_pers_head): Add extra_data fileds.
7828 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7829 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7830 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7831 Adjust caller.
7832 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7833 in6ai data, call __free_in6ai.
7834 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7835 Add -DHAVE_NETLINK.
7836 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7837 interface information. Reuse previous data if netlink timestamp
7838 is not changed.
7839 (__bump_nl_timestamp): New function.
7840 (__free_in6ai): New function.
7841
636064eb
UD
78422011-10-30 Ulrich Drepper <drepper@gmail.com>
7843
7844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7845 close_not_cancel_no_status here.
7846 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7847
9beb2334
UD
78482011-10-29 Ulrich Drepper <drepper@gmail.com>
7849
6ef76f3b
UD
7850 [BZ #13276]
7851 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7852 return value.
7853
0ffc4f3e 7854 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7855 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7856 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7857
cb95113e
UD
78582011-07-03 Andreas Jaeger <aj@suse.de>
7859
7860 [BZ #10709]
7861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7862 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7863 * math/libm-test.inc (sin_test): Add test case.
7864
a1b560ff
UD
78652011-10-29 Ulrich Drepper <drepper@gmail.com>
7866
c9aaface
UD
7867 [BZ #13337]
7868 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7869 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7870
d272e7f1
UD
7871 * elf/chroot_canon.c (chroot_canon): Cleanups.
7872
1bc33071
UD
7873 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7874
1760874d
TJ
7875 [BZ #13335]
7876 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7877 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7878
51d91b18
UD
7879 * string/test-strchr.c: Make usable for strchrnul testing.
7880 * string/test-strchrnul.c: New file.
7881 * string/Makefile (strop-tests): Add strchrnul.
7882
a1b560ff 7883 * po/it.po: Update from translation team.
b611fb81 7884 * po/es.po: Likewise.
a1b560ff 7885
a5b81e1f
UD
78862011-10-28 Ulrich Drepper <drepper@gmail.com>
7887
fd52bc6d
UD
7888 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7889 the three constants needed as parameters. Drop the others.
7890 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7891 __m128i_strloadu_tolower.
52e4b9eb
UD
7892 Create and initialize variable zero and use it in all the places
7893 where _mm_setzero_si128 was used.
fd52bc6d 7894
a5b81e1f
UD
7895 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7896 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7897 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7898 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7899 anymore.
7900 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7901 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7902 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7903 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7904 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7905 __mpranred, __mptan.
7906 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7907 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7908 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7909 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7910 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7911 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7912 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7913 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7914 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7915
b4343346
AS
79162011-10-28 Andreas Schwab <schwab@redhat.com>
7917
0c92d8a8
AS
7918 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7919 redefine if SHARED.
7920 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7921
b4343346
AS
7922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7923 wide char related routines to wcsmbs subdir.
7924
3871f58f
AS
79252011-10-27 Andreas Schwab <schwab@redhat.com>
7926
7927 [BZ #13344]
7928 * misc/sys/cdefs.h (__THROWNL): Define.
7929 * posix/unistd.h: Use __THREADNL instead of __THREAD
7930 for memory synchronization functions.
7931
94d44d9f
RM
79322011-10-26 Roland McGrath <roland@hack.frob.com>
7933
21b64b15 7934 [BZ #13349]
94d44d9f
RM
7935 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7936 doesn't exist.
7937 * manual/stdio.texi (Obstack Streams): Node removed.
7938
f6ce9294
AS
79392011-10-26 Andreas Schwab <schwab@redhat.com>
7940
80479147
AS
7941 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7942 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7943 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7944
f6ce9294
AS
7945 * math/math_private.h (math_force_eval): Allow non-addressable
7946 arguments.
7947 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7948
618280a1
UD
79492011-10-25 Ulrich Drepper <drepper@gmail.com>
7950
e0016b11
UD
7951 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7952 file is not needed.
7953
7954 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7957 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7958 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7959 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7961 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7962 Add AVX variants.
7963 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7964 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7965 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7966 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7967 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7968 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7969 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7970 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7971 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7972 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7973 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7974 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7976 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7977 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7978 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7979 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7980 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7981 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7982
7983 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7984 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7985
618280a1
UD
7986 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7987 place. Use VEX encoding when compiling for AVX.
7988
37822576
AS
79892011-10-25 Andreas Schwab <schwab@redhat.com>
7990
1f1e1947
AS
7991 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7992 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7993
37822576
AS
7994 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7995
31ea014d
UD
79962011-10-25 Ulrich Drepper <drepper@gmail.com>
7997
d7826aa1 7998 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7999 useless if() expression.
d7826aa1
UD
8000 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8010 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8011 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8012 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8013 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8014 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8015 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8016 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8017 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8018 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8019
31ea014d
UD
8020 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8021
16437fec
AS
80222011-10-25 Andreas Schwab <schwab@redhat.com>
8023
8024 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8025 condition.
8026 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8027
31d3cc00
UD
80282011-10-25 Ulrich Drepper <drepper@gmail.com>
8029
8030 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8031 .text section. Avoid duplicate constants.
8032 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8042 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8044 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8047 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8049 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8055 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8056 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8057 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8058 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8059 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8060 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8061 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8062 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8063 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8064 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8065 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8066 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8067 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8068 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8070 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8071 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8073 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8074 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8075 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8076 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8077
58985aa9
UD
80782011-10-24 Ulrich Drepper <drepper@gmail.com>
8079
202c9deb
UD
8080 * sysdeps/x86_64/dla.h: Move to ...
8081 * sysdeps/x86_64/fpu/dla.h: ...here.
8082 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8083 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8084
af968f62
UD
8085 * config.make.in: Add have-mfma4 entry.
8086 * configure.in: Substitute libc_cv_cc_fma4.
8087 * math/Makefile (dbl-only-routines): Add sincostab.
8088 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8089 Use __sincostab not sincos.
8090 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8091 name is a macro.
8092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8096 using __copysign.
8097 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8098 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8099 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8100 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8101 and __inv.
8102 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8103 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8104 __copysign.
8105 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8106 define aliases when function name is a macro.
8107 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8108 sysdeps/ieee754/dbl-64/sincos.tbl.
8109 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8110 fma4-enabled routines.
8111 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8112 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8113 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8114 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8115 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8116 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8117 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8118 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8119 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8120 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8121 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8122 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8123 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8124 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8126 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8127 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8128 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8129 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8131 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8132 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8133 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8134 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8135 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8136 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8138 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8139 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8140 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8141
58985aa9
UD
8142 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8143 rename.
8144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8152
a201fbcf
AS
81532011-10-24 Andreas Schwab <schwab@redhat.com>
8154
8155 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8156
fc2ee42a
LD
81572011-10-23 Ulrich Drepper <drepper@gmail.com>
8158
bb3129bd
UD
8159 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8160
0275fff8
UD
8161 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8162 prediction.
8163 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8164
2fa2ae85
UD
8165 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8166 Remove unused variable magic_bits.
8167 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8168
fc2ee42a
LD
8169 * string/strnlen.c: Define and use STRNLEN macro.
8170 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8171 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8173 * wcsmbs/wcslen.c: Define and use WCSLEN.
8174 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8175 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8176 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8177 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8178 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8179 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8180 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8181
ce7dd29f
LD
81822011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8183
8184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8185 strnlen-sse2-no-bsf.
8186 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8188 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8189 Add strnlen support.
8190 (USE_AS_STRNLEN): New macro.
8191 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8192 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8193 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8194 * sysdeps/x86_64/wcslen.S: New file.
8195
979c70a3
MZ
81962011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8197
8198 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8199 XMM-moves are used for copying on small sizes.
8200
2d09f82f
LD
82012011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8202
8203 * wcsmbs/Makefile (strop-tests): Add wcschr.
8204 * wcsmbs/test-wcschr.c: New file.
8205 * string/test-strchr.c: Update.
8206 Add wcschr support.
8207 (WIDE): New macro.
8208
619fccca
LD
82092011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8210
2d09f82f 8211 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8212 * wcsmbs/test-wcslen.c: New file.
8213 * string/test-strlen.c: Update.
8214 Add wcslen support.
8215 (WIDE): New macro.
8216
09f699ea
UD
82172011-10-23 Ulrich Drepper <drepper@gmail.com>
8218
8219 * po/it.po: Update from translation team.
8220
95584d3b
LD
82212011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8222
8223 * sysdeps/x86_64/wcscmp.S: Update.
8224 Fix wrong comparison semantics.
8225 wcscmp shall use signed comparison not unsigned.
8226 Don't use substraction to avoid overflow bug.
8227 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8228 * wcsmbc/wcscmp.c: Likewise.
8229 * string/test-strcmp.c: Likewise.
8230 Add new tests to check cases with negative values.
8231
c8b3296b
UD
82322011-10-23 Ulrich Drepper <drepper@gmail.com>
8233
8234 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8235 * sysdeps/x86_64/dla.h: ...here. New file.
8236 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8245
246ad57a
AS
82462011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8247
8248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8249 __ynl_finite aliases.
8250
a1a87169
UD
82512011-10-22 Ulrich Drepper <drepper@gmail.com>
8252
0d355eb7
UD
8253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8254
a1a87169
UD
8255 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8256 define DLA_FMA.
8257 [DLA_FMA] (EMULV): Use DLA_FMA.
8258 [DLA_FMA] (MUL12): Use EMULV.
8259 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8260 that are not needed.
8261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8268
ee2aafe0
AS
82692011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8270
8271 * math/s_nan.c: Undef __nan.
8272 * math/s_nanf.c: Undef __nanf.
8273 * math/s_nanl.c: Undef __nanl.
8274 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8275 "math_private.h".
8276
bc62c2fb
UD
82772011-10-22 Ulrich Drepper <drepper@gmail.com>
8278
77425c63
UD
8279 * math/s_catan.c: Add branch predictions.
8280 * math/s_catanf.c: Likewise.
8281 * math/s_catanh.c: Likewise.
8282 * math/s_catanhf.c: Likewise.
8283 * math/s_catanhl.c: Likewise.
8284 * math/s_catanl.c: Likewise.
8285 * math/s_cexp.c: Likewise.
8286 * math/s_cexpf.c: Likewise.
8287 * math/s_cexpl.c: Likewise.
8288 * math/s_clog.c: Likewise.
8289 * math/s_clog10.c: Likewise.
8290 * math/s_clog10f.c: Likewise.
8291 * math/s_clog10l.c: Likewise.
8292 * math/s_clogf.c: Likewise.
8293 * math/s_clogl.c: Likewise.
8294 * math/s_csqrt.c: Likewise.
8295 * math/s_csqrtf.c: Likewise.
8296 * math/s_csqrtl.c: Likewise.
8297 * math/s_ctanf.c: Likewise.
8298 * math/s_ctanh.c: Likewise.
8299 * math/s_ctanhf.c: Likewise.
8300 * math/s_ctanhl.c: Likewise.
8301 * math/s_ctanl.c: Likewise.
8302
bc62c2fb
UD
8303 * math/math_private.h: Define __nan, __nanf, __nanl.
8304 * math/s_cacosh.c: Include <math_private.h>.
8305 * math/s_cacoshl.c: Likewise.
8306 * math/s_casinh.c: Likewise.
8307 * math/s_casinhf.c: Likewise.
8308 * math/s_casinhl.c: Likewise.
8309 * math/s_ccos.c: Rely entire on ccosh.
8310 * math/s_ccosf.c: Rely entire on ccoshf.
8311 * math/s_ccosl.c: Rely entirely on ccoshl.
8312 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8313 Remove tests for FE_INVALID.
8314 * math/s_ccoshf.c: Likewise.
8315 * math/s_ccoshl.c: Likewise.
8316 * math/s_csin.c: Likewise.
8317 * math/s_csinf.c: Likewise.
8318 * math/s_csinh.c Likewise.
8319 * math/s_csinhf.c: Likewise.
8320 * math/s_csinhl.c: Likewise.
8321 * math/s_csinl.c: Likewise.
8322 * math/s_ctan.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8324 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8325 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8326
8ec250a4
UD
83272011-10-21 Ulrich Drepper <drepper@gmail.com>
8328
c196fed8
UD
8329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8330 compilation problems.
8331
8ec250a4
UD
8332 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8333 __builtin_expect.
8334
8d4f46c6
UD
83352011-10-20 Ulrich Drepper <drepper@gmail.com>
8336
ed72b654
UD
8337 * sysdeps/i386/configure.in: Test for -mfma4 option.
8338 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8339 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8340 COMMON_CPUID_INDEX_80000001.
8341 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8342 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8343 use it if FMA3 is not supported.
8344 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8345
8d4f46c6
UD
8346 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8347 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8348
d45c60c2
AS
83492011-10-20 Andreas Schwab <schwab@redhat.com>
8350
8351 [BZ #12892]
8352 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8353 it would create a cycle with a link time dependency.
8354
d9a4d2ab
UD
83552011-10-19 Ulrich Drepper <drepper@gmail.com>
8356
855d1560
UD
8357 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8358 instruction.
8359 * string/Makefile (strop-tests): Add rawmemchr.
8360 * string/test-rawmemchr.c: New file.
8361
d9a4d2ab
UD
8362 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8363 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8364 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8365 when compiling str{,n}casecmp and when AVX is available. Hook up
8366 new optimized code in initializers.
8367
8f3b1ffe
AS
83682011-10-19 Andreas Schwab <schwab@redhat.com>
8369
8370 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8371 __feraiseexcept instead of feraiseexcept.
8372
d38f1dba
UD
83732011-10-18 Ulrich Drepper <drepper@gmail.com>
8374
d9a8d0ab
UD
8375 * math/math_private.h: Define defaults for libc_fetestexcept and
8376 libc_feupdateenv.
8377 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8378 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8379 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8380 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8381 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8382 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8383 libc_fetestexcept and libc_feupdateenv.
8384
4855e3dd
UD
8385 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8386 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8387 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8388 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8389 libc_feholdexcept_setround.
8390
581d30e3
UD
8391 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8392 Add s_nearbyint-c and s_nearbyintf-c.
8393 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8394 nearbyintf inlines.
8395 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8396 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8397 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8398 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8399
d38f1dba
UD
8400 * math/math_private.h: Define defaults for libc_fegetround,
8401 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8402 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8403 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8405 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8406 standard functions.
8407 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8408 Remove comments and hacks for old compiler versions.
8409 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8410 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8411 libc_feholdexceptl.
8412
caa6c9d8
AS
84132011-10-18 Andreas Schwab <schwab@redhat.com>
8414
8415 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8416 (__feraiseexcept_renamed): Add __NTH.
8417 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8418 namespace violations.
8419
97c066e6
UD
84202011-10-17 Ulrich Drepper <drepper@gmail.com>
8421
99ce7b04
UD
8422 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8423
1004d182
UD
8424 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8425
228a984d
UD
8426 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8427 recently added interfaces.
8428 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8429
c8553a6a
UD
8430 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8431 about macro parameter expansion.
8432
ed22dcf6
UD
8433 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8434 __NO_MATH_INLINES is defined. Cleanups.
8435
8436 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8437 and __floorf is target has SSE4.1.
8438 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8439 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8440 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8441 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8442
b171c137
UD
8443 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8444 name.
8445 (floorf): Likewise.
8446
97c066e6
UD
8447 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8448
629f62ef
AS
84492011-10-17 Andreas Schwab <schwab@redhat.com>
8450
49a43d80
AS
8451 * misc/sys/cdefs.h: Fix last change.
8452
629f62ef
AS
8453 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8454 database lookup.
8455
e453f6cd
UD
84562011-10-16 Ulrich Drepper <drepper@gmail.com>
8457
aa78043a
UD
8458 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8459
ad0f5cad
UD
8460 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8461 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8462 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8463 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8464 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8465 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8466 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8467 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8468 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8469 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8470 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8471 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8472 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8473 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8474 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8475 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8476 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8477 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8478 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8479 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8480 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8481 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8482
8483 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8484 ceil, ceilf, floor, floorf.
8485
8486 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8487 Perform IRELATIVE relocations last.
8488
e453f6cd
UD
8489 * elf/do-rel.h: Add another parameter nrelative, replacing the
8490 local variable with the same name. Change name of the function
8491 to end in Rel or Rela (uppercase).
8492 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8493 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8494 elf_dynamic_do_##reloc function.
8495
fd5bdc09
UD
84962011-10-15 Ulrich Drepper <drepper@gmail.com>
8497
79b195b5
UD
8498 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8499 is sufficient, at least on modern CPUs.
8500
d4a28569
UD
8501 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8502
b61099b5
UD
8503 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8504 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8505
bcf01e6d
UD
8506 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8507 __expl_finite.
8508 * math/bits/math-finite.h: Add entries for exp.
8509 * math/e_expl.c: Add __*_finite alias.
8510 * sysdeps/i386/fpu/e_exp.S: Likewise.
8511 * sysdeps/i386/fpu/e_expf.S: Likewise.
8512 * sysdeps/i386/fpu/e_expl.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8514 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8518 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8519 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8520
ba1a0d59
UD
8521 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8522 is sufficient, at least on modern CPUs.
8523
fd5bdc09
UD
8524 * ctype/ctype-info.c (__ctype_init): Define.
8525 * include/ctype.h (__ctype_init): Declare.
8526 (__ctype_b_loc): The variable is always initialized.
8527 (__ctype_toupper_loc): Likewise.
8528 (__ctype_tolower_loc): Likewise.
8529 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8530 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8531
7872cfb0
AS
85322011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8533
b468825a
AS
8534 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8535
7872cfb0
AS
8536 * configure.in: Also look in $cxxmachine/include for C++ system
8537 headers.
8538
be13f7bf
LD
85392011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8540
8541 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8542 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8543 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8544 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8545 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8546 (USE_AS_WMEMCMP): New macro.
8547 Fixing indents.
8548 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8549 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8550 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8551 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8553 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8554 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8555 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8556 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8557 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8558 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8559 (USE_AS_WMEMCMP): New macro.
8560 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8561 * sysdeps/string/test-memcmp.c: Update.
8562 Fix simple_wmemcmp.
8563 Add new tests.
8564 * wcsmbs/wmemcmp.c: Update.
8565 (WMEMCMP): New macro.
8566 Fix overflow bug.
8567
556a2007
AJ
85682011-10-12 Andreas Jaeger <aj@suse.de>
8569
8570 [BZ #13268]
8571 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8572
538faaa7
UD
85732011-10-15 Ulrich Drepper <drepper@gmail.com>
8574
ab6737ff
UD
8575 * libio/iofwide.c (do_length): Avoid warning.
8576
538faaa7
UD
8577 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8578
396a21b1
UD
85792011-10-14 Ulrich Drepper <drepper@gmail.com>
8580
cdf2901f
UD
8581 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8582
38ad40ce
UD
8583 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8584 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8585 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8586 * sysdeps/i386/i686/fpu/e_log.S: New file.
8587 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8588 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8589
396a21b1
UD
8590 * ctype/ctype.h: Add support for inlined isXXX functions when
8591 compiling C++ code.
8592
6b1f68c9
AS
85932011-10-14 Andreas Schwab <schwab@redhat.com>
8594
349290c0
AS
8595 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8596
6b1f68c9
AS
8597 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8598
f2282d42
RM
85992011-10-13 Roland McGrath <roland@hack.frob.com>
8600
8601 [BZ #13291]
8602 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8603
5298ffa8
AS
86042011-10-13 Andreas Schwab <schwab@redhat.com>
8605
714fad23
AS
8606 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8607 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8608 feraiseexcept.
8609
81dcc7fb
AS
8610 * sysdeps/x86_64/memrchr.S: Check for zero size.
8611
5298ffa8
AS
8612 * string/stratcliff.c: Add memrchr tests.
8613
951fbcec
LD
86142011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8615
8616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8617 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8618 rawmemchr-sse2 rawmemchr-sse2-bsf.
8619 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8620 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8621 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8622 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8623 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8624 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8625 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8626 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8627 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8628 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8629 * string/memrchr.c (MEMRCHR): New macro.
8630
0ac5ae23
UD
86312011-10-12 Ulrich Drepper <drepper@gmail.com>
8632
8633 Add integration with gcc's -ffinite-math-only and optimize wrapper
8634 functions in libm.
8635 * Versions.def: Define GLIBC_2.15 version for libm.
8636 * math/Makefile (headers): Add bits/math-finite.h.
8637 * math/bits/math-finite.h: New file.
8638 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8639 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8640 * math/e_acoshl.c: Add __*_finite alias.
8641 * math/e_acosl.c: Likewise.
8642 * math/e_asinl.c: Likewise.
8643 * math/e_atan2l.c: Likewise.
8644 * math/e_atanhl.c: Likewise.
8645 * math/e_coshl.c: Likewise.
8646 * math/e_exp10.c: Likewise.
8647 * math/e_exp10f.c: Likewise.
8648 * math/e_exp10l.c: Likewise.
8649 * math/e_exp2l.c: Likewise.
8650 * math/e_fmodl.c: Likewise.
8651 * math/e_gammal_r.c: Likewise.
8652 * math/e_hypotl.c: Likewise.
8653 * math/e_j0l.c: Likewise.
8654 * math/e_j1l.c: Likewise.
8655 * math/e_jnl.c: Likewise.
8656 * math/e_lgammal_r.c: Likewise.
8657 * math/e_log10l.c: Likewise.
8658 * math/e_log2l.c: Likewise.
8659 * math/e_logl.c: Likewise.
8660 * math/e_powl.c: Likewise.
8661 * math/e_sinhl.c: Likewise.
8662 * math/e_sqrtl.c: Likewise.
8663 * math/e_scalb.c: Completely rewritten and optimized.
8664 * math/e_scalbf.c: Likewise.
8665 * math/e_scalbl.c: Likewise.
8666 * math/w_acos.c: Likewise.
8667 * math/w_acosf.c: Likewise.
8668 * math/w_acosl.c: Likewise.
8669 * math/w_acosh.c: Likewise.
8670 * math/w_acoshf.c: Likewise.
8671 * math/w_acoshl.c: Likewise.
8672 * math/w_asin.c: Likewise.
8673 * math/w_asinf.c: Likewise.
8674 * math/w_asinl.c: Likewise.
8675 * math/w_atan2.c: Likewise.
8676 * math/w_atan2f.c: Likewise.
8677 * math/w_atan2l.c: Likewise.
8678 * math/w_atanh.c: Likewise.
8679 * math/w_atanhf.c: Likewise.
8680 * math/w_atanhl.c: Likewise.
8681 * math/w_exp10.c: Likewise.
8682 * math/w_exp10f.c: Likewise.
8683 * math/w_exp10l.c: Likewise.
8684 * math/w_fmod.c: Likewise.
8685 * math/w_fmodf.c: Likewise.
8686 * math/w_fmodl.c: Likewise.
8687 * math/w_j0.c: Likewise.
8688 * math/w_j0f.c: Likewise.
8689 * math/w_j0l.c: Likewise.
8690 * math/w_j1.c: Likewise.
8691 * math/w_j1f.c: Likewise.
8692 * math/w_j1l.c: Likewise.
8693 * math/w_jn.c: Likewise.
8694 * math/w_jnf.c: Likewise.
8695 * math/w_log.c: Likewise.
8696 * math/w_logf.c: Likewise.
8697 * math/w_logl.c: Likewise.
8698 * math/w_log10.c: Likewise.
8699 * math/w_log10f.c: Likewise.
8700 * math/w_log10l.c: Likewise.
8701 * math/w_log2.c: Likewise.
8702 * math/w_log2f.c: Likewise.
8703 * math/w_log2l.c: Likewise.
8704 * math/w_pow.c: Likewise.
8705 * math/w_powf.c: Likewise.
8706 * math/w_powl.c: Likewise.
8707 * math/w_remainder.c: Likewise.
8708 * math/w_remainderf.c: Likewise.
8709 * math/w_remainderl.c: Likewise.
8710 * math/w_scalb.c: Likewise.
8711 * math/w_scalbf.c: Likewise.
8712 * math/w_scalbl.c: Likewise.
8713 * math/w_sqrt.c: Likewise.
8714 * math/w_sqrtf.c: Likewise.
8715 * math/w_sqrtl.c: Likewise.
8716 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8717 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8718 used.
8719 * math/math_private.h: Declare __kernel_standard_f.
8720 * math/w_cosh.c: Remove cruft and optimize a bit.
8721 * math/w_coshf.c: Likewise.
8722 * math/w_coshl.c: Likewise.
8723 * math/w_exp2.c: Likewise.
8724 * math/w_exp2f.c: Likewise.
8725 * math/w_exp2l.c: Likewise.
8726 * math/w_hypot.c: Likewise.
8727 * math/w_hypotf.c: Likewise.
8728 * math/w_hypotl.c: Likewise.
8729 * math/w_lgamma.c: Likewise.
8730 * math/w_lgamma_r.c: Likewise.
8731 * math/w_lgammaf.c: Likewise.
8732 * math/w_lgammaf_r.c: Likewise.
8733 * math/w_lgammal.c: Likewise.
8734 * math/w_lgammal_r.c: Likewise.
8735 * math/w_sinh.c: Likewise.
8736 * math/w_sinhf.c: Likewise.
8737 * math/w_sinhl.c: Likewise.
8738 * math/w_tgamma.c: Likewise.
8739 * math/w_tgammaf.c: Likewise.
8740 * math/w_tgammal.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8742 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8743 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8744 Minor optimizations. Pretty printing. Remove cruft.
8745 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8746 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8748 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8749 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8750 * sysdeps/i386/fpu/e_asin.S: Likewise.
8751 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8752 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8753 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8754 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8755 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8756 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8757 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8758 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8759 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8760 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8761 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8762 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8763 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8764 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8765 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8766 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8767 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8768 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8769 * sysdeps/i386/fpu/e_log.S: Likewise.
8770 * sysdeps/i386/fpu/e_log10.S: Likewise.
8771 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8772 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8773 * sysdeps/i386/fpu/e_log2.S: Likewise.
8774 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8775 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8776 * sysdeps/i386/fpu/e_logf.S: Likewise.
8777 * sysdeps/i386/fpu/e_logl.S: Likewise.
8778 * sysdeps/i386/fpu/e_pow.S: Likewise.
8779 * sysdeps/i386/fpu/e_powf.S: Likewise.
8780 * sysdeps/i386/fpu/e_powl.S: Likewise.
8781 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8782 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8783 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8784 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8785 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8786 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8787 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8788 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8789 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8811 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8812 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8813 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8814 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8815 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8816 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8817 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8818 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8819 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8820 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8821 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8822 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8823 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8824 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8825 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8826 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8827 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8828 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8829 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8830 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8831 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8840 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8842 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8843 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8870 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8873 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8876 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8878 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8881 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8882 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8883 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8884 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8885 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8886 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8887 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8888 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8889 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8890 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8891 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8892 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8893 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8894 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8896 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8897 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8898 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8899 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8900 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8901 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8902 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8903 (__isnanf): Likewise.
8904 (__isinf_ns): Likewise.
8905 (__isinf_nsf): Likewise.
8906 (__finite): Likewise.
8907 (__finitef): Likewise.
8908 (__ieee754_sqrt): Define as macro.
8909 (__ieee754_sqrtf): Define as macro.
8910 (__ieee754_sqrtl): Define as macro.
8911 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8912 inlined copy.
8913 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8914 __FINITE_MATH_ONLY__ consistent.
8915 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8916
12cc2fcd
AS
89172011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8918
a843a204
AS
8919 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8920 of rawmemchr.
8921
12cc2fcd
AS
8922 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8923
c853acd5
UD
89242011-10-09 Ulrich Drepper <drepper@gmail.com>
8925
8926 * po/ja.po: Update from translation team.
8927
c658d255
RM
89282011-10-08 Roland McGrath <roland@hack.frob.com>
8929
110946e4
RM
8930 * locale/programs/locarchive.c (prepare_address_space): New function.
8931 (create_archive, enlarge_archive, open_archive): Use it.
8932
50604220
RM
8933 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8934 inside [SHARED], where it is used.
8935
c658d255
RM
8936 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8937
8938 * nss/getent.c (netgroup_keys): Remove unused variable.
8939 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8940
6a621eb7
UD
89412011-10-08 Ulrich Drepper <drepper@gmail.com>
8942
7edb55ce
UD
8943 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8944 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8946 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8947 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8948 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8949 * math/Makefile (libm-calls): Add s_isinf_ns.
8950 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8951 * math/multc3.c: Likewise.
8952 * math/s_casin.c: Likewise.
8953 * math/s_casinf.c: Likewise.
8954 * math/s_casinl.c: Likewise.
8955 * math/s_ccos.c: Likewise.
8956 * math/s_ccosf.c: Likewise.
8957 * math/s_ccosl.c: Likewise.
8958 * math/s_ctan.c: Likewise.
8959 * math/s_ctanf.c: Likewise.
8960 * math/s_ctanh.c: Likewise.
8961 * math/s_ctanhf.c: Likewise.
8962 * math/s_ctanhl.c: Likewise.
8963 * math/s_ctanl.c: Likewise.
8964 * math/w_fmod.c: Likewise.
8965 * math/w_fmodf.c: Likewise.
8966 * math/w_fmodl.c: Likewise.
8967 * math/w_remainder.c: Likewise.
8968 * math/w_remainderf.c: Likewise.
8969 * math/w_remainderl.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8971 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8972 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8974 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8975 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8976 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8977 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8978
187da0ae
UD
8979 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8980 of the number.
8981 * stdio-common/printf_fphex.c: Likewise.
8982 * stdio-common/printf_size.c: Likewise.
8983
9277c064
UD
8984 * math/e_exp10.c: Include math_private.h using <...> not "...".
8985 * math/e_exp10f.c: Likewise.
8986 * math/e_exp10l.c: Likewise.
8987 * math/e_exp2l.c: Likewise.
8988 * math/e_j0l.c: Likewise.
8989 * math/e_j1l.c: Likewise.
8990 * math/e_jnl.c: Likewise.
8991 * math/e_lgammal_r.c: Likewise.
8992 * math/e_rem_pio2l.c: Likewise.
8993 * math/e_scalb.c: Likewise.
8994 * math/e_scalbf.c: Likewise.
8995 * math/e_scalbl.c: Likewise.
8996 * math/k_cosl.c: Likewise.
8997 * math/k_sinl.c: Likewise.
8998 * math/k_tanl.c: Likewise.
8999 * math/s_cacoshf.c: Likewise.
9000 * math/s_catan.c: Likewise.
9001 * math/s_catanf.c: Likewise.
9002 * math/s_catanh.c: Likewise.
9003 * math/s_catanhf.c: Likewise.
9004 * math/s_catanhl.c: Likewise.
9005 * math/s_catanl.c: Likewise.
9006 * math/s_ccosh.c: Likewise.
9007 * math/s_ccoshf.c: Likewise.
9008 * math/s_ccoshl.c: Likewise.
9009 * math/s_cexp.c: Likewise.
9010 * math/s_cexpf.c: Likewise.
9011 * math/s_cexpl.c: Likewise.
9012 * math/s_clog.c: Likewise.
9013 * math/s_clog10.c: Likewise.
9014 * math/s_clog10f.c: Likewise.
9015 * math/s_clog10l.c: Likewise.
9016 * math/s_clogf.c: Likewise.
9017 * math/s_clogl.c: Likewise.
9018 * math/s_csin.c: Likewise.
9019 * math/s_csinf.c: Likewise.
9020 * math/s_csinh.c: Likewise.
9021 * math/s_csinhf.c: Likewise.
9022 * math/s_csinhl.c: Likewise.
9023 * math/s_csinl.c: Likewise.
9024 * math/s_csqrt.c: Likewise.
9025 * math/s_csqrtf.c: Likewise.
9026 * math/s_csqrtl.c: Likewise.
9027 * math/s_ctan.c: Likewise.
9028 * math/s_ctanf.c: Likewise.
9029 * math/s_ctanh.c: Likewise.
9030 * math/s_ctanhf.c: Likewise.
9031 * math/s_ctanhl.c: Likewise.
9032 * math/s_ctanl.c: Likewise.
9033 * math/s_ldexp.c: Likewise.
9034 * math/s_ldexpf.c: Likewise.
9035 * math/s_ldexpl.c: Likewise.
9036 * math/s_significand.c: Likewise.
9037 * math/s_significandf.c: Likewise.
9038 * math/s_significandl.c: Likewise.
9039 * math/w_acos.c: Likewise.
9040 * math/w_acosf.c: Likewise.
9041 * math/w_acosh.c: Likewise.
9042 * math/w_acoshf.c: Likewise.
9043 * math/w_acoshl.c: Likewise.
9044 * math/w_acosl.c: Likewise.
9045 * math/w_asin.c: Likewise.
9046 * math/w_asinf.c: Likewise.
9047 * math/w_asinl.c: Likewise.
9048 * math/w_atan2.c: Likewise.
9049 * math/w_atan2f.c: Likewise.
9050 * math/w_atan2l.c: Likewise.
9051 * math/w_atanh.c: Likewise.
9052 * math/w_atanhf.c: Likewise.
9053 * math/w_atanhl.c: Likewise.
9054 * math/w_cosh.c: Likewise.
9055 * math/w_coshf.c: Likewise.
9056 * math/w_coshl.c: Likewise.
9057 * math/w_dremf.c: Likewise.
9058 * math/w_exp10.c: Likewise.
9059 * math/w_exp10f.c: Likewise.
9060 * math/w_exp10l.c: Likewise.
9061 * math/w_exp2.c: Likewise.
9062 * math/w_exp2f.c: Likewise.
9063 * math/w_fmod.c: Likewise.
9064 * math/w_fmodf.c: Likewise.
9065 * math/w_fmodl.c: Likewise.
9066 * math/w_hypot.c: Likewise.
9067 * math/w_hypotf.c: Likewise.
9068 * math/w_hypotl.c: Likewise.
9069 * math/w_j0.c: Likewise.
9070 * math/w_j0f.c: Likewise.
9071 * math/w_j0l.c: Likewise.
9072 * math/w_j1.c: Likewise.
9073 * math/w_j1f.c: Likewise.
9074 * math/w_j1l.c: Likewise.
9075 * math/w_jn.c: Likewise.
9076 * math/w_jnf.c: Likewise.
9077 * math/w_jnl.c: Likewise.
9078 * math/w_lgamma.c: Likewise.
9079 * math/w_lgamma_r.c: Likewise.
9080 * math/w_lgammaf.c: Likewise.
9081 * math/w_lgammaf_r.c: Likewise.
9082 * math/w_lgammal.c: Likewise.
9083 * math/w_lgammal_r.c: Likewise.
9084 * math/w_log.c: Likewise.
9085 * math/w_log10.c: Likewise.
9086 * math/w_log10f.c: Likewise.
9087 * math/w_log10l.c: Likewise.
9088 * math/w_log2.c: Likewise.
9089 * math/w_log2f.c: Likewise.
9090 * math/w_log2l.c: Likewise.
9091 * math/w_logf.c: Likewise.
9092 * math/w_logl.c: Likewise.
9093 * math/w_pow.c: Likewise.
9094 * math/w_powf.c: Likewise.
9095 * math/w_powl.c: Likewise.
9096 * math/w_remainder.c: Likewise.
9097 * math/w_remainderf.c: Likewise.
9098 * math/w_remainderl.c: Likewise.
9099 * math/w_scalb.c: Likewise.
9100 * math/w_scalbf.c: Likewise.
9101 * math/w_scalbl.c: Likewise.
9102 * math/w_sinh.c: Likewise.
9103 * math/w_sinhf.c: Likewise.
9104 * math/w_sinhl.c: Likewise.
9105 * math/w_sqrt.c: Likewise.
9106 * math/w_sqrtf.c: Likewise.
9107 * math/w_sqrtl.c: Likewise.
9108 * math/w_tgamma.c: Likewise.
9109 * math/w_tgammaf.c: Likewise.
9110 * math/w_tgammal.c: Likewise.
9111
6a621eb7
UD
9112 * po/ja.po: Update from translation team.
9113
bf582445
AJ
91142011-09-29 Andreas Jaeger <aj@suse.de>
9115
f9efbf3a
AJ
9116 [BZ #13179]
9117 * sunrpc/netname.c (netname2host): Fix logic.
9118
bf582445
AJ
9119 [BZ #6779]
9120 [BZ #6783]
9121 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9122 correctly.
9123 * math/w_remainder.c (__remainder): Likewise.
9124 * math/w_remainderf.c (__remainderf): Likewise.
9125 * math/libm-test.inc (remainder_test): Add test cases.
9126
48693bea
AK
91272011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9128
9129 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9130 sdiv_qrnnd.
9131
42622229
LD
91322011-10-07 Ulrich Drepper <drepper@gmail.com>
9133
9134 * string/test-memcmp.c: Avoid unncessary #defines.
9135 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9136
093ecf92
LD
91372011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9138
9139 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9140 Use new sse2 version for core i3 - i7 as it's faster
9141 than sse42 version.
9142 (bit_Prefer_PMINUB_for_stringop): New.
9143 * sysdeps/x86_64/rawmemchr.S: Update.
9144 Replace with faster SSE2 version.
9145 * sysdeps/x86_64/memrchr.S: New file.
9146 * sysdeps/x86_64/memchr.S: Update.
9147 Replace with faster SSE2 version.
9148
fde56e5c
MP
91492011-09-12 Marek Polacek <mpolacek@redhat.com>
9150
9151 * elf/dl-load.c (lose): Add cast to avoid warning.
9152
21fd49a9
UD
91532011-10-07 Ulrich Drepper <drepper@gmail.com>
9154
5a06e643
UD
9155 * po/ca.po: Update from translation team.
9156
684ae515
UD
9157 * inet/getnetgrent_r.c: Hook up nscd.
9158 * nscd/Makefile (routines): Add nscd_netgroup.
9159 (nscd-modules): Add netgroupcache.
9160 (CFLAGS-netgroupcache.c): Define.
9161 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9162 (cache_search): Add const to second parameter.
9163 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9164 INNETGR.
9165 (dbs): Add netgrdb entry.
9166 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9167 (verify_persistent_db): Handle netgrdb.
9168 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9169 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9170 GETFDNETGR.
9171 (netgroup_response_header): Define.
9172 (innetgroup_response_header): Define.
9173 (datahead): Add netgroup_response_header and innetgroup_response_header
9174 elements.
9175 * nscd/nscd.conf: Add entries for netgroup cache.
9176 * nscd/nscd.h (dbtype): Add netgrdb.
9177 (_PATH_NSCD_NETGROUP_DB): Define.
9178 (netgroup_iov_disabled): Declare.
9179 (xmalloc, xcalloc, xrealloc): Move declarations here.
9180 (cache_search): Adjust prototype.
9181 Add netgroup-related prototypes.
9182 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9183 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9184 (__nscd_innetgr): Declare.
9185 * nscd/selinux.c (perms): Use access_vector_t as element type and
9186 add netgroup-related initializers.
9187 * nscd/netgroupcache.c: New file.
9188 * nscd/nscd_netgroup.c: New file.
9189 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9190 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9191 For four parameters use innetgr.
9192 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9193 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9194 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9195 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9196
21fd49a9
UD
9197 * nscd/connections.c (register_traced_file): Don't register file
9198 for disabled databases.
9199
054c0457
UD
92002011-10-06 Ulrich Drepper <drepper@gmail.com>
9201
32b63198
UD
9202 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9203
054c0457
UD
9204 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9205 from tree and freeing node.
9206
64031225
JO
92072011-09-25 Jiri Olsa <jolsa@redhat.com>
9208
9209 * nss/nsswitch.c (__nss_database_lookup): Handle
9210 nss_parse_service_list out of memory case.
9211
0490345c
JO
92122011-09-15 Jiri Olsa <jolsa@redhat.com>
9213
9214 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9215 out of memory case.
9216
3a62d00d
AS
92172011-10-04 Andreas Schwab <schwab@redhat.com>
9218
9219 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9220 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9221 pass it down.
9222 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9223 elf_machine_rela, elf_machine_lazy_rel.
9224 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9225 (ELF_DYNAMIC_DO_REL): Likewise.
9226 (ELF_DYNAMIC_DO_RELA): Likewise.
9227 (ELF_DYNAMIC_RELOCATE): Likewise.
9228 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9229 to ELF_DYNAMIC_DO_REL.
9230 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9231 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9232 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9233 elf_machine_rela.
9234 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9235 skip_ifunc, don't call ifunc function if non-zero.
9236 (elf_machine_rela): Likewise.
9237 (elf_machine_lazy_rel): Likewise.
9238 (elf_machine_lazy_rela): Likewise.
9239 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9240 (elf_machine_lazy_rel): Likewise.
9241 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9242 Likewise.
9243 (elf_machine_lazy_rel): Likewise.
9244 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9245 Likewise.
9246 (elf_machine_lazy_rel): Likewise.
9247 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9248 (elf_machine_lazy_rel): Likewise.
9249 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9250 (elf_machine_lazy_rel): Likewise.
9251 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9252 (elf_machine_lazy_rel): Likewise.
9253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9254 (elf_machine_lazy_rel): Likewise.
9255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9256 (elf_machine_lazy_rel): Likewise.
9257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9258 (elf_machine_lazy_rel): Likewise.
9259
68577918
UD
92602011-09-28 Ulrich Drepper <drepper@gmail.com>
9261
9262 * nss/nss_files/files-init.c (_nss_files_init): Use static
9263 initialization for all the *_traced_file variables.
9264
68822d74
AS
92652011-09-28 Andreas Schwab <schwab@redhat.com>
9266
9267 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9268
2056100b
RM
92692011-09-27 Roland McGrath <roland@hack.frob.com>
9270
9271 [BZ #13226]
9272 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9273
32c76b63
AS
92742011-09-27 Andreas Schwab <schwab@redhat.com>
9275
9276 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9277 Reread the line before reparsing it.
9278
bf972c9d
AS
92792011-09-26 Andreas Schwab <schwab@redhat.com>
9280
9281 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9282
e057a1b5
JM
92832011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9284 Maxim Kuvyrkov <maxim@codesourcery.com>
9285 Joseph Myers <joseph@codesourcery.com>
9286
9287 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9288 if needed for __stack_chk_guard.
9289
bc7e1c36
RM
92902011-09-19 Roland McGrath <roland@hack.frob.com>
9291
ecb1482f
RM
9292 * sysdeps/posix/spawni.c (script_execute): Always define it.
9293 It will be optimized away if unused.
9294 (maybe_script_execute): New function.
9295 (__spawni): Call it.
9296
bc7e1c36
RM
9297 * Makerules: Don't include tls.make.
9298 (config-tls): Always set to thread.
9299 * tls.make.c: File removed.
9300
1c3b002b
MF
93012011-09-19 Mike Frysinger <vapier@gentoo.org>
9302
9303 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9304 * config.make.in (CPPFLAGS-config): New substituted variable.
9305
2840865d
UD
93062011-09-15 Ulrich Drepper <drepper@gmail.com>
9307
88738eb6
UD
9308 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9309
cbf645a6 9310 [BZ #13192]
2840865d
UD
9311 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9312 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9313
b402e91a
RM
93142011-09-15 Roland McGrath <roland@hack.frob.com>
9315
9316 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9317 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9319 (CALL_FAIL): Likewise.
9320 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9321 (CALL_FAIL): Macro removed.
9322 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9323
4c1a1f71
UD
93242011-09-15 Ulrich Drepper <drepper@gmail.com>
9325
9326 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9327 for __FINITE_MATH_ONLY__ == 1.
9328
edc121be
AS
93292011-09-15 Andreas Schwab <schwab@redhat.com>
9330
9331 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9332 __ieee754_sqrt instead of sqrt.
9333 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9334 __ieee754_sqrtf instead of sqrtf.
9335 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9336 __floorf instead of floorf.
9337 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9338 __floorf, __truncf instead of floorf, truncf.
9339
cd205654
UD
93402011-09-14 Ulrich Drepper <drepper@gmail.com>
9341
ee4d0315
UD
9342 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9343
cd205654
UD
9344 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9345 __extern_always_inline.
9346 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9347 32-bit.
9348
48b67d71
AS
93492011-09-14 Andreas Schwab <schwab@redhat.com>
9350
9351 * elf/rtld.c (dl_main): Also relocate in dependency order when
9352 doing symbol dependency testing.
9353
1ae12c75
AS
93542011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9355
9356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9357 Always define `refsym'.
9358
995a80df
AS
93592011-09-13 Andreas Schwab <schwab@redhat.com>
9360
e529793b
AS
9361 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9362 (__FD_ELT): Renamed from __FDELT.
9363 * misc/bits/select2.h (__FD_ELT): Likewise.
9364 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9365 __FD_MASK instead of __FDELT, __FDMASK.
9366 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9367 Likewise.
9368 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9369 Likewise.
9370
52d4fef8
AS
9371 * elf/Makefile (gen-ldd): Fix pattern.
9372
995a80df
AS
9373 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9374 (init_tls): Likewise.
9375
8682f8b0
UD
93762011-09-12 Ulrich Drepper <drepper@gmail.com>
9377
9378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9379
de82006d
AS
93802011-09-12 Andreas Schwab <schwab@redhat.com>
9381
a7c8e6a1
AS
9382 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9383 `struct cmsghdr *' instead of `void *'.
9384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9385 Likewise.
9386
0f31fe77
AS
93872011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9388
9389 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9390 if non-absolute.
9391 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9392 ldd_rewrite_script.
0f31fe77 9393
32b4c839
UD
93942011-09-11 Ulrich Drepper <drepper@gmail.com>
9395
83cd1420
UD
9396 * configure.in: Remove --with-tls option.
9397 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9398 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9399 out in case it is missing.
9400 * sysdeps/ia64/elf/configure.in: Likewise.
9401 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9402 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9403 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9404 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9405 * sysdeps/sh/elf/configure.in: Likewise.
9406 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9407 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9408 * sysdeps/x86_64/elf/configure.in: Likewise.
9409 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9410 * sysdeps/mach/hurd/tls.h: Likewise.
9411
633f745d
UD
9412 [BZ #13067]
9413 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9414
f318beb8
UD
9415 [BZ #13090]
9416 * configure.in: Fix use of AC_INIT.
9417
32b4c839
UD
9418 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9419
3ce1f295
UD
94202011-09-10 Ulrich Drepper <drepper@gmail.com>
9421
bb016596
UD
9422 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9423 __set_errno.
8e58439c
UD
9424 * malloc/hooks.c: Likewise.
9425
aebae053 9426 [BZ #11929]
02d46fc4
UD
9427 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9428 variables statically.
9429 (narenas): Initialize.
9430 (list_lock): Initialize.
bb016596
UD
9431 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9432 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9433 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9434 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9435 Add initializers to main_arena and mp_.
9436 (malloc_state): Remove pagesize member. Change all users to use
9437 GLRO(dl_pagesize).
9438
9439 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9440 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9441 is always initialized.
9442
22a89187
UD
9443 * malloc/malloc.c: Removed unused configurations and dead code.
9444 * malloc/arena.c: Likewise.
9445 * malloc/hooks.c: Likewise.
02d46fc4 9446 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9447
d063d164
UD
9448 * include/tls.h: Removed. USE___THREAD must always be defined.
9449 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9450 * elf/dl-libc.c: Likewise.
9451 * elf/dl-tsd.c: Likewise.
9452 * include/errno.h: Likewise.
9453 * include/netdb.h: Likewise.
9454 * include/resolv.h: Likewise.
9455 * inet/herrno-loc.c: Likewise.
9456 * inet/herrno.c: Likewise.
9457 * malloc/arena.c: Likewise.
9458 * malloc/hooks.c: Likewise.
9459 * malloc/malloc.c: Likewise.
9460 * resolv/res-state.c: Likewise.
9461 * resolv/res_libc.c: Likewise.
9462 * sysdeps/i386/dl-machine.h: Likewise.
9463 * sysdeps/ia64/dl-machine.h: Likewise.
9464 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9465 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9466 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9467 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9468 * sysdeps/sh/dl-machine.h: Likewise.
9469 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9470 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9471 * sysdeps/unix/i386/sysdep.S: Likewise.
9472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9473 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9476 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9478 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9482 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9483 * sysdeps/x86_64/dl-machine.h: Likewise.
9484 * tls.make.c: Likewise.
9485
3ce1f295
UD
9486 * configure.in: Remove --with-__thread option. Make tests for
9487 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9488 tls_model attribute fail if no support is available. Remove
9489 USE_IN_LIBIO.
9490 * Makeconfig: Adjust for dropped configure option. All features are
9491 now mandatory.
9492 * Makerules: Likewise.
9493 * Versions.def: Likewise.
9494 * argp/argp-fmtstream.c: Likewise.
9495 * argp/argp-fmtstream.h: Likewise.
9496 * argp/argp-help.c: Likewise.
9497 * assert/assert.c: Likewise.
9498 * config.h.in: Likewise.
9499 * config.make.in: Likewise.
9500 * configure: Likewise.
9501 * configure.in: Likewise.
9502 * csu/Versions: Likewise.
9503 * csu/init.c: Likewise.
9504 * elf/tst-audit2.c: Likewise.
9505 * elf/tst-tls10.c: Likewise.
9506 * elf/tst-tls10.h: Likewise.
9507 * elf/tst-tls11.c: Likewise.
9508 * elf/tst-tls12.c: Likewise.
9509 * elf/tst-tls14.c: Likewise.
9510 * elf/tst-tlsmod11.c: Likewise.
9511 * elf/tst-tlsmod12.c: Likewise.
9512 * elf/tst-tlsmod13.c: Likewise.
9513 * elf/tst-tlsmod13a.c: Likewise.
9514 * elf/tst-tlsmod14a.c: Likewise.
9515 * elf/tst-tlsmod15b.c: Likewise.
9516 * elf/tst-tlsmod16a.c: Likewise.
9517 * elf/tst-tlsmod16b.c: Likewise.
9518 * elf/tst-tlsmod7.c: Likewise.
9519 * elf/tst-tlsmod8.c: Likewise.
9520 * elf/tst-tlsmod9.c: Likewise.
9521 * gmon/gmon.c: Likewise.
9522 * grp/fgetgrent_r.c: Likewise.
9523 * grp/putgrent.c: Likewise.
9524 * hurd/fopenport.c: Likewise.
9525 * include/libc-symbols.h: Likewise.
9526 * include/tls.h: Likewise.
9527 * intl/gettextP.h: Likewise.
9528 * intl/loadinfo.h: Likewise.
9529 * locale/global-locale.c: Likewise.
9530 * locale/localeinfo.h: Likewise.
9531 * mach/devstream.c: Likewise.
9532 * malloc/arena.c: Likewise.
9533 * malloc/set-freeres.c: Likewise.
9534 * misc/err.c: Likewise.
9535 * misc/getttyent.c: Likewise.
9536 * misc/mntent_r.c: Likewise.
9537 * posix/getopt.c: Likewise.
9538 * posix/wordexp.c: Likewise.
9539 * pwd/fgetpwent_r.c: Likewise.
9540 * resolv/Versions: Likewise.
9541 * resolv/res_hconf.c: Likewise.
9542 * shadow/fgetspent_r.c: Likewise.
9543 * shadow/putspent.c: Likewise.
9544 * stdio-common/printf_fphex.c: Likewise.
9545 * stdio-common/tmpfile.c: Likewise.
9546 * stdlib/abort.c: Likewise.
9547 * stdlib/fmtmsg.c: Likewise.
9548 * sunrpc/auth_unix.c: Likewise.
9549 * sunrpc/clnt_perr.c: Likewise.
9550 * sunrpc/clnt_tcp.c: Likewise.
9551 * sunrpc/clnt_udp.c: Likewise.
9552 * sunrpc/clnt_unix.c: Likewise.
9553 * sunrpc/openchild.c: Likewise.
9554 * sunrpc/svc_simple.c: Likewise.
9555 * sunrpc/svc_tcp.c: Likewise.
9556 * sunrpc/svc_udp.c: Likewise.
9557 * sunrpc/svc_unix.c: Likewise.
9558 * sunrpc/xdr.c: Likewise.
9559 * sunrpc/xdr_array.c: Likewise.
9560 * sunrpc/xdr_rec.c: Likewise.
9561 * sunrpc/xdr_ref.c: Likewise.
9562 * sunrpc/xdr_stdio.c: Likewise.
9563
1248c1c4
PB
95642011-09-09 Ulrich Drepper <drepper@gmail.com>
9565
9566 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9567
95682011-07-03 Andreas Jaeger <aj@suse.de>
9569
9570 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9571 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9572 regenerate with gen-libm-tests.pl.
9573
95742010-05-12 Petr Baudis <pasky@suse.cz>
9575
9576 [BZ #11589]
9577 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9578 around j0() zero points by switching to j1().
9579 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9583
f22e1074
UD
95842011-09-09 Ulrich Drepper <drepper@gmail.com>
9585
f19009c1
UD
9586 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9587 instead of 0.
9588 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9589 instead of 0. .
9590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9591 Patch in part by Pavel Roskin <proski@gnu.org>.
9592
3f8cc204
UD
9593 [BZ #13138]
9594 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9595 realloc.
9596 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9597 Free memory block if necessary.
9598
f22e1074
UD
9599 [BZ #12847]
9600 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9601 be NULL. Don't lock in this case.
9602
0a2349f9
RM
96032011-09-09 Roland McGrath <roland@hack.frob.com>
9604
9605 * elf/elf.h (ELFOSABI_GNU): New macro.
9606 (ELFOSABI_LINUX): Define to that.
9607
f3cdd467
DZ
96082011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9609
9610 * string/strncat.c (strncat): Undef the symbol in case it has been
9611 defined in bits/string.h.
9612
74718d13
UD
96132011-09-09 Ulrich Drepper <drepper@gmail.com>
9614
633e9e0f
UD
9615 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9616
0a2349f9 9617 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9618 link map.
9619
f9924780
AJ
96202011-08-17 Andreas Jaeger <aj@suse.de>
9621
9622 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9623
7f5517aa
PP
96242011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9625 Ian Lance Taylor <iant@google.com>
9626
9627 * math/libm-test.inc (lround_test): New testcase.
9628 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9629
762011fe
UD
96302011-09-08 Ulrich Drepper <drepper@gmail.com>
9631
92963737
UD
9632 * Makefile: Remove support for automatic cvs check-ins.
9633 * Makerules: Likewise.
9634 * config.make.in: Likewise.
9635 * configure.in: Likewise.
9636 * intl/Makefile: Likewise.
9637 * locale/Makefile: Likewise.
9638 * po/Makefile: Likewise.
9639 * posix/Makefile: Likewise.
9640 * sysdeps/gnu/Makefile: Likewise.
9641 * sysdeps/mach/hurd/Makefile: Likewise.
9642 * sysdeps/sparc/sparc32/Makefile: Likewise.
9643
b0727fd8
JS
9644 [BZ #13118]
9645 * posix/Makefile (bug-regex32-ENV): Define.
9646 Patch by John Stanley <jpsinthemix@verizon.net>.
9647
a0f33f99
UD
9648 * misc/Makefile (headers): Add bits/select2.h.
9649 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9650 * misc/bits/select2.h: New file.
9651 * include/bits/select2.h: New file.
9652 * debug/Makefile (routines): Add fdelt_chk.
9653 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9654 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9655 FD_ISSET.
9656 * debug/fdelt_chk.c: New file.
9657
762011fe
UD
9658 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9659 * wcsmbs/test-wmemcmp.c: Likewise.
9660 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9661 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9662
96632011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9664
9665 * string/Makefile (strop-tests): Add memcmp.
9666 * string/test-wmemcmp.c: New file.
9667 * string/test-memcmp.c: Add wmemcmp support.
9668
7f513ec8
RM
96692011-09-08 Roland McGrath <roland@hack.frob.com>
9670
0442afb4
RM
9671 [BZ #13153]
9672 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9673 2011-07-19 change.
9674
7f513ec8
RM
9675 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9676 garbage value in a __mach_port_mod_refs call in the cases of the
9677 task-self and thread-self ports.
9678
a12b2239
ST
96792011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9680
9681 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9682
610f9ab4
AS
96832011-09-08 Andreas Schwab <schwab@redhat.com>
9684
7f513ec8 9685 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9686
48882a1a
LD
96872011-09-07 Ulrich Drepper <drepper@gmail.com>
9688
b49865be
UD
9689 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9690
fdc86bc9
UD
9691 * elf/dl-libc.c (dlerror_run): Pass back error code from
9692 dl_catch_error.
9693
c966526a
UD
9694 [BZ #13123]
9695 * elf/dl-load.c (lose): Free l_origin if it is valid.
9696
48882a1a
LD
9697 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9698 names.
9699 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9700 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9702 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9703 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9704 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9705
77a2a8b4
AZ
97062011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9707
9708 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9709 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9710 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9711 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9712 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9713 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9714 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9715 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9716 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9717 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9718
24f579d8
AM
97192011-08-15 Alan Modra <amodra@gmail.com>
9720
9721 [BZ #13092]
9722 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9723 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9724 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9725 ppc_mcount to static-only-routines.
9726 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9727 __mcount_internal.
9728 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9729 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9730
3d4837df
UD
97312011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9732
9733 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9734 for finite and infinity parameters.
9735
22700377
WS
97362011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9737
9738 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9739 and add nop instructions for throughput optimization.
9740 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9741
5025581e
WS
97422011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9743
9744 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9745 aligned copy for power7 with vector-scalar instructions.
9746 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9747
08a300c9
L
97482011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9749
9750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9751 AVX check.
9752
59178ef9
AS
97532011-09-07 Andreas Schwab <schwab@redhat.com>
9754
9755 [BZ #13144]
9756 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9757 last change.
9758
e38ba7ab
UD
97592011-09-07 Ulrich Drepper <drepper@gmail.com>
9760
9761 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9762 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9763 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9764 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9765 clock_gettime.
9766
d53a73ac
UD
97672011-09-06 Ulrich Drepper <drepper@gmail.com>
9768
fc8bffcc
UD
9769 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9770 Forgot to demangle the pointer.
9771
ceaa0c5d
UD
9772 * sysdeps/i386/sysdep.h: Define atom_text_section.
9773 * sysdeps/x86_64/sysdep.h: Likewise.
9774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9775 section with atom_text_section.
9776 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9778 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9780 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9781
a77d3c17
UD
9782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9783 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9784 already be defined. Change to take two parameters and don't assign
9785 result to variable. Adjust all users.
9786 Define INTERNAL_GETTIME if not already defined.
9787 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9788 call.
9789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9790 HAVE_CLOCK_GETTIME_VSYSCALL.
9791 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9792
d53a73ac
UD
9793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9794 gettimeofday vsyscall, just use time.
9795
a8f84144
AS
97962011-09-06 Andreas Schwab <schwab@redhat.com>
9797
9798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9799 <errno.h>.
9800
ef606249
UD
98012011-09-06 Ulrich Drepper <drepper@gmail.com>
9802
9803 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9804 syscall on x86-64.
9805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9806 syscall.
9807 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9808 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9809 syscall if possible.
9810
6585cb60
UD
98112011-09-05 Ulrich Drepper <drepper@gmail.com>
9812
9813 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9814 e_ident. Don't pass to find_mapsXX.
9815 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9816
a5f524e4
LD
98172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9818
9819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9820 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9821 * sysdeps/x86_64/multiarch/strchr.S: Update.
9822 Check bit_slow_BSF bit.
9823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9824 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9826
554881ef
UD
98272011-09-05 Ulrich Drepper <drepper@gmail.com>
9828
d96de963
UD
9829 [BZ #13134]
9830 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9831 before glibc 2.15.
9832 (tryshell): Define.
9833 (__spawni): Change last parameter to be flag. Test
9834 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9835 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9836 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9837 * posix/spawni.c: Likewise.
9838 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9839 * posix/spawnp.c: Likewise. Change normal version to use
9840 SPAWN_XFLAGS_USE_PATH.
9841 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9842 SPAWN_XFLAGS_TRY_SHELL.
9843
d48e5868
UD
9844 [BZ #13150]
9845 * posix/glob.h: Remove gcc 1.x support.
9846
554881ef
UD
9847 [BZ #13068]
9848 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9849
693fb948
LD
98502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9851
9852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9853 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9854 strrchr-sse2-bsf
9855 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9856 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9857 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9858 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9859 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9860 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9861
1b48c537
UD
98622011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9863
49d42c37
UD
9864 * sysdeps/x86_64/wcscmp.S: New file.
9865
1b48c537
UD
9866 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9867 wcscmp-c wcscmp-sse2
9868 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9869 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9870 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9871 * wcsmbs/wcscmp.c: Allow renaming.
9872
15c95c5d
DM
98732011-09-05 David S. Miller <davem@davemloft.net>
9874
9875 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9876 stack slot, rather than the struct return pointer slot.
9877 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9878 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9880 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9881
2f0ad8f3
UD
98822011-09-05 Ulrich Drepper <drepper@gmail.com>
9883
d88ae418
UD
9884 * po/ja.po: Update from translation team.
9885
2f0ad8f3
UD
9886 [BZ #13144]
9887 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9888 kernel in 64-bit binaries.
9889
5f4318d1
DM
98902011-09-01 David S. Miller <davem@davemloft.net>
9891
9892 * elf/elf.h (HWCAP_SPARC_*): Move to..
9893 * sysdeps/sparc/sysdep.h: this new file and add new values.
9894 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9895 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9896 _DL_HWCAP_COUNT to 24.
9897 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9898 entries.
9899 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9900 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9901 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9903 instead of magic constants.
9904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9905
3ba57516
DM
99062011-08-31 David S. Miller <davem@davemloft.net>
9907
9908 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9910 Reimplement to do errno handling inline.
9911 (SYSCALL_ERROR_HANDLER): New macro.
9912 (__SYSCALL_STRING): Do not do errno handling in asm.
9913 (__CLONE_SYSCALL_STRING): Delete.
9914 (__INTERNAL_SYSCALL_STRING): Delete.
9915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9916 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9917 (PSEUDO): Reimplement to do errno handling inline.
9918 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9919 (SYSCALL_ERROR_HANDLER): New macro.
9920 (__SYSCALL_STRING): Do not do errno handling in asm.
9921 (__CLONE_SYSCALL_STRING): Delete.
9922 (__INTERNAL_SYSCALL_STRING): Delete.
9923 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9924 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9925 i386.
9926 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9927 (inline_syscall*): Add 'err' argument.
9928 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9929 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9930 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9931 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9932
9933 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9934 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9935
2bc17433
AS
99362011-08-30 Andreas Schwab <schwab@redhat.com>
9937
9938 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9939
fbeb5f4d
JO
99402011-08-29 Jiri Olsa <jolsa@redhat.com>
9941
9942 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9943 directive.
9944
ad69cc26
DM
99452011-08-24 David S. Miller <davem@davemloft.net>
9946
9947 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9948
39dd69df
AS
99492011-08-24 Andreas Schwab <schwab@redhat.com>
9950
9951 * elf/Makefile: Add rules to build and run unload8 test.
9952 * elf/unload8.c: New file.
9953 * elf/unload8mod1.c: New file.
9954 * elf/unload8mod1x.c: New file.
9955 * elf/unload8mod2.c: New file.
9956 * elf/unload8mod3.c: New file.
9957
9958 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9959 it wasn't used.
9960
2c0b250a
DM
99612011-08-23 David S. Miller <davem@davemloft.net>
9962
9963 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9964 subtract stack bias.
9965 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9966 %sp not %fp in calculations.
9967 (_JMPBUF_UNWINDS_ADJ): Likewise.
9968
22044b48
DM
9969 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9970 (aio_suspend): Call it to force an exception region around the
9971 AIO_MISC_WAIT() invocation.
9972
2cae4995
AS
99732011-08-23 Andreas Schwab <schwab@redhat.com>
9974
9975 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9976 backslash.
9977
873a772e
AJ
99782011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9979
9980 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9981 protection macro.
9982 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9983 and <dl-machine.h>.
9984 (Elf64_FuncDesc): Remove.
9985
25ad0df1
DM
99862011-08-22 David S. Miller <davem@davemloft.net>
9987
9988 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9989 sigaltstack check, add missing cfi directives.
9990 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9991 missing cfi directives, and sigaltstack handling.
9992
e888bcbe
AS
99932011-08-16 Andreas Schwab <schwab@redhat.com>
9994
9995 [BZ #11724]
9996 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9997 object is seen twice.
9998 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9999
10000 * elf/Makefile (distribute): Add tst-initorder2.c.
10001 (tests): Add tst-initorder2.
10002 (modules-names): Add tst-initorder2a tst-initorder2b
10003 tst-initorder2c tst-initorder2d. Add rules to build them.
10004 ($(objpfx)tst-initorder2.out): New rule.
10005 * elf/tst-initorder2.c: New file.
10006 * elf/tst-initorder2.exp: New file.
10007
87162f46
AS
100082011-08-22 Andreas Schwab <schwab@redhat.com>
10009
70538b7f
AS
10010 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10011
f55ffe58
AS
10012 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10013 dependencies back to end of function.
10014
87162f46
AS
10015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10016 $(elfobjdir)/ld.so.
10017
91b392a4
UD
100182011-08-21 Ulrich Drepper <drepper@gmail.com>
10019
10020 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10021 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10022 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10023 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10024 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10025 of __vdso_gettimeofday.
10026 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10027 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10028 attribute_hidden.
10029 (_libc_vdso_platform_setup): Remove initialization of
10030 __vdso_gettimeofday and __vdso_time.
10031
5c43483f
UD
100322011-08-20 Ulrich Drepper <drepper@gmail.com>
10033
775a77e7
UD
10034 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10035 and fgetc_unlocked.
10036 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10037 getc_unlocked.
89f447ed 10038
49c74ba9
UD
10039 * elf/dl-open.c (add_to_global): Report additions to the global scope
10040 for LD_DEBUG=scopes.
10041 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10042 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10043
5c43483f
UD
10044 [BZ #13114]
10045 * stdio-common/Makefile (tests): Add bug24.
10046 * stdio-common/bug24.c: New file.
10047
a101b025
AJ
100482011-08-19 Andreas Jaeger <aj@suse.de>
10049
10050 [BZ #13114]
10051 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10052 non-existant file when using close-on-exec mode.
10053
c88f1766
UD
100542011-08-20 Ulrich Drepper <drepper@gmail.com>
10055
0276a718
UD
10056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10057 the very first instruction.
10058
c88f1766
UD
10059 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10060 the CFI state in the end.
10061 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10062 inclusion of dl-trampoline.h.
10063 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10064
51ccffa0
AS
100652011-08-19 Andreas Schwab <schwab@redhat.com>
10066
94d7165f
AS
10067 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10068 expectations for long double.
10069
51ccffa0
AS
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10071 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10072
fd708658 100732011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10074
10075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10076 artificual limit depends upon the system page size.
10077
44f0a71e
UD
100782011-08-17 Ulrich Drepper <drepper@gmail.com>
10079
10080 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10081 * resolv/Makefile: Define CFLAGS-libresolv.
10082
8de79a24
AS
100832011-08-17 Andreas Schwab <schwab@redhat.com>
10084
10085 * nss/makedb.c (compute_tables): Make variables used in nested
10086 function static.
10087
27724598
UD
100882011-08-17 Ulrich Drepper <drepper@gmail.com>
10089
c5305d88
UD
10090 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10091 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10092 if buffer was too small.
10093
27724598
UD
10094 * elf/pldd.c (main): Attach to all threads in the process.
10095 Rewrite /proc handling to use *at functions.
10096
076fe015
UD
100972011-08-16 Ulrich Drepper <drepper@gmail.com>
10098
174baab3
UD
10099 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10100 specifies first scope to show.
10101 (dl_open_worker): Update callers. Move printing scope of new
10102 object to before the relocation.
44f0a71e 10103 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10104 * sysdeps/generic/ldsodefs.h: Update declaration.
10105
076fe015
UD
10106 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10107 string for the scope number.
10108
a60df2c3
UD
101092011-08-14 Ulrich Drepper <drepper@gmail.com>
10110
10111 * nscd/servicescache.c (cache_addserv): Make sure written is always
10112 initialized.
10113
5e4287d1
RM
101142011-08-14 Roland McGrath <roland@hack.frob.com>
10115
85ae0589
RM
10116 * sysdeps/i386/i486/bits/atomic.h
10117 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10118 statement expression, so as to suppress "set but not used" warning.
10119 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10120
69f63097
RM
10121 * string/strncat.c (STRNCAT): Use prototype definition.
10122
675456ef
RM
10123 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10124 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10125 -Iprograms here.
10126 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10127 (localedef-modules): Add localedef.
10128 (locale-modules): Add locale.
10129
5e4287d1
RM
10130 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10131 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10132 to avoid a warning.
10133
9c96ff23
DM
101342011-08-14 David S. Miller <davem@davemloft.net>
10135
10136 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10137 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10138
f9ddf089
UD
101392011-08-13 Ulrich Drepper <drepper@gmail.com>
10140
44f0a71e 10141 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10142 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10143 * elf/rtld.c (dl_main): Set l_name of vDSO.
10144 Call _dl_show_scope when DL_DEBUG_SCOPES.
10145 (process_dl_debug): Recognize scopes flag and also set it for all.
10146 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10147 Declare _dl_show_scope.
10148
1dc27704
UD
10149 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10150 (do_dlopen): Pass caller_dlopen to dl_open.
10151 (__libc_dlopen_mode): Initialize caller_dlopen.
10152
f9ddf089
UD
10153 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10154 of libc. Make tolower call locale-independent. Optimize a bit by
10155 using isdigit instead of isalnum.
10156 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10157
9ac533d3
UD
101582011-08-12 Ulrich Drepper <drepper@gmail.com>
10159
10160 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10161 was a dependency or dynamically loaded.
10162
89edf2e9
UD
101632011-08-11 Ulrich Drepper <drepper@gmail.com>
10164
8e999d29
UD
10165 * intl/l10nflist.c: Allow architecture-specific pop function.
10166 * sysdeps/x86_64/l10nflist.c: New file.
10167
89edf2e9
UD
10168 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10169 classification.
10170
14d96785
AS
101712011-08-10 Andreas Schwab <schwab@redhat.com>
10172
10173 * include/dirent.h: Add libc_hidden_proto for scandirat and
10174 scandirat64. Don't declare __scandirat64.
10175 * dirent/scandirat.c: Add libc_hidden_def.
10176 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10177 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10178
6761ac04
DM
101792011-08-10 David S. Miller <davem@davemloft.net>
10180
10181 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10182 enum.
10183 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10184 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10186
c55fbd1e
UD
101872011-08-09 Ulrich Drepper <drepper@gmail.com>
10188
10189 * Versions.def [libc]: Add GLIBC_2.15.
10190 * dirent/Makefile (routines): Add scandirat and scandirat64.
10191 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10192 GLIBC_2.15.
10193 * dirent/dirent.h: Declare scandirat and scandirat64.
10194 * dirent/scandirat.c: New file.
10195 * dirent/scandirat64.c: New file.
10196 * sysdeps/wordsize-64/scandirat.c: New file.
10197 * sysdeps/wordsize-64/scandirat64.c: New file.
10198 * dirent/opendir.c: Define opendirat.
10199 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10200 using scandirat.
10201 * dirent/scandir64.c: Adjust for scandir.c change.
10202 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10203 __scandirat64, and __scandir_cancel_handler.
10204 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10205 additional parameter and use openat instead of open (outside of ld.so).
10206 Add new __opendir as wrapper around __opendirat.
10207 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10208 here without requiring old scandirat implementation.
10209
879165f2
UD
102102011-08-08 Ulrich Drepper <drepper@gmail.com>
10211
10212 * dirent/scandir.c (cancel_handler): Renamed to
10213 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10214 defined. Adjust users.
10215 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10216 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10217
cb7e923b
UD
102182011-08-04 Ulrich Drepper <drepper@gmail.com>
10219
16292edd
UD
10220 * string/test-string.h (IMPL): Use __STRING to expand name and then
10221 stringify it.
10222
cb7e923b
UD
10223 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10224 of cleanups.
10225
cff82933
LD
102262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10227
10228 * string/Makefile: Update.
10229 (strop-tests): Append strncat.
10230 * string/test-wcscmp.c: New file.
10231 New comprehensive test for wcscmp.
10232 * string/test-strcmp.c: Update.
10233 (WIDE): New define.
10234
9be9bfcc
AS
102352011-07-22 Andreas Schwab <schwab@redhat.com>
10236
10237 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10238 line.
10239
2e96f1c7
AS
102402011-07-26 Andreas Schwab <schwab@redhat.com>
10241
10242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10243 encoding to ACE if AI_IDN.
10244
85188888
JJ
102452011-08-01 Jakub Jelinek <jakub@redhat.com>
10246
10247 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10248 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10249
5fa16e9b
LD
102502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10251
10252 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10253 Fix overflow bug in strncat.
10254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10255
10256 * string/test-strncat.c: Update.
10257 Add new tests for checking overflow bugs.
10258
102592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10260
10261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10262 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10263 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10264 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10265 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10266 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10267 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10268 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10269 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10270
10271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10272 (USE_AS_STRCAT): Define.
10273 Add strcat and strncat support.
10274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10275
8c1a459f
AS
102762011-07-25 Andreas Schwab <schwab@redhat.com>
10277
10278 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10279 __n bigger than INT_MAX+1.
10280 (__strncmp_g): Likewise.
10281
bba33c28
UD
102822011-07-23 Ulrich Drepper <drepper@gmail.com>
10283
798be72d
UD
10284 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10285 * libio/stido.h: Likewise.
10286
8accd4dc
UD
10287 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10288 (AF_NFC): Define.
10289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10290 (AF_NFC): Define.
10291
cbff0d96
UD
10292 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10294 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10295 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10297
9191c04a
UD
10298 [BZ #13021]
10299 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10300 installed.
10301
bba33c28
UD
10302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10303 typo.
10304 (_dl_x86_64_save_sse): Likewise.
10305
90f139dd
UD
103062011-07-22 Ulrich Drepper <drepper@gmail.com>
10307
1aae088a
UD
10308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10309 OSXSAVE.
10310 (_dl_x86_64_save_sse): Likewise.
10311
8e2045f5
UD
10312 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10313
90f139dd
UD
10314 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10315
1d002f25
AS
103162011-07-21 Andreas Schwab <schwab@redhat.com>
10317
10318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10319 change.
10320 (_dl_x86_64_save_sse): Use correct AVX check.
10321
21137f89
UD
103222011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10323
10324 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10325 bug in strncpy/strncat.
10326 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10327
a65c0b7a
UD
103282011-07-21 Ulrich Drepper <drepper@gmail.com>
10329
10330 * string/tester.c (test_strcat): Add tests for different alignments
10331 of source and destination.
10332 (test_strncat): Likewise.
10333
6986b98a
UD
103342011-07-20 Ulrich Drepper <drepper@gmail.com>
10335
90bb2039
UD
10336 [BZ #12852]
10337 * posix/glob.c (glob): Check passed in values before using them in
10338 expressions to avoid some overflows.
10339 (glob_in_dir): Likewise.
10340
5644ef54
UD
10341 [BZ #13007]
10342 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10343 check for AVX enablement so that we don't crash with old kernels and
10344 new hardware.
10345 * elf/tst-audit4.c: Add same checks here.
10346 * elf/tst-audit6.c: Likewise.
10347
10348 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10349
bfc9dc9b
AS
103502011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10351
10352 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10353
702e64bb
UD
103542011-07-20 Ulrich Drepper <drepper@gmail.com>
10355
10356 * po/cs.po: Update from translation team.
10357 * po/bg.po: Likewise.
10358
295e904f
MP
103592011-07-12 Marek Polacek <mpolacek@redhat.com>
10360
10361 * misc/sys/cdefs.h: Add support for const attribute.
10362 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10363 to gnu_dev_{major,minor,makedev} functions.
10364
3ff94596
MP
103652011-07-20 Marek Polacek <mpolacek@redhat.com>
10366
10367 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10368
28b59fca
AS
103692011-07-20 Andreas Schwab <schwab@redhat.com>
10370
10371 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10372 strlen results.
10373
19df733e
AK
103742011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10375
10376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10377 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10378 register in order to avoid conflicts with the soft frame pointer
10379 being held in r11 when necessary.
10380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10381 (INTERNAL_VSYSCALL_NCS): Likewise.
10382
c8835729
MP
103832011-07-14 Marek Polacek <mpolacek@redhat.com>
10384
10385 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10386 * elf/dl-fini.c (_dl_fini): Adjust caller.
10387 * elf/dl-close.c (_dl_close_worker): Likewise.
10388 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10389
b902330c
MP
103902011-07-15 Marek Polacek <mpolacek@redhat.com>
10391
8991e135
MP
10392 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10393 "aux_cache->nlibs < 0".
10394
b902330c
MP
10395 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10396 in the reload-count case.
10397
99710781
LD
103982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10399
10400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10401 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10402 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10403 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10404 * sysdeps/x86_64/multiarch/strcat.S: New file.
10405 * sysdeps/x86_64/multiarch/strncat.S: New file.
10406 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10407 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10408 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10409 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10410 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10411 (USE_AS_STRCAT): Define.
10412 Add strcat and strncat support.
10413 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10414 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10415 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10416 * string/strncat.c: Update.
10417 (USE_AS_STRNCAT): Define.
10418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10419 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10420 and i7.
10421 * sysdeps/x86_64/multiarch/init-arch.h
10422 (bit_Prefer_PMINUB_for_stringop): New.
10423 (index_Prefer_PMINUB_for_stringop): Likewise.
10424 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10425 bit_Prefer_PMINUB_for_stringop.
10426
7dc6bd90
UD
104272011-07-19 Ulrich Drepper <drepper@gmail.com>
10428
10429 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10430 buffer64.
10431 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10432 of casting of buffer.
10433 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10434 buffer32 and buffer64.
10435 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10436 writes instead of casting of buffer.
10437 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10438 buffer32.
10439 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10440 casting of buffer.
10441
e0e72284
AS
104422011-07-19 Andreas Schwab <schwab@redhat.com>
10443
10444 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10445
feb1eb0b
UD
104462011-07-19 Ulrich Drepper <drepper@gmail.com>
10447
10448 * nscd/nscd.c (termination_handler): Don't do anything for a database
10449 if it has not yet been initialized.
10450
298711ff
UD
104512011-07-18 Ulrich Drepper <drepper@gmail.com>
10452
10453 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10454
104552011-07-15 Marek Polacek <mpolacek@redhat.com>
10456
10457 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10458
f9d68389
UD
104592011-07-18 Ulrich Drepper <drepper@gmail.com>
10460
10461 * po/nl.po: Update from translation team.
10462 * po/sv.po: Likewise.
10463
db290cf5
RM
104642011-07-16 Roland McGrath <roland@hack.frob.com>
10465
10466 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10467 now disallowed by GCC.
5c550700 10468
fd5e21c7
RM
10469 * configure.in (use-default-link): Default to yes if a test -shared
10470 link meets our qualifications.
10471 * configure: Regenerated.
10472
5c550700
RM
10473 * config.make.in (output-format): New variable.
10474 * configure.in: Check for ld --print-output-format support.
10475 * configure: Regenerated.
10476 * Makerules ($(common-objpfx)format.lds)
10477 [$(output-format) != unknown]: Just use $(output-format),
10478 instead of the linker-script munging.
10479
9fa2c032
RM
104802011-07-14 Roland McGrath <roland@hack.frob.com>
10481
a6928d51
RM
10482 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10483 of $(common-objpfx)shlib.lds.
10484 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10485
661607b3
RM
10486 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10487 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10488
9fa2c032
RM
10489 * configure.in (-z relro check): Adjust test code to add a large
10490 writable data section after it.
10491 * configure: Regenerated.
10492
defe9061
RM
104932011-07-11 Roland McGrath <roland@hack.frob.com>
10494
10495 * configure.in (-z relro check): Fix test code to make the variable
10496 truly const.
10497 * configure: Regenerated.
10498
319b9ad4
UD
104992011-07-11 Ulrich Drepper <drepper@gmail.com>
10500
10501 * nscd/nscd.h (struct traced_file): Define.
10502 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10503 elements. Add traced_files.
10504 (inotify_fd): Declare.
10505 (register_traced_file): Declare.
10506 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10507 (inotify_fd): Export.
10508 (resolv_conf_descr): Remove.
10509 (nscd_init): Move inotify descriptor creation to main.
10510 Don't register files for notification here.
10511 (register_traced_file): New function.
10512 (invalidate_cache): Don't use reset_res to determine whether to call
10513 res_init, go through the list of registered files.
10514 (main_loop_poll): The inotify descriptors are now stored in the
10515 structures for the traced files.
10516 (main_loop_epoll): Likewise
10517 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10518 to __nss_disable_nscd.
10519 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10520 for a database anymore. Check the records for all the registered
10521 files instead.
10522 * nss/Makefile (libnss_files-routines): Add files-init.
10523 (libnss_db-routines): Add db-init.
10524 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10525 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10526 * nss/nss_db/db-init.c: New file.
10527 * nss/nss_files/files-init.c: New file.
10528 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10529 __nss_lookup_function.
10530 (__nss_lookup_function): Call nss_load_library.
10531 (nss_load_all_libraries): New function.
10532 (__nss_disable_nscd): Take parameter with callback function for files
10533 to register. Set is_nscd. Load all the DSOs for the NSS modules
10534 used for the cached services.
10535 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10536 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10537 options for features to all the files in nscd.
10538
10539 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10540
23bee3e8
RM
105412011-07-10 Roland McGrath <roland@hack.frob.com>
10542
10543 * csu/elf-init.c (__libc_csu_init): Comment typo.
10544
46a5b7f0
UD
105452011-07-09 Ulrich Drepper <drepper@gmail.com>
10546
10547 * po/pl.po: Update from translation team.
10548 * po/ja.po: Likewise.
10549 * po/ru.po: Likewise.
10550 * po/ko.po: Likewise.
10551 * po/fr.po: Likewise.
10552
d30cf5bb
RM
105532011-07-09 Roland McGrath <roland@hack.frob.com>
10554
113ddea4
RM
10555 * configure.in (.ctors/.dtors header and trailer check):
10556 Use an empirical test on a built program.
10557 * configure: Regenerated.
10558
574920b4
RM
10559 * configure.in (-z relro check): Use an empirical test on a built DSO.
10560 Detect, but do not require, on ia64.
10561 * configure: Regenerated.
10562
d30cf5bb
RM
10563 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10564 Update tests that use readelf to use $READELF instead.
10565 * configure: Regenerated.
10566
8538fdb3
UD
105672011-07-08 Ulrich Drepper <drepper@gmail.com>
10568
10569 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10570 if the result is not used.
10571
04d08991
AJ
105722011-07-05 Andreas Jaeger <aj@suse.de>
10573
10574 [BZ#9696]
10575 * stdlib/tst-strtod.c: Add testcase.
10576
de283087
AD
105772011-07-07 Ulrich Drepper <drepper@gmail.com>
10578
4e5f31c8 10579 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10580 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10581 The latter has a higher limit. Take additional parameter to pass to
10582 the new function.
10583 (__pathconf): Pass file to __statfs_link_max.
10584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10585 __statfs_link_max.
10586 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10587 __statfs_link_max.
10588
de283087
AD
10589 [BZ #12868]
10590 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10591 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10592 Handle Lustre.
10593 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10594 (__statfs_filesize_max): Likewise.
10595 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10596
c75fa153
AJ
105972011-07-05 Andreas Jaeger <aj@suse.de>
10598
10599 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10600
1a544854
UD
106012011-07-06 Marek Polacek <mpolacek@redhat.com>
10602
10603 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10604 `status' variable.
10605 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10606 Likewise.
10607
6f0eec67
UD
106082011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10609
10610 * Makefile (strop-tests): Add strncat.
10611 * string/test-strncat.c: New file.
10612
aae30307
UD
106132011-06-30 Marek Polacek <mpolacek@redhat.com>
10614
10615 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10616
c0cfb5eb
UD
106172011-06-21 Andreas Jaeger <aj@suse.de>
10618
10619 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10620 Copy rule from iconvdata/Makefile.
10621
01636b21
UD
106222011-07-06 Ulrich Drepper <drepper@gmail.com>
10623
10624 [BZ #12922]
10625 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10626 but no long options are defined, just return 'W'.
10627
9895c8bc
UD
106282011-06-22 Marek Polacek <mpolacek@redhat.com>
10629
10630 [BZ #9696]
10631 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10632
5d4cf042
UD
106332011-07-06 Ulrich Drepper <drepper@gmail.com>
10634
10635 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10636 netgroups to read.
960e5535 10637 (innetgr): Likewise.
5d4cf042 10638
751eb97e
RM
106392011-07-05 Roland McGrath <roland@hack.frob.com>
10640
10641 * config.make.in (install_root): Default to $(DESTDIR).
10642
f15f1e45
UD
106432011-07-05 Ulrich Drepper <drepper@gmail.com>
10644
10645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10646
4e34ac6a
RM
106472011-07-02 Roland McGrath <roland@hack.frob.com>
10648
5e9b6af4
RM
10649 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10650
84f9ea0f
RM
10651 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10652 containing directory rather than embedding absolute directory names.
10653
ea5ee9f7
RM
10654 * scripts/check-local-headers.sh: Rewritten using awk.
10655 Match by word, not by line. Print error messages for matches.
10656 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10657
1b74661a
RM
10658 * Makerules [shlib-lds-flags empty]:
10659 ($(common-objpfx)libc_pic.opts): New target.
10660 ($(common-objpfx)libc_pic.os.clean): New target.
10661 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10662
10663 * config.make.in (OBJCOPY): New variable.
10664 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10665 * configure: Regenerated.
10666
f781ef40
RM
10667 * config.make.in (use-default-link): New variable.
10668 * configure.in (use_default_link): Grok --with-default-link to set it.
10669 * configure: Regenerated.
10670 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10671 (shlib-lds, shlib-lds-flags): Define to empty.
10672
2d4fa81e
RM
10673 * Makerules (shlib-lds): New variable.
10674 (shlib-lds-flags): New variable.
10675 (build-shlib, build-moduile, build-module-asneeded): Use it.
10676 ($(common-objpfx)libc.so): Use $(shlib-lds).
10677 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10678 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10679
31fffa6b
RM
10680 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10681 DT_FLAGS/DT_FLAGS_1 with zero flags.
10682
4e34ac6a
RM
10683 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10684 linker script munging.
10685
fcfc776b
UD
106862011-07-02 Ulrich Drepper <drepper@gmail.com>
10687
10688 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10689 as 128-bit value.
10690 * crypt/sha512.c (sha512_process_block): Perform total addition using
10691 128-bit if possible.
10692 (__sha512_finish_ctx): Likewise.
10693 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10694 as 64-bit value.
10695 * crypt/sha256.c (SWAP64): Define.
10696 (sha256_process_block): Perform total addition using 64-bit if
10697 possible.
10698 (__sha256_finish_ctx): Likewise.
10699
99231d9a
UD
107002011-07-01 Ulrich Drepper <drepper@gmail.com>
10701
10702 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10703 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10704 * nscd/hstcache.c (cache_addhst): Likewise.
10705 * nscd/grpcache.c (cache_addgr): Likewise.
10706 * nscd/aicache.c (addhstaiX): Likewise
10707 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10708
445b4a53
TK
107092011-07-01 Thorsten Kukuk <kukuk@suse.de>
10710
10711 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10713 * nscd/hstcache.c (cache_addhst): Likewise.
10714 * nscd/grpcache.c (cache_addgr): Likewise.
10715 * nscd/aicache.c (addhstaiX): Likewise
10716
6d4d8e8e
AS
107172011-07-01 Andreas Schwab <schwab@redhat.com>
10718
10719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10720 domain only when needed.
10721
89f654c5
AS
107222011-06-30 Andreas Schwab <schwab@redhat.com>
10723
10724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10725 is always restored.
10726
cf3b23ff
UD
107272011-06-29 Ulrich Drepper <drepper@gmail.com>
10728
10729 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10730 are re-adding the entry.
10731 * nscd/servicescache.c (cache_addserv): Likewise.
10732
751626f9
AJ
107332011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10734
10735 * sysdeps/generic/dl-irel.h: fix protection against multiple
10736 inclusions.
10737 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10738
9113ea1f
UD
107392011-06-28 Ulrich Drepper <drepper@gmail.com>
10740
5c0b8d90
UD
10741 [BZ #12935]
10742 * malloc/memusage.sh: Fix quoting in message.
10743 * debug/xtrace.sh: Likewise.
10744
9113ea1f
UD
10745 * configure.in: Remove support for --experimental-malloc option, make
10746 it the default.
10747 * config.make.in: Likewise.
10748 * malloc/Makefile: Likewise.
10749
a4172181
AS
107502011-06-27 Andreas Schwab <schwab@redhat.com>
10751
10752 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10753 two-byte characters.
10754
78a7eee7
RM
107552011-06-27 Roland McGrath <roland@hack.frob.com>
10756
62bede13
RM
10757 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10758 AC_CACHE_CHECK invocation.
10759 * configure: Regenerated.
10760
78a7eee7
RM
10761 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10762
5ce33a62
UD
107632011-06-27 Ulrich Drepper <drepper@gmail.com>
10764
034807a9
UD
10765 [BZ #12350]
10766 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10767 bit from old_res_options.
10768
4902da17
UD
10769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10770
5ce33a62
UD
10771 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10772 value type for setfct.
10773
c2344f56
L
107742011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10775
10776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10777 __gettimeofday instead of gettimeofday.
10778
68468076
UD
107792011-06-26 Ulrich Drepper <drepper@gmail.com>
10780
10781 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10782
acb0d739
L
107832011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10784
10785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10786
10787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10788 info.
10789
8912479f
L
107902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10791
10792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10793 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10794 strcpy-sse2-unaligned strncpy-sse2-unaligned
10795 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10796 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10797 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10798 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10799 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10800 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10801 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10802 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10803 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10804 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10805 (STRCPY): Support SSE2 and SSSE3 versions.
10806
d5495a11
UD
108072011-06-24 Ulrich Drepper <drepper@gmail.com>
10808
10809 [BZ #12874]
10810 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10811 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10812 kernels which artificially limit size of requests.
10813
0b1cbaae
L
108142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10815
10816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10817 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10818 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10819 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10820 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10821 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10822 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10823 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10825 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10826 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10827 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10828 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10829 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10830 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10832 Enable unaligned load optimization for Intel Core i3, i5 and i7
10833 processors.
10834 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10835 Define.
10836 (index_Fast_Unaligned_Load): Define.
10837 (HAS_FAST_UNALIGNED_LOAD): Define.
10838
07f494a0
MP
108392011-06-23 Marek Polacek <mpolacek@redhat.com>
10840
10841 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10842
fa3fc0fe
UD
108432011-06-22 Ulrich Drepper <drepper@gmail.com>
10844
10845 [BZ #12907]
10846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10847 until it is clear that the information is realy needed.
10848 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10849
e12df166
AS
108502011-06-22 Andreas Schwab <schwab@redhat.com>
10851
10852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10853
852eb34d
UD
108542011-06-22 Ulrich Drepper <drepper@gmail.com>
10855
84e2a551
UD
10856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10857 /sys/devices/system/cpu/online if it is usable.
10858
852eb34d
UD
10859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10860 reading the information from the /proc filesystem to once a second.
10861
6e502e19
UD
108622011-06-21 Andreas Jaeger <aj@suse.de>
10863
10864 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10865 NULL after inclusion of kernel headers.
10866
75d39ff2
UD
108672011-06-21 Ulrich Drepper <drepper@gmail.com>
10868
51f9aa6a
UD
10869 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10870 calls to internal_setent.
10871
c0244a9d
UD
10872 [BZ #12885]
10873 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10874 addresses using gethostbyname4_r ignore IPv4 addresses.
10875
c5e3c2ae
UD
10876 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10877 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10878
75d39ff2
UD
10879 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10880
42675c6f
DM
108812011-06-20 David S. Miller <davem@davemloft.net>
10882
10883 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10884 inclusions.
10885 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10886
10887 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10888 (elf_irel): Use it.
10889 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10890 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10891 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10892 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10893 * sysdeps/x86_64/dl-irel.h: Likewise.
10894
10895 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10896 * elf/dl-sym.c: Likewise.
10897
57912a71
UD
108982011-06-15 Ulrich Drepper <drepper@gmail.com>
10899
10900 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10901 need to dereference resplen2.
10902
ee22793d
AS
109032011-06-14 Andreas Schwab <schwab@redhat.com>
10904
10905 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10906
a9e836b0
UD
109072011-06-15 Ulrich Drepper <drepper@gmail.com>
10908
77fb9117
UD
10909 * Makeconfig: Define vardbdir and inst_vardbdir.
10910 * nss/Makefile: Add rules to install db-Makefile.
10911
40c1b22c
UD
10912 * nss/nss_db/db-XXX.c: Cleanup.
10913
9f2da732
UD
10914 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10915 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10916 GLIBC_PRIVATE.
10917 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10918 * nss/makedb.c: Implement -g option to specify that value strings
10919 are generated and should not be added to table iterated over for
10920 get*ent calls.
10921 * nss/nss_db/db-initgroups.c: New file.
10922
82e9a1f7
UD
10923 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10924 interface.
10925
c41af17e
UD
10926 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10927 (internal_getgrouplist): Adjust to name change.
10928 Update use_initgroups_entry if this is not the first call.
10929 * nss/databases.def: Add initgroups entry.
10930
a9e836b0
UD
10931 * nss/makedb.c (compute_tables): Check result of multiple hash table
10932 sizes to minimize maximum chain length.
10933
2666d441
UD
109342011-06-14 Ulrich Drepper <drepper@gmail.com>
10935
10936 * Versions.def: Add entry for libnss_db.
10937 * shlib-versions: Likewise.
10938 * nss/Makefile: Add rules to build libnss_db.
10939 * nss/Versions: Add libnss_db information. Organize libnss_files
10940 entries better.
10941 * nss/db-Makefile: Add gshadow support. Change rules for the new
10942 makedb progra. Some minor improvements to generate smaller files.
10943 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10944 here from...
10945 * nss/makedb.c: ...here.
10946 Improve database format to be smaller and require less memory at
10947 runtime.
10948 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10949 db anymore.
10950 * nss/nss_db/db-netgrp.c: Likewise.
10951 * nss/nss_db/db-open.c: Likewise.
10952 * nss/nss_files/flies-XXX.x: Adjust comments.
10953 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10954 * nss/nss_files/files-grp.c: Likewise.
10955 * nss/nss_files/files-hosts.c: Likewise.
10956 * nss/nss_files/files-network.c: Likewise.
10957 * nss/nss_files/files-proto.c: Likewise.
10958 * nss/nss_files/files-pwd.c: Likewise.
10959 * nss/nss_files/files-rpc.c: Likewise.
10960 * nss/nss_files/files-service.c: Likewise.
10961 * nss/nss_files/files-sgrp.c: Likewise.
10962 * nss/nss_files/files-spwd.c: Likewise.
10963 * nss/nss_db/db-alias.c: Removed.
10964 * nss/nss_db/dummy-db.h: Removed.
10965
9ee76b5a
UD
109662011-06-02 Ulrich Drepper <drepper@gmail.com>
10967
10968 * nss/makedb.c: Rewritten to not use database library.
10969 * nss/Makefile: Update to build new makedb program.
10970
c71ca1f8
AJ
109712011-06-14 Andreas Jaeger <aj@suse.de>
10972
10973 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10974 memset declaration.
10975
3154bfb8
UD
109762011-06-10 Andreas Schwab <schwab@redhat.com>
10977
10978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10979 tmpbuf.
10980
b350afab
RM
109812011-06-10 Roland McGrath <roland@hack.frob.com>
10982
decd4e50
RM
10983 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10984 * elf/Makefile ($(objpfx)ld.so): Likewise.
10985
5615eaf2
RM
10986 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10987 Don't list ld.so twice in dependencies.
10988
10989 * posix/bug-regex31.c: Include <stdlib.h>.
10990
10991 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10992
10993 * nis/nss_compat/compat-spwd.c
10994 (getspent_next_nss_netgr): Remove unused variable.
10995 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10996
10997 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10998 nonmembers" output to use the right array.
10999
11000 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11001
11002 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11003
11004 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11005 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11006 * catgets/gencat.c (read_input_file): Likewise.
11007 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11008
11009 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11010 variable definition inside #if's controlling its use.
11011
11012 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11013
11014 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11015
11016 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11017
11018 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11019 unreachable code.
11020
11021 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11022
b68e08db
RM
11023 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11024 * configure: Regenerated.
11025
b350afab
RM
11026 * Makerules: Revert last change.
11027 * elf/Makefile: Likewise.
11028
28368601
RM
110292011-06-09 Roland McGrath <roland@hack.frob.com>
11030
11031 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11032 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11033 (reloc-link): Likewise.
11034
11988f8f
UD
110352011-06-09 Ulrich Drepper <drepper@gmail.com>
11036
11037 * elf/Makefile: Add rules to build pldd.
11038 * elf/pldd.c: New file.
11039 * elf/pldd-xx.c: New file.
11040
e80fab37
UD
110412011-06-07 Ulrich Drepper <drepper@gmail.com>
11042
11043 * version.h: Update for 2.15 development version.
11044
9b849836
DM
110452011-06-07 David S. Miller <davem@davemloft.net>
11046
11047 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11048 ifuncs.
11049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11050 elf_machine_lazy_rel): Likewise.
11051 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11053 elf_machine_lazy_rel): Likewise.
11054 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11055 dl_hwcap via passed in argument.
11056 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11057 Likewise.
11058
5a31b283
AK
110592011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11060
11061 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11062
069e52f8
RM
110632011-06-06 Roland McGrath <roland@hack.frob.com>
11064
11065 [BZ #12849]
11066 * manual/fdl-1.1.texi: New file, verbatim from:
11067 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11068 * manual/lgpl-2.1.texi: New file, verbatim from:
11069 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11070 * manual/Makefile (licenses): New variable, list those new file names.
11071 (texis): Use it.
11072 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11073
11074 * manual/fdl.texi: File removed.
11075 * manual/lesser.texi: File removed.
11076 * manual/libc.texinfo (Copying, Documentation License):
11077 Use new @include file names, put @appendix directive before @include.
11078
f16846a5
JJ
110792011-06-04 Jakub Jelinek <jakub@redhat.com>
11080
11081 [BZ #12841]
11082 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11083 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11084 (mq_open): Add __NTH.
11085
3d29045b
L
110862011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11087
11088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11089 Assume Intel Core i3/i5/i7 processor if AVX is available.
11090
8c297311
UD
110912011-05-31 Ulrich Drepper <drepper@gmail.com>
11092
11093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11094 typo.
11095
c8fc0c91
UD
110962011-05-31 Andreas Schwab <schwab@redhat.com>
11097
11098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11099 memory. Use alloca_account. Fix memory leak when retrying.
11100
5b27a807
UD
111012011-05-31 Ulrich Drepper <drepper@gmail.com>
11102
356f8bc6
UD
11103 * version.h (RELEASE): Bump for 2.14 release.
11104 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11105
5b27a807
UD
11106 * config.make.in (RANLIB): Remove entry.
11107
01f16ab0
UD
111082011-05-30 Ulrich Drepper <drepper@gmail.com>
11109
41fce8bd
UD
11110 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11111 (libc.pot): Work around missing support for .ksh extension in xgettext.
11112
4769ae77
UD
11113 [BZ #12684]
11114 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11115 if both request failed.
11116 (send_dg): In case of server errors clear resplen or *resplen2.
11117
6b1e7d19
UD
11118 [BZ #12454]
11119 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11120 when there are multiple maps.
11121 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11122 (_dl_fini): Remove test here.
11123
01f16ab0
UD
11124 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11125
b1ebd700
UD
111262011-05-29 Ulrich Drepper <drepper@gmail.com>
11127
7ae22829
UD
11128 [BZ #12350]
11129 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11130 bit from old_res_options.
11131 (gaih_inet): Likewise.
11132
553149f6 11133 [BZ #11099]
18a84741 11134 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11135 as signed.
11136
652ffab1
UD
11137 * resolv/res_init.c (res_setoptions): Make the code more compact.
11138
16985fd0
UD
11139 [BZ #11558]
11140 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11141 set RES_USEVC.
11142
0464f746
UD
11143 [BZ #11634]
11144 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11145
7d17596c
UD
11146 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11147
cf6bbbd7
UD
11148 [BZ #11781]
11149 * malloc/malloc.h: Declare malloc hook variables as volatile.
11150
13f1ab36
UD
11151 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11152 in last patch.
11153
b1ebd700
UD
11154 [BZ #11799]
11155 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11156 raise in the comment.
80e2212d
UD
11157 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11159 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11160
ce67228d
UD
111612011-05-28 Ulrich Drepper <drepper@gmail.com>
11162
8887a920
UD
11163 [BZ #12811]
11164 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11165 grow the buffers more if it already has to be sufficient.
11166 (build_wcs_upper_buffer): Likewise.
11167 * posix/regexec.c (check_matching): Likewise.
11168 (clean_state_log_if_needed): Likewise.
11169 (extend_buffers): Don't enlarge buffers beyond size of the input
11170 buffer.
11171 Patches mostly by Emil Wojak <emil@wojak.eu>.
11172 * posix/bug-regex32.c: New file.
11173 * posix/Makefile (tests): Add bug-regex32.
11174
4f031072
UD
11175 * locale/findlocale.c (_nl_find_locale): Return right away if
11176 _nl_explode_name failed.
11177 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11178
d0478f0c
UD
11179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11180
de81b246
UD
11181 * debug/xtrace.sh: Unify messages.
11182 * malloc/memusage.sh: Likewise.
11183
c738465a
UD
11184 [BZ #12813]
11185 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11186 time symbol from vDSO. Substitute with vsyscall if not available.
11187 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11188 __vdso_time.
11189
f1f929d7
UD
11190 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11191 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11192 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11193 Add sendmmsg and internal_sendmmsg.
11194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11195 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11196 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11197
ce67228d
UD
11198 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11199 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11200 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11201
e57420c6
UD
112022011-05-27 Ulrich Drepper <drepper@gmail.com>
11203
a8509ca5
UD
11204 [BZ #12813]
11205 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11206 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11207 available.
11208 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11209 __vdso_getcpu.
11210
e57420c6
UD
11211 [BZ #12814]
11212 * iconvdata/Makefile (tests): Add bug-iconv9.
11213 * iconvdata/bug-iconv9.c: New file.
11214
4d07db15
AS
112152011-05-27 Andreas Schwab <schwab@redhat.com>
11216
11217 [BZ #12814]
11218 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11219
ea486f69
JJ
112202011-05-25 Jakub Jelinek <jakub@redhat.com>
11221
11222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11223 (struct user_regs_struct): Change intcs field back to cs.
11224
6f038433
UD
112252011-05-25 Ulrich Drepper <drepper@gmail.com>
11226
11227 * po/ja.po: Update from translation team.
11228
67f86a25
UD
112292011-05-23 Ulrich Drepper <drepper@gmail.com>
11230
11231 [BZ #12795]
11232 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11233 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11234
def7fbd6
AS
112352011-05-20 Andreas Schwab <schwab@redhat.com>
11236
11237 * stdlib/longlong.h: Update from GCC.
11238
f50ef8f1
AS
112392011-05-23 Andreas Schwab <schwab@redhat.com>
11240
11241 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11242 parameter name.
11243 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11244 Add parameter name.
11245 (__sysconf): Pass it down.
11246
de7ce8f1
UD
112472011-05-22 Ulrich Drepper <drepper@gmail.com>
11248
f2962a71
UD
11249 [BZ #12671]
11250 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11251 some situations.
11252 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11253 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11254 add in in __libc_use_alloca calls. Adjust callers.
11255 (glob): Use malloc in some situations.
11256
de7ce8f1
UD
11257 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11258 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11259 pltexit.
11260
aec84f53
UD
112612011-05-21 Ulrich Drepper <drepper@gmail.com>
11262
05bb4a68
UD
11263 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11264 and CLOCK_BOOTTIME_ALARM.
11265
7ea72f99
UD
11266 [BZ #12782]
11267 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11268 is returned.
11269
7e4afad5
UD
11270 * string/_strerror.c (__strerror_r): Print negative errors as signed
11271 numbers.
11272
8e211fec
UD
11273 [BZ #12777]
11274 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11275 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11276 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11277
f7d82dc9
UD
11278 * configure.in: Fix typo in redirection and correct removal of test
11279 files in two cases.
11280
cc9e536d
UD
11281 [BZ #12788]
11282 * locale/setlocale.c (new_composite_name): Fix test to check for
11283 identical name of all categories.
11284
aec84f53
UD
11285 [BZ #12792]
11286 * libio/filedoalloc.c (local_isatty): New function.
11287 (_IO_file_doallocate): Use local_isatty.
11288 * stdio-common/perror.c (perror): In case a new stream is used
11289 forward the stream error.
11290 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11291 error flag.
11292
78e64fdc
RT
112932011-05-20 Ulrich Drepper <drepper@gmail.com>
11294
34a9094f
UD
11295 [BZ #11869]
11296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11297 alloca.
11298 * include/alloca.h (extend_alloca_account): Define.
11299
78e64fdc
RT
11300 [BZ #11857]
11301 * posix/regex.h: Fix comments with documentation of user-accessible
11302 fields after compilation and describe correct free'ing of pattern
11303 after re_compile_pattern.
11304 Patch by Reuben Thomas <rrt@sc3d.org>.
11305
457bddfc
RA
113062011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11307
11308 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11309 and -mno-altivec to prevent the compiler from using Altivec and/or
11310 VSX instructions when the corresponding registers are not available.
11311
a4527b51
AS
113122011-05-19 Andreas Schwab <schwab@redhat.com>
11313
11314 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11315
ed690b2f
UD
113162011-05-19 Ulrich Drepper <drepper@gmail.com>
11317
11318 * libio/freopen.c (freopen): Use __dup2, not dup2.
11319 * libio/freopen64.c (freopen64): Likewise.
11320
8db73634
L
113212011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11322
11323 [BZ #12775]
11324 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11325 * math/Makefile (tests): Add test-powl.
11326 (CFLAGS-test-powl.c): Define.
11327 * math/test-powl.c: New file.
11328
0a197a9d
L
113292011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11330
11331 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11332
ee30c380
UD
113332011-05-17 Ulrich Drepper <drepper@gmail.com>
11334
11335 [BZ #11837]
11336 * iconvdata/gb18030.c: Update to GB18020-2005.
11337
6ce75379
UD
113382011-05-16 Ulrich Drepper <drepper@gmail.com>
11339
a4b89fd8
AR
11340 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11341 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11342 Patch by Aharon Robbins <arnold@skeeve.com>.
11343
ea389b12
UD
11344 [BZ #11892]
11345 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11346 on the stack.
11347
68a3f91f
UD
11348 [BZ #11895]
11349 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11350 through underflows.
11351
15cc7dd1
UD
11352 [BZ #12766]
11353 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11354 point to strings before performing equality test for error_one_per_line
11355 mode.
11356
f3799213
UD
11357 [BZ #11697]
11358 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11359
d79a9c94
UD
11360 [BZ #11820]
11361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11362 (struct user_fpregs_struct): Avoid __uint*_t types.
11363
56e5eb46
UD
11364 [BZ #6420]
11365 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11366 symbol info. Use it instead of calling _dl_addr locally.
11367 (lock_and_info): New function.
11368 (tr_freehook): Call lock_and_info and pass symbol info as additional
11369 parameter to tr_where.
11370 (tr_mallochook): Likewise.
11371 (tr_reallochook): Likewise.
11372 (tr_memalignhook): Likewise.
11373
6ce75379
UD
11374 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11375 used and couldn't be at all thread-safe.
11376
f8a3b5bf
UD
113772011-05-15 Ulrich Drepper <drepper@gmail.com>
11378
94b7cc37
UD
11379 * libio/freopen.c (freopen): Don't close old file descriptor
11380 before the new one is opened. Instead dup the new file descriptor
11381 to the old one after the new stream is created.
11382 * libio/freopen64.c (freopen64): Likewise.
11383 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11384 * libio/fileops.c (_IO_new_file_close_it): Handle new
11385 _IO_FLAGS2_NOCLOSE flag.
11386 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11387 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11388 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11389 _IO_FLAGS2_NOCLOSE flag.
11390 * include/unistd.h: Add hidden_proto for dup3.
11391 Define __have_dup3.
11392 * io/dup3.c: Define hidden symbol.
11393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11394
bd25564e
UD
11395 [BZ #7101]
11396 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11397 when an incomplete long option is used.
11398 * posix/tst-getopt_long1.c: New file.
11399 * posix/Makefile (tests): Add tst-getopt_long1.
11400
c84cfef4
UD
11401 [BZ #10138]
11402 * scripts/config.guess: Update from autoconf-2.68.
11403 * scripts/config.sub: Likewise.
11404
3b85df27
UD
11405 [BZ #10157]
11406 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11407 tests into ...
11408 (has_cpuclock): ...this. New function.
11409 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11410 macro here based on has_cpuclock code.
11411
15a856b1
UD
11412 [BZ #10149]
11413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11414 First byte (not low byte) is now always NUL.
11415 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11416
05f399e6
UD
11417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11418 Use non-cancelable interfaces.
11419
10a52685 11420 [BZ #9809]
94ecc67d
UD
11421 * locale/iso-639.def: Add entry for Sorani.
11422
f8a3b5bf
UD
11423 [BZ #11901]
11424 * include/stdlib.h: Move include protection to the right place.
11425 Define abort_msg_s. Declare __abort_msg with it.
11426 * stdlib/abort.c (__abort_msg): Adjust type.
11427 * assert/assert.c (__assert_fail_base): New function. Majority
11428 of code from __assert_fail. Allocate memory for __abort_msg with
11429 mmap.
11430 (__assert_fail): Now call __assert_fail_base.
11431 * assert/assert-perr.c: Remove bulk of implementation. Use
11432 __assert_fail_base.
11433 * include/assert.hL Declare __assert_fail_base.
11434 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11435 mmap.
11436 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11437
1af4e298
UD
114382011-05-14 Ulrich Drepper <drepper@gmail.com>
11439
f8a3b5bf 11440 [BZ #11952]
d26dfc60
MG
11441 [BZ #12453]
11442 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11443 until all modules are registered in the DTV.
11444 * elf/Makefile: Add rules to build and run tst-tls19.
11445 * elf/tst-tls19.c: New file.
11446 * elf/tst-tls19mod1.c: New file.
11447 * elf/tst-tls19mod2.c: New file.
11448 * elf/tst-tls19mod3.c: New file.
11449 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11450
2fc54d6f
UD
11451 [BZ #12083]
11452 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11453 correctly.
11454
98d76b46
UD
11455 [BZ #12601]
11456 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11457 two-byte sequence errors.
11458 * iconvdata/Makefile (tests): Add bug-iconv8.
11459 * iconvdata/bug-iconv8.c: New file.
11460
da3c19ef
UD
11461 [BZ #12626]
11462 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11463 buf2 definition.
11464
ca408c15
UD
11465 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11466
d6f67f7d
UD
11467 [BZ #12432]
11468 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11469 (dummy_getcfa): New function.
11470 (init): Get _Unwind_GetCFA address, use dummy if not found.
11471 (backtrace_helper): In recursion check, also check whether CFA changes.
11472 (__backtrace): Completely initialize arg.
11473
1af4e298 11474 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11475 storing incomplete byte sequence in state object. Avoid testing for
11476 guaranteed too small input if we know there is enough data available.
1af4e298 11477
da62f81b
AS
114782011-05-11 Andreas Schwab <schwab@redhat.com>
11479
11480 * Makeconfig (+link-pie): Indent.
11481 * Rules (binaries-pie): Define if $(have-fpie) and
11482 $(build-shared).
11483 (binaries-shared): Also filter out $(binaries-pie).
11484 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11485 * nscd/Makefile (others-pie): Add nscd.
11486 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11487 ($(objpfx)nscd): Remove command override.
11488 * login/Makefile (others-pie): Add pt_chown.
11489 ($(objpfx)pt_chown): Remove command override.
11490 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11491 remove command overrides.
11492
fcabc0f8
UD
114932011-05-13 Ulrich Drepper <drepper@gmail.com>
11494
20030ae6
UD
11495 * libio/tst_putwc.c: Fix error messages.
11496
fcabc0f8
UD
11497 [BZ #12724]
11498 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11499 currently writing and seek to current position when not.
11500 * libio/Makefile (tests): Add bug-fclose1.
11501 * libio/bug-fclose1.c: New file.
11502
320a5dc0
PB
115032011-05-12 Ulrich Drepper <drepper@gmail.com>
11504
11505 [BZ #12511]
11506 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11507 don't set DF_1_NODELETE here.
11508 (do_lookup_x): When entering new entry test for copy relocation
11509 and if necessary set DF_1_NODELETE flag.
11510 * elf/tst-unique4.cc: New file.
11511 * elf/tst-unique4.h: New file.
11512 * elf/tst-unique4lib.cc: New file.
11513 * elf/Makefile: Add rules to build and run tst-unique4.
11514 Patch by Piotr Bury <pbury@goahead.com>.
11515
22836f52
UD
115162011-05-11 Ulrich Drepper <drepper@gmail.com>
11517
f574184a
UD
11518 [BZ #12052]
11519 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11520
e1fb097f
UD
11521 [BZ #12625]
11522 * misc/mntent_r.c (addmntent): Flush the stream after the output
11523
22836f52
UD
11524 [BZ #12393]
11525 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11526 (is_trusted_path_normalize): Skip initial colon. Append slash
11527 to empty buffer. Duplicate is_trusted_path code but allow
11528 constructed patch to be prefix.
11529 (is_dst): Allow $ORIGIN followed by /.
11530 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11531 Correct testing of result of is_trusted_path_normalize
11532 (decompose_rpath): Fix warning.
11533
7b3b0b2a
UD
115342011-05-10 Ulrich Drepper <drepper@gmail.com>
11535
11536 [BZ #11257]
11537 * grp/initgroups.c (internal_getgrouplist): When we found the service
11538 list through the initgroups entry in nsswitch.conf do not always
11539 continue on a successful lookup. Don't always use the
eac80ce2 11540 __nss_group_database value if it is set.
7b3b0b2a
UD
11541 * nss/nsswitch.conf (initgroups): Change action for successful db
11542 lookup to continue for compatibility.
11543
2a81eaa5
UD
115442011-05-09 Ulrich Drepper <drepper@gmail.com>
11545
be97a69e
UD
11546 [BZ #11532]
11547 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11548 and CP774 modules.
11549 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11550 and CP774 modules.
11551 * iconvdata/tst-tables.sh: Likewise.
11552 * iconvdata/cp770.c: New file.
11553 * iconvdata/cp771.c: New file.
11554 * iconvdata/cp772.c: New file.
11555 * iconvdata/cp773.c: New file.
11556 * iconvdata/cp774.c: New file.
11557 * iconvdata/testdata/CP770: New file.
11558 * iconvdata/testdata/CP770..UTF8: New file.
11559 * iconvdata/testdata/CP771: New file.
11560 * iconvdata/testdata/CP771..UTF8: New file.
11561 * iconvdata/testdata/CP772: New file.
11562 * iconvdata/testdata/CP772..UTF8: New file.
11563 * iconvdata/testdata/CP773: New file.
11564 * iconvdata/testdata/CP773..UTF8: New file.
11565 * iconvdata/testdata/CP774: New file.
11566 * iconvdata/testdata/CP774..UTF8: New file.
11567
11568 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11569 END CHARMAP line.
11570 * iconvdata/gen-8bit-gap.sh: Likewise.
11571 * iconvdata/gen-8bit.sh: Likewise.
11572
c1e9e399
UD
11573 * locale/iso-639.def: Add ary entry.
11574
24c55fb3 11575 [BZ #11258]
96b4b1b0
UD
11576 * locale/C-translit.h.in: Add U20A1 transliteration.
11577
bdc2f971
KB
11578 [BZ #12178]
11579 * locale/iso-639.def: Add wae entry.
11580 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11581
2952b117
UD
11582 [BZ #12545]
11583 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11584 for n.
11585
2a81eaa5
UD
11586 [BZ #12711]
11587 * locale/C-translit.h.in: Add entry for U20B9.
11588 Patch by pravin.d.s@gmail.com.
11589
28377d1b
UD
115902011-05-08 Ulrich Drepper <drepper@gmail.com>
11591
7fb90fb8
UD
11592 [BZ #12713]
11593 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11594 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11595 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11596 in rtld. Use *stat64.
7fb90fb8 11597 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11598 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11599 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11600 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11601 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11602 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11603 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11604 __fstatat64 macros.
7fb90fb8
UD
11605 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11606 * dirent/rewinddir.c: Add libc_hidden_def.
11607 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11608 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11609
28377d1b
UD
11610 * include/dirent.h (__alloc_dir): Add flags parameter.
11611 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11612 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11613 __alloc_dir.
11614 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11615 from fdopendir if O_CLOEXEC is already set.
11616
66bdbaa4
AM
116172011-03-15 Alan Modra <amodra@gmail.com>
11618
11619 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11620 l_tls_firstbyte_offset non-zero. Save padding offset in
11621 l_tls_firstbyte_offset for later use.
11622 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11623 freeing static tls block.
11624
95721191
JN
116252011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11626
11627 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11628 where #ifdef was intended. The intent is to prevent ARG_MAX from
11629 being defined by the kernel headers.
11630
f87dfb1f
UD
116312011-05-07 Ulrich Drepper <drepper@gmail.com>
11632
11633 [BZ #12734]
11634 * resolv/resolv.h: Define RES_NOTLDQUERY.
11635 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11636 no-tld-query and set RES_NOTLDQUERY.
11637 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11638 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11639 modern BIND to search name as TLD unless forbidden.
11640
47c3cd7a
UD
116412011-05-07 Petr Baudis <pasky@suse.cz>
11642 Ulrich Drepper <drepper@gmail.com>
11643
11644 [BZ #12393]
11645 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11646 (is_trusted_path): ...to here.
c1e9ea35 11647 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11648 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11649 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11650
8a35c912
PP
116512011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11652
11653 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11654 __BEGIN/__END_DECLS.
11655
acd41f47
UD
116562011-05-06 Ulrich Drepper <drepper@gmail.com>
11657
11658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11659 NSS_STATUS_NOTFOUND if no record was found.
11660
597df647
AS
116612011-05-05 Andreas Schwab <schwab@redhat.com>
11662
11663 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11664 (headers-not-in-tirpc): Remove rpc/netdb.h
11665 * resolv/netdb.h: Revert last change.
11666
b9af1301
PP
116672011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11668
11669 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11670 circular dependency between libgcc.a and libc.a.
11671
4e34d5f5
AS
116722011-05-05 Andreas Schwab <schwab@redhat.com>
11673
11674 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11675 * nis/Makefile: Don't install rpcsvc/*.
11676 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11677 instead of <rpc/types.h>.
11678 (MAXHOSTNAMELEN): Define.
11679
00ee369c
AS
116802011-05-03 Andreas Schwab <schwab@redhat.com>
11681
11682 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11683
0b592a30
MB
116842011-04-28 Maciej Babinski <mbabinski@google.com>
11685
11686 [BZ #12714]
11687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11688 gethostbyname4_r when IPv6 results are possible.
11689
6e04cbbe
UD
116902011-05-02 Ulrich Drepper <drepper@gmail.com>
11691
11692 [BZ #12723]
11693 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11694 _PC_PIPE_BUF handling.
11695
e4ecafe0
BH
116962011-04-30 Bruno Haible <bruno@clisp.org>
11697
11698 [BZ #12717]
11699 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11700 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11701 to 'int'.
11702 * inet/getnameinfo.c (getnameinfo): Likewise.
11703
125ee683
UD
117042011-04-29 Ulrich Drepper <drepper@gmail.com>
11705
11706 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11707 to groups setting in database lookup.
11708 * nss/nsswitch.conf: Add initgroups entry.
11709
b722481a
EB
117102011-04-22 Ulrich Drepper <drepper@gmail.com>
11711
11712 [BZ #12685]
11713 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11714 mode string.
11715 Patch by Eric Blake <eblake@redhat.com>.
11716
4df46dbd
L
117172011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11718
11719 * sunrpc/Makefile (need-export-routines): Add svc_run.
11720 (routines): Remove svc_run.
11721 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11722 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11723 * sunrpc/svc_run.c (svc_run): Likewise.
11724 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11725
e84142d2
UD
117262011-04-21 Ulrich Drepper <drepper@gmail.com>
11727
11728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11729 problem in reallocation in last patch.
11730
877175d8
UD
117312011-04-20 Ulrich Drepper <drepper@gmail.com>
11732
11733 * sunrpc/Makefile: Move inclusion of Rules.
11734
ab8eed78
UD
117352011-04-19 Ulrich Drepper <drepper@gmail.com>
11736
11737 * nss/nss_files/files-initgroups.c: New file.
11738 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11739 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11740 _nss_files_initgroups_dyn.
11741
e3d8f584
RS
117422011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11743
11744 * elf/elf.h (R_ARM_IRELATIVE): Define.
11745
af190f45
UD
117462011-04-19 Ulrich Drepper <drepper@gmail.com>
11747
11748 * po/ru.po: Update from translation team.
11749
53cf59ef
UD
117502011-04-17 Ulrich Drepper <drepper@gmail.com>
11751
11752 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11753 dependencies.
11754
4c559bcd
MF
117552011-02-06 Mike Frysinger <vapier@gentoo.org>
11756
11757 [BZ #12653]
11758 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11759 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11763
4420675c
AS
117642011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11765
11766 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11767 differing bytes.
11768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11771
75ea32ab
UD
117722011-04-17 Ulrich Drepper <drepper@gmail.com>
11773
11774 [BZ #12420]
11775 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11776 storing it.
11777 * stdlib/bug-getcontext.c: New file.
11778 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11779
27390476
AK
117802011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11781
11782 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11783 instructions into .machine "z9-109".
11784 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11785 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11786
10442705
AK
117872011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11788
11789 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11790 between environment variables and auxiliary vector.
11791
7b57bfe5
UD
117922011-04-16 Ulrich Drepper <drepper@gmail.com>
11793
11794 * Makefile: Add rules to build linkobj/libc.so.
11795 * include/libc-symbols.h: Define libc_hidden_nolink.
11796 * include/rpc/auth.h: Mark functions which are to be hidden.
11797 * include/rpc/auth_des.h: Likewise.
11798 * include/rpc/auth_unix.h: Likewise.
11799 * include/rpc/clnt.h: Likewise.
11800 * include/rpc/des_crypt.h: Likewise.
11801 * include/rpc/key_prot.h: Likewise.
11802 * include/rpc/pmap_clnt.h: Likewise.
11803 * include/rpc/pmap_prot.h: Likewise.
11804 * include/rpc/pmap_rmt.h: Likewise.
11805 * include/rpc/rpc_msg.h: Likewise.
11806 * include/rpc/svc.h: Likewise.
11807 * include/rpc/svc_auth.h: Likewise.
11808 * include/rpc/xdr.h: Likewise.
11809 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11810 * nss/Makefile: Likewise.
11811 * sunrpc/Makefile: Don't install headers. Build library with normal
11812 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11813 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11814 for the compat linking library. Remove use of INTDEF/INTUSE.
11815 * sunrpc/auth_none.c: Likewise.
11816 * sunrpc/auth_unix.c: Likewise.
11817 * sunrpc/authdes_prot.c: Likewise.
11818 * sunrpc/authuxprot.c: Likewise.
11819 * sunrpc/clnt_gen.c: Likewise.
11820 * sunrpc/clnt_perr.c: Likewise.
11821 * sunrpc/clnt_raw.c: Likewise.
11822 * sunrpc/clnt_simp.c: Likewise.
11823 * sunrpc/clnt_tcp.c: Likewise.
11824 * sunrpc/clnt_udp.c: Likewise.
11825 * sunrpc/clnt_unix.c: Likewise.
11826 * sunrpc/des_crypt.c: Likewise.
11827 * sunrpc/des_soft.c: Likewise.
11828 * sunrpc/get_myaddr.c: Likewise.
11829 * sunrpc/key_call.c: Likewise.
11830 * sunrpc/key_prot.c: Likewise.
11831 * sunrpc/netname.c: Likewise.
11832 * sunrpc/pm_getmaps.c: Likewise.
11833 * sunrpc/pm_getport.c: Likewise.
11834 * sunrpc/pmap_clnt.c: Likewise.
11835 * sunrpc/pmap_prot.c: Likewise.
11836 * sunrpc/pmap_prot2.c: Likewise.
11837 * sunrpc/pmap_rmt.c: Likewise.
11838 * sunrpc/publickey.c: Likewise.
11839 * sunrpc/rpc_cmsg.c: Likewise.
11840 * sunrpc/rpc_common.c: Likewise.
11841 * sunrpc/rpc_dtable.c: Likewise.
11842 * sunrpc/rpc_prot.c: Likewise.
11843 * sunrpc/rpc_thread.c: Likewise.
11844 * sunrpc/rtime.c: Likewise.
11845 * sunrpc/svc.c: Likewise.
11846 * sunrpc/svc_auth.c: Likewise.
11847 * sunrpc/svc_authux.c: Likewise.
11848 * sunrpc/svc_raw.c: Likewise.
11849 * sunrpc/svc_run.c: Likewise.
11850 * sunrpc/svc_simple.c: Likewise.
11851 * sunrpc/svc_tcp.c: Likewise.
11852 * sunrpc/svc_udp.c: Likewise.
11853 * sunrpc/svc_unix.c: Likewise.
11854 * sunrpc/svcauth_des.c: Likewise.
11855 * sunrpc/xcrypt.c: Likewise.
11856 * sunrpc/xdr.c: Likewise.
11857 * sunrpc/xdr_array.c: Likewise.
11858 * sunrpc/xdr_float.c: Likewise.
11859 * sunrpc/xdr_intXX_t.c: Likewise.
11860 * sunrpc/xdr_mem.c: Likewise.
11861 * sunrpc/xdr_rec.c: Likewise.
11862 * sunrpc/xdr_ref.c: Likewise.
11863 * sunrpc/xdr_sizeof.c: Likewise.
11864 * sunrpc/xdr_stdio.c: Likewise.
11865
e6c61494
UD
118662011-04-10 Ulrich Drepper <drepper@gmail.com>
11867
11868 [BZ #12650]
11869 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11870 * sysdeps/ia64/dl-tls.h: Likewise.
11871 * sysdeps/powerpc/dl-tls.h: Likewise.
11872 * sysdeps/s390/dl-tls.h: Likewise.
11873 * sysdeps/sh/dl-tls.h: Likewise.
11874 * sysdeps/sparc/dl-tls.h: Likewise.
11875 * sysdeps/x86_64/dl-tls.h: Likewise.
11876 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11877
34fe483e
AS
118782011-03-14 Andreas Schwab <schwab@redhat.com>
11879
11880 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11881 rpath element also skip the following colon.
11882 (expand_dynamic_string_token): Add is_path parameter and pass
11883 down to DL_DST_REQUIRED and _dl_dst_substitute.
11884 (decompose_rpath): Call expand_dynamic_string_token with
11885 non-zero is_path. Ignore empty rpaths.
11886 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11887 with zero is_path.
11888
f12a32e6
AS
118892011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11890
11891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11892 Make cancelable.
11893
38a7d692
UD
118942011-04-09 Ulrich Drepper <drepper@gmail.com>
11895
11896 [BZ #12655]
11897 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11898 Patch by Filipe David Manana <fdmanana@apache.org>.
11899
e451d22b
AS
119002011-04-07 Andreas Schwab <schwab@redhat.com>
11901
11902 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11903 Maintain aligned stack.
11904 (CHECK_RSP): Remove unused macro.
11905
dedc7c7b
UD
119062011-04-03 Ulrich Drepper <drepper@gmail.com>
11907
11908 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11909 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11910
94521213
UD
119112011-04-02 Ulrich Drepper <drepper@gmail.com>
11912
11913 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11914
8cb700c0 11915 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11916
0354e355
L
119172011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11918
11919 [BZ #12518]
11920 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11921 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11922 * sysdeps/x86_64/memmove.c: New file.
11923 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11924 (memcpy): Renamed to ...
11925 (__new_memcpy): This.
11926 (memcpy): Provide GLIBC_2_14 memcpy.
11927 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11928 (memcpy): Provide GLIBC_2_2_5 memcpy.
11929
8593482f
UD
119302011-04-01 Ulrich Drepper <drepper@gmail.com>
11931
11932 [BZ #12631]
11933 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11934
81a5726b
AS
119352011-03-30 Andreas Schwab <schwab@redhat.com>
11936
11937 * misc/syncfs.c: New file.
11938 * misc/Makefile (routines): Add syncfs.
11939 * posix/unistd.h: Declare syncfs.
11940 * sysdeps/unix/syscalls.list: Add syncfs.
11941
00e5419f
AS
119422011-04-01 Andreas Schwab <schwab@redhat.com>
11943
11944 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11945 open_by_handle_at.
11946 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11948 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11949 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11951 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11953
748876bf
UD
119542011-04-01 Ulrich Drepper <drepper@gmail.com>
11955
658e451d
UD
11956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11957 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11958 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11960 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11963
748876bf
UD
11964 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11965 sync_file_range.c with -fexceptions.
11966 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11967 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11968 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11969 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11970 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11971 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11973 sync_file_range as cancellation point
11974 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11975 now a wrapper around __call_sync_file_range with cancellation handling.
11976 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11977 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11978 function name to __call_sync_file_range.
11979 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11980 Add call_sync_file_range.
748876bf 11981
6e63d5e1
AS
119822011-04-01 Andreas Schwab <schwab@redhat.com>
11983
11984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11985 bits/timex.h.
6e63d5e1 11986
46998f74
UD
119872011-04-01 Ulrich Drepper <drepper@gmail.com>
11988
4c1423ed
UD
11989 * iconv/iconv.h: Fix typo in comment.
11990 * io/fcntl.h: Likewise.
11991 * libio/stdio.h: Likewise.
11992 * posix/spawn.h: Likewise.
11993 * posix/unistd.h: Likewise.
11994 * stdlib/stdlib.h: Likewise.
11995 * time/time.h: Likewise.
11996 * wcsmbs/wchar.h: Likewise.
11997
158648c0
UD
11998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11999 open_by_handle): Add.
12000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12001 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12002 Augment a few comments.
12003 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12008 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12009 open_by_handle.
12010
46998f74
UD
12011 * io/fcntl.h (AT_EMPTY_PATH): Define.
12012
83fe108b
UD
120132011-03-30 Ulrich Drepper <drepper@gmail.com>
12014
12015 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12016 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12017 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12018 to...
12019 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12020 * Versions.def: Add GLIBC_2.14.
12021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12022 Export.
83fe108b 12023
bb242059
UD
120242011-03-22 Ulrich Drepper <drepper@gmail.com>
12025
12026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12027 round counter.
12028 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12029
c97a1282
L
120302011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 [BZ #12597]
12033 * string/test-strncmp.c (do_page_test): New function.
12034 (check2): Likewise.
12035 (test_main): Call check2.
12036 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12037
2a115601
UD
120382011-03-20 Ulrich Drepper <drepper@gmail.com>
12039
12040 [BZ #12587]
12041 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12042 Handle cache information in CPU leaf 4.
12043 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12044
8126d904
UD
120452011-03-18 Ulrich Drepper <drepper@gmail.com>
12046
042c49c6 12047 [BZ #12583]
8126d904
UD
12048 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12049 character representation.
12050 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12051
ccfe366e
RA
120522011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12053
12054 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12055 END(__isnan) to END(__isnanf) to match function entry point/label
12056 EALIGN(__isnanf,...).
12057
c6e13027
JJ
120582011-03-10 Jakub Jelinek <jakub@redhat.com>
12059
12060 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12061
33f85a3f
UD
120622011-03-10 Ulrich Drepper <drepper@gmail.com>
12063
028478fa
UD
12064 [BZ #12510]
12065 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12066 copy from the symbol referenced in the relocation to initialize the
12067 used variable.
12068 Patch by Piotr Bury <pbury@goahead.com>.
12069 * elf/Makefile: Add rules to build and tst-unique3.
12070 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12071 * elf/tst-unique3.cc: New file.
12072 * elf/tst-unique3.h: New file.
12073 * elf/tst-unique3lib.cc: New file.
12074 * elf/tst-unique3lib2.cc: New file.
12075
33f85a3f
UD
12076 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12077
03592fc7
MF
120782011-03-10 Mike Frysinger <vapier@gentoo.org>
12079
12080 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12081 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12082 to _start.
03592fc7 12083
6a5ee102
UD
120842011-03-06 Ulrich Drepper <drepper@gmail.com>
12085
12086 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12087 to-be-loaded object along a path to loader is ld.so.
12088
7e4ba49c
HJ
120892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12090 Ulrich Drepper <drepper@gmail.com>
12091
12092 * sysdeps/x86_64/memset.S: After aligning destination, code
12093 branches to different locations depending on the value of
12094 misalignment, when multiarch is enabled. Fix this.
12095
120962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12097
12098 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12099 Set _x86_64_preferred_memory_instruction for AMD processsors.
12100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12101 Set bit_Prefer_SSE_for_memop for AMD processors.
12102
13a804de
UD
121032011-03-04 Ulrich Drepper <drepper@gmail.com>
12104
12105 * libio/fmemopen.c (fmemopen): Optimize a bit.
12106
9d25c392
AS
121072011-03-03 Andreas Schwab <schwab@redhat.com>
12108
12109 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12110
a5543c6a
RM
121112011-03-03 Roland McGrath <roland@redhat.com>
12112
12113 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12114
012d35f7
DM
121152011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12116
7e4ba49c 12117 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12118 __bzero_ultra1 instead of __memset_ultra1.
12119
4bff6e01
AS
121202011-02-23 Andreas Schwab <schwab@redhat.com>
12121 Ulrich Drepper <drepper@gmail.com>
12122
12123 [BZ #12509]
12124 * include/link.h (struct link_map): Add l_orig_initfini.
12125 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12126 returning unsuccessfully.
12127 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12128 close of a file loaded at startup, restore the original l_initfini
12129 list.
12130 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12131 list, store the pointer.
12132 * elf/Makefile ($(objpfx)noload-mem): New rule.
12133 (noload-ENV): Define.
12134 (tests): Add $(objpfx)noload-mem.
12135 * elf/noload.c: Include <memcheck.h>.
12136 (main): Call mtrace. Close all opened handles.
12137
f2092faf
AS
121382011-02-17 Andreas Schwab <schwab@redhat.com>
12139
12140 [BZ #12454]
12141 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12142 dependencies are missing.
12143
6c8a2e88
ST
121442011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12145
f2092faf 12146 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12147 Hurd needs munmap.
12148 * sysdeps/mach/hurd/ifreq.h: New file.
12149
84a42118
PB
121502011-01-27 Petr Baudis <pasky@suse.cz>
12151 Ulrich Drepper <drepper@gmail.com>
12152
071f805e 12153 [BZ 12445]#
84a42118
PB
12154 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12155 to extend_alloca().
12156 * stdio-common/bug23.c: New file.
12157 * stdio-common/Makefile (tests): Add bug23.
12158
e23fe25b
AS
121592010-09-28 Andreas Schwab <schwab@redhat.com>
12160 Ulrich Drepper <drepper@gmail.com>
12161
12162 [BZ #12489]
12163 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12164 before performing relro protection. At old place add assertion
12165 to make sure nothing changed.
12166
d3f02e10
NS
121672011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12168 Glauber de Oliveira Costa <glommer@gmail.com>
12169
12170 * elf/elf.h: Add new ARM TLS relocs.
12171
d55fd7a5
RA
121722011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12173
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12175 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12176 cast from r3.
12177 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12178 'tests' variable.
12179 * sysdeps/wordsize-64/tst-writev.c: New file.
12180
2206397e
RA
121812011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12182
12183 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12184 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12185 insns in _dl_start to prevent a TOC reference before relocs are
12186 resolved.
12187
e9433893
UD
121882011-02-15 Ulrich Drepper <drepper@gmail.com>
12189
12190 [BZ #12469]
12191 * Makeconfig: Remove RANLIB definition.
12192 * Makerules: Don't use RANLIB.
12193 * aclocal.m4: Remove ranlib test.
12194 * configure.in: No need to check for ranlib.
12195 * elf/rtld-Rules: Don't use RANLIB.
12196
f75286c6
ST
121972011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12198
8e31c82d
ST
12199 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12200 protection macro.
12201 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12202 inclusion protection macro.
12203
f75286c6
ST
12204 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12205 SIGRTMIN and SIGRTMAX and print information in that case only when
12206 SIGRTMIN is defined.
12207
c1d0e639
JJ
122082011-02-11 Jakub Jelinek <jakub@redhat.com>
12209
12210 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12211 arginfo fn returning -1.
12212
12213 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12214 and thousands string is zero terminated.
12215
edf9294e
AS
122162011-02-03 Andreas Schwab <schwab@redhat.com>
12217
12218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12219 sysdeps/unix/sysv/linux/bits/socket.h.
12220
2b7e92df
ST
122212011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12222
edf9294e
AS
12223 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12224 (__CPU_COUNT): Remove old macros.
12225 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12226 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12227 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12228 (__sched_cpualloc, __sched_cpufree): Add declarations.
12229
a4c7ea7b
UD
122302011-02-05 Ulrich Drepper <drepper@gmail.com>
12231
12232 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12233 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12234 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12235 (readdhstai): Return value of addhstaiX call.
12236 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12237 (addgrbyX): Return value returned by cache_addgr.
12238 (readdgrbyname): Return value returned by addgrbyX.
12239 (readdgrbygid): Likewise.
12240 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12241 (addpwbyX): Return value returned by cache_addpw.
12242 (readdpwbyname): Return value returned by addhstbyX.
12243 (readdpwbyuid): Likewise.
12244 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12245 (addservbyX): Return value returned by cache_addserv.
12246 (readdservbyname): Return value returned by addservbyX:
12247 (readdservbyport): Likewise.
12248 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12249 (addhstbyX): Return value returned by cache_addhst.
12250 (readdhstbyname): Return value returned by addhstbyX.
12251 (readdhstbyaddr): Likewise.
12252 (readdhstbynamev6): Likewise.
12253 (readdhstbyaddrv6): Likewise.
12254 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12255 (readdinitgroups): Return value returned by addinitgroupsX.
12256 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12257 (prune_cache): Keep track of timeout value of re-added entries.
12258 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12259 * nscd/nscd.h: Adjust prototypes of readd* functions.
12260
a0bf67cc
RM
122612011-02-04 Roland McGrath <roland@redhat.com>
12262
12263 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12264 (nis_stats): Likewise.
12265 * nis/nis_modify.c (nis_modify): Likewise.
12266 * nis/nis_remove.c (nis_remove): Likewise.
12267 * nis/nis_add.c (nis_add): Likewise.
12268
12269 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12270
12271 * posix/fnmatch_loop.c: Add some consts.
12272
12273 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12274
435b95eb
L
122752011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12276
12277 [BZ #12460]
12278 * config.make.in (config-cflags-novzeroupper): Define.
12279 * configure.in: Substitute libc_cv_cc_novzeroupper.
12280 * elf/Makefile (AVX-CFLAGS): Define.
12281 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12282 (CFLAGS-tst-auditmod4a.c): Likewise.
12283 (CFLAGS-tst-auditmod4b.c): Likewise.
12284 (CFLAGS-tst-auditmod6b.c): Likewise.
12285 (CFLAGS-tst-auditmod6c.c): Likewise.
12286 (CFLAGS-tst-auditmod7b.c): Likewise.
12287 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12288
8517b15e
UD
122892011-02-02 Ulrich Drepper <drepper@gmail.com>
12290
12291 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12292 function to the callback.
12293 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12294
10a656fe
AS
122952011-02-02 Andreas Schwab <schwab@redhat.com>
12296
12297 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12298 of errno.
12299
968dad0a
UD
123002011-01-19 Ulrich Drepper <drepper@gmail.com>
12301
9f94d2ea 12302 [BZ #11724]
968dad0a
UD
12303 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12304 of constructors.
12305 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12306 of destructors.
12307 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12308
12309 [BZ #11724]
12310 * elf/Makefile: Add rules to build and run new test.
12311 * elf/tst-initorder.c: New file.
12312 * elf/tst-initorder.exp: New file.
12313 * elf/tst-initordera1.c: New file.
12314 * elf/tst-initordera2.c: New file.
12315 * elf/tst-initordera3.c: New file.
12316 * elf/tst-initordera4.c: New file.
12317 * elf/tst-initorderb1.c: New file.
12318 * elf/tst-initorderb2.c: New file.
12319 * elf/tst-order-a1.c: New file.
12320 * elf/tst-order-a2.c: New file.
12321 * elf/tst-order-a3.c: New file.
12322 * elf/tst-order-a4.c: New file.
12323 * elf/tst-order-b1.c: New file.
12324 * elf/tst-order-b2.c: New file.
12325 * elf/tst-order-main.c: New file.
12326 New test case by George Gensure <werkt0@gmail.com>.
12327
86e92359
UD
123282010-10-01 Andreas Schwab <schwab@redhat.com>
12329
12330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12331 decoding ACE if AI_CANONIDN.
12332
5d5732b0
UD
123332011-01-18 Ulrich Drepper <drepper@gmail.com>
12334
12335 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12336
a77e8cbc
UD
123372011-01-17 Ulrich Drepper <drepper@gmail.com>
12338
6392473f
UD
12339 * version.h (RELEASE): Bump for 2.13 release.
12340 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12341
620a0529
UD
12342 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12343
18ba70a5
UD
12344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12345 MADV_NOHUGEPAGE.
32465c3e
UD
12346 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12347 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12348 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12349 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12350 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12352
c0dafcf1
UD
12353 * posix/getconf.c: Update copyright year.
12354 * catgets/gencat.c: Likewise.
12355 * csu/version.c: Likewise.
12356 * debug/catchsegv.sh: Likewise.
12357 * debug/xtrace.sh: Likewise.
12358 * elf/ldconfig.c: Likewise.
12359 * elf/ldd.bash.in: Likewise.
12360 * elf/sprof.c (print_version): Likewise.
12361 * iconv/iconv_prog.c: Likewise.
12362 * iconv/iconvconfig.c: Likewise.
12363 * locale/programs/locale.c: Likewise.
12364 * locale/programs/localedef.c: Likewise.
12365 * malloc/memusage.sh: Likewise.
12366 * malloc/mtrace.pl: Likewise.
12367 * nscd/nscd.c (print_version): Likewise.
12368 * nss/getent.c: Likewise.
12369
a77e8cbc
UD
12370 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12371 PF_CAIF, and PF_ALG.
12372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12373
77e8bddf
AS
123742011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12375
1f20b93a
AS
12376 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12377 (modules-names): Use them.
12378 (ifunc-test-modules, ifunc-pie-tests): Define.
12379 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12380 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12381 (test-extras): Likewise.
12382 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12383 $(compile-command.c).
12384 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12385 (all-built-dso): Define.
12386 (check-textrel.out, check-execstack.out): Depend on it.
12387
77e8bddf
AS
12388 * configure.in: Don't override --enable-multi-arch.
12389
bc425b33
UD
123902011-01-15 Ulrich Drepper <drepper@gmail.com>
12391
12392 [BZ #6812]
12393 * nscd/hstcache.c (tryagain): Define.
12394 (cache_addhst): Return tryagain not notfound for temporary errors.
12395 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12396 failed.
12397
794c3ad3
UD
123982011-01-14 Ulrich Drepper <drepper@gmail.com>
12399
70181fdd
UD
12400 [BZ #10563]
12401 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12402 to make the syscall.
12403 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12404
794c3ad3
UD
12405 [BZ #12378]
12406 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12407 and fall back to matching as normal character if the string ends before
12408 the matching ']' is found. This is what POSIX requires.
12409 * posix/testfnm.c: Adjust test result.
12410 * posix/globtest.sh: Adjust test result. Add new test.
12411 * posix/tst-fnmatch.input: Likewise.
12412 * posix/tst-fnmatch2.c: Add new test.
12413
68dc9497
AS
124142010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12415
12416 * elf/Makefile (check-execstack): Revert last change. Depend on
12417 check-execstack.h.
12418 (check-execstack.h): New target.
12419 (generated): Add check-execstack.h.
12420 * elf/check-execstack.c: Include "check-execstack.h".
12421 (main): Revert last change.
12422 (handle_file): Return zero if GNU_STACK is absent and
12423 DEFAULT_STACK_PERMS doesn't include PF_X.
12424
451f001b
UD
124252011-01-13 Ulrich Drepper <drepper@gmail.com>
12426
cfa28e56
UD
12427 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12428 in child fails because the descriptor is already closed.
8cf8ce17
UD
12429 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12430 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12431 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12432
1086d70d
UD
12433 [BZ #12397]
12434 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12435 syscall.
12436
451f001b
UD
12437 [BZ #10484]
12438 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12439 temporary buffer used to handle multi lookups locally.
a85b5cb4 12440 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12441
08769175
UD
124422011-01-12 Ulrich Drepper <drepper@gmail.com>
12443
12444 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12445 loader is ld.so.
12446
5e49c52e
UD
124472011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12448
12449 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12450 alignment for SSE2.
12451
60522a5f
UD
124522011-01-12 Ulrich Drepper <drepper@gmail.com>
12453
12454 [BZ #12394]
12455 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12456 characters. When rounding increased number of integer digits recompute
12457 number of groups.
12458 * stdio-common/tst-grouping.c: New file.
12459 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12460
f257bbd7
UD
124612011-01-09 Ulrich Drepper <drepper@gmail.com>
12462
12463 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12464 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12465
12466 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12467 void.
12468 * bits/select.h: Likewise.
12469
fa9c15cb
UD
124702011-01-08 Ulrich Drepper <drepper@gmail.com>
12471
12472 * po/ja.po: Update from translation team.
12473
16c2895f
DM
124742011-01-04 David S. Miller <davem@sunset.davemloft.net>
12475
12476 [BZ #11155]
12477 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12478 implementation just like for lxstat, fxstatat, et al.
12479
2543fef2
JM
124802010-12-27 Jim Meyering <meyering@redhat.com>
12481
12482 [BZ #12348]
12483 * posix/regexec.c (build_trtable): Return failure indication upon
12484 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12485
98727dbe
UD
124862010-12-25 Ulrich Drepper <drepper@gmail.com>
12487
5bd6dc5c
UD
12488 [BZ #12201]
12489 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12490 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12491 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12493
97983464
UD
12494 [BZ #12207]
12495 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12496
98727dbe
UD
12497 [BZ #12204]
12498 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12499 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12500
4a531bb0
L
125012010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12502
12503 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12504 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12505 script has SORT_BY_INIT_PRIORITY.
12506 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12507 NO_CTORS_DTORS_SECTIONS is defined.
12508 * elf/soinit.c: Likewise.
12509 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12510 NO_CTORS_DTORS_SECTIONS is defined.
12511 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12512 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12513 * sysdeps/sh/init-first.c: Likewise.
12514 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12515
07eb4b71
UD
125162010-12-24 Ulrich Drepper <drepper@gmail.com>
12517
12518 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12519 always use the slow path.
12520
30950a5f
RA
125212010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12522
12523 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12524 similar rule which adds the sysdep directories to the header search in
12525 order to pick up the correct platform stackinfo.h.
12526 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12527 perform test if it is, otherwise return successfully without testing.
12528 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12529 DEFAULT_STACK_PERMS define in stackinfo.h.
12530 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12531 defined in stackinfo.h.
12532 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12533 DEFAULT_STACK_PERMS defined in stackinfo.h.
12534 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12535 * sysdeps/ia64/stackinfo.h: Likewise.
12536 * sysdeps/s390/stackinfo.h: Likewise.
12537 * sysdeps/sh/stackinfo.h: Likewise.
12538 * sysdeps/sparc/stackinfo.h: Likewise.
12539 * sysdeps/x86_64/stackinfo.h: Likewise.
12540 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12541 PF_X for powerpc64. Retain PF_X for powerpc32.
12542
db753e2c
UD
125432010-12-19 Ulrich Drepper <drepper@gmail.com>
12544
14b697f7
UD
12545 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12546 accurately.
db753e2c
UD
12547 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12548 GETDENTS_64BIT_ALIGNED.
12549
28300719
UD
125502010-12-14 Ulrich Drepper <dreper@gmail.com>
12551
14b697f7 12552 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12553
4f197237
AS
125542010-12-10 Andreas Schwab <schwab@redhat.com>
12555
dbb0472f
AS
12556 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12557 _GNU_SOURCE.
12558
4f197237
AS
12559 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12560 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12561 Remove __restrict.
12562 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12563 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12564
fb88ac72
UD
125652010-12-09 Ulrich Drepper <drepper@gmail.com>
12566
12567 [BZ #11655]
12568 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12569 are initialized.
12570
42acbb92
JJ
125712010-12-09 Jakub Jelinek <jakub@redhat.com>
12572
12573 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12574
c038d98d
UD
125752010-12-03 Ulrich Drepper <drepper@gmail.com>
12576
12577 * po/it.po: Update from translation team.
12578
3a4a2499
L
125792010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12580
12581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12582 unused codes.
12583
1e24cf6e
UD
125842010-11-30 Ulrich Drepper <drepper@gmail.com>
12585
12586 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12587
a7690819
AS
125882010-11-24 Andreas Schwab <schwab@redhat.com>
12589
12590 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12591 specially.
12592 (gaih_getanswer_slice): Likewise.
12593
3bf8d1b1
JJ
125942010-10-20 Jakub Jelinek <jakub@redhat.com>
12595
12596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12597
6db52fbb
PB
125982010-05-31 Petr Baudis <pasky@suse.cz>
12599
12600 [BZ #11149]
12601 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12602 silently even in the chroot mode.
12603
eaca7569
UD
126042010-11-22 Ulrich Drepper <drepper@gmail.com>
12605
12606 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12607 last patch a bit. Pretty printing
12608
3056dcdb
UD
126092010-05-31 Petr Baudis <pasky@suse.cz>
12610
12611 [BZ #10085]
12612 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12613 initialization of skip_initgroups_dyn.
12614
cf7c9078
UD
126152010-11-19 Ulrich Drepper <drepper@gmail.com>
12616
12617 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12619
a1fb5e3e
UD
126202010-11-16 Ulrich Drepper <drepper@gmail.com>
12621
12622 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12623
3540d66b
AS
126242010-11-11 Andreas Schwab <schwab@redhat.com>
12625
12626 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12627 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12628 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12629 ($(objpfx)tst-fnmatch-mem): New rule.
12630 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12631 * posix/tst-fnmatch.c (main): Call mtrace.
12632
13b69574
L
126332010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12634
12635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12636 Support Intel processor model 6 and model 0x2c.
12637
da93d214
LM
126382010-11-10 Luis Machado <luisgpm@br.ibm.com>
12639
12640 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12641 signed comparison.
12642
8ca52c6e
L
126432010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12644
12645 [BZ #12205]
12646 * string/test-strncasecmp.c (check_result): New function.
12647 (do_one_test): Use it.
12648 (check1): New function.
12649 (test_main): Use it.
12650 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12651 Support strcasecmp and strncasecmp.
12652
69da074d
UD
126532010-11-08 Ulrich Drepper <drepper@gmail.com>
12654
12655 [BZ #12194]
12656 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12657 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12658
ff02d528
L
126592010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12660
12661 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12662 IFUNC support.
12663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12664 memset-x86-64.
12665 * sysdeps/x86_64/multiarch/bzero.S: New file.
12666 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12667 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12668 * sysdeps/x86_64/multiarch/memset.S: New file.
12669 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12671 Set bit_Prefer_SSE_for_memop for Intel processors.
12672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12673 Define.
12674 (index_Prefer_SSE_for_memop): Define.
12675 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12676
344d0b54
LM
126772010-11-04 Luis Machado <luisgpm@br.ibm.com>
12678
12679 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12680 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12681
c0dde15b
UD
126822010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12683
12684 [BZ #12191]
12685 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12686 (__x86_64_raw_data_cache_size_half): Likewise.
12687 (__x86_64_raw_shared_cache_size): Likewise.
12688 (__x86_64_raw_shared_cache_size_half): Likewise.
12689
12690 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12691 (__x86_64_raw_data_cache_size_half): Likewise.
12692 (__x86_64_raw_shared_cache_size): Likewise.
12693 (__x86_64_raw_shared_cache_size_half): Likewise.
12694 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12695 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12696 and __x86_64_raw_shared_cache_size_half. Round
12697 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12698 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12699 to multiple of 256 bytes.
12700
0e516e0e
MS
127012010-11-03 Ulrich Drepper <drepper@gmail.com>
12702
12703 [BZ #12167]
12704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12705 of inacessible symlinks. Verify result of symlink before returning it.
12706 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12707 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12708
0e012e87
ER
127092010-10-28 Erich Ritz <erichritz@gmail.com>
12710
12711 * math/math.h (isinf): Fix typo in comment.
12712
de0ff7bc
UD
127132010-11-01 Ulrich Drepper <drepper@gmail.com>
12714
12715 * po/da.po: Update from translation team.
12716
fa41c84d
UD
127172010-10-26 Ulrich Drepper <drepper@gmail.com>
12718
12719 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12720 is added to the list.
12721
f0967738
AK
127222010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12723 Ulrich Drepper <drepper@gmail.com>
12724
12725 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12726 the global list here. Move code to...
12727 (_dl_add_to_namespace_list): ...here. New function.
12728 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12729 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12730 * elf/dl-load.c (lose): Don't remove the element from the list.
12731 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12732 (_dl_map_object): Likewise.
12733
127342010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12735
12736 [BZ #12159]
12737 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12738 into all bytes of SSE register.
12739 Patch by Richard Li <richardpku@gmail.com>.
12740
f0967738 127412010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12742
12743 [BZ #12140]
12744 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12745 perturbing.
12746
d0b9e94f
MB
127472010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12748
12749 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12750 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12751 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12752 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12754 submachine.
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12756
8e9f92e9
AS
127572010-10-22 Andreas Schwab <schwab@redhat.com>
12758
12759 * include/dlfcn.h (__RTLD_SECURE): Define.
12760 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12761 mode & __RTLD_SECURE instead.
12762 (open_path): Rename preloaded parameter to secure.
12763 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12764 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12765 * elf/dl-deps.c (openaux): Likewise.
12766 * elf/rtld.c (struct map_args): Remove is_preloaded.
12767 (map_doit): Don't use it.
12768 (dl_main): Likewise.
12769 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12770 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12771
bc96fbda
AS
127722010-09-09 Andreas Schwab <schwab@redhat.com>
12773
12774 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12775 (sysd-rules-targets): Remove duplicates.
12776 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12777 rtld-%.$o dependency.
12778
22cd1c9b
AS
127792010-10-18 Andreas Schwab <schwab@redhat.com>
12780
12781 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12782 _dl_map_object do it.
12783
18edac48
UD
127842010-10-19 Ulrich Drepper <drepper@gmail.com>
12785
12786 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12787 fast fma builtins, define the macros in the C99 standard.
12788 (FP_FAST_FMAF): Likewise.
12789 (FP_FAST_FMAL): Likewise.
12790 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12791
12792 * bits/mathdef.h: Update copyright year.
12793 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12794
d2050124
MM
127952010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12796
12797 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12798 builtins, define the macros in the C99 standard.
12799 (FP_FAST_FMAF): Likewise.
12800 (FP_FAST_FMAL): Likewise.
12801 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12802 multiply/add.
12803 (FP_FAST_FMAF): Likewise.
12804
475facd1
JJ
128052010-10-15 Jakub Jelinek <jakub@redhat.com>
12806
12807 [BZ #3268]
12808 * math/libm-test.inc (fma_test): Some new testcases.
12809 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12810 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12811 y and infinite z. Do multiplication by C already in long double.
12812 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12814 y and infinite z. Do bitwise or of inexact bit into u.d.
12815 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12816 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12817 * sysdeps/i386/fpu/s_fma.S: Removed.
12818 * sysdeps/i386/fpu/s_fmal.S: Removed.
12819
7c08a05c
JJ
128202010-10-16 Jakub Jelinek <jakub@redhat.com>
12821
12822 [BZ #3268]
12823 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12825 computation is not scheduled after fetestexcept. Fix value
12826 of minimum denormal long double.
12827
f3f7372d
JJ
128282010-10-14 Jakub Jelinek <jakub@redhat.com>
12829
12830 [BZ #3268]
12831 * math/libm-test.inc (fma_test): Add some more tests.
12832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12833 correctly.
12834
14d43591
AS
128352010-10-15 Andreas Schwab <schwab@redhat.com>
12836
12837 * scripts/data/localplt-s390-linux-gnu.data: New file.
12838 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12839
5e908464
JJ
128402010-10-13 Jakub Jelinek <jakub@redhat.com>
12841
12842 [BZ #3268]
12843 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12844 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12845 instead of dbl-64.
12846 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12847 inlines.
12848 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12850 if one of x and y is very large and the other is subnormal.
12851 * sysdeps/s390/fpu/s_fmaf.c: New file.
12852 * sysdeps/s390/fpu/s_fma.c: New file.
12853 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12854 * sysdeps/powerpc/fpu/s_fma.S: New file.
12855 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12856 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12857 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12858
128592010-10-12 Jakub Jelinek <jakub@redhat.com>
12860
12861 [BZ #3268]
12862 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12863 fma tests.
12864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12865 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12866 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12867 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12868 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12869 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12870 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12871
b833d51f
UD
128722010-10-12 Ulrich Drepper <drepper@redhat.com>
12873
12874 [BZ #12078]
12875 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12876 * posix/bug-regex31.input: Add test case.
12877
1751705d
UD
128782010-10-11 Ulrich Drepper <drepper@gmail.com>
12879
e9b9cbf5
UD
12880 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12881 * posix/bug-regex31.input: New file.
12882
12883 [BZ #12078]
12884 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12885 (parse_sub_exp): Fix last change, use postorder.
12886
ef06edbe
UD
12887 * posix/bug-regex31.c: New file.
12888 * posix/Makefile: Add rules to build and run bug-regex31.
12889
a129c80d
UD
12890 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12891
12892 [BZ #12078]
12893 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12894
b76b818e
UD
12895 [BZ #12108]
12896 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12897 to have entries in sys_siglist.
12898
1751705d
UD
12899 [BZ #12093]
12900 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12901 be NULL.
12902
9ff8d36f
JJ
129032010-10-07 Jakub Jelinek <jakub@redhat.com>
12904
12905 [BZ #3268]
12906 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12907 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12908 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12909 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12910 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12911 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12912 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12913 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12914 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12915 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12916 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12917 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12918 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12919 * math/ftestexcept.c (fetestexcept): Likewise.
12920 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12921 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12922 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12923 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12924 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12925 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12926 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12927
af325969
UD
129282010-10-11 Ulrich Drepper <drepper@gmail.com>
12929
c579b202 12930 [BZ #12107]
af325969
UD
12931 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12932 newline.
12933
67a67b95
UD
129342010-10-06 Ulrich Drepper <drepper@gmail.com>
12935
12936 * string/bug-strstr1.c: New file.
12937 * string/Makefile: Add rules to build and run bug-strstr1.
12938
5fb308bc
EB
129392010-10-05 Eric Blake <eblake@redhat.com>
12940
12941 [BZ #12092]
12942 * string/str-two-way.h (two_way_long_needle): Always clear memory
12943 when skipping input due to the shift table.
12944
45db99c7
UD
129452010-10-03 Ulrich Drepper <drepper@gmail.com>
12946
3b111893
UD
12947 [BZ #12005]
12948 * malloc/mcheck.c: Handle large requests.
12949
45db99c7
UD
12950 [BZ #12077]
12951 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12952 for strncmp and strncasecmp.
12953 * string/stratcliff.c: Add tests for strcmp and strncmp.
12954 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12955
cf7a1eb8
NI
129562010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12957
12958 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12959 __set_fpscr.
12960
6484ba5e
AJ
129612010-09-30 Andreas Jaeger <aj@suse.de>
12962
12963 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12964 (CGROUP_SUPER_MAGIC): Define.
12965 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12966 Handle btrfs and cgroup file systems.
12967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12968 Likewise.
12969
91c42559
LM
129702010-09-27 Luis Machado <luisgpm@br.ibm.com>
12971
12972 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12973 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12974
87a97932
AK
129752010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12976
12977 [BZ #12067]
12978 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12979 trying to locate the ELF header.
12980
c21cc9bc
AS
129812010-09-27 Andreas Schwab <schwab@redhat.com>
12982
12983 [BZ #11611]
12984 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12985 Mask out sign-bit copies when constructing f_fsid.
12986
315970f6
PB
129872010-09-24 Petr Baudis <pasky@suse.cz>
12988
12989 * debug/stack_chk_fail_local.c: Add missing licence exception.
12990 * debug/warning-nop.c: Likewise.
12991
1ac7a2c7
JM
129922010-09-15 Joseph Myers <joseph@codesourcery.com>
12993
12994 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12995 implementing getdents64 using getdents syscall, set d_type if
12996 __ASSUME_GETDENTS32_D_TYPE.
12997
56801c50
AS
129982010-09-16 Andreas Schwab <schwab@redhat.com>
12999
13000 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13001 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13002
dda51327
UD
130032010-09-21 Ulrich Drepper <drepper@redhat.com>
13004
13005 [BZ #12037]
13006 * posix/unistd.h: Undo change of feature selection for ftruncate from
13007 2010-01-11.
13008
8ffcee4a
UD
130092010-09-20 Ulrich Drepper <drepper@redhat.com>
13010
a545ecd9 13011 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13012 detection.
13013
e24f0a8b
AS
130142010-09-20 Andreas Schwab <schwab@redhat.com>
13015
13016 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13017 fanotify_mark.
13018 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13019
7291c56f
AS
130202010-09-14 Andreas Schwab <schwab@redhat.com>
13021
13022 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13023 variables after CHECK_SP call.
13024 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13025
bc5fb037
AS
130262010-09-13 Andreas Schwab <schwab@redhat.com>
13027 Ulrich Drepper <drepper@redhat.com>
13028
13029 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13030 re-relocationg ld.so.
13031 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13032 _dl_init_paths call.
13033 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13034 here anymore.
13035
e66e7419
UD
130362010-09-14 Ulrich Drepper <drepper@redhat.com>
13037
13038 * resolv/res_init.c (__res_vinit): Count the default server we added.
13039
c044aa75
CLT
130402010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13041 Ulrich Drepper <drepper@redhat.com>
13042
13043 [BZ #11968]
13044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13045 (____longjmp_chk): Use %ebx for saving value across system call.
13046 Add unwind info.
13047
32cf4069
AS
130482010-09-06 Andreas Schwab <schwab@redhat.com>
13049
13050 * manual/Makefile: Don't mix pattern rules with normal rules.
13051
817328ee
AS
130522010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13053
13054 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13055 operation.
13056 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13057 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13058 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13059 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13060 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13061 Likewise.
13062
29fddf61
UD
130632010-09-04 Ulrich Drepper <drepper@redhat.com>
13064
13065 [BZ #11979]
13066 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13067 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13068
0959ffc9
UD
130692010-09-02 Ulrich Drepper <drepper@redhat.com>
13070
13071 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13072 * sysdeps/x86_64/addmul_1.S: Likewise.
13073 * sysdeps/x86_64/lshift.S: Likewise.
13074 * sysdeps/x86_64/mul_1.S: Likewise.
13075 * sysdeps/x86_64/rshift.S: Likewise.
13076 * sysdeps/x86_64/sub_n.S: Likewise.
13077 * sysdeps/x86_64/submul_1.S: Likewise.
13078
ece29840
ST
130792010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13080
0959ffc9
UD
13081 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13082 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13083 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13084 * bits/sched.h [__need_schedparam]
ece29840 13085 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13086 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13087 (__defined_schedparam): Define to 1.
ece29840
ST
13088 (__sched_param): New structure, identical to sched_param.
13089 (__need_schedparam): Undefine.
13090
e53a31fe
MF
130912010-08-31 Mike Frysinger <vapier@gentoo.org>
13092
fdc0c10d
MF
13093 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13094 (epoll_create1): Declare.
13095
e53a31fe
MF
13096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13097
a726d796
AS
130982010-08-31 Andreas Schwab <schwab@redhat.com>
13099
13100 [BZ #7066]
13101 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13102 shifting retval into place.
13103
2f3e3dc7
UD
131042010-09-01 Ulrich Drepper <drepper@redhat.com>
13105
f2933da9
UD
13106 * nis/rpcsvc/nis.h: Update copyright notice.
13107 * nis/rpcsvc/nis.x: Likewise.
13108 * nis/rpcsvc/nis_callback.h: Likewise.
13109 * nis/rpcsvc/nis_callback.x: Likewise.
13110 * nis/rpcsvc/nis_object.x: Likewise.
13111 * nis/rpcsvc/nis_tags.h: Likewise.
13112 * nis/rpcsvc/yp.h: Likewise.
13113 * nis/rpcsvc/yp.x: Likewise.
13114 * nis/rpcsvc/ypupd.h: Likewise.
13115 * nis/yp_xdr.c: Likewise.
13116 * nis/ypupdate_xdr.c: Likewise.
13117
2f3e3dc7
UD
13118 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13119 mainly the body of pmap_getport. Add parameters to specify timeouts.
13120 (pmap_getport): Use __libc_rpc_getport.
13121 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13122 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13123 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13124
f3dcc2f9
AS
131252010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13126
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13128 fanotify_mark.
13129
6d34eb5b
RM
131302010-08-27 Roland McGrath <roland@redhat.com>
13131
13132 * sysdeps/i386/i686/multiarch/Makefile
13133 (CFLAGS-varshift.c): New variable.
13134
9ea3de11
UD
131352010-08-27 Ulrich Drepper <drepper@redhat.com>
13136
c96d23fc
UD
13137 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13138 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13139
9ea3de11
UD
13140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13141
13142 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13143
623aac7f
L
131442010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 * sysdeps/x86_64/strlen.S: Unroll the loop.
13147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13148 strlen-sse2 strlen-sse2-bsf.
13149 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13150 __strlen_no_bsf if bit_Slow_BSF is set.
13151 (__strlen_sse42): Removed.
13152 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13153 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13154
8b2b7715
RM
131552010-08-25 Roland McGrath <roland@redhat.com>
13156
13157 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13158 * sysdeps/x86_64/multiarch/varshift.c: New file.
13159 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13160 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13161 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13162 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13163
e73015f2
L
131642010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13167 strlen-sse2 strlen-sse2-bsf.
13168 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13169 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13170 (__strlen_sse2): Removed.
13171 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13174 bit_Slow_BSF for Atom.
13175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13176 (index_Slow_BSF): Define.
13177 (HAS_SLOW_BSF): Define.
13178
df24a73e
UD
131792010-08-25 Ulrich Drepper <drepper@redhat.com>
13180
13181 [BZ #10851]
13182 * resolv/res_init.c (__res_vinit): When no server address at all
13183 is given default to loopback.
13184
f2ac4868
RM
131852010-08-24 Roland McGrath <roland@redhat.com>
13186
09055553
RM
13187 * configure.in: Remove config-name.h generation.
13188 * configure: Regenerated.
13189 * config-name.in: File removed.
13190 * scripts/config-uname.sh: New file.
13191 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13192 ($(objdir)config-name.h): New target.
13193
f2ac4868
RM
13194 * sunrpc/rpc_parse.h: Avoid nested comment.
13195
73f27d5e
RH
131962010-08-24 Richard Henderson <rth@redhat.com>
13197 Ulrich Drepper <drepper@redhat.com>
13198 H.J. Lu <hongjiu.lu@intel.com>
13199
13200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13202 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13203 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13204 _mm_alignr_epi8 with _mm_loadu_si128.
13205 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13206 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13207 (__m128i_shift_right): Removed.
13208 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13209 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13210 * sysdeps/x86_64/multiarch/varshift.h: New file.
13211 * sysdeps/x86_64/multiarch/varshift.S: New file.
13212
84b9230c
MF
132132010-08-21 Mike Frysinger <vapier@gentoo.org>
13214
13215 * configure.in: Move assembler checks to before sysdep dir checking.
13216
9bbd0ddc
PB
132172010-08-20 Petr Baudis <pasky@suse.cz>
13218
13219 * LICENSES: Sync the sunrpc license.
13220
9da4bb31
UD
132212010-08-19 Ulrich Drepper <drepper@redhat.com>
13222
a7ab6ec8
UD
13223 * sunrpc/auth_des.c: Update copyright notice once again.
13224 * sunrpc/auth_none.c: Likewise.
13225 * sunrpc/auth_unix.c: Likewise.
13226 * sunrpc/authdes_prot.c: Likewise.
13227 * sunrpc/authuxprot.c: Likewise.
13228 * sunrpc/bindrsvprt.c: Likewise.
13229 * sunrpc/clnt_gen.c: Likewise.
13230 * sunrpc/clnt_perr.c: Likewise.
13231 * sunrpc/clnt_raw.c: Likewise.
13232 * sunrpc/clnt_simp.c: Likewise.
13233 * sunrpc/clnt_tcp.c: Likewise.
13234 * sunrpc/clnt_udp.c: Likewise.
13235 * sunrpc/clnt_unix.c: Likewise.
13236 * sunrpc/des_crypt.c: Likewise.
13237 * sunrpc/des_soft.c: Likewise.
13238 * sunrpc/get_myaddr.c: Likewise.
13239 * sunrpc/getrpcport.c: Likewise.
13240 * sunrpc/key_call.c: Likewise.
13241 * sunrpc/key_prot.c: Likewise.
13242 * sunrpc/openchild.c: Likewise.
13243 * sunrpc/pm_getmaps.c: Likewise.
13244 * sunrpc/pm_getport.c: Likewise.
13245 * sunrpc/pmap_clnt.c: Likewise.
13246 * sunrpc/pmap_prot.c: Likewise.
13247 * sunrpc/pmap_prot2.c: Likewise.
13248 * sunrpc/pmap_rmt.c: Likewise.
13249 * sunrpc/rpc/auth.h: Likewise.
13250 * sunrpc/rpc/auth_unix.h: Likewise.
13251 * sunrpc/rpc/clnt.h: Likewise.
13252 * sunrpc/rpc/des_crypt.h: Likewise.
13253 * sunrpc/rpc/key_prot.h: Likewise.
13254 * sunrpc/rpc/netdb.h: Likewise.
13255 * sunrpc/rpc/pmap_clnt.h: Likewise.
13256 * sunrpc/rpc/pmap_prot.h: Likewise.
13257 * sunrpc/rpc/pmap_rmt.h: Likewise.
13258 * sunrpc/rpc/rpc.h: Likewise.
13259 * sunrpc/rpc/rpc_des.h: Likewise.
13260 * sunrpc/rpc/rpc_msg.h: Likewise.
13261 * sunrpc/rpc/svc.h: Likewise.
13262 * sunrpc/rpc/svc_auth.h: Likewise.
13263 * sunrpc/rpc/types.h: Likewise.
13264 * sunrpc/rpc/xdr.h: Likewise.
13265 * sunrpc/rpc_clntout.c: Likewise.
13266 * sunrpc/rpc_cmsg.c: Likewise.
13267 * sunrpc/rpc_common.c: Likewise.
13268 * sunrpc/rpc_cout.c: Likewise.
13269 * sunrpc/rpc_dtable.c: Likewise.
13270 * sunrpc/rpc_hout.c: Likewise.
13271 * sunrpc/rpc_main.c: Likewise.
13272 * sunrpc/rpc_parse.c: Likewise.
13273 * sunrpc/rpc_parse.h: Likewise.
13274 * sunrpc/rpc_prot.c: Likewise.
13275 * sunrpc/rpc_sample.c: Likewise.
13276 * sunrpc/rpc_scan.c: Likewise.
13277 * sunrpc/rpc_scan.h: Likewise.
13278 * sunrpc/rpc_svcout.c: Likewise.
13279 * sunrpc/rpc_tblout.c: Likewise.
13280 * sunrpc/rpc_util.c: Likewise.
13281 * sunrpc/rpc_util.h: Likewise.
13282 * sunrpc/rpcinfo.c: Likewise.
13283 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13284 * sunrpc/rpcsvc/key_prot.x: Likewise.
13285 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13286 * sunrpc/rpcsvc/mount.x: Likewise.
13287 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13288 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13289 * sunrpc/rpcsvc/rex.x: Likewise.
13290 * sunrpc/rpcsvc/rstat.x: Likewise.
13291 * sunrpc/rpcsvc/rusers.x: Likewise.
13292 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13293 * sunrpc/rpcsvc/spray.x: Likewise.
13294 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13295 * sunrpc/rtime.c: Likewise.
13296 * sunrpc/svc.c: Likewise.
13297 * sunrpc/svc_auth.c: Likewise.
13298 * sunrpc/svc_authux.c: Likewise.
13299 * sunrpc/svc_raw.c: Likewise.
13300 * sunrpc/svc_run.c: Likewise.
13301 * sunrpc/svc_simple.c: Likewise.
13302 * sunrpc/svc_tcp.c: Likewise.
13303 * sunrpc/svc_udp.c: Likewise.
13304 * sunrpc/svc_unix.c: Likewise.
13305 * sunrpc/svcauth_des.c: Likewise.
13306 * sunrpc/xcrypt.c: Likewise.
13307 * sunrpc/xdr.c: Likewise.
13308 * sunrpc/xdr_array.c: Likewise.
13309 * sunrpc/xdr_float.c: Likewise.
13310 * sunrpc/xdr_mem.c: Likewise.
13311 * sunrpc/xdr_rec.c: Likewise.
13312 * sunrpc/xdr_ref.c: Likewise.
13313 * sunrpc/xdr_sizeof.c: Likewise.
13314 * sunrpc/xdr_stdio.c: Likewise.
13315
9da4bb31
UD
13316 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13317 handling.
13318
bdaa77bc
AS
133192010-08-19 Andreas Schwab <schwab@redhat.com>
13320
13321 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13322
fe2f79db
LM
133232010-08-19 Luis Machado <luisgpm@br.ibm.com>
13324
13325 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13326 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13327 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13328 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13329 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13330 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13331 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13332 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13333 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13334 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13335 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13336 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13337 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13338 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13339
b9b42ee0
AB
133402010-07-26 Anton Blanchard <anton@samba.org>
13341
13342 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13343 * malloc/arena.c (heap_trim): Likewise.
13344
1c06ba31
UD
133452010-08-16 Ulrich Drepper <drepper@redhat.com>
13346
13347 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13348 here. Not...
13349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13350 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13351
f8392f40
L
133522010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13353
13354 * sysdeps/i386/elf/Makefile: New file.
13355
3162f12e
AS
133562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13357
13358 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13359 from fanotify_init.
13360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13362
28c90b2c
UD
133632010-08-15 Ulrich Drepper <drepper@redhat.com>
13364
13365 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13366 of strncasecmp_l.
1feccb6c 13367 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13368
ca6bb004
UD
133692010-08-14 Ulrich Drepper <drepper@redhat.com>
13370
e9f82e0d
UD
13371 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13372 strncase_l-nonascii.
13373 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13374 Add strncase_l-ssse3.
13375 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13376 * sysdeps/x86_64/strcmp.S: Likewise.
13377 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13378 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13379 * sysdeps/x86_64/strncase.S: New file.
13380 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13381 * sysdeps/x86_64/strncase_l.S: New file.
13382 * string/Makefile (strop-tests): Add strncasecmp.
13383 * string/test-strncasecmp.c: New file.
13384
13385 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13386 warning.
13387
ca6bb004
UD
13388 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13389 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13390
052fa7b3
AS
133912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13392
13393 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13394
962dba78
UD
133952010-08-12 Ulrich Drepper <drepper@redhat.com>
13396
13397 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13398 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13399 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13400
bebff237
AM
134012010-05-01 Alan Modra <amodra@gmail.com>
13402
13403 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13404 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13405 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13406 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13407 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13408 tidying. Don't tail-call __sigjmp_save for static lib.
13409 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13410 save location.
13411 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13412 (CALL_MCOUNT): Add eh info, and nop after bl.
13413 (TAIL_CALL_SYSCALL_ERROR): New macro.
13414 (PSEUDO_RET): Use it.
13415 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13416 Correct save location of integer regs and cr.
13417 (_dl_profile_resolve): Correct cr save location. Delete nops
13418 after bl when SHARED. Reduce cfi size a little by better
13419 placement of cfi directives.
13420 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13421 make a stack frame. Instead use parm save area as a temp.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13423 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13425 Don't make a stack frame for parent, use parm save area.
13426 Increase child stack frame to 112 bytes. Don't save unused reg,
13427 and adjust reg usage. Set up cfi on error recovery and
13428 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13430 (__makecontext): Add dummy nop after jump to exit.
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13432 Use correct parm save area and cr save, reduce stack frame.
13433 Correct cfi for possible PSEUDO_RET frame setup.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13435 Branch to local label emitted by PSEUDO_RET rather than
13436 __syscall_error.
13437
02637374
AS
134382010-08-12 Andreas Schwab <schwab@redhat.com>
13439
13440 [BZ #11904]
13441 * locale/programs/locale.c (print_assignment): New function.
13442 (show_locale_vars): Use it.
13443
c3e2f19b
UD
134442010-08-11 Ulrich Drepper <drepper@redhat.com>
13445
3cdaa6ad
UD
13446 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13447 field.
13448 (struct statfs64): Likewise.
13449 (_STATFS_F_FLAGS): Define.
13450 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13451 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13452 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13453 (ST_VALID): Define locally.
13454 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13455 __statvfs_getflags, use the provided value.
13456 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13457 __ASSUME_STATFS_F_FLAGS.
13458
754f7da3
UD
13459 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13460
10b3bedc
UD
13461 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13462 Add sys/fanotify.h.
13463 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13464 fanotify_mask for GLIBC_2.13.
13465 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13466 fanotify_init and fanotify_mark.
13467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13468 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13469
c08fb0d7
UD
13470 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13471 Add prlimit.
13472 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13473 prlimit64 for GLIBC_2.13.
13474 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13475 prlimit64.
13476 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13477 syscall.
13478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13479 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13480 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13481 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13483 add prlimit alias.
13484 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13485
15bac72b
UD
13486 [BZ #11903]
13487 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13488 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13489
c3e2f19b
UD
13490 * nss/Makefile: Add rules to build and run tst-nss-test1.
13491 * shlib-versions: Add entry for libnss_test1.
13492 * nss/nss_test1.c: New file.
13493 * nss/tst-nss-test1.c: New file.
13494
13495 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13496 (__nss_configure_lookup): Set appropriate entry in
13497 __nss_configure_lookup to true.
13498 * nss/nsswitch.h: Define enum with indeces of databases in
13499 databases and __nss_database_custom arrays. Declare
13500 __nss_database_custom.
13501 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13502 to avoid using nscd when custom rules are installed.
13503 * nss/getXXbyYY_r.c: Likewise.
13504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13505
13506 * nss/nss_files/files-parse.c: Whitespace fixes.
13507
f15ce4d8
UD
135082010-08-09 Ulrich Drepper <drepper@redhat.com>
13509
13510 [BZ #11883]
13511 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13512 * posix/fnmatch_loop.c: Likewise.
13513
d22e4cc9
AK
135142010-07-17 Andi Kleen <ak@linux.intel.com>
13515
13516 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13517 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13518 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13519 * Versions.def [GLIBC_2.13]: Add.
13520
805bc17d
UD
135212010-08-06 Ulrich Drepper <drepper@redhat.com>
13522
13523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13524 Also fail if tpwd after pwuid call is NULL.
13525
5a42321d
ST
135262010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13527
13528 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13529 when converting to ms.
13530
fd3ebeda
ST
135312010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13532
13533 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13534 EOPNOTSUPP errors with ENOTTY.
13535 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13536 EOPNOTSUPP errors with ENOTTY.
13537
73507d3a
UD
135382010-07-31 Ulrich Drepper <drepper@redhat.com>
13539
13540 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13541 Add strcasecmp_l-ssse3.
13542 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13543 strcasecmp.
13544 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13545 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13546 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13547
fe36dd02
UD
135482010-07-30 Ulrich Drepper <drepper@redhat.com>
13549
66f6765a
UD
13550 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13551
42e08a54
UD
13552 * string/Makefile (strop-tests): Add strcasecmp.
13553 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13554 strcasecmp_l-nonascii.
13555 (gen-as-const-headers): Add locale-defines.sym.
13556 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13557 * sysdeps/x86_64/strcasecmp.S: New file.
13558 * sysdeps/x86_64/strcasecmp_l.S: New file.
13559 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13560 * sysdeps/x86_64/locale-defines.sym: New file.
13561 * string/test-strcasecmp.c: New file.
13562
fe36dd02
UD
13563 * string/test-strcasestr.c: Test both ends of the range of characters.
13564 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13565
48cbc0d6
RM
135662010-07-29 Roland McGrath <roland@redhat.com>
13567
76e6d6bc 13568 [BZ #11856]
48cbc0d6
RM
13569 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13570
880113d9
UD
135712010-07-27 Ulrich Drepper <drepper@redhat.com>
13572
13573 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13574 for ld.so.
13575
deb9cabb
AS
135762010-07-27 Andreas Schwab <schwab@redhat.com>
13577
13578 * manual/memory.texi (Malloc Tunable Parameters): Document
13579 M_PERTURB.
13580
1c7570ff
RM
135812010-07-26 Roland McGrath <roland@redhat.com>
13582
13583 [BZ #11840]
13584 * configure.in (-fgnu89-inline check): Set and substitute
13585 gnu89_inline, not libc_cv_gnu89_inline.
13586 * configure: Regenerated.
13587 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13588
24fb0f88
UD
135892010-07-26 Ulrich Drepper <drepper@redhat.com>
13590
13591 * string/test-strnlen.c: New file.
13592 * string/Makefile (strop-tests): Add strnlen.
13593 * string/tester.c (test_strnlen): Add a few more test cases.
13594 * string/tst-strlen.c: Better error reporting.
13595
13596 * sysdeps/x86_64/strnlen.S: New file.
13597
8e96b93a
UD
135982010-07-24 Ulrich Drepper <drepper@redhat.com>
13599
13600 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13601 lower-latency instructions.
13602
dbc676d4
UD
136032010-07-23 Ulrich Drepper <drepper@redhat.com>
13604
13605 * string/test-strcasestr.c: New file.
13606 * string/test-strstr.c: New file.
13607 * string/Makefile (strop-tests): Add strstr and strcasestr.
13608 * string/str-two-way.h: Don't undefine MAX.
13609 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13610
f6a31e0e
AS
136112010-07-21 Andreas Schwab <schwab@redhat.com>
13612
13613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13614 strcasestr-nonascii.
13615 (CFLAGS-strcasestr-nonascii.c): Define.
13616 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13617 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13618 Remove unused attribute.
13619
5dbc3b6c
RM
136202010-07-20 Roland McGrath <roland@redhat.com>
13621
13622 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13623 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13624 ld.so.cache was broken. With it, there is no way to disable dsocaps
13625 like LD_HWCAP_MASK can disable hwcaps.
13626
23d101d8
EPM
136272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13628
13629 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13630
cc9f2e47
UD
136312010-07-16 Ulrich Drepper <drepper@redhat.com>
13632
13633 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13634 call in strcasestr.
13635 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13636 __strcasestr_sse42_nonascii.
13637 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13638 strcasestr-nonascii.c.
13639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13640
77c1b069
LM
136412010-06-15 Luis Machado <luisgpm@br.ibm.com>
13642
13643 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13644 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13645 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13646 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13647
440566c3
UD
136482010-07-09 Ulrich Drepper <drepper@redhat.com>
13649
13650 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13651 fcntl.
13652
5be9d05d
AS
136532010-07-06 Andreas Schwab <schwab@redhat.com>
13654
c30b7ee2 13655 [BZ #11577]
5be9d05d
AS
13656 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13657 dl_signal_cerror.
13658
8a492a67
UD
136592010-07-06 Ulrich Drepper <drepper@redhat.com>
13660
13661 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13662 _PC_PIPE_BUF using F_GETPIPE_SZ.
13663
713df3d5
RM
136642010-07-05 Roland McGrath <roland@redhat.com>
13665
13666 * manual/arith.texi (Rounding Functions): Fix rint description
13667 implicit in round description.
13668
702e8f14
UD
136692010-07-02 Ulrich Drepper <drepper@redhat.com>
13670
13671 * elf/Makefile: Fix linking for a few tests to make recent linker
13672 happy.
13673
52ed8be9
AS
136742010-06-30 Andreas Schwab <schwab@redhat.com>
13675
13676 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13677 $(common-objpfx)libc_nonshared.a.
13678
f47c9a11
LM
136792010-06-21 Luis Machado <luisgpm@br.ibm.com>
13680
13681 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13682 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13683 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13684 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13685 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13686 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13687 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13688 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13703 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13704 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13705 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13706 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13707 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13708 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13709 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13710 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13711 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13712 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13713 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13714 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13729
6fb8cbcb
L
137302010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13731
13732 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13733 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13734 * string/memmove.c (memmove): Renamed to ...
13735 (MEMMOVE): ...this. Default to memmove.
13736 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13737 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13738 (END_CHK): Define.
13739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13740 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13741 mempcpy-ssse3-back memmove-ssse3-back.
13742 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13743 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13744 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13745 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13746 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13747 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13748 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13749 * sysdeps/x86_64/multiarch/memmove.c: New file.
13750 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13751 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13752 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13753 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13754 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13755 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13756 Define.
13757 (index_Fast_Copy_Backward): Define.
13758 (HAS_ARCH_FEATURE): Define.
13759 (HAS_FAST_REP_STRING): Define.
13760 (HAS_FAST_COPY_BACKWARD): Define.
13761
4e733bac 137622010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13763
13764 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13765 Restore proper fallback handling.
13766
63c4ed22
UD
137672010-06-19 Ulrich Drepper <drepper@redhat.com>
13768
ac2b484c
UD
13769 [BZ #11701]
13770 * posix/group_member.c (__group_member): Correct checking loop.
13771
63c4ed22
UD
13772 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13773 OOM in getpwuid_r correctly. Return error number when the caller
13774 should return, otherwise -1.
13775 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13776 call returning > 0 value.
13777 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13778
765ade4b
AS
137792010-06-07 Andreas Schwab <schwab@redhat.com>
13780
13781 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13782 libc_nonshared.a from targets in modules-names.
13783
80da2e09
KS
137842010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13785
13786 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13787 requires it.
13788
158db122
LM
137892010-06-10 Luis Machado <luisgpm@br.ibm.com>
13790
13791 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13792 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13793 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13794 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13795
caa78cf8
AS
137962010-06-02 Andreas Schwab <schwab@redhat.com>
13797
13798 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13799
b2ef2c01
UD
138002010-06-14 Ulrich Drepper <drepper@redhat.com>
13801
13802 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13803 and F_GETPIPE_SZ.
13804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13809 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13810
fbd643b6
RM
138112010-06-14 Roland McGrath <roland@redhat.com>
13812
13813 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13814
f32f2869
JJ
138152010-06-07 Jakub Jelinek <jakub@redhat.com>
13816
13817 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13818 __REDIRECT followed by __THROW.
13819 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13820 * posix/getopt.h (getopt): Likewise.
13821
2a50c078
EPM
138222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13823
13824 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13825 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13826 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13827 in AT_FLAGS.
13828 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13829 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13830
eb5ad2eb
LM
138312010-05-28 Luis Machado <luisgpm@br.ibm.com>
13832
13833 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13834
3c88fe1e
L
138352010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13836
13837 [BZ #11640]
13838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13839 Properly check family and model.
13840
d2f73151
TY
138412010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13842
13843 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13844
ebd2e13d
LM
138452010-05-24 Luis Machado <luisgpm@br.ibm.com>
13846
13847 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13848
b32b8b45
UD
138492010-05-21 Ulrich Drepper <drepper@redhat.com>
13850
13851 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13852 symbol reference.
13853
9acbe24d
AS
138542010-05-19 Andreas Schwab <schwab@redhat.com>
13855
13856 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13857 symbol reference.
13858
f0ccf6ea
AS
138592010-05-21 Andreas Schwab <schwab@redhat.com>
13860
3d04ff3a
AS
13861 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13862 and internal_recvmmsg.
13863 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13864 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13865 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13866 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13867
f0ccf6ea
AS
13868 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13869 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13870 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13871
5b08ac57
AS
138722010-05-20 Andreas Schwab <schwab@redhat.com>
13873
13874 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13875
4828935d
LM
138762010-05-17 Luis Machado <luisgpm@br.ibm.com>
13877
13878 POWER7 optimizations.
13879 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13880 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13881
373d545e
UD
138822010-05-19 Ulrich Drepper <drepper@redhat.com>
13883
13884 * version.h: Update for 2.13 development version.
13885
21a2b1ae
AS
138862010-05-12 Andrew Stubbs <ams@codesourcery.com>
13887
13888 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13889 exceptions. Return 0.
13890
3f7dcb2b
RM
138912010-05-07 Roland McGrath <roland@redhat.com>
13892
13893 * elf/ldconfig.c (main): Add a const.
13894
5f24d53a 138952010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13896
a160f8d8
UD
13897 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13898 (args_options): Add no-idn option.
13899 (ahosts_keys_int): Add idn_flags to ai_flags.
13900 (parse_option): Handle 'i' option to clear idn_flags.
13901
5f24d53a
UD
13902 * malloc/malloc.c (_int_free): Possible race in the most recently
13903 added check. Only act on the data if no current modification
13904 happened.
265bb1ce
UD
13905
13906See ChangeLog.17 for earlier changes.
This page took 1.781945 seconds and 5 git commands to generate.