]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix warning in powerpc bcopy
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c7df0112
AS
12012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4 used as bcopy.
5
dc70356c
TS
62012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7
8 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9 * sysdeps/unix/syscalls.list (dup3): Likewise.
10 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12
9fb1a21f
L
132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14
15 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17
4822a2a5
L
182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19
20 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21 thread pointer.
22 (TLS_IE): Use mov/add instead of movq/addq to load thread
23 pointer.
24 (TLS_GD_PREFIX): New.
25 (TLS_GD): Use it.
26
842b81d6
DM
272012-05-11 David S. Miller <davem@davemloft.net>
28
29 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31 (_FPU_SETCW): Likewise.
32
1cf463cd
L
332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34
35 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36 is 32-byte aligned.
37
60cc4a18
AS
382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39
40 [BZ #11837]
41 * iconvdata/gb18030.c: Update tables.
42 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43 characters specially.
44 (BODY for TO_LOOP): Add encoding of missing ranges.
45
febb44a4
TS
462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47
48 [BZ #13673]
49 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50 * sysdeps/mach/hurd/dup3.c: Likewise.
51 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52 * sysdeps/powerpc/memmove.c:: Likewise.
53
0a10fb9e
L
542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
55
56 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58
df8a552f
L
592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
60
61 * elf/elf.h (R_X86_64_RELATIVE64): New.
62 (R_X86_64_NUM): Updated.
63 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
65 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67 tst-quad1pie tst-quad2pie
68 (modules-names): Add tst-quadmod1 tst-quadmod2.
69 ($(objpfx)tst-quad1): New dependency.
70 ($(objpfx)tst-quad2): Likewise.
71 ($(objpfx)tst-quad1pie): Likewise.
72 ($(objpfx)tst-quad2pie): Likewise.
73 * sysdeps/x86_64/tst-quad1.c: New file.
74 * sysdeps/x86_64/tst-quad1pie.c: New file.
75 * sysdeps/x86_64/tst-quad2.c: Likewise.
76 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
77 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
80 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81
f34d6f84
ST
822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83
f42d41d1
ST
84 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
85 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
86 * streams/stropts.h (t_scalar_t): Define type.
87
3c3571fc
ST
88 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
89 (_PATH_PRESERVE): Set to "/var/lib".
90 (_PATH_RWHODIR): Set to "/var/spool/rwho".
91
61f06bd3
ST
92 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
93 instead of int.
94
918d4d71
ST
95 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
96 if __dir_mkfile succeeded.
97
f34d6f84
ST
98 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
99 checking for _hurd_dtablesize. Unlock it right after having
100 finished _hurd_dtable allocation.
101
10589b4a
TS
1022012-05-10 Thomas Schwinge <thomas@schwinge.name>
103
674cdbc7
TS
104 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
105 * sysdeps/mach/hurd/configure: Regenerated.
106 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
107 special-casing to...
108 * sysdeps/gnu/configure.in: ... this new file.
109 * sysdeps/unix/sysv/linux/configure: Regenerated.
110 * sysdeps/gnu/configure: New generated file.
111
8e41b99f
TS
112 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
113 for Linux: use nsec instead of usec, as well as:
114 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
115 members of type struct timespec.
116 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
117 New macros.
118 (struct stat64): Likewise.
119 (_STATBUF_ST_NSEC): New macro.
120 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
121
10589b4a
TS
122 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
123 __strtoul_internal rather than strtoul.
124
63643c85
PT
1252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
126
127 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
128 and reject them.
129
3faebe6a
ST
1302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
131
132 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
133 which preserves existing values.
134 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
135
c6474b07
PT
1362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
137
138 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
139 TIMEOUT values. Return EINVAL for NFDS values either negative or
140 greater than FD_SETSIZE.
141
1043890b
ST
1422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
143
144 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
145 allocated, call __vm_protect to finish enabling the existing space, and
146 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
147 allocate the remainder.
148
37ed8b9b
PT
1492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
150
151 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
152 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
153
db653660
ST
1542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
155
37ed8b9b
PT
156 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
157 sysdeps/mach/hurd/readlink.c.
b29d4053 158
db653660
ST
159 * posix/tst-sysconf.c (posix_options): Only use
160 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
161 _POSIX_SYNCHRONIZED_IO when they are defined
162 * sysdeps/mach/hurd/bits/posix_opt.h:
163 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
164 (_XOPEN_REALTIME): Undefine macro.
165 (_XOPEN_REALTIME_THREADS): Undefine macro.
166 (_XOPEN_SHM): Undefine macro.
167 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
168 macro to -1.
169 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
170 macro to -1.
171 (_POSIX_ASYNC_IO): Undefine macro.
172 (_POSIX_PRIORITIZED_IO): Undefine macro.
173 (_POSIX_SPIN_LOCKS): Define macro to -1.
174
ee16e894
ST
175 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
176 SA_NODEFER, SA_RESETHAND.
177 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
178 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
179 F_DUPFD_CLOEXEC.
180
6103ae3b
TS
1812012-05-10 Thomas Schwinge <thomas@schwinge.name>
182
183 * elf/Makefile (pldd-modules): Define unconditionally.
184
80b4e5f3
TS
1852012-05-10 Thomas Schwinge <thomas@schwinge.name>
186
187 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
188
edadcbd6
ST
1892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
190
191 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
192 Return ENOENT when name is empty.
193 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
194
80694780
TS
1952012-05-10 Thomas Schwinge <thomas@schwinge.name>
196
1792c087
TS
197 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
198
80694780
TS
199 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
200
6b645f0d
ST
2012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
202
80694780
TS
203 Fix mlock in all cases except non-readable pages.
204 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
205 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 206
6b645f0d
ST
207 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
208 (__mkdir): When path is `/', just fail with EEXIST.
209 * sysdeps/mach/hurd/mkdirat.c: Likewise.
210
e468f8a3
TS
2112012-05-10 Thomas Schwinge <thomas@schwinge.name>
212
213 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
214 <sys/uio.h> (for writev).
215 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
216 and <sys/param.h> (for MIN).
217
a4186cff
PT
2182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
219
220 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
221 REQUESTED_TIME. Properly set the remaining time and return EINTR
222 if interrupted.
223
510bbf14
TS
2242012-05-10 Thomas Schwinge <thomas@schwinge.name>
225
226 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
227 Depend on against $(link-rpcuserlibs).
228
5d5722e8
ST
2292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
230
a4186cff
PT
231 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
232 (__libc_stack_end): Do not use attribute_relro.
233 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
234 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 235 to libthread-provided value.
a4186cff
PT
236 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
237 attribute_relro.
5d5722e8 238
37233df9
TS
2392012-05-10 Thomas Schwinge <thomas@schwinge.name>
240
be971a2b
TS
241 [BZ #3748]
242 * bits/libc-lock.h (__libc_once_get): New macro.
243 * sysdeps/mach/bits/libc-lock.h: Likewise.
244 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
245 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
246 instead of using implementation details.
247
37233df9
TS
248 * libio/fileops.c: Unconditionally include <kernel-features.h>.
249 * libio/freopen.c: Likewise.
250 * libio/freopen64.c: Likewise.
251 * misc/syslog.c: Likewise.
252 * nscd/connections.c: Likewise.
253 * nscd/netgroupcache.c: Likewise.
254 * sysdeps/posix/getcwd.c: Likewise.
255
38de94a5
RM
2562012-05-10 Roland McGrath <roland@hack.frob.com>
257
258 * math/w_ilogbf.c: Add #include <limits.h>.
259
67530489
ST
2602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
261
a4186cff 262 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
263 path instead of returning without unlocking.
264
67530489
ST
265 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
266 immediate-write ioctls.
267 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
268
5aa3a74a
TS
2692012-05-10 Thomas Schwinge <thomas@schwinge.name>
270
18bad2ae
TS
271 * sysdeps/mach/hurd/i386/init-first.c (init): Use
272 __builtin_frame_address instead of making assumptions about the
273 location of the return address relative to DATA. Force early load of
274 the return address.
275 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
276 __builtin_frame_address.
277
5aa3a74a
TS
278 dup3 for GNU Hurd.
279 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
280 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
281 implement dup3 and do some further code clean-ups.
282 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
283 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
284
ecd0de9a
ST
2852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
286
cd9fa985
ST
287 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
288
a4186cff
PT
289 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
290 HURD_CRITICAL_END around holding _hurd_dtable_lock.
291 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
292 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
293 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
294 d->port.lock.
802ca5a5 295
a4186cff
PT
296 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
297 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
298 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 299
bcf55240
TS
3002012-05-10 Thomas Schwinge <thomas@schwinge.name>
301
6960eb42
TS
302 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
303 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
304 definitions.
305
eb43375f
TS
306 accept4 for GNU Hurd.
307 * include/sys/socket.h (__libc_accept4): New prototype.
308 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
309 to implement __libc_accept4.
310 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
311 __libc_accept4.
312 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
313
bcf55240
TS
314 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
315 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
316 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
317 signal-defines.sym.
318
6178c55b
ST
3192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
320
a4186cff 321 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 322
6f080c2f
TS
3232012-05-10 Thomas Schwinge <thomas@schwinge.name>
324
325 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
326 assertion on O_CLOEXEC flag.
327 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
328 * hurd/intern-fd.c: Likewise.
329 * hurd/port2fd.c: Likewise.
330
bcfe3a54
ST
3312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
332
333 [BZ #3906]
334 * bits/in.h (IPV6_PKTINFO): Define new macro.
335 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
336
89c9aa49
AZ
3372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
338
339 [BZ #13954]
340 [BZ #13955]
341 [BZ #13956]
342 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
343 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
344 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
345 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
347 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
348 * math/libm-test.inc (logb_test) : Additional logb tests.
349
021db4be
AJ
3502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
351 Andreas Jaeger <aj@suse.de>
352
353 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
354 * configure: Regenerated.
355 * config.h.in (LINK_OBSOLETE_RPC): New macro.
356 * config.make.in (link-obsolete-rpc): New substituted variable.
357 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
358 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
359 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
360 (shared-only-routines): Don't set it under [link-obsolete-rpc],
361 so that libc.a contains the symbols.
362 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
363 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
364 * sunrpc/auth_none.c: Likewise.
365 * sunrpc/auth_unix.c: Likewise.
366 * sunrpc/authdes_prot.c: Likewise.
367 * sunrpc/authuxprot.c: Likewise.
368 * sunrpc/clnt_gen.c: Likewise.
369 * sunrpc/clnt_perr.c: Likewise.
370 * sunrpc/clnt_raw.c: Likewise.
371 * sunrpc/clnt_simp.c: Likewise.
372 * sunrpc/clnt_tcp.c: Likewise.
373 * sunrpc/clnt_udp.c: Likewise.
374 * sunrpc/clnt_unix.c: Likewise.
375 * sunrpc/des_crypt.c: Likewise.
376 * sunrpc/des_soft.c: Likewise.
377 * sunrpc/get_myaddr.c: Likewise.
378 * sunrpc/key_call.c: Likewise.
379 * sunrpc/key_prot.c: Likewise.
380 * sunrpc/netname.c: Likewise.
381 * sunrpc/pm_getmaps.c: Likewise.
382 * sunrpc/pm_getport.c: Likewise.
383 * sunrpc/pmap_clnt.c: Likewise.
384 * sunrpc/pmap_prot.c: Likewise.
385 * sunrpc/pmap_prot2.c: Likewise.
386 * sunrpc/pmap_rmt.c: Likewise.
387 * sunrpc/publickey.c: Likewise.
388 * sunrpc/rpc_cmsg.c: Likewise.
389 * sunrpc/rpc_common.c: Likewise.
390 * sunrpc/rpc_dtable.c: Likewise.
391 * sunrpc/rpc_prot.c: Likewise.
392 * sunrpc/rpc_thread.c: Likewise.
393 * sunrpc/rtime.c: Likewise.
394 * sunrpc/svc.c: Likewise.
395 * sunrpc/svc_auth.c: Likewise.
396 * sunrpc/svc_raw.c: Likewise.
397 * sunrpc/svc_run.c: Likewise.
398 * sunrpc/svc_tcp.c: Likewise.
399 * sunrpc/svc_udp.c: Likewise.
400 * sunrpc/svc_unix.c: Likewise.
401 * sunrpc/svcauth_des.c: Likewise.
402 * sunrpc/xcrypt.c: Likewise.
403 * sunrpc/xdr.c: Likewise.
404 * sunrpc/xdr_array.c: Likewise.
405 * sunrpc/xdr_float.c: Likewise.
406 * sunrpc/xdr_intXX_t.c: Likewise.
407 * sunrpc/xdr_mem.c: Likewise.
408 * sunrpc/xdr_rec.c: Likewise.
409 * sunrpc/xdr_ref.c: Likewise.
410 * sunrpc/xdr_sizeof.c: Likewise.
411 * sunrpc/xdr_stdio.c: Likewise.
412
b5c086a2
RM
4132012-05-10 Roland McGrath <roland@hack.frob.com>
414
415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
416 change. Update copyright years.
417
6d74dd09
JM
4182012-05-10 Joseph Myers <joseph@codesourcery.com>
419
420 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
421
28e72501
MK
4222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
423 Joseph Myers <joseph@codesourcery.com>
424 Paul Pluzhnikov <ppluzhnikov@google.com>
425
426 [BZ #14012]
427 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
428 requiring rpcgen.
429 [cross-compiling] (extra-libs): Likewise.
430 [cross-compiling] (extra-libs-others): Likewise.
431 [cross-compiling] (librpcsvc-routines): Likewise.
432 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
433 [cross-compiling] (omit-deps): Likewise.
434 (sunrpc-CPPFLAGS): New variable.
435 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
436 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
437 (cross-rpcgen-objs): New variable.
438 (extra-objs): Append $(cross-rpcgen-objs).
439 ($(cross-rpcgen-objs)): New rule.
440 ($(objpfx)cross-rpcgen): Likewise.
441 (rpcgen-cmd): Define to use $(built-program-file). Expand
442 comment.
443 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
444 ($(objpfx)x%.stmp): Likewise.
445 * sunrpc/proto.h [IS_IN_build] (_): Define.
446 [IS_IN_build] (_libc_intl_domainname): Likewise.
447
c8c59454
L
4482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
449
450 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
451 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
452 and R_X86_64_TPOFF64.
453
6f27cd16
JM
4542012-05-10 Joseph Myers <joseph@codesourcery.com>
455
456 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
457 sysdeps/unix/sysv/syscalls.list.
458 (stime): Likewise.
459 (utime): Likewise.
460 * sysdeps/unix/sysv/syscalls.list: Remove file.
461
02467e1c
PE
4622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
463
464 [BZ #3440]
465 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
466 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
467 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
468 (__LC_IDENTIFICATION): Make these macros useful in #if
469 expressions, as required by C99.
470
da392631
AS
4712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
472
473 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
474 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
475 after this.
476
8115f29b
L
4772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
478
479 * stdlib/longlong.h: Updated from GCC.
480
bdd74070
AJ
4812012-05-09 Andreas Jaeger <aj@suse.de>
482
edfe0dbe
AJ
483 * nscd/nscd.c (run_modes): Make named enum, reorder so that
484 default is first entry.
485 (run_mode): Set type.
486 (main): Remove informal message about syslog.
487 (options): Fix typo.
488
bcfe3a54
ST
489 [BZ #14053]
490 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 491 to asm.
bcfe3a54
ST
492 (lrint): Likewise.
493 (llrintf): Likewise.
494 (llrint): Likewise.
495 (rint): Likewise.
496 (rintf): Likewise.
497 (nearbyint): Likewise.
498 (nearbyintf): Likewise.
bdd74070 499
91d8d69e
AJ
5002012-05-09 Andreas Jaeger <aj@suse.de>
501 Pedro Alves <palves@redhat.com>
502
503 * nscd/nscd.c (run_mode): Use enum.
504 (main): Cleanup coding style issue.
505
bb90b80b
AJ
5062012-05-09 Alexandre Oliva <aoliva@redhat.com>
507 Andreas Jaeger <aj@suse.de>
508
bcfe3a54
ST
509 * nscd/nscd.c (go_background): Replaced with...
510 (run_mode): ... this.
bb90b80b 511 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
512 (options): Add -F --foreground.
513 (main): Implement it.
514 (parse_opt): Parse it.
bb90b80b 515
1a4b75a1
AJ
5162012-05-09 Andreas Jaeger <aj@suse.de>
517
518 [BZ #14083]
519 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
520 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
521 -Wconversion warning.
522 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
523 Likewise.
524
b1cc2472
JM
5252012-05-09 Joseph Myers <joseph@codesourcery.com>
526
527 * conform/data/locale.h-data (NULL): Use macro-constant. Require
528 == 0.
529 (LC_ALL): Use macro-int-constant.
530 (LC_COLLATE): Likewise.
531 (LC_CTYPE): Likewise.
532 (LC_MESSAGES): Likewise.
533 (LC_MONETARY): Likewise.
534 (LC_NUMERIC): Likewise.
535 (LC_TIME): Likewise.
536 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
537 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
539 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
540 Specify type.
541 [C99-based standards] (float_t): Expect type.
542 [C99-based standards] (double_t): Expect type.
543 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
544 type.
545 [C99-based standards] (HUGE_VALL): Likewise.
546 [C99-based standards] (INFINITY): Likewise.
547 [C99-based standards] (NAN): Likewise.
548 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
549 [C99-based standards] (FP_NAN): Likewise.
550 [C99-based standards] (FP_NORMAL): Likewise.
551 [C99-based standards] (FP_SUBNORMAL): Likewise.
552 [C99-based standards] (FP_ZERO): Likewise.
553 [C99-based standards] (FP_FAST_FMA): Use
554 optional-macro-int-constant. Specify type. Require == 1.
555 [C99-based standards] (FP_FAST_FMAF): Likewise.
556 [C99-based standards] (FP_FAST_FMAL): Likewise.
557 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
558 [C99-based standards] (FP_ILOGBNAN): Likewise.
559 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
560 Specify type.
561 [C99-based standards] (MATH_ERREXCEPT): Likewise.
562 [C99-based standards] (math_errhandling): Specify type.
563 [ISO99 || ISO11] (signgam): Do not allow.
564 [non-C99-based standards] (copysignf): Do not allow.
565 [non-C99-based standards] (exp2f): Likewise.
566 [non-C99-based standards] (log2f): Likewise.
567 [non-C99-based standards] (modff): Allow.
568 [non-C99-based standards] (erff): Do not allow.
569 [non-C99-based standards] (erfcf): Likewise.
570 [non-C99-based standards] (gammaf): Likewise.
571 [non-C99-based standards] (hypotf): Likewise.
572 [non-C99-based standards] (j0f): Likewise.
573 [non-C99-based standards] (j1f): Likewise.
574 [non-C99-based standards] (jnf): Likewise.
575 [non-C99-based standards] (lgammaf): Likewise.
576 [non-C99-based standards] (tgammaf): Likewise.
577 [non-C99-based standards] (y0f): Likewise.
578 [non-C99-based standards] (y1f): Likewise.
579 [non-C99-based standards] (ynf): Likewise.
580 [non-C99-based standards] (isnanf): Likewise.
581 [non-C99-based standards] (acoshf): Likewise.
582 [non-C99-based standards] (asinhf): Likewise.
583 [non-C99-based standards] (atanhf): Likewise.
584 [non-C99-based standards] (cbrtf): Likewise.
585 [non-C99-based standards] (expm1f): Likewise.
586 [non-C99-based standards] (ilogbf): Likewise.
587 [non-C99-based standards] (log1pf): Likewise.
588 [non-C99-based standards] (logbf): Likewise.
589 [non-C99-based standards] (nextafterf): Likewise.
590 [non-C99-based standards] (remainderf): Likewise.
591 [non-C99-based standards] (rintf): Likewise.
592 [non-C99-based standards] (scalbf): Likewise.
593 [non-C99-based standards] (copysignl): Likewise.
594 [non-C99-based standards] (exp2l): Likewise.
595 [non-C99-based standards] (log2l): Likewise.
596 [non-C99-based standards] (modfl): Allow.
597 [non-C99-based standards] (erfl): Do not allow.
598 [non-C99-based standards] (erfcl): Likewise.
599 [non-C99-based standards] (gammal): Likewise.
600 [non-C99-based standards] (hypotl): Likewise.
601 [non-C99-based standards] (j0l): Likewise.
602 [non-C99-based standards] (j1l): Likewise.
603 [non-C99-based standards] (jnl): Likewise.
604 [non-C99-based standards] (lgammal): Likewise.
605 [non-C99-based standards] (tgammal): Likewise.
606 [non-C99-based standards] (y0l): Likewise.
607 [non-C99-based standards] (y1l): Likewise.
608 [non-C99-based standards] (ynl): Likewise.
609 [non-C99-based standards] (isnanl): Likewise.
610 [non-C99-based standards] (acoshl): Likewise.
611 [non-C99-based standards] (asinhl): Likewise.
612 [non-C99-based standards] (atanhl): Likewise.
613 [non-C99-based standards] (cbrtl): Likewise.
614 [non-C99-based standards] (expm1l): Likewise.
615 [non-C99-based standards] (ilogbl): Likewise.
616 [non-C99-based standards] (log1pl): Likewise.
617 [non-C99-based standards] (logbl): Likewise.
618 [non-C99-based standards] (nextafterl): Likewise.
619 [non-C99-based standards] (remainderl): Likewise.
620 [non-C99-based standards] (rintl): Likewise.
621 [non-C99-based standards] (scalbl): Likewise.
622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
623 [non-C99-based standards] (FP_*): Do not allow.
624 [C99-based standards] (FP_*): Change to
625 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
626 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
627 allow.
628 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
629 (SIG_ERR): Likewise.
630 [X/Open-based standards] (SIG_HOLD): Likewise.
631 (SIG_IGN): Likewise.
632 (SIGABRT): Use macro-int-constant. Specify type. Require
633 positive value.
634 (SIGFPE): Likewise.
635 (SIGILL): Likewise.
636 (SIGINT): Likewise.
637 (SIGSEGV): Likewise.
638 (SIGTER): Likewise.
639 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
640 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
641 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
642 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
643 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
644 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
645 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
646 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
647 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
648 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
649 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
650 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
651 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
652 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
653 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
654 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
655 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
656 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
657 [X/Open-based standards] (SIGTRAP): Likewise.
658 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
659 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
660 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
661 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
662 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
663 allow.
664
b9f1922d
IW
6652012-05-08 Ian Wienand <ianw@vmware.com>
666
667 [BZ #14080]
668 * time/tzset.c (__tzset_parse_tz): Update default rules for
669 daylight time changes in the Energy Policy Act of 2005.
670
1db86e88
AJ
6712012-05-09 Andreas Jaeger <aj@suse.de>
672
673 [BZ #13983]
674 * elf/ldconfig.c (parse_conf): Change string to make clear that
675 ldconfig only issued a warning if ld.so.conf does not exist.
676
dee4a4e3
DM
6772012-05-08 David S. Miller <davem@davemloft.net>
678
ee0db190
DM
679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
680 movxtod instead of popping the value on the stack.
681
dee4a4e3
DM
682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
683
6a43ec98
CD
6842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
685
686 * config.h.in: Add HAVE_ARM_PCS_VFP.
687
05c2c961
RMG
6882012-05-08 Roland Mc Grath <roland@hack.frob.com>
689
bcfe3a54
ST
690 [BZ #13979]
691 * include/features.h: Warn if user requests __FORTIFY_SOURCE
692 checking but the checks are disabled for any reason.
05c2c961 693
4b30f61a
L
6942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
695
696 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
697 and ELF64_R_TYPE with ELFW(R_TYPE).
698
eee2bc67
JM
6992012-05-08 Joseph Myers <joseph@codesourcery.com>
700
7ea5391a
JM
701 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
702 (ulimit): Likewise.
703
eee2bc67
JM
704 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
705 (settimeofday): Likewise.
706
abb66a67
MF
7072012-05-08 Mike Frysinger <vapier@gentoo.org>
708
709 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
710 a struct th_u2 inside the union, and move tu_block/tu_code into
711 a new th_u3 union of tu_block/tu_code inside of that. Move
712 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
713 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
714 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
715 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
716 (th_stuff): Change to th_u1.tu_stuff.
717 (th_data): Define.
718 (th_msg): Change to th_u1.th_u2.tu_data.
719
7f18b530
DM
7202012-05-07 David S. Miller <davem@davemloft.net>
721
05760585
DM
722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
723
7f18b530
DM
724 [BZ #14074]
725 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
726 (SETUP_PIC_REG): Use it.
727 (SETUP_PIC_REG_LEAF): Use it.
728
495fd99f
JM
7292012-05-07 Joseph Myers <joseph@codesourcery.com>
730
731 [BZ #13885]
732 [BZ #13923]
733 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
734 USE_AS_EXPM1L.
735 (EXPL_FINITE): Likewise.
736 (FLDLOG): Likewise.
737 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
738 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
739 e_expl.S.
740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
741 USE_AS_EXPM1L.
742 (EXPL_FINITE): Likewise.
743 (FLDLOG): Likewise.
744 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
745 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
746 e_expl.S.
747 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
748 test of -max_value argument for long double.
749 * sysdeps/i386/fpu/libm-test-ulps: Update.
750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
751
6693d694
DM
7522012-05-06 David S. Miller <davem@davemloft.net>
753
754 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
755 quad soft-float symbols whose references which are compiler
756 generated.
757 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
758
6c23e11c
JM
7592012-05-06 Joseph Myers <joseph@codesourcery.com>
760
d8b82cad
JM
761 [BZ #13884]
762 [BZ #13914]
763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
764 USE_AS_EXP10L.
765 (EXPL_FINITE): Likewise.
766 (FLDLOG): Likewise.
767 (c0): Likewise.
768 (c1): Likewise.
769 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
770 Adjust comments for base varying.
771 (__expl_finite): Change alias to EXPL_FINITE.
772 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
773 e_expl.S.
774 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
775 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
776 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
777 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
778 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
779 USE_AS_EXP10L.
780 (EXPL_FINITE): Likewise.
781 (FLDLOG): Likewise.
782 (c0): Likewise.
783 (c1): Likewise.
784 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
785 Adjust comments for base varying.
786 (__expl_finite): Change alias to EXPL_FINITE.
787 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
788 tests for bugs.
789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
790
6c23e11c
JM
791 [BZ #14064]
792 * math/libm-test.inc (check_float_internal): Correct ulp
793 calculation for subnormal expected results.
794
29ba805c
AJ
7952012-05-06 Andreas Jaeger <aj@suse.de>
796
797 * Makeconfig (+math-flags): New, set to -frounding-math.
798 (+cflags): Add +math-flags so that all of glibc gets compiled with
799 it.
800
801 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
802
7b17aeda
JM
8032012-05-05 Joseph Myers <joseph@codesourcery.com>
804
5779f134
JM
805 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
806 Disable one test.
807
41498f4d
JM
808 [BZ #13787]
809 [BZ #13922]
810 [BZ #14036]
811 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
812 (__ieee754_expl): Allow for and saturate large arguments.
813 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
814 (u_threshold): Likewise.
815 (__exp): Call __ieee754_exp before checking for overflow and
816 underflow.
817 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
818 (u_threshold): Likewise.
819 (__expf): Call __ieee754_expf before checking for overflow and
820 underflow.
821 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
822 (u_threshold): Likewise.
823 (__expl): Call __ieee754_expl before checking for overflow and
824 underflow.
825 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
826 (__ieee754_expl): Allow for and saturate large arguments.
827 * math/libm-test.inc (exp_test): Add another test. Do not allow
828 missing overflow exception on overflow.
829 (expm1_test): Do not allow missing overflow exception on overflow.
830
6698b8bf
JM
831 * sysdeps/i386/fpu/e_expl.c: Move to ...
832 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
833 rather than using inline asm.
834 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
835 * sysdeps/x86_64/fpu/e_expl.S: Copy from
836 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
837
7b17aeda
JM
838 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
839 (nice): Likewise.
840 (poll): Likewise.
841 (signal): Likewise.
842 (time): Likewise.
843 (times): Likewise.
844
f7c85819
JM
8452012-05-04 Joseph Myers <joseph@codesourcery.com>
846
847 * sysdeps/unix/syscalls.list (adjtime): Add entry from
848 sysdeps/unix/common/syscalls.list.
849 (fchmod): Likewise.
850 (fchown): Likewise.
851 (ftruncate): Likewise.
852 (getrusage): Likewise.
853 (gettimeofday): Likewise.
854 (setpgid): Likewise.
855 (setregid): Likewise.
856 (setreuid): Likewise.
857 (sigaction): Likewise.
858 (truncate): Likewise.
859 (vhangup): Likewise.
860 * sysdeps/unix/common/syscalls.list: Remove file.
861 * sysdeps/unix/bsd/Implies: Don't include unix/common.
862 * sysdeps/unix/sysv/linux/Implies: Likewise.
863
336270d0
L
8642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
865
866 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
868 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
869 Moved to ...
870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
871 Here.
872 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
873 to ...
874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
875 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
876 to ...
877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
878 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
879 to ...
880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
881 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
882 to ...
883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
884 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
885 to ...
886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
887 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
888 to ...
889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
890 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
891 to ...
892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
893 Here.
894 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
895 to ...
896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
897 Here.
898 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
899 to ...
900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
901 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
902 Moved to ...
903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
904 Here.
905 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
906 to ...
907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
908
d128e450
JM
9092012-05-04 Joseph Myers <joseph@codesourcery.com>
910
fa8ee516
JM
911 * sysdeps/unix/common/bits/dirent.h: Remove file.
912 * sysdeps/unix/common/bits/fcntl.h: Likewise.
913
d128e450
JM
914 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
915 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
916 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
917 * sysdeps/unix/bsd/isatty.c: Likewise.
918 * sysdeps/unix/bsd/tcdrain.c: Likewise.
919 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
920 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
921
ff8faaf0 9222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 923
62881be4 924 [BZ #13563]
31dc8730
AZ
925 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
926 long double comparison inaccuracies.
927 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
929
6fef930c
AS
9302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
931
932 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
933 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
934
8f203e6c
JM
9352012-05-04 Joseph Myers <joseph@codesourcery.com>
936
937 [BZ #14049]
938 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
939 nonzero digits before rounding a hex value.
940 * stdlib/tst-strtod.c (tests): Add another test.
941
5197d9c2
AK
9422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
943
944 * sysdeps/s390/fpu/libm-test-ulps: Update.
945
f0c1dedf
AJ
9462012-05-03 Andreas Jaeger <aj@suse.de>
947
948 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
949 does not get optimized out.
950 (malloc_opt_barrier): New.
951
a65ef2ae 9522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 953 Roland McGrath <roland@hack.frob.com>
a65ef2ae 954
2b942cb7 955 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 956 intermediate file deletion.
2b942cb7 957 (generated): Add .symlist files.
a65ef2ae 958
54b71e02
JM
9592012-05-03 Joseph Myers <joseph@codesourcery.com>
960
961 [BZ #13775]
962 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
963 Redirect under this condition.
964 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
965 [__USE_GNU] (__dprintf_chk): Not under this condition.
966 [__USE_GNU] (__vdprintf_chk): Likewise.
967 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
968 under this condition.
969 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
970 [__USE_XOPEN2K8] (dprintf): Define under this condition.
971 [__USE_XOPEN2K8] (vdprintf): Likewise.
972 [__USE_GNU] (__dprintf_chk): Not under this condition.
973 [__USE_GNU] (__vdprintf_chk): Likewise.
974 [__USE_GNU] (dprintf): Likewise.
975 [__USE_GNU] (vdprintf): Likewise.
976
d3dfcc41
RM
9772012-05-03 Roland McGrath <roland@hack.frob.com>
978
979 * elf/Makefile (common-generated): Set this instead of generated for
980 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
981 $(all-built-dso)-derived lists.
982
7ac30cc5
AJ
9832012-05-03 Andreas Jaeger <aj@suse.de>
984
0c51e550
AJ
985 * sysdeps/i386/fpu/libm-test-ulps: Update.
986
7ac30cc5
AJ
987 * FAQ: Removed.
988 * FAQ.in: Likewise.
989 * scripts/gen-FAQ.pl: Likewise.
990 * manual/install.texi (Installation): Point to online location of
991 FAQ.
992 * Makefile (files-for-dist): Remove FAQ.
993 (FAQ): Remove.
994
d4c2917f
AM
9952012-05-02 Allan McRae <allan@archlinux.org>
996
997 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
998 (LDFLAGS-reldepmod5.so): Likewise.
999 (LDFLAGS-reldep6mod1.so): Likewise.
1000 (LDFLAGS-reldep6mod4.so): Likewise.
1001 (LDFLAGS-reldep8mod3.so): Likewise.
1002 (LDFLAGS-unload4mod1.so): Likewise.
1003 (LDFLAGS-unload4mod2.so): Likewise.
1004 (LDFLAGS-tst-initorder): Likewise.
1005 (LDFLAGS-tst-initordera2.so): Likewise.
1006 (LDFLAGS-tst-initordera3.so): Likewise.
1007 (LDFLAGS-tst-initordera4.so): Likewise.
1008 (LDFLAGS-tst-initorderb2.so): Likewise.
1009 (LDFLAGS-noload): Likewise.
1010 (LDFLAGS-next): Likewise.
1011 (LDFLAGS-order2mod1.so): Likewise.
1012 (LDFLAGS-order2mod2.so): Likewise.
1013 (LDFLAGS-tst-initorder2): Likewise.
1014 (LDFLAGS-tst-initorder2a.so): Likewise.
1015 (LDFLAGS-tst-initorder2b.so): Likewise.
1016 (LDFLAGS-tst-initorder2c.so): Likewise.
1017 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1018
d77f993f
DM
10192012-05-02 David S. Miller <davem@davemloft.net>
1020
1021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1022
171a70b4
PP
10232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1024
1025 [BZ #14055]
1026 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1027
0be196ad
AJ
10282012-05-02 Andreas Jaeger <aj@suse.de>
1029
1030 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1031 since we manipulate rounding mode.
1032 (CPPFLAGS-test-idouble.c): Likewise.
1033 (CPPFLAGS-test-ifloat.c): Likewise.
1034 (CFLAGS-test-ldouble.c): Likewise.
1035 (CFLAGS-test-double.c): Likewise.
1036 (CFLAGS-test-float.c): Likewise.
1037 (CFLAGS-test-misc.c): Likewise.
1038 (CFLAGS-test-test-fenv.c): Likewise.
1039
4f9d04aa
AZ
10402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1041
2b942cb7
RM
1042 [BZ #2550]
1043 [BZ #2570]
1044 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1045 comparisons to determine direction to adjust input.
4f9d04aa 1046
82a79e7d
RM
10472012-05-01 Roland McGrath <roland@hack.frob.com>
1048
f5a01ca9
RM
1049 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1050 output to the target.
1051
90fe4186
RM
1052 * scripts/localplt.awk: New file.
1053 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1054 (check-localplt-CFLAGS): Variable removed.
1055 ($(all-built-dso:=.jmprel)): New static pattern rule.
1056 (generated): Add those targets.
1057 (localplt-built-dso): New variable.
1058 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1059
1060 * elf/check-localplt.c: File removed.
1061
82397ed6
RM
1062 * scripts/check-execstack.awk: New file.
1063 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1064 (check-execstack-CFLAGS): Variable removed.
1065 ($(objpfx)check-execstack.h): Target removed.
1066 ($(objpfx)execstack-default): New target.
1067 (generated): Add that instead of check-execstack.h.
1068 ($(all-built-dso:=.phdr)): New static pattern rule.
1069 (generated): Add those targets.
1070 * elf/check-execstack.c: File removed.
1071
82a79e7d
RM
1072 * scripts/check-textrel.awk: New file.
1073 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1074 (check-textrel-CFLAGS): Variable removed.
1075 (all-built-dso): Use := to define.o
1076 ($(all-built-dso:=.dyn)): New static pattern rule.
1077 (generated): Add those targets.
1078 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1079 * config.make.in (READELF): New substituted variable.
1080 * elf/check-textrel.c: File removed.
1081
62fde54f 10822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1083
615605c9
JM
1084 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1085 allow.
1086 * conform/data/ctype.h-data [C99-based standards] (isblank):
1087 Expect function.
1088 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1089 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1091 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1092 Specify type. Require positive value.
1093 (EILSEQ): Likewise.
1094 (ERANGE): Likewise.
1095 [ISO || POSIX] (EILSEQ): Do not expect.
1096 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1097 Specify type. Require positive value.
1098 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1119 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1127 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1128 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1134 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1135 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1140 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1141 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1143 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1144 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1148 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1149 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1150 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1151 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1152 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1153 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1154 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1155 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1156 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1158 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1159 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1160 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1161 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1162 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1163 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1165 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1166 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1167 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1168 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1169 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1170 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1171 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1172 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1173 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1174 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1175 Require >= 2.
1176 (FLT_ROUNDS): Expect as macro, not constant.
1177 (FLT_MANT_DIG): Use macro-int-constant.
1178 (DBL_MANT_DIG): Likewise.
1179 (LDBL_MANT_DIG): Likewise.
1180 (FLT_DIG): Likewise.
1181 (DBL_DIG): Likewise.
1182 (LDBL_DIG): Likewise.
1183 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1184 (DBL_MIN_EXP): Likewise.
1185 (LDBL_MIN_EXP): Likewise.
1186 (FLT_MAX_EXP): Use macro-int-constant.
1187 (DBL_MAX_EXP): Likewise.
1188 (LDBL_MAX_EXP): Likewise.
1189 (FLT_MAX_10_EXP): Likewise.
1190 (DBL_MAX_10_EXP): Likewise.
1191 (LDBL_MAX_10_EXP): Likewise.
1192 (FLT_MAX): Use macro-constant.
1193 (DBL_MAX): Likewise.
1194 (LDBL_MAX): Likewise.
1195 (FLT_EPSILON): Use macro-constant. Give upper bound.
1196 (DBL_EPSILON): Likewise.
1197 (LDBL_EPSILON): Likewise.
1198 (FLT_MIN): Likewise.
1199 (DBL_MIN): Likewise.
1200 (LDBL_MIN): Likewise.
1201 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1202 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1203 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1204 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1205 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1206 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1207 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1208 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1209 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1210 [ISO11] (FLT_TRUE_MIN): Likewise.
1211 [ISO11] (LDBL_TRUE_MIN): Likewise.
1212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1213 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1214 (SCHAR_MIN): Use macro-int-constant. Specify type.
1215 (SCHAR_MAX): Likewise.
1216 (UCHAR_MAX): Likewise.
1217 (CHAR_MIN): Likewise.
1218 (CHAR_MAX): Likewise.
1219 (MB_LEN_MAX): Use macro-int-constant.
1220 (SHRT_MIN): Use macro-int-constant. Specify type.
1221 (SHRT_MAX): Likewise.
1222 (USHRT_MAX): Likewise.
1223 (INT_MAX): Likewise.
1224 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1225 bound negative.
1226 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1227 bound with "U".
1228 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1229 bound with "L".
1230 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1231 bound negative. Suffix upper bound with "L".
1232 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1233 bound with "UL".
1234 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1235 Specify type.
1236 [C99-based standards] (LLONG_MAX): Likewise.
1237 [C99-based standards] (ULLONG_MAX): Likewise.
1238 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1239 == 0.
1240 [ISO11] (max_align_t): Require type.
1241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1242
c9140a62
JM
1243 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1244 from $CFLAGS, without defining away __attribute__ calls.
1245 (checknamespace): Use $CFLAGS_namespace.
1246
9af0bf29
JM
1247 * conform/conformtest.pl (@keywords): Only include C99 keywords
1248 for standards based on C99 or C11.
1249
343222a2
JM
1250 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1251 Disable tests.
1252 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1253 UNIX98]: Likewise.
1254
661f8cf0
JM
1255 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1256 usability of symbols in #if.
1257
ee74b9cb
JM
1258 * conform/conformtest.pl: If macro or constant types start
1259 "promoted:", expect the symbol to be of the following type
1260 promoted by the integer promotions.
62fde54f 1261
aafc49b3
JM
1262 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1263 in one place. Also handle "macro-constant".
1264
fefdf574
JM
1265 * conform/conformtest.pl: Only accept expected macro values with
1266 "==". Parse all "macro" lines in one place.
1267 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1268
f2d922fe
JM
1269 * conform/conformtest.pl: Handle braced types on "constant" lines
1270 instead of handling "typed-constant".
1271 * conform/data/signal.h-data: Use "constant" instead of
1272 "typed-constant".
1273
d22956c9
JM
1274 * conform/conformtest.pl: Handle "optional-" at start of lines in
1275 one place rather than duplicating several cases. Handle each
1276 format of "macro" line with initial "optional-".
1277
028e2e38
JM
1278 * conform/conformtest.pl: Only accept expected constant or
1279 optional-constant values with "==". Parse all "constant" lines in
1280 one place. Parse all "optional-constant" lines in one place.
1281 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1282 * conform/data/fmtmsg.h-data: Likewise.
1283 * conform/data/netinet/in.h-data: Likewise.
1284 * conform/data/tar.h-data: Likewise.
1285 * conform/data/limits.h-data: Use "==" form on "constant" and
1286 "optional-constant" lines.
1287
1b8f2850
JM
1288 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1289 Use -std=c99 for XOPEN2K.
1290 (@knownproblems): Remove.
1291 (newtoken): Don't check %isknown.
1292
a05a144b
JM
1293 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1294 Do not expect macro.
1295 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1307 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1308 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1325 [XPG3] (acosh): Likewise.
1326 [XPG3] (asinh): Likewise.
1327 [XPG3] (atanh): Likewise.
1328 [XPG3] (cbrt): Likewise.
1329 [XPG3] (expm1): Likewise.
1330 [XPG3] (ilogb): Likewise.
1331 [XPG3] (log1p): Likewise.
1332 [XPG3] (logb): Likewise.
1333 [XPG3] (nextafter): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1336 [XPG3] (remainder): Likewise.
1337 [XPG3] (rint): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1345 [UNIX98 || XOPEN2K] (scalb): Expect.
1346 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1347 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1430 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1431 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1432 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1433 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1434 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1435 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1436 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1437 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1438 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1439 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1440 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1441 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1442 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1443 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1444 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1445 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1446 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1447 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1448 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1449 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1450 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1451 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1452 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1453 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1454 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1455 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1456 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1457 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1458 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1459 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1460 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1461 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1462 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1463 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1464 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1465 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1466 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1467 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1468 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1469 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1470 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1471 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1472 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1473 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1474 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1475 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1476 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1477 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1478 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1479 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1480 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1481 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1482 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1483
73c5ebe3
JM
1484 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1485 _XOPEN_SOURCE_EXTENDED for XPG4.
1486
39c33b6c
JM
1487 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1488
62fde54f
JM
1489 * Makeconfig (localtime): Remove variable.
1490 (inst_localtime-file): Likewise.
1491
0741d64c
AS
14922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1493
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1495 Update.
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1497 Update.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1499 Update.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1501 Update.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1503 Update.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1505 Update.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1507 Update.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1509 Update.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1511 Update.
1512
7cb029ee
JM
15132012-05-01 Joseph Myers <joseph@codesourcery.com>
1514
1515 [BZ #2550]
1516 [BZ #2570]
1517 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1518 comparisons to determine direction to adjust input.
1519 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1520 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1522 Likewise.
1523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1524 Likewise.
1525 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1526 Likewise.
1527 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1528 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1529 Likewise.
1530 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1531 Likewise.
1532 * math/libm-test.inc (nexttoward_test): Add more tests.
1533
412bd966
AS
15342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1535
1536 [BZ #14040]
1537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1538 in version GLIBC_2.1, not GLIBC_2.0.
1539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1540 Likewise.
1541
9568c0c2
JM
15422012-04-30 Joseph Myers <joseph@codesourcery.com>
1543
adfbc8ac
JM
1544 [BZ #13942]
1545 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1546 (1 - x) * (1 + x).
1547 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1548 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1549 * math/libm-test.inc (acos_test): Add more tests.
1550 (asin_test): Likewise.
1551 * sysdeps/i386/fpu/libm-test-ulps: Update.
1552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1553
5ba3cc69
JM
1554 [BZ #14034]
1555 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1556 of square root.
1557 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1558 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1559 * math/libm-test.inc (acos_test_tonearest): New function.
1560 (acos_test_towardzero): Likewise.
1561 (acos_test_downward): Likewise.
1562 (acos_test_upward): Likewise.
1563 (asin_test_tonearest): Likewise.
1564 (asin_test_towardzero): Likewise.
1565 (asin_test_downward): Likewise.
1566 (asin_test_upward): Likewise.
1567 (main): Call the new functions.
1568 * sysdeps/i386/fpu/libm-test-ulps: Update.
1569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1570
9568c0c2
JM
1571 [BZ #13884]
1572 [BZ #13924]
1573 * math/e_exp10.c: Include <float.h>.
1574 (__ieee754_exp10): Handle underflow here rather than multiplying
1575 large negative argument by M_LN10.
1576 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1577 of __ieee754_expf.
1578 * math/e_exp10l.c: Include <float.h>.
1579 (__ieee754_exp10l): Handle underflow here rather than multiplying
1580 large negative argument by M_LN10l.
1581 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1582 spurious overflow exception on underflow.
1583
5ac3ea17
MP
15842012-04-29 Marek Polacek <polacek@redhat.com>
1585
1586 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1587 (__fortify_function): New macro.
1588 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1589 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1590 __extern_always_inline.
1591 * libio/bits/stdio2.h: Likewise.
1592 * libio/bits/stdio.h: Likewise.
1593 * string/string.h: Likewise.
1594 * string/bits/string3.h: Likewise.
1595 * include/stdio.h: Likewise.
1596 * stdlib/bits/stdlib.h: Likewise.
1597 * stdlib/stdlib.h: Likewise.
1598 * rt/bits/mqueue2.h: Likewise.
1599 * rt/mqueue.h: Likewise.
1600 * posix/bits/unistd.h: Likewise.
1601 * posix/unistd.h: Likewise.
1602 * io/bits/poll2.h: Likewise.
1603 * io/bits/fcntl2.h: Likewise.
1604 * io/fcntl.h: Likewise.
1605 * io/sys/poll.h: Likewise.
1606 * misc/bits/syslog.h: Likewise.
1607 * misc/bits/syslog-ldbl.h: Likewise.
1608 * misc/sys/syslog.h: Likewise.
1609 * socket/bits/socket2.h: Likewise.
1610 * socket/sys/socket.h: Likewise.
1611 * debug/tst-chk1.c: Likewise.
1612 * wcsmbs/bits/wchar2.h: Likewise.
1613 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1614 * wcsmbs/wchar.h: Likewise.
1615
ecf0ebfb
AJ
16162012-04-29 Andreas Jaeger <aj@suse.de>
1617
1618 * Makerules (tests): Remove enable-check-abi protection.
1619 (check-abi-warn): Remove.
1620 (check-abi-%): Remove check-abi-warn usage.
1621
1622 * configure.in: Remove check-abi configure option.
1623 * configure: Regenerated.
1624 * config.make.in (enable-check-abi): Remove.
1625
6d5c57fa
AS
16262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1627
24c5d07e 1628 [BZ #14033]
ded5180a
AS
1629 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1630 double functions to double *_finite functions.
1631
7e0d315d
AS
1632 [BZ #13941]
1633 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1634 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1635 LDBL_MIN_EXP.
1636 * stdio-common/Makefile (tests): Add tst-sprintf3.
1637 * stdio-common/tst-sprintf3.c: New file.
1638
6d5c57fa
AS
1639 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1640 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1641
0749ff8b
JM
16422012-04-28 Joseph Myers <joseph@codesourcery.com>
1643
1644 * conform/conformtest.pl: Remove duplicate typed-constant
1645 handling.
1646
8dbd5d7b
DM
16472012-04-28 David S. Miller <davem@davemloft.net>
1648
1649 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1650 (check-abi-%): Remove AWK script prerequisite and explicit
1651 abilist directory.
1652 (check-abi): Rewrite to just diff the symlist with the abilist.
1653 (config-tls, config-abi-config): Delete, no longer used.
1654 (update-abi-%): Remove AWK script and explicit abilist directory.
1655 (update-abi): Rewrite to simply compare and conditionally copy the
1656 symlist and the sysdep abilist file. Remove update-abi-config
1657 checks.
1658 * abilist/ld.abilist: Remove.
1659 * abilist/libBrokenLocale.abilist: Remove.
1660 * abilist/libanl.abilist: Remove.
1661 * abilist/libcrypt.abilist: Remove.
1662 * abilist/libdl.abilist: Remove.
1663 * abilist/librt.abilist: Remove.
1664 * abilist/libthread_db.abilist: Remove.
1665 * abilist/libutil.abilist: Remove.
1666 * scripts/extract-abilist.awk: Remove.
1667 * scripts/merge-abilist.awk: Remove.
1668 * sysdeps/generic/libcidn.abilist: New file.
1669 * sysdeps/generic/libnss_compat.abilist: New file.
1670 * sysdeps/generic/libnss_db.abilist: New file.
1671 * sysdeps/generic/libnss_dns.abilist: New file.
1672 * sysdeps/generic/libnss_files.abilist: New file.
1673 * sysdeps/generic/libnss_hesiod.abilist: New file.
1674 * sysdeps/generic/libnss_nis.abilist: New file.
1675 * sysdeps/generic/libnss_nisplus.abilist: New file.
1676 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1677 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1678 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1679 file.
1680 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1681 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1682 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1683 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1684 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1685 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1686 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1687 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1688 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1689 file.
1690 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1691 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1692 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1693 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1694 file.
1695 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1696 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1697 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1698 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1699 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1700 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1701 file.
1702 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1703 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1704 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1705 file.
1706 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1708 New file.
1709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1710 New file.
1711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1712 New file.
1713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1714 New file.
1715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1716 New file.
1717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1718 New file.
1719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1720 New file.
1721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1722 New file.
1723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1724 New file.
1725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1726 New file.
1727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1728 New file.
1729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1730 New file.
1731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1732 New file.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1734 file.
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1736 New file.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1738 New file.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1740 file.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1742 New file.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1744 New file.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1746 file.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1748 New file.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1750 New file.
1751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1752 New file.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1754 New file.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1756 New file.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1758 New file.
1759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1761 file.
1762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1763 New file.
1764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1765 file.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1767 file.
1768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1769 file.
1770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1771 file.
1772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1773 file.
1774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1775 New file.
1776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1777 file.
1778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1779 file.
1780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1781 New file.
1782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1783 file.
1784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1786 file.
1787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1788 New file.
1789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1790 file.
1791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1792 file.
1793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1794 file.
1795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1796 file.
1797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1798 file.
1799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1800 New file.
1801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1802 file.
1803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1804 file.
1805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1806 New file.
1807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1808 file.
1809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1810 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1811 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1812 file.
1813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1814 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1815 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1816 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1817 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1818 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1819 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1821 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1822 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1825 file.
1826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1827 New file.
1828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1829 file.
1830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1831 file.
1832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1833 file.
1834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1835 file.
1836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1837 file.
1838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1839 New file.
1840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1841 New file.
1842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1843 file.
1844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1845 New file.
1846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1847 file.
1848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1850 file.
1851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1852 New file.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1854 file.
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1856 file.
1857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1858 file.
1859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1860 file.
1861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1862 file.
1863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1864 New file.
1865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1866 New file.
1867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1868 file.
1869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1870 New file.
1871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1872 file.
1873
41d73a1b
JM
18742012-04-28 Joseph Myers <joseph@codesourcery.com>
1875
1876 * conform/conformtest.pl: Fix typo in handling typed-constant from
1877 allow-header.
1878
28aeeda4
JM
18792012-04-27 Joseph Myers <joseph@codesourcery.com>
1880
adae8f5e
JM
1881 * README: Cut down references to pre-2.6 Linux kernels and
1882 Linuxthreads. Update lists of configurations in libc and ports
1883 and sort alphabetically. Say "or newer" with Linux kernel version
1884 requirements.
1885
28aeeda4
JM
1886 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1887
a462cb63
RA
18882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1889
1890 [BZ #887]
1891 * math/libm-test.inc (logb_test_downward): New test to expose
1892 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1893 rounding mode.
1894
6ad3493e
JM
18952012-04-27 Joseph Myers <joseph@codesourcery.com>
1896
1897 [BZ #14027]
1898 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1899 to be done.
1900 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1901 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1902
2ce4f015
JM
19032012-04-26 Joseph Myers <joseph@codesourcery.com>
1904
5aeb141a
JM
1905 * sysdeps/unix/i386/brk.S: Remove file.
1906 * sysdeps/unix/i386/dl-brk.S: Likewise.
1907 * sysdeps/unix/i386/pipe.S: Likewise.
1908 * sysdeps/unix/i386/sigreturn.S: Likewise.
1909 * sysdeps/unix/i386/syscall.S: Likewise.
1910 * sysdeps/unix/i386/vfork.S: Likewise.
1911 * sysdeps/unix/i386/wait.S: Likewise.
1912
7143acae
JM
1913 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1914 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1915
2ce4f015
JM
1916 * configure.in (arm*-none*): Do not allow without
1917 --enable-hacker-mode.
1918 (netbsd*): Remove case setting base_os.
1919 (386bsd*): Likewise.
1920 (freebsd*): Likewise.
1921 (bsdi*): Likewise.
1922 (osf*): Likewise.
1923 (sunos*): Likewise.
1924 (ultrix*): Likewise.
1925 (newsos*): Likewise.
1926 (dynix*): Likewise.
1927 (*bsd*): Likewise.
1928 (sysv*): Likewise.
1929 (isc*): Likewise.
1930 (esix*): Likewise.
1931 (sco*): Likewise.
1932 (minix*): Likewise.
1933 (irix4*): Likewise.
1934 (irix6*): Likewise.
1935 (solaris[2-9]*): Likewise.
1936 (none): Likewise.
1937 * configure: Regenerated.
1938
0ac229c8
AZ
19392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940
1941 [BZ #11521]
1942 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1943 overflow or cancellation in calculating denominator.
1944 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1946 down expression to avoid unexpected rounding in newer GCCs.
1947 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1948
33f244f4
DM
19492012-04-26 David S. Miller <davem@davemloft.net>
1950
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1952 long-double compat symbols.
1953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1966
cfa1f3e8
DM
19672012-04-25 David S. Miller <davem@davemloft.net>
1968
1969 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1970 HWCAP_* values only after the memory barriers have been defined.
1971 (atomic_full_barrier): Define.
1972 (atomic_read_barrier): Define.
1973 (atomic_write_barrier): Define.
1974
6e236b92
SP
19752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1976
1977 * shlib-versions: Add libgcc_s version information.
1978 * sysdeps/generic/libgcc_s.h: Remove.
1979 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1980 libgcc_s.h.
1981 * sysdeps/gnu/unwind-resume.c: Likewise.
1982 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1983
aab39a09
DM
19842012-04-25 David S. Miller <davem@davemloft.net>
1985
1986 * sysdeps/unix/sparc/brk.S: Delete.
1987 * sysdeps/unix/sparc/dl-brk.S: Delete.
1988 * sysdeps/unix/sparc/pipe.S: Delete.
1989 * sysdeps/unix/sparc/sysdep.S: Delete.
1990 * sysdeps/unix/sparc/sysdep.h: Delete.
1991 * sysdeps/unix/sparc/vfork.S: Delete.
1992 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1993 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1994 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1995 ret_ERRVAL, r0, r1, MOVE): Define.
1996 (JUMPTARGET): Remove.
1997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1998 sysdeps/unix/sparc/sysdep.h
1999 (ENTRY, END): Remove.
2000 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2001
a3cc4f48
JM
20022012-04-25 Joseph Myers <joseph@codesourcery.com>
2003
2ed8cda2
JM
2004 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2005 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2006 -DIS_IN_build.
2007
35d76d59
JM
2008 * timezone/README: Update upstream location and email address for
2009 tzcode and tzdata.
2010 * timezone/zdump.c: Update from tzcode 2012b.
2011 * timezone/zic.c: Likewise.
2012
a3cc4f48
JM
2013 * configure.in (libc_cv_as_needed): Remove test.
2014 * configure: Regenerated.
2015 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2016 conditional definition.
2017 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2018 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2019 * config.make.in (have-as-needed): Remove variable.
2020
ceab42c3
SP
20212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2022 Paul Pluzhnikov <ppluzhnikov@google.com>
2023
2024 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2025 strings correctly.
2026
3ce2865f
CLT
20272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2028
2029 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2030 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2031 * sysdeps/sh/strlen.S: Likewise.
2032
f37e0d68
JM
20332012-04-24 Joseph Myers <joseph@codesourcery.com>
2034
ae186e9a
JM
2035 * sysdeps/unix/fork.S: Remove file.
2036 * sysdeps/unix/i386/fork.S: Likewise.
2037 * sysdeps/unix/sparc/fork.S: Likewise.
2038
b96914af
JM
2039 * sysdeps/unix/system.c: Remove file.
2040 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2041
f37e0d68
JM
2042 * sysdeps/unix/getegid.S: Remove file.
2043 * sysdeps/unix/geteuid.S: Likewise.
2044
87ef29ca
RM
20452012-04-24 Roland McGrath <roland@hack.frob.com>
2046
83bcd236
RM
2047 * scripts/check-localplt.awk: New file.
2048 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2049 of diff.
2050 * scripts/data/localplt-generic.data: Add a comment.
2051
87ef29ca
RM
2052 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2053 NODE when __dir_mkfile failed.
2054 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2055 Reported by Ludovic Courtès <ludo@gnu.org>.
2056
e5a6e567
AJ
20572012-04-24 Andreas Jaeger <aj@suse.de>
2058
2059 * Makerules (common-clean): Also remove gen-as-const-headers
2060 files.
2061
c1820385
JM
20622012-04-24 Joseph Myers <joseph@codesourcery.com>
2063
2064 * Makerules (native-compile): Do not change working directory for
2065 build. Use $(OUTPUT_OPTION) in command.
2066 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2067
94e02fc4
AZ
20682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2069
2070 [BZ #13886]
2071 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2072 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2073 * math/libm-test.inc (floor_test): Add more tests.
2074 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2075
3a533ca3
JM
20762012-04-24 Joseph Myers <joseph@codesourcery.com>
2077
940ab4b3
JM
2078 * sysdeps/unix/getdents.c: Remove file.
2079 * sysdeps/unix/sysv/getdents.c: Likewise.
2080 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2081
90e037bd
JM
2082 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2083 sysdeps/unix/mman/syscalls.list.
2084 (mmap): Likewise.
2085 (mprotect): Likewise.
2086 (msync): Likewise.
2087 (munmap): Likewise.
2088 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2089 * sysdeps/unix/mman/syscalls.list: Remove.
2090 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2091
3a533ca3
JM
2092 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2093 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2094 * configure: Regenerated.
2095 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2096 $(libgcc_s_suffix).
2097 * config.make.in (libgcc_s_suffix): Remove variable.
2098
1ad743de
JM
20992012-04-23 Joseph Myers <joseph@codesourcery.com>
2100
4ad451e2
JM
2101 * sysdeps/unix/sysv/gethostname.c: Move to ...
2102 * sysdeps/posix/gethostname.c: ... here.
2103
5e37ce39
JM
2104 * sysdeps/unix/execve.S: Remove file.
2105
1ad743de
JM
2106 * sysdeps/unix/_exit.S: Remove file.
2107
4e681b5b
AJ
21082012-04-23 Andreas Jaeger <aj@suse.de>
2109
2110 [BZ #13739]
2111 * manual/Makefile: Remove make dist support, there's no
2112 need for a stand-alone documentation tar ball.
2113 (TEXI2DVI): Define always, it's not in Makeconfig.
2114 (dist): Removed.
2115 (tar-it): Removed.
2116 (edition): Removed.
2117 (glibc-doc-$(edition).tar): Removed
2118 (%.Z): Removed.
2119 (%.gz): Removed.
2120 (%.uu): Removed.
2121 (ETAGS): Remove, it's in Makeconfig.
2122 (move-if-change): Remove, it's in Makeconfig.
2123
c0baea34
PE
21242013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2125
2126 [BZ #13970]
2127 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2128 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2129 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2130 (strtod_l, strtof_l, strtold_l): Remove __wur.
2131 It is not necessarily an error to ignore strtol's return value.
2132 One can reliably look at the stored endptr to decide whether
2133 the number had valid syntax.
2134
7c0616fa
AJ
21352012-04-21 Andreas Jaeger <aj@suse.de>
2136
803cb6b7 2137 [BZ #13739]
7c0616fa
AJ
2138 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2139
b0fe253f
JM
21402012-04-21 Joseph Myers <joseph@codesourcery.com>
2141
2142 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2143 * sysdeps/unix/sysv/Versions: Remove file.
2144
8280f22d
MT
21452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2146
2147 [BZ #13927]
2148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2149
75ce411f 21502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2151
2152 [BZ #7064]
2153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2154 version from __vm86.
2155
097d59fa
JM
21562012-04-20 Joseph Myers <joseph@codesourcery.com>
2157
a90f3bcb
JM
2158 * sysdeps/unix/common/lxstat.c: Remove file.
2159 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2160
edc7ea78
JM
2161 * sysdeps/unix/sysv/Makefile: Remove file.
2162
cb78c221
JM
2163 * sysdeps/unix/sysv/direct.h: Remove file.
2164
efa6a45f
JM
2165 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2166 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2167 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2168 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2169 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2170 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2171 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2172
9c9f2d0c
JM
2173 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2174
4541c83b
JM
2175 * sysdeps/unix/xmknod.c: Remove file.
2176 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2177
f5d153a0
JM
2178 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2179
aa746595
JM
2180 * sysdeps/unix/sysv/i386/time.S: Remove file.
2181
cce5905e
JM
2182 * sysdeps/unix/fxstat.c: Remove file.
2183 * sysdeps/unix/xstat.c: Likewise.
2184 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2185
37fa3841
JM
2186 * sysdeps/unix/sysv/sigaction.c: Remove file.
2187
ff1962a3
JM
2188 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2189 (sysdep_headers): Remove variable.
2190 [termio.h not in sysdep_headers] (generated): Likewise.
2191 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2192 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2193 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2194 * sysdeps/unix/sysv/tcflow.c: Likewise.
2195 * sysdeps/unix/sysv/tcflush.c: Likewise.
2196 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2197 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2198 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2199 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2200 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2201
e7740d31
JM
2202 * sysdeps/unix/siglist.c: Remove file.
2203
ee06f18b
JM
2204 * sysdeps/unix/getppid.S: Remove file.
2205
097d59fa
JM
2206 * sysdeps/unix/mkdir.c: Remove file.
2207 * sysdeps/unix/rmdir.c: Likewise.
2208
ff3d51ec
AS
22092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2210
2211 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2212 ERR_MAX value.
2213 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2214 errlist-compat value.
2215
50f81fd7
DM
22162012-04-18 David S. Miller <davem@davemloft.net>
2217
2218 * sysdeps/generic/memcopy.h (reg_char): Delete.
2219 * debug/strcat_chk.c: Use char, not reg_char.
2220 * debug/strcpy_chk.c: Likewise.
2221 * debug/strncat_chk.c: Likewise.
2222 * debug/strncpy_chk.c: Likewise.
2223 * string/memchr.c: Likewise.
2224 * string/memrchr.c: Likewise.
2225 * string/rawmemchr.c: Likewise.
2226 * string/strcat.c: Likewise.
2227 * string/strchr.c: Likewise.
2228 * string/strchrnul.c: Likewise.
2229 * string/strcmp.c: Likewise.
2230 * string/strcpy.c: Likewise.
2231 * string/strncat.c: Likewise.
2232 * string/strncmp.c: Likewise.
2233 * string/strncpy.c: Likewise.
2234
8ff41c46
WS
22352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2236
2237 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2238 __builtin_memcopy is called when src and dest ranges are known to not
2239 overlap.
2240
6b652f46
WS
22412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2242
2243 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2244 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2245 fwd_align_merge macro call.
2246 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2247 bwd_align_merge macro call.
2248 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2249
b282631e
WS
22502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2251
2252 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2253 bwd_align_merge macros.
2254 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2255 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2256 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2257
95aa737c
DM
22582012-04-18 David S. Miller <davem@davemloft.net>
2259
2260 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2261
7a99a614
AJ
22622012-04-18 Andreas Jaeger <aj@suse.de>
2263
2264 [BZ# 6794]
2265 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2266 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2267 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2268
2269 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2270 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2271 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2272
2273 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2274 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2275 Adjust for changed ldbl-128 files.
2276
2277 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2278 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2279 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2280
e5270c23
DM
22812012-04-17 David S. Miller <davem@davemloft.net>
2282
2283 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2284
fb5e92c9
AS
22852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2286
2287 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2288 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2289 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2290 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2291 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2292 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2293
76da7265
AZ
22942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2295
2296 [BZ #6794]
2297 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2298 * math/libm-test.inc: Add ilogb errno and exception tests.
2299 * math/w_ilogb.c: New file: ilogb wrapper.
2300 * math/w_ilogbf.c: New file: ilogbf wrapper.
2301 * math/w_ilogbl.c: New file: ilogbl wrapper.
2302 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2303 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2304 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2305 exception being thrown with 0.0 as argument.
2306 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2307 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2308 exception being thrown with 0.0 as argument.
2309 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2310 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2311 exception being thrown with 0.0 as argument.
2312 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2313 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2314 exception being thrown with 0.0 as argument.
2315 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2316 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2317 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2318 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2319 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2320 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2321 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2322 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2323 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2324
0396e69d
PB
23252012-04-17 Petr Baudis <pasky@ucw.cz>
2326
2327 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2328 with altivec.
2329
750b5926
MP
23302012-04-16 Marek Polacek <polacek@redhat.com>
2331
2332 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2333
751728a1
MP
23342012-04-16 Marek Polacek <polacek@redhat.com>
2335
2336 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2337 operands of fdivp instruction.
2338
34a27407
L
23392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2340
2341 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2342 * elf/tst-auditmod3b.c: Likewise.
2343 * elf/tst-auditmod4b.c: Likewise.
2344 * elf/tst-auditmod5b.c: Likewise.
2345 * elf/tst-auditmod6b.c: Likewise.
2346 * elf/tst-auditmod6c.c: Likewise.
2347 * elf/tst-auditmod7b.c: Likewise.
2348 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2349 * sysdeps/x86_64/preconfigure.in: Likewise.
2350 * sysdeps/x86_64/preconfigure: Regenerated.
2351
7e73e17d
L
23522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2353
2354 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2355 __ILP32__.
2356
c7a6ab72
AB
23572012-04-13 Antoine Balestrat <merkil33@gmail.com>
2358
2359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2360 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2361
a9e8e0e0
CL
23622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2363
2364 [BZ #13973]
2365 * locale/iso-639.def: Fix gl language name. Spotted by
2366 Yaron Shahrabani.
2367
ec98af7d
RM
23682012-04-12 Roland McGrath <roland@hack.frob.com>
2369
2370 [BZ #2074]
2371 * libio/libio.h (__io_write_fn): Update comment.
2372
247c3ede
PB
23732012-04-12 Petr Baudis <pasky@ucw.cz>
2374
2375 [BZ #2074]
2376 * stdio.texi (Hook Functions): The user provided writer function
2377 is not allowed to return -1.
2378
55939d6d
DM
23792012-04-11 David S. Miller <davem@davemloft.net>
2380
2381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2382
90020f5a
MF
23832012-04-11 Mike Frysinger <vapier@gentoo.org>
2384
2385 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2386 Add a leading slash to rtkaio.
2387
288f9098
JM
23882012-04-11 Jim Meyering <meyering@redhat.com>
2389
90020f5a
MF
2390 [BZ #11959]
2391 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2392 It is not necessarily an error to ignore fwrite's return
2393 value. One can reliably use ferror to test for errors after
2394 the fact.
288f9098 2395
4be2b570
L
23962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2397
2398 * bits/types.h (__snseconds_t): New type.
2399 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2400
2401 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2403 (__SNSECONDS_T_TYPE): Likewise.
2404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2405 (__SNSECONDS_T_TYPE): Likewise.
2406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2407 (__SNSECONDS_T_TYPE): Likewise.
2408
288f9098 24092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2410
2411 [BZ #2636]
2412 * manual/time.texi (Processor Time): Return type of times is
2413 elapsed real time since an arbitrary point in the past.
2414 (CPU Time): Move CLK_TCK from here...
2415 (Processor Time): ...to here. Correct description.
2416 * manual/conf.texi (Constants for Sysconf): Correct description of
2417 _SC_CLK_TCK.
2418
d7dd4413
DM
24192012-04-10 David S. Miller <davem@davemloft.net>
2420
2421 [BZ #13967]
2422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2423 where the is a gap between DT_REL(A) and DT_JMPREL.
2424
b46068fc
L
24252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2426
2427 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2428 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2429 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2430
73d65cc3
SP
24312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2432
2433 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2434 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2435 (dl_main): Handle --inhibit-cache.
2436 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2437 _dl_inhibit_cache.
2438 * elf/dl-load.c (_dl_map_object): Use it.
2439 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2440
bcc8d661
JM
24412012-04-09 Joseph Myers <joseph@codesourcery.com>
2442
8f9a2fae
JM
2443 [BZ #13872]
2444 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2445 (__ieee754_powl): Saturate large exponents rather than testing for
2446 overflow of y*log2(x).
2447 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2448 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2449 exceptions.
2450
bcc8d661
JM
2451 [BZ #11521]
2452 * math/s_ctan.c: Include <float.h>.
2453 (__ctan): Avoid internal overflow or cancellation in calculating
2454 denominator.
2455 * math/s_ctanf.c: Likewise.
2456 * math/s_ctanl.c: Likewise.
2457 * math/s_ctanh.c: Likewise.
2458 * math/s_ctanhf.c: Likewise.
2459 * math/s_ctanhl.c: Likewise.
2460 * math/libm-test.inc (ctan_test): Add more tests.
2461 (ctanh_test): Likewise.
2462 * sysdeps/i386/fpu/libm-test-ulps: Update.
2463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2464
823fbbb4
AJ
24652012-04-09 Andreas Jaeger <aj@suse.de>
2466
03879793
AJ
2467 [BZ #6894]
2468 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2469 is an optional BSD extension.
2470
823fbbb4
AJ
2471 [BZ #10254]
2472 * manual/stdio.texi (Opening Streams): Document additional fopen
2473 parameters.
2474
8de131cb
RM
24752012-04-09 Roland McGrath <roland@hack.frob.com>
2476
2477 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2478 %eax without telling the compiler.
2479
c0ed9d7d
CD
24802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2481
2482 [BZ # 13963]
2483 * manual/install.texi: Use sourceware.org.
2484
c483f6b4
JM
24852012-04-09 Joseph Myers <joseph@codesourcery.com>
2486
d7dd9453
JM
2487 [BZ #13873]
2488 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2489 (__ieee754_pow): Generate overflow and underflow using huge*huge
2490 and tiny*tiny rather than just returning constant infinity or zero
2491 for large exponents.
2492 * math/libm-test.inc (pow_test): Require overflow exceptions for
2493 applicable cases of large exponents.
2494
c483f6b4
JM
2495 [BZ #706]
2496 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2497 (__ieee754_pow): Use iterative multiplication algorithm only for
2498 integer exponents with absolute value below 1024. Check for odd
2499 integer exponents when using algorithm for real exponents.
2500 * math/libm-test.inc (pow_test): Add more tests.
2501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2502
d2de7579
JM
25032012-04-08 Joseph Myers <joseph@codesourcery.com>
2504
2505 [BZ #13705]
2506 * math/libm-test.inc (exp_test): Do not allow overflow exception
2507 on underflow test.
2508
f77f1232
AJ
25092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2510
2511 [BZ #13705]
2512 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2513 instead of __kernel_standard_f.
2514
3884932b
MF
25152012-04-08 Mike Frysinger <vapier@gentoo.org>
2516
2517 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2518 * sysdeps/x86_64/memset_chk.S: Likewise.
2519
54472e9c
AJ
25202012-04-08 Andreas Jaeger <aj@suse.de>
2521
6ab0fbfc
AJ
2522 [BZ #10153]
2523 * manual/startup.texi (Environment Access): Describe return value
2524 for putenv and setenv.
2525
61efba8c
AJ
2526 [BZ #6895]
2527 * manual/filesys.texi (Directory Entries): Add description for
2528 DT_LNK.
2529
95c3f29a
AJ
2530 [BZ #6890]
2531 * manual/filesys.texi (Directory Entries): Clarify that it's file
2532 system not operating system in the description of DT_UNKNOWN.
2533
54472e9c
AJ
2534 [BZ #6578]
2535 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2536
624254b1
SC
25372012-04-08 Stephen Compall <s11@member.fsf.org>
2538
2539 [BZ #6649]
2540 * manual/llio.texi (Opening and Closing Files): Add cross
2541 reference to explain mode argument.
2542
1e4920e0
MF
25432012-04-07 Mike Frysinger <vapier@gentoo.org>
2544
2545 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2546 * sysdeps/x86_64/memset_chk.S: Likewise.
2547
5ed848f3
DM
25482012-04-07 David S. Miller <davem@davemloft.net>
2549
2550 * elf/elf.h (R_SPARC_WDISP10): Define.
2551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2552 R_SPARC_SIZE32.
2553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2554 R_SPARC_SIZE64 and R_SPARC_H34.
2555
96154cd8
CD
25562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2557
2558 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2559 conditions and remove no longer applicable assertion.
2560
9904dc47
L
25612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2562
2563 * bits/byteswap.h: Include <features.h>.
2564 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2565 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2566
f8887d0a
L
25672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2568
2569 * bits/byteswap.h (__bswap_16): Removed.
2570 Include <bits/byteswap-16.h> to get __bswap_16.
2571 * sysdeps/i386/bits/byteswap.h: Likewise.
2572 * sysdeps/s390/bits/byteswap.h: Likewise.
2573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2574 * bits/byteswap-16.h: New file.
2575 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2576 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2577 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2578 * string/Makefile (headers): Add bits/byteswap-16.h.
2579
62470f60
PP
25802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2581
2582 [BZ #13895]
2583 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2584 extra indirection.
2585 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2586 * nss/tst-nss-static.c: New.
2587
4dad7bab
RM
25882012-04-06 Robert Millan <rmh@gnu.org>
2589
2590 [BZ #6486]
2591 * manual/llio.texi (File Position Primitive): lseek
2592 refers to WHENCE when it really means OFFSET.
2593
e9142a17
AJ
25942012-04-06 Andreas Jaeger <aj@suse.de>
2595
2c040eff
AJ
2596 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2597 strncmp declarations.
2598
e9142a17
AJ
2599 * abilist/libc.abilist: Add __poll and __ppoll.
2600
ff9f1c5f
DM
26012012-04-05 David S. Miller <davem@davemloft.net>
2602
dcd2ae90
DM
2603 * scripts/check-local-headers.sh: Accept a host triplet in the
2604 path matched by the exclude regexp.
2605
993eb054
DM
2606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2607 definition.
2608 * sysdeps/powerpc/powerpc32/dl-machine.h
2609 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2610 * sysdeps/s390/s390-32/dl-machine.h
2611 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2612 * sysdeps/sparc/sparc32/dl-machine.h
2613 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2614 * sysdeps/sparc/sparc64/dl-machine.h
2615 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2616
ff9f1c5f
DM
2617 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2618 lazy binding.
48e2e132 2619 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2620 undefined symbol errors.
2621
48e2e132 2622 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2623 DT_NEEDED entries.
2624
e80d6f94
MM
26252012-04-05 Michael Matz <matz@suse.de>
2626
2627 [BZ #13592]
2628 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2629
349fa79f
AJ
26302012-04-05 Andreas Jaeger <aj@suse.de>
2631
2632 [BZ #13908]
2633 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2634 comment.
2635
f402708f
KK
26362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2637
2638 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2639 which ROUND is no valid rounding mode.
2640
2ecccfc9
KK
26412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2642
2643 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2644 read again.
2645 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2646
8a53f50f
KK
26472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2648
2649 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2650 an exception using FPU order intentionally.
2651
26522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2653
2654 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2655 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2656 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2657 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2658
d653abb7
SJ
26592012-04-05 Simon Josefsson <simon@josefsson.org>
2660
2661 [BZ #12340]
2662 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2663 EINVAL when BUFLEN is too smal.
2664
c3b1bf7d
TS
26652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2666
2667 [BZ #13553]
2668 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2669 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2670
b1aa60f3
AJ
26712012-04-03 Andreas Jaeger <aj@suse.de>
2672
c3b1bf7d 2673 [BZ #13938]
67f60a26
AJ
2674 * manual/setjmp.texi (System V contexts): Fix sentence.
2675
b1aa60f3
AJ
2676 [BZ #13926]
2677 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2678 New macro for this case.
2679 [!__GNUC__] (__bswap_64): New inline function for this case.
2680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2681 * bits/byteswap.h: Likewise.
2682 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2683 ull, guard with __GLIBC_HAVE_LONG_LONG.
2684
2685 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2686 __GLIBC_HAVE_LONG_LONG.
2687
2688 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2689 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2690
39c59c35
TMQMF
26912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2692
2693 [BZ #13691]
2694 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2695 inptr and inend, rather than using last_ch.
2696
135ffda8
DM
26972012-04-02 David S. Miller <davem@davemloft.net>
2698
2699 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2700 * stdio-common/printf-parse.h (read_int): Change return type to
2701 'int', return -1 on INT_MAX overflow.
2702 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2703 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2704 overflows INT_MAX. Check for overflow of in-format-string precision
2705 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2706 SIZE_MAX not INT_MAX for integer overflow test.
2707 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2708 skip the construct in the format string but do not record anything.
2709 * stdio-common/bug22.c: Adjust to test both width/prevision
2710 INT_MAX overflow as well as total length INT_MAX overflow. Check
2711 explicitly for proper errno values.
2712
228c019e
TS
27132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2714
302cadd3
TS
2715 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2716 CHAR_MAX.
2717 * string/test-strcmp.c [! WIDE]: Likewise.
2718 * time/tst-mktime2.c: Likewise for INT_MAX.
2719 * string/test-string.h: #include <sys/param.h> for MIN.
2720
228c019e
TS
2721 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2722 * sysdeps/i386/init-first.c (init): Likewise.
2723 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2724 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2725 * sysdeps/sh/init-first.c (init): Likewise.
2726
cfa633f5
UD
27272012-04-01 Ulrich Drepper <drepper@gmail.com>
2728
2729 * po/ru.po: Update from translation team.
d1635ef8 2730 * po/vi.po: Likewise.
cfa633f5 2731
6cd0a5ea
SP
27322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2733
2734 * resolv/nss_dns/dns-host.c: Merge copyright years.
2735
4b43400f
LD
27362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2737
2738 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2739 Optimize memcpy with prefetch if
2740 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2741 src, dst pointers have unequal 16 byte alignments.
2742
48c41d04
SP
27432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2744
2745 [BZ #13928]
2746 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2747 from a CNAME entry and return the minimum ttl for the query.
2748 (gaih_getanswer_slice): Likewise.
2749
b8dc394d
JL
27502012-03-30 Jeff Law <law@redhat.com>
2751
2752 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2753 due to long keys.
2754 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2755 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2756
2f5a5ed0
JL
2757 * resolv/nss_dns/dns-host.c: Update copyright year.
2758
1d39e359
UD
27592012-03-30 Ulrich Drepper <drepper@gmail.com>
2760
c030f70c 2761 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2762 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2763
1d39e359
UD
2764 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2765 comments for sendmmsg.
2766
27672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2768
2769 [BZ #13691]
2770 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2771 with only 1 character between 0x0041 and 0x01b0.
2772 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2773 * wcsmbs/tst-mbsnrtowcs.c: New file.
2774
20fde227
DM
27752012-03-29 David S. Miller <davem@davemloft.net>
2776
2777 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2778 small copies by hand.
2779
984a4237
JL
27802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
2782 [BZ #13761]
2783 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2784 _nss_compat_initgroups_dyn): Fall back to malloc/free
2785 for large group memberships.
2786
18c9d62b
DM
27872012-03-28 David S. Miller <davem@davemloft.net>
2788
88d85d4f
DM
2789 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2790 that branches into memcpy.
2791 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2792 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2794 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2795 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2796 bits.
2797 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2798 implementation too.
2799 * sysdeps/sparc/mempcpy.S: New file.
2800
e5aa83e1
DM
2801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2802 the IFUNC routine in the libc case.
2803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2804
88570753
DM
2805 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2806 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2807 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2808 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2809 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2810 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2811 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2812 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2813
249d7567
DM
2814 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2815 loop to 256 bytes instead of 64 bytes and fix test signedness.
2816
18c9d62b
DM
2817 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2818 * sysdeps/sparc/sparc32/Makefile: rather than here...
2819 * sysdeps/sparc/sparc64/Makefile: and here.
2820
05f3d1f6
UD
28212012-03-28 Ulrich Drepper <drepper@gmail.com>
2822
2823 * malloc/mallocbug.c: Avoid warnings about unused variables.
2824
86ae07a8
JL
28252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2826
2827 [BZ #13760]
2828 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2829 in the right place. Discard and retry query if response is
2830 larger than input buffer size.
2831
41bf21a1
JM
28322012-03-28 Joseph Myers <joseph@codesourcery.com>
2833
d6270972
JM
2834 [BZ #369]
2835 [BZ #2678]
2836 [BZ #3866]
2837 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2838 x for large integer exponent.
2839 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2840 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2841 sign of result as needed afterwards.
2842 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2843 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2844 result for underflowing pow the same as for overflow.
2845 (__kernel_standard_l): Handle powl overflow and underflow here
2846 rather than calling __kernel_standard.
2847 * math/libm-test.inc (pow_test): Add more tests.
2848
414fca03 2849 [BZ #3868]
41bf21a1
JM
2850 [BZ #13879]
2851 [BZ #13910]
2852 [BZ #13911]
2853 [BZ #13912]
2854 [BZ #13913]
2855 [BZ #13915]
2856 [BZ #13916]
2857 [BZ #13917]
2858 [BZ #13918]
2859 [BZ #13919]
2860 [BZ #13920]
2861 [BZ #13921]
2862 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2863 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2864 (__kernel_standard_l): New function.
2865 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2866 __kernel_standard.
2867 * math/w_acosl.c (__acosl): Likewise.
2868 * math/w_asinl.c (__asinl): Likewise.
2869 * math/w_atan2l.c (__atan2l): Likewise.
2870 * math/w_atanhl.c (__atanhl): Likewise.
2871 * math/w_coshl.c (__coshl): Likewise.
2872 * math/w_exp10l.c (__exp10l): Likewise.
2873 * math/w_exp2l.c (__exp2l): Likewise.
2874 * math/w_fmodl.c (__fmodl): Likewise.
2875 * math/w_hypotl.c (__hypotl): Likewise.
2876 * math/w_j0l.c (__j0l, __y0l): Likewise.
2877 * math/w_j1l.c (__j1l, __y1l): Likewise.
2878 * math/w_jnl.c (__jnl, __ynl): Likewise.
2879 * math/w_lgammal.c (__lgammal): Likewise.
2880 * math/w_log10l.c (__log10l): Likewise.
2881 * math/w_log2l.c (__log2l): Likewise.
2882 * math/w_logl.c (__logl): Likewise.
2883 * math/w_powl.c (__powl): Likewise.
2884 * math/w_remainderl.c (__remainderl): Likewise.
2885 * math/w_scalbl.c (sysv_scalbl): Likewise.
2886 * math/w_sinhl.c (__sinhl): Likewise.
2887 * math/w_sqrtl.c (__sqrtl): Likewise.
2888 * math/w_tgammal.c (__tgammal): Likewise.
2889 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2890 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2891 * math/libm-test.inc (acos_test): Add more tests.
2892 (acosh_test): Likewise.
2893 (asin_test): Likewise.
2894 (atanh_test): Likewise.
2895 (exp_test): Likewise.
2896 (exp10_test): Likewise.
2897 (exp2_test): Likewise.
2898 (expm1_test): Likewise.
2899 (lgamma_test): Likewise.
2900 (log_test): Likewise.
2901 (log10_test): Likewise.
2902 (log1p_test): Likewise.
2903 (log2_test): Likewise.
2904 (pow_test): Do not allow some spurious overflow exceptions.
2905 (sqrt_test): Add more tests.
2906 (tgamma_test): Likewise.
2907 (y0_test): Likewise.
2908 (y1_test): Likewise.
2909 (yn_test): Likewise.
2910
dd62fda6
AB
29112012-03-27 Anton Blanchard <anton@samba.org>
2912
2913 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2914 MAP_HUGETLB.
2915 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2916 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2918
1e3cdfda
AJ
29192012-03-27 David S. Miller <davem@davemloft.net>
2920
b855ab85
DM
2921 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2922
1e3cdfda
AJ
2923 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2924 have-as-vis3 check.
2925
29262012-03-27 Andreas Jaeger <aj@suse.de>
2927
2928 * sysdeps/x86_64/elf/configure.in: Moved to ...
2929 * sysdeps/x86_64/configure.in: ... here.
2930 * sysdeps/x86_64/elf/start.S: Moved to ...
2931 * sysdeps/x86_64/start.S: ... here.
2932 * sysdeps/x86_64/elf/configure: Delete.
2933
2934 * sysdeps/x86_64/configure.in: Merge contents from
2935 sysdeps/i386/configure.in (without i686 check).
2936
2937 * sysdeps/i386/elf/Versions: Merge into ...
2938 * sysdeps/i386/Versions: ... this.
2939 * sysdeps/i386/elf/Versions: Delete file.
2940 * sysdeps/i386/elf/start.S: Moved to ...
2941 * sysdeps/i386/start.S: ...here.
2942 * sysdeps/i386/elf/configure.in: Merge into...
2943 * sysdeps/i386/configure.in: ...here.
2944 * sysdeps/i386/elf/configure.in: Delete file.
2945 * sysdeps/i386/elf/configure: Delete file.
2946
2947 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2948 * debug/backtracesyms.c: ... here.
2949 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2950 * debug/backtracesymsfd.c: ... here.
2951 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2952 * sysdeps/generic/ifunc-sel.h: ... here.
2953
2954 * sysdeps/unix/i386/start.c: Delete file.
2955 * sysdeps/unix/sparc/start.c: Delete file.
2956 * sysdeps/unix/start.c: Delete file.
2957
2958 * sysdeps/sh/elf/configure.in: Moved to ...
2959 * sysdeps/sh/configure.in: ... here.
2960 * sysdeps/sh/elf/start.S: Moved to ...
2961 * sysdeps/sh/start.S: ... here.
2962 * sysdeps/sh/elf/configure: Delete file.
2963
2964 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2965 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2966 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2967 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2968 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2969 * sysdeps/powerpc/powerpc64/start.S: here.
2970 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2971 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2972 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2973 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2974 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2975
2976 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2977 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2978 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2979 * sysdeps/powerpc/powerpc32/start.S: ... here.
2980 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2981 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2982 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2983
2984 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2985 * sysdeps/powerpc/ifunc-sel.h: ... here.
2986 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2987 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2988
2989 * sysdeps/sparc/elf/configure.in: Moved to ...
2990 * sysdeps/sparc/configure.in: ... here.
2991 * sysdeps/sparc/elf/configure: Delete file.
2992 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2993 * sysdeps/sparc/sparc32/start.S: ... here.
2994 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2995 * sysdeps/sparc/sparc64/start.S: ... here.
2996 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2997 * sysdeps/sparc/sparc32/Makefile: ... this.
2998 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2999 * sysdeps/sparc/sparc64/Makefile: ... this.
3000
3001 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3002 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3003 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3004 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3005 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3006 * sysdeps/s390/s390-32/setjmp.S: ... here.
3007 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3008 * sysdeps/s390/s390-32/configure.in: ... here.
3009 * sysdeps/s390/s390-32/elf/configure: Delete file.
3010 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3011 * sysdeps/s390/s390-32/start.S: ... here.
3012
3013 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3014 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3015 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3016 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3017 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3018 * sysdeps/s390/s390-64/setjmp.S: ... here.
3019 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3020 * sysdeps/s390/s390-64/configure.in: ... here
3021 * sysdeps/s390/s390-64/elf/configure: Delete file.
3022 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3023 * sysdeps/s390/s390-64/start.S: ... here.
3024 * sysdeps/s390/s390-64/elf/configure: Delete.
3025
3026 * configure.in: Remove support for elf directories in sysdeps.
3027
3028 * configure: Regenerated.
3029 * sysdeps/i386/configure: Regenerated.
3030 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3031 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3032 * sysdeps/s390/s390-32/configure: Regenerated.
3033 * sysdeps/s390/s390-64/configure: Regenerated.
3034 * sysdeps/sh/configure: Regenerated.
3035 * sysdeps/sparc/configure: Regenerated.
3036 * sysdeps/x86_64/configure: Regenerated.
3037
a3f61311
AS
30382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3039
c876e002
AS
3040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3041
a3f61311
AS
3042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3043 denormal result into account.
3044
ac4c54f0
RM
30452012-03-25 Roland McGrath <roland@hack.frob.com>
3046
3047 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3048 Reported by Allan McRae <allan@archlinux.org>.
3049
6a9b9c02
JL
30502012-03-23 Jeff Law <law@redhat.com>
3051
3052 * nss/getnssent.c (__nss_getent): Fix typo.
3053
4c42a0c1
DM
30542012-03-23 David S. Miller <davem@davemloft.net>
3055
3056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3057
1532c7ac
L
30582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3059
3060 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3061 to pad to uint64_t for each field.
3062 (dl_tls_index): Replace unsigned long with uint64_t.
3063
3ff42526
PP
30642012-03-23 Daniel Jacobowitz <dmj@google.com>
3065 Paul Pluzhnikov <ppluzhnikov@google.com>
3066
3067 [BZ #6528]
3068 * grp/Makefile (otherlibs): Don't set it.
3069 * inet/Makefile (otherlibs): Likewise.
3070 * login/Makefile (otherlibs): Likewise.
3071 * nscd/Makefile (otherlibs): Likewise.
3072 * posix/Makefile (otherlibs): Likewise.
3073 * pwd/Makefile (otherlibs): Likewise.
3074 * rt/Makefile (otherlibs): Likewise.
3075 * sunrpc/Makefile (otherlibs): Likewise.
3076 * nss/Makefile (otherlibs): Likewise.
3077 Add libnss_files to routines and static-only-routines.
3078 ($(objpfx)getent): Remove rule.
3079 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3080 static-only-routines.
3081
7c69cd14
JM
30822012-03-22 Joseph Myers <joseph@codesourcery.com>
3083
3084 [BZ #13892]
3085 * math/s_cexp.c: Include <float.h>.
3086 (__cexp): Handle exp result overflowing not necessarily
3087 overflowing both real and imaginary parts of result.
3088 * math/s_cexpf.c: Likewise.
3089 * math/s_cexpl.c: Likewise.
3090 * math/libm-test.inc (cexp_test): Add more tests.
3091 * sysdeps/i386/fpu/libm-test-ulps: Update.
3092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3093
81b035fe
L
30942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3095
3096 * include/link.h (ELFW): New macro.
3097 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3098 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3099
1da7940c
L
31002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3101
3102 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3103 with uint64_t.
3104
b749dbb9
L
31052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3108 declaration.
3109 (struct La_x32_retval): Likewise.
3110
2ff87f3f
L
31112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3112
3113 * sysdeps/x86_64/preconfigure.in: New file.
3114 * sysdeps/x86_64/preconfigure: New generated file.
3115
c0df8e69
JM
31162012-03-22 Joseph Myers <joseph@codesourcery.com>
3117
48e44791
JM
3118 [BZ #13824]
3119 * math/e_exp2l.c: Include <float.h>.
3120 (__ieee754_exp2l): Handle overflow and underflow cases
3121 separately. Only pass fractional part of argument to
3122 __ieee754_expl.
3123 * math/libm-test.inc (exp2_test): Add more tests.
3124
c0df8e69
JM
3125 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3126 negating x to take absolute value.
3127 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3128 Likewise.
3129 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3130 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3131 Likewise.
3132 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3133 computing low part if x was negated.
3134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3135
c8e43ba7
L
31362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3137
3138 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3139 la_x32_gnu_pltexit.
3140 (pltexit): Cast int_retval to ptrdiff_t.
3141 * elf/tst-auditmod3b.c: Likewise.
3142 * elf/tst-auditmod4b.c: Likewise.
3143 * elf/tst-auditmod5b.c: Likewise.
3144 * elf/tst-auditmod6b.c: Likewise.
3145 * elf/tst-auditmod6c.c: Likewise.
3146 * elf/tst-auditmod7b.c: Likewise.
3147
3148 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3149 and x32_gnu_pltexit.
3150
3151 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3152 __ELF_NATIVE_CLASS.
3153 (La_x32_regs): New macro.
3154 (La_x32_retval): Likewise.
3155 (la_x32_gnu_pltenter): New function prototype.
3156 (la_x32_gnu_pltexit): Likewise.
3157
7998fa78
AS
31582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3159
dcb33988
AS
3160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3161 exponent.
3162
233fc563
AS
3163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3164
7998fa78
AS
3165 * configure.in (libc_cv_cc_nofma): Check for option to disable
3166 generation of FMA instructions.
3167 * configure: Regenerate.
3168 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3169 * sysdeps/ieee754/dbl-64/Makefile: New file.
3170 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3171 Remove brandred-fma4.
3172 (CFLAGS-brandred-fma4.c): Remove.
3173 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3174 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3175 define.
3176 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3177 define.
3178
8e95c99a
L
31792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3180
3181 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3182 LLONG_MAX != LONG_MAX.
3183 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3184 (_fitoa_word): Likewise.
3185 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3186 LLONG_MAX != LONG_MAX.
3187 * stdio-common/_itowa.h: Include <_itoa.h>.
3188 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3189 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3190 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3191 only if not defined.
3192 (_ITOA_WORD_TYPE): Likewise.
3193 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3194 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3195
6f4db457
DM
31962012-03-21 David S. Miller <davem@davemloft.net>
3197
3198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3199
7785fe5a
L
32002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3201
3202 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3203 of x86_64 when setting libc_cv_slibdir, libdir and
3204 libc_cv_localedir.
3205 * sysdeps/unix/sysv/linux/configure: Regenerated.
3206
4535cd55
JM
32072012-03-21 Joseph Myers <joseph@codesourcery.com>
3208
3209 * manual/lang.texi (Old Varargs): Remove section.
3210 (How Variadic): Update menu.
3211 (va_start): Do not mention varargs.h.
3212
17228132
TS
32132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3214 Joseph Myers <joseph@codesourcery.com>
3215
3216 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3217 link test.
3218 * configure: Regenerated.
3219
8149f976
TS
32202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3221
05f3d1f6
UD
3222 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3223 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3224 conformtest.pl
8149f976 3225
1a4ac776
JM
32262012-03-21 Joseph Myers <joseph@codesourcery.com>
3227
be22ce65
JM
3228 * NOTES: Remove.
3229 * Makefile (files-for-dist): Remove NOTES.
3230 (NOTES): Remove rule.
3231 * README: Don't refer to NOTES.
3232 * manual/creature.texi: Don't include macros.texi.
3233 * manual/intro.texi (creature.texi): Remove comment referring to
3234 NOTES.
3235
40b601fb
JM
3236 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3237 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3238 * configure: Regenerated.
3239 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3240 LIBC_TRY_CC_OPTION.
3241 (libc_cv_as_i686): Likewise.
3242 (libc_cv_cc_avx): Likewise.
3243 (libc_cv_cc_sse2avx): Likewise.
3244 (libc_cv_cc_fma4): Likewise.
3245 (libc_cv_cc_novzeroupper): Likewise.
3246 * sysdeps/i386/configure: Regenerated.
3247
1a4ac776
JM
3248 [BZ #13883]
3249 * sysdeps/i386/fpu/s_cexp.S: Remove.
3250 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3251 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3252 * math/libm-test.inc (cexp_test): Add more tests.
3253 * sysdeps/i386/fpu/libm-test-ulps: Update.
3254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3255
a458e7fe
AM
32562012-03-21 Allan McRae <allan@archlinux.org>
3257
3258 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3259
0cb7efc5
JM
32602012-03-21 Joseph Myers <joseph@codesourcery.com>
3261
3262 [BZ #13871]
3263 * math/w_exp2.c: Do not include <float.h>.
3264 (o_threshold, u_threshold): Remove.
3265 (__exp2): Calculate result before checking finiteness and calling
3266 __kernel_standard.
3267 * math/w_exp2f.c: Likewise.
3268 * math/w_exp2l.c: Likewise.
3269 * math/libm-test.inc (exp2_test): Require overflow exception for
3270 1e6 input.
2460d3aa
JM
3271
3272 [BZ #3866]
3273 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3274 range of signed 64-bit integers before using fistpll. Remove
3275 checks for whether integers fit in mantissa bits.
3276 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3277 the range of signed 32-bit integers before using fistpl. Remove
3278 checks for whether integers fit in mantissa bits.
3279 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3280 (__ieee754_powl): Test for y outside the range of signed 64-bit
3281 integers before using fistpll. Reduce 64-bit values to 63-bit
3282 ones as needed.
3283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3284 divide-by-zero is raised for zero to large negative powers.
3285 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3286 (__ieee754_powl): Test for y outside the range of signed 64-bit
3287 integers before using fistpll. Reduce 64-bit values to 63-bit
3288 ones as needed.
3289 * math/libm-test.inc (pow_test): Add more tests.
3290
eb96ffb0
L
32912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3292
3293 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3294 <stdio-common/_itoa.h>.
3295 * debug/segfault.c: Likewise.
3296 * elf/dl-cache.c: Likewise.
3297 * elf/dl-minimal.c: Likewise.
3298 * elf/dl-misc.c: Likewise.
3299 * elf/dl-sysdep.c: Likewise.
3300 * elf/dl-version.c: Likewise.
3301 * elf/rtld.c: Likewise.
3302 * hurd/hurdsock.c: Likewise.
3303 * hurd/lookup-retry.c: Likewise.
3304 * malloc/malloc.c: Likewise.
3305 * malloc/mtrace.c: Likewise.
3306 * nscd/nscd_getgr_r.c: Likewise.
3307 * nscd/nscd_getpw_r.c: Likewise.
3308 * nscd/nscd_getserv_r.c: Likewise.
3309 * posix/getopt_init.c: Likewise.
3310 * posix/wordexp.c: Likewise.
3311 * stdio-common/_itoa.c: Likewise.
3312 * stdio-common/printf_fphex.c: Likewise.
3313 * stdio-common/vfprintf.c: Likewise.
3314 * string/_strerror.c: Likewise.
3315 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3316 * sysdeps/i386/i686/hp-timing.h: Likewise.
3317 * sysdeps/mach/_strerror.c: Likewise.
3318 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3319 * sysdeps/mach/hurd/sethostid.c: Likewise.
3320 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3321 * sysdeps/mach/xpg-strerror.c: Likewise.
3322 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3323 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3324 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3325 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3326 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3327 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3328 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3329 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3330 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3331 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3332 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3333 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3334 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3335 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3336 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3337 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3338 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3339 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3340 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3341 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3342 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3343
3344 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3345
3346 * stdio-common/_itoa.h: Moved to ...
3347 * sysdeps/generic/_itoa.h: Here.
3348
3349 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3350
3351 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3352 instead of "_itoa.h" and "_itowa.h".
3353 * stdio-common/vfprintf.: Likewise.
3354
d1af992d
L
33552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3358 <bits/wordsize.h>.
3359 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3360 (__signbit): Likwise.
3361 (llrintf): Likwise.
3362 (llrint): Likwise.
3363
114883e0
L
33642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3367 __WORDSIZE != 64.
3368
c135cc1b
JM
33692012-03-20 Joseph Myers <joseph@codesourcery.com>
3370
3371 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3372 OVERFLOW_EXCEPTION_OK.
3373 * math/libm-test.inc ("Philosophy"): Update comment about
3374 exception testing.
3375 (OVERFLOW_EXCEPTION): Define.
3376 (OVERFLOW_EXCEPTION_OK): Likewise.
3377 (INVALID_EXCEPTION_OK): Renumber.
3378 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3379 (IGNORE_ZERO_INF_SIGN): Likewise.
3380 (test_exceptions): Handle FE_OVERFLOW.
3381 (exp10_test): Expect overflow exceptions.
3382 (exp2_test): Likewise.
3383 (expm1_test): Likewise.
3384 (nextafter_test): Likewise.
3385 (pow_test): Likewise.
3386 (scalbn_test): Likewise.
3387 (scalbln_test): Likewise.
3388
95443d88
L
33892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 * sysdeps/x86_64/bits/atomic.h
3392 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3393 64bit integer.
3394 (atomic_exchange_acq): Likewise.
3395 (__arch_exchange_and_add_body): Likewise.
3396 (__arch_add_body): Likewise.
3397 (atomic_add_negative): Likewise.
3398 (atomic_add_zero): Likewise.
3399
490df6c4
L
34002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3401
c2722551 3402 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3403 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3404
5e52b189
L
34052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3408 Check __x86_64__ instead of __WORDSIZE.
3409
a9879d4c
L
34102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3411
3412 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3413
5df98260
DM
34142012-03-19 David S. Miller <davem@davemloft.net>
3415
e1497744
DM
3416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3417
5df98260
DM
3418 * sysdeps/sparc/fpu/fenv_private.h: New file.
3419 * sysdeps/sparc/fpu/math_private.h: Use it.
3420 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3421 Remove.
3422 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3423 (libc_feholdexcept_setroundl): Remove.
3424 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3425 Remove.
3426 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3427 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3428
b4c35121
L
34292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3430
3431 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3432 int64_t instead of long int.
3433 (INSERT_WORDS64): Likwise.
3434
56965fd7
L
34352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3436
3437 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3438 _Unwind_GetCFA return to _Unwind_Ptr first.
3439
83d1aec8
JM
34402012-03-19 Joseph Myers <joseph@codesourcery.com>
3441
1897ad44
JM
3442 [BZ #13629]
3443 * math/s_clog.c: Include <float.h>.
3444 (__clog): Scale large or subnormal inputs.
3445 * math/s_clogf.c: Likewise.
3446 * math/s_clogl.c: Likewise.
3447 * math/s_clog10.c: Include <float.h>.
3448 (M_LOG10_2): Define.
3449 (__clog10): Scale large or subnormal inputs.
3450 * math/s_clog10f.c: Likewise.
3451 * math/s_clog10l.c: Likewise.
3452 * math/libm-test.inc (clog_test): Add more tests.
3453 (clog10_test): Likewise.
3454 * sysdeps/i386/fpu/libm-test-ulps: Update.
3455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3456
7726d6a9
JM
3457 [BZ #11451]
3458 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3459 x and y.
3460 * math/libm-test.inc (atan2_test): Add another test.
3461
83d1aec8
JM
3462 * Makerules (common-objdir-compile): Remove.
3463 * sysdeps/unix/Makefile (config-generated): Do not add
3464 $(unix-generated) to variable.
3465 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3466 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3467 Remove rule.
3468 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3469 Likewise.
3470 [generic bits/local_lim.h] (before-compile): Do not append to
3471 variable.
3472 [generic bits/local_lim.h] (common-generated): Likewise.
3473 [generic sys/param.h] (before-compile): Do not append to variable.
3474 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3475 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3476 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3477 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3478 include.
3479 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3480 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3481 [generic sys/param.h] ($(addprefix
3482 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3483 [generic sys/param.h] (common-generated): Do not append to
3484 variable.
3485 [generic sys/param.h] (sysdep_headers): Likewise.
3486 [generic bits/errno.h] (before-compile): Do not append to
3487 variable.
3488 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3489 rule.
3490 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3491 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3492 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3493 [generic bits/errno.h] (common-generated): Do not append to
3494 variable.
3495 [generic bits/ioctls.h] (before-compile): Do not append to
3496 variable.
3497 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3498 rule.
3499 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3500 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3501 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3502 rule.
3503 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3504 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3505 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3506 [generic bits/ioctls.h] (common-generated): Do not append to
3507 variable.
3508 [generic sys/syscall.h] (syscall.h): Remove variable.
3509 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3510 rule.
3511 [generic sys/syscall.h] (before-compile): Do not append to
3512 variable.
3513 [generic sys/syscall.h] (common-generated): Likewise.
3514 * sysdeps/unix/errnos-tmpl.c: Remove file.
3515 * sysdeps/unix/errnos.awk: Likewise.
3516 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3517 * sysdeps/unix/ioctls.awk: Likewise.
3518 * sysdeps/unix/mk-local_lim.c: Likewise.
3519 * sysdeps/unix/snarf-ioctls: Likewise.
3520
4851a949
RH
35212012-03-19 Richard Henderson <rth@twiddle.net>
3522
bd37f2ee
RH
3523 * sysdeps/i386/fpu/fenv_private.h: New file.
3524 * sysdeps/i386/fpu/math_private.h: Use it.
3525 (math_opt_barrier, math_force_eval): Remove.
3526 (libc_feholdexcept_setround_53bit): Remove.
3527 (libc_feupdateenv_53bit): Remove.
3528 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3529 (math_opt_barrier, math_force_eval): Remove.
3530 (libc_feholdexcept): Remove.
3531 (libc_feholdexcept_setround): Remove.
3532 (libc_fetestexcept, libc_fesetenv): Remove.
3533 (libc_feupdateenv_test): Remove.
3534 (libc_feupdateenv, libc_feholdsetround): Remove.
3535 (libc_feresetround): Remove.
3536
d0adc922
RH
3537 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3538 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3539
0fe0f1f8
RH
3540 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3541 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3542 (libc_feupdateenv_testl): New.
3543 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3544 (libc_feupdateenv_testf): New.
3545 (libc_feupdateenv): Use libc_feupdateenv_test.
3546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3548
eb92c487
RH
3549 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3550 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3551 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3552 (libc_feresetround_noex): New.
3553 (libc_feresetround_noexf): New.
3554 (libc_feresetround_noexl): New.
3555 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3556 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3557 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3558 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3559 SET_RESTORE_ROUND.
3560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3561 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3562 (__cos): Likewise.
3563 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3564 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3565 SET_RESTORE_ROUND_NOEX.
3566 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3567 SET_RESTORE_ROUND_NOEXF.
3568 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3569 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3570 (libc_feholdsetroundf): New.
3571 (libc_feresetround, libc_feresetroundf): New.
3572
7d2e8012
RH
3573 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3574 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3575 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3576
b4dabbb4
RH
3577 * sysdeps/generic/math_private.h: Include <fenv.h>.
3578 (default_libc_feholdexcept): New.
3579 (default_libc_feholdexcept_setround): New.
3580 (default_libc_fesetenv, default_libc_feupdateenv): New.
3581 (libc_feholdexcept): Only define if undefined.
3582 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3583 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3584 (libc_feholdexcept_setroundl): Likewise.
3585 (libc_feholdexcept_setround_53bit): Likewise.
3586 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3587 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3588 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3589 (libc_feupdateenv_53bit): Likewise.
3590 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3591 (libc_feholdexcept): Convert from macro to inline function.
3592 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3593 (libc_fesetenv, libc_feupdateenv): Likewise.
3594
4851a949
RH
3595 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3596 not previously defined.
3597 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3598 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3599 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3600 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3601 * sysdeps/ieee754/flt-32/math_private.h: New file.
3602 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3603 math_private.h below SET_FLOAT_WORD.
3604 (__isnan, __isinf_ns, __finite): Remove.
3605 (__isnanf, __isinf_nsf, __finitef): Remove.
3606
e79d442e
AS
36072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3608
3609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3610
90b80344
DM
36112012-03-17 David S. Miller <davem@davemloft.net>
3612
3613 [BZ #6471]
3614 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3615 for 2.16.
3616
edc21804
DM
36172012-03-16 David S. Miller <davem@davemloft.net>
3618
77e927af
DM
3619 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3620 warnings.
3621
374976dd
DM
3622 [BZ #6471]
3623 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3624 properly.
3625 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3626 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3627 sysdep_routines when subdir is sysvipc.
3628 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3629 __getshmlba helper.
3630
edc21804
DM
3631 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3632
473c3ef3
L
36332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3634
3635 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3636 [__LP64__].
3637
eb0f39b6
L
36382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3639
3640 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3641 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3642 (__lround): Renamed to ...
3643 (__llround): This. Replace long int with long long int.
3644 Define lround functions as aliases of llround functions.
3645 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3646
6b6cd74b
L
36472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3648
3649 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3650 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3651 adresses to uintptr_t. Replace "long int" and "unsigned long
3652 int" with "greg_t" on va_arg.
3653
f1a77b01
L
36542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3657 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3658
3659 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3660 Move e_machine check before EI_CLASS check. Handle x32
3661 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3662 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3663 SKIP_EM_IA_64 and include
3664 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3665
3666 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3667 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3668 (add_system_dir): New macro.
3669
3670 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3671 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3672
11b90b9f
JM
36732012-03-16 Joseph Myers <joseph@codesourcery.com>
3674
c36e1d23
JM
3675 [BZ #2551]
3676 [BZ #2552]
3677 [BZ #2553]
3678 [BZ #2554]
3679 [BZ #2562]
3680 [BZ #2563]
3681 [BZ #2565]
3682 [BZ #2566]
3683 [BZ #2576]
3684 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3685 (y0): Likewise.
3686 * math/w_j0f.c (j0f): Likewise.
3687 (y0f): Likewise.
3688 * math/w_j0l.c (__j0l): Likewise.
3689 (__y0l): Likewise.
3690 * math/w_j1.c (j1): Likewise.
3691 (y1): Likewise.
3692 * math/w_j1f.c (j1f): Likewise.
3693 (y1f): Likewise.
3694 * math/w_j1l.c (__j1l): Likewise.
3695 (__y1l): Likewise.
3696 * math/w_jn.c (jn): Likewise.
3697 (yn): Likewise.
3698 * math/w_jnf.c (jnf): Likewise.
3699 (ynf): Likewise.
3700 * math/w_jnl.c (__jnl): Likewise.
3701 (__ynl): Likewise.
3702 * math/libm-test.inc (j0_test): Add more tests.
3703 (j1_test): Likewise.
3704 (jn_test): Likewise. Add trailing semicolon to existing test.
3705 (y0_test): Likewise.
3706 (y1_test): Likewise.
3707 * sysdeps/i386/fpu/libm-test-ulps: Update.
3708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3709
11b90b9f
JM
3710 [BZ #13851]
3711 [BZ #13854]
3712 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3713 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3714 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3715 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3716 (__tanl): Set errno for infinite argument.
3717 * sysdeps/i386/fpu/mptan.c: Remove.
3718 * sysdeps/i386/fpu/s_tan.S: Likewise.
3719 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3720 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3721 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3722 * math/libm-test.inc (tan_test): Add more tests and enable more
3723 tests for double and long double.
3724 * sysdeps/i386/fpu/libm-test-ulps: Update.
3725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726
6a1bd2a1
JK
37272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3728
3729 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3730 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3731
10a803e0
RM
37322012-03-16 Roland McGrath <roland@hack.frob.com>
3733
3734 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3735 * configure.in: Use it for both main tree and add-ons.
3736 * configure: Regenerated.
3737
f196c7f7
L
37382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3739
3740 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3741
8848d99d
JM
37422012-03-16 Joseph Myers <joseph@codesourcery.com>
3743
96cbe7f4
JM
3744 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3745 in comment.
3746
8848d99d
JM
3747 [BZ #13851]
3748 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3749 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3753 infinite argument.
3754 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3756 != 0 for prec == 2.
3757 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3758 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3759 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3760 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3761 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3762 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3763 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3764 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3765 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3766 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3767 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3768 * math/libm-test.inc (cos_test): Add more tests and enable more
3769 tests for long double.
3770 (sin_test): Likewise.
3771 (sincos_test): Likewise.
3772 * sysdeps/i386/fpu/libm-test-ulps: Update.
3773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3774
dd7f4703
DM
37752012-03-16 David S. Miller <davem@davemloft.net>
3776
3777 * sysdeps/sparc/fpu/math_private.h: New file.
3778
006f1daa
DM
37792012-03-15 David S. Miller <davem@davemloft.net>
3780
c0c83bc8
DM
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3782 file.
e6a62e18 3783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3785 file.
e6a62e18
DM
3786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3792 sysdep routines.
3793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3794
88cb87d9
DM
3795 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3796 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3797
006f1daa 3798 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3800 sparc-ifunc.h
006f1daa 3801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3803 Likewise.
3804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3805 Likewise.
006f1daa
DM
3806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3810 Likewise.
006f1daa
DM
3811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3816 Likewise.
3817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3818 Likewise.
006f1daa
DM
3819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3843
11e0098e
AS
38442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3845
3846 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3847 scaling.
3848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3849
e85b09d0
AJ
38502012-03-15 Andreas Jaeger <aj@suse.de>
3851
3852 [BZ #13852]
3853 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3854 ieee754/flt-32 implementation for sin, cos and sincos.
3855 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3856 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3857 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3858 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3859 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3860 ieee754/flt-32 implementation for tan.
3861
3862 * math/libm-test.inc (cos_test): Enable some large input tests for
3863 float as well
3864 (sin_test): Likewise.
3865 (sincos_test): Likewise.
3866 (tan_test): Add tests for large input.
3867
3868 * sysdeps/i386/fpu/libm-test-ulps: Update.
3869
81c64153
AJ
38702012-03-15 Andreas Jaeger <aj@suse.de>
3871
3872 [BZ #13658]
3873 * math/libm-test.inc (cos_test): Add more test cases.
3874 (sin_test): Likewise.
3875 (sincos_test): Likewise.
3876
7bbfa5c6
AJ
38772012-03-15 Andreas Jaeger <aj@suse.de>
3878
3879 [BZ #13837]
3880 * math/libm-test.inc (cos_test): Add a test case for large input
3881 value.
3882 (sin_test): Likewise.
3883 (sincos_test): Likewise.
3884
38852012-03-15 Andreas Jaeger <aj@suse.de>,
3886 Joseph Myers <joseph@codesourcery.com>
3887
3888 [BZ #13658]
0671f479 3889 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3890 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3891 * sysdeps/i386/fpu/branred.c: Likewise.
3892 * sysdeps/i386/fpu/dosincos.c: Likewise.
3893 * sysdeps/i386/fpu/mpa.c: Likewise.
3894 * sysdeps/i386/fpu/s_cos.S: Likewise.
3895 * sysdeps/i386/fpu/s_sin.S: Likewise.
3896 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3897 * sysdeps/i386/fpu/sincos32.c: Likewise.
3898
3899 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3900 Define.
3901 (libc_feupdateenv_53bit): Define.
3902 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3903 Define.
3904 (libc_feupdateenv_53bit): Define.
3905
3906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3907 53 bit (without extend i386 double precision).
3908
3909 * math/libm-test.inc (sincos_test): Add tests for large input.
3910 (sin): Likewise.
3911 (cos): Likewise.
3912
3913 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3914
9cad04ea
AS
39152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3916
3917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3918
f7062b9a
DM
39192012-03-15 David S. Miller <davem@davemloft.net>
3920
3921 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3922 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3923 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3924 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3937 file.
f7062b9a 3938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3940 file.
f7062b9a 3941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3943 file.
f7062b9a 3944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3946 file.
f7062b9a
DM
3947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3949 fmin/fmax sysdep routines.
3950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3951
7bd951ff
DM
39522012-03-14 David S. Miller <davem@davemloft.net>
3953
559398ab
DM
3954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3983 routines.
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3985 file.
559398ab 3986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3988 file.
559398ab 3989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3991 file.
559398ab 3992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3994 file.
559398ab 3995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3997 file.
559398ab 3998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4000 file.
4001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4002 file.
4003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4004 file.
4005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4006 file.
4007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4008 New file.
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4010 file.
4011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4012 file.
559398ab 4013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4015 file.
559398ab 4016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4018 file.
559398ab 4019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4021 file.
559398ab 4022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4024 VIS3 routines.
559398ab
DM
4025
4026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4027 New file.
4028
5a1c1e32
DM
4029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4030
eae47a36
DM
4031 * sysdeps/sparc/configure.in: New file.
4032 * sysdeps/sparc/configure: Generate.
4033 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4034 * configure: Regenerate.
4035 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4036 * config.make.in (have-as-vis3): New.
4037 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4038 available use -Av9d instead of -Av9a.
4039 * sysdeps/sparc/sparc64/Makefile: Likewise.
4040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4042 New file.
4043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4044 file.
4045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4046 New file.
4047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4048 file.
eae47a36
DM
4049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4054
c0c83bc8
DM
4055 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4056 fzeros/fnegs to load 0x80000000 into a float register instead of
4057 using the stack.
7bd951ff
DM
4058 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4059
bd951ccb
JM
40602012-03-14 Joseph Myers <joseph@codesourcery.com>
4061
4062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4063 bits/syscall.h.
4064 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4065 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4066 ($(inst_includedir)/bits/syscall.h): Remove rule.
4067 ($(objpfx)bits/syscall.d): Include instead of
4068 $(objpfx)syscall-list.d.
4069 (generated): Change syscall-list.h and syscall-list.d to
4070 bits/syscall.h and bits/syscall.d.
4071
bb4e6db2
RM
40722012-03-14 Roland McGrath <roland@hack.frob.com>
4073
4074 [BZ #13846]
4075 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4076
aa4a2ae1
JM
40772012-03-14 Joseph Myers <joseph@codesourcery.com>
4078
e456826d
JM
4079 [BZ #13841]
4080 * math/s_csqrt.c: Include <float.h>.
4081 (__csqrt): Scale large or subnormal inputs.
4082 * math/s_csqrtf.c: Likewise.
4083 * math/s_csqrtl.c: Likewise.
4084 * math/libm-test.inc (csqrt_test): Add more tests.
4085 * sysdeps/i386/fpu/libm-test-ulps: Update.
4086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4087
aa4a2ae1
JM
4088 [BZ #13840]
4089 * math/libm-test.inc (hypot_test): Add more tests.
4090
7c10fd35
DM
40912012-03-13 David S. Miller <davem@davemloft.net>
4092
4093 [BZ #13840]
4094 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4095 double-precision for the calculation instead of scaling.
4096
f453b98b
JM
40972012-03-13 Joseph Myers <joseph@codesourcery.com>
4098
4099 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4100 manipulate bits before adding and subtracting TWO52[sx].
4101 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4102 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4103 Likewise.
4104 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4105
09a3453f
DM
41062012-03-13 David S. Miller <davem@davemloft.net>
4107
8e59da90
DM
4108 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4109 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4111 rtld-global-offsets.h
4112 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4113
2a8ab7f2
DM
4114 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4115 large parameters.
4116
10f62770
DM
4117 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4118
5f0bdb18
DM
4119 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4120 'err' in the ifdef scope in which it is actually used.
4121
09a3453f
DM
4122 * nss/nss_db/db-init.c: Include string.h
4123
b4b2eb5e
DM
41242012-03-12 David S. Miller <davem@davemloft.net>
4125
98bb2f1c
DM
4126 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4127 masking out of the most significant byte of random value used.
4128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4129 Fix coding style in previous change.
4130
b4b2eb5e
DM
4131 * sysdeps/unix/sysv/linux/kernel-features.h
4132 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4133 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4134 expression.
4135 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4136 later.
4137
6e226b09
DM
41382012-03-11 David S. Miller <davem@davemloft.net>
4139
a1bcbd40
DM
4140 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4141 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4142 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4143 for 'resultvar' otherwise things get truncated on 64-bit.
4144
cb9d6174
DM
4145 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4146 Fix masking out of the most significant byte of random value used.
4147
6e226b09
DM
4148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4149
058c132d
AS
41502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4151
4152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4153
2d2cd515
DM
41542012-03-09 David S. Miller <davem@davemloft.net>
4155
4156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4157 variables with appropriate CPP guards.
4158 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4159 frame pointer, not the stack pointer. Correct layout comments. Fix test
4160 on resulting framesize and the management of the outregs buffer for pltexit.
4161 Preserve floating point return values across _dl_call_pltexit call.
4162 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4163 framesize and the management of the outregs buffer for pltexit.
4164 Preserve floating point return values across _dl_call_pltexit
4165 call.
4166 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4167 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4168 (print_exit): Fix format string for return register value.
4169
9a07f9d0
JM
41702012-03-10 Joseph Myers <joseph@codesourcery.com>
4171
4172 * sunrpc/Makefile (others): Add rpcgen.
4173 ($(objpfx)rpcgen): Remove special build rule and dependency on
4174 libc.
4175 * sunrpc/rpcgen.c: New file.
4176
547b5e30
PE
41772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4178
c524201a
PE
4179 [BZ #13673]
4180 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4181 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4182 * sysdeps/i386/crti.S: Likewise.
4183 * sysdeps/i386/crtn.S: Likewise.
4184 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4185 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4186 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4187 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4188 * sysdeps/sh/crti.S: Likewise.
4189 * sysdeps/sh/crtn.S: Likewise.
4190 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4191
7b6235f2
PE
4192 [BZ #13673]
4193 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4194 with URL.
4195 * locale/programs/locfile-kw.gperf: Likewise.
4196 * locale/programs/charmap-kw.h: Regenerated.
4197 * locale/programs/locfile-kw.h: Likewise.
4198
547b5e30
PE
4199 [BZ #13673]
4200 * intl/plural.y: Replace FSF snail mail address with URL.
4201 * intl/plural.c: Regenerated.
4202
5f0a5dae
RH
42032012-03-09 Richard Henderson <rth@twiddle.net>
4204
4205 * include/math_private.h: Remove file.
4206 * math/math_private.h: Move file ...
4207 * sysdeps/generic/math_private.h: ... here.
4208
b8c03620
RH
4209 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4210 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4211 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4212
4e234f5d 4213 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4214 and <math_private.h>.
4215 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4216 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4217 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4218 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4219 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4303 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4304 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4305 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4306 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4308 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4309 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4310 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4312 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4313 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4315 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4316 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4317 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4318 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4319 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4320 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4321 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4322 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4323 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4325 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4326 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4327 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4328 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4329 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4330 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4331 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4332 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4333 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4334 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4335 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4336 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4338 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4339 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4340 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4341 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4342 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4343 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4344 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4345 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4346 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4347 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4348 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4349 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4350 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4351 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4352 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4353 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4354 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4355 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4357 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4358 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4359 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4360 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4361 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4362 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4363 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4364 * sysdeps/ieee754/k_standard.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4480 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4487 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4492 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4497 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4501 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4502 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4503 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4504 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4508 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4509 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4510 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4514 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4515 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4521 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4525 * sysdeps/ieee754/s_lib_version.c: Likewise.
4526 * sysdeps/ieee754/s_matherr.c: Likewise.
4527 * sysdeps/ieee754/s_signgam.c: Likewise.
4528 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4529 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4530 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4531 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4532 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4533 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4534 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4535 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4536 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4537 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4538 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4539 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4540 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4541 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4542 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4543 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4544 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4545 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4546 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4549
1991fa03
JM
45502012-03-09 Joseph Myers <joseph@codesourcery.com>
4551
4552 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4553 * sunrpc/rpc_main.c: Likewise.
4554 * sunrpc/rpc_svcout.c: Likewise.
4555
60d6f5a6
DM
45562012-03-09 David S. Miller <davem@davemloft.net>
4557
4558 * include/math_private.h: New file.
4559
4962050e
JM
45602012-03-09 Joseph Myers <joseph@codesourcery.com>
4561
02a6f887
JM
4562 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4563 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4564 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4565 from <bits/socket_type.h>.
4566 (enum __socket_type): Don't define here.
4567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4569 bits/socket_type.h.
4570
c6e013c1
JM
4571 [BZ #13566]
4572 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4573 checking __USE_GNU.
4574
4962050e
JM
4575 * Makerules ($(inst_includedir)/%.h): New rule.
4576 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4577 (install-others): Remove variable setting.
4578 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4579
38842f45
RH
45802012-03-08 Richard Henderson <rth@twiddle.net>
4581
67bb6da6
RH
4582 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4583 from macro to inline function; merge with the
4584 !__LIBC_INTERNAL_MATH_INLINES version.
4585 (__ieee754_sqrtf): Likewise.
4586
15194b4b
RH
4587 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4588 to inline function.
4589 (__rintf, __floor, __floorf): Likewise.
4590
64e21ede
RH
4591 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4592 macro to inline function.
4593 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4594
38842f45
RH
4595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4596 not <math/math_private.h>.
4597
c64bf5fe
DM
45982012-03-08 David S. Miller <davem@davemloft.net>
4599
4600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4601 copyright year.
4602 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4603
82d86f28
TS
46042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4605
4606 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4607 normalization.
4608 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4609 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4610
aea5d727
UD
46112012-03-08 Ulrich Drepper <drepper@gmail.com>
4612
4613 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4614 be defined individually, they must be defined as a block. Define
4615 S for printing a string instead of hidint the different by using a
4616 macro for adding the 'l'.
4617 * stdio-common/tst-fphex-wide.c: Adjust.
4618
70bca0a3
MP
46192012-03-07 Marek Polacek <polacek@redhat.com>
4620
4621 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4622
65b81130
MP
46232012-03-08 Marek Polacek <polacek@redhat.com>
4624
4625 [BZ #13806]
4626 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4627 * stdio-common/tst-fphex.c: Define a few macros to make the
4628 test reusable. Use them.
4629 * stdio-common/tst-fphex-wide.c: New file.
4630
07037eeb
JM
46312012-03-08 Joseph Myers <joseph@codesourcery.com>
4632
a7a93d50
JM
4633 [BZ #6911]
4634 * manual/macros.texi (gnusystems): New macro.
4635 (nongnusystems): Likewise.
4636 (gnulinuxhurdsystems): Likewise.
4637 (gnuhurdsystems): Likewise..
4638 (gnulinuxsystems): Likewise.
4639 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4640 variants of the GNU system, not "GNU system".
4641 * manual/conf.texi: Likewise.
4642 * manual/errno.texi: Likewise. Update example of errno macro
4643 expansion.
4644 * manual/filesys.texi: Likewise.
4645 (getumask): Document as specific to GNU/Hurd.
4646 * manual/install.texi: Likewise. Reword some references to
4647 GNU/Linux.
4648 * manual/intro.texi: Likewise.
4649 * manual/io.texi: Likewise.
4650 (File Name Portability): Detail which constraints are inapplicable
4651 to all GNU systems and which are only inapplicable to GNU/Hurd.
4652 * manual/job.texi: Likewise.
4653 * manual/llio.texi: Likewise.
4654 (O_NOCTTY): Document as present on GNU/Linux.
4655 * manual/maint.texi: Likewise.
4656 * manual/memory.texi: Likewise.
4657 * manual/pattern.texi: Likewise.
4658 * manual/pipe.texi: Likewise.
4659 * manual/process.texi: Likewise.
4660 * manual/resource.texi: Likewise.
4661 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4662 child on GNU/Hurd.
4663 * manual/setjmp.texi: Likewise.
4664 * manual/signal.texi: Likewise.
4665 * manual/startup.texi: Likewise.
4666 * manual/stdio.texi: Likewise.
4667 * manual/terminal.texi: Likewise.
4668 (ONLCR): Document as POSIX.
4669 (OXTABS): Document availability on GNU/Linux as XTABS.
4670 (ONOEOT): Document availability separately from other bits.
4671 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4672 * manual/time.texi: Likewise.
4673 * manual/users.texi: Likewise.
4674 * INSTALL: Regenerated.
4675 * sysdeps/gnu/errlist.c: Regenerated.
4676
07037eeb
JM
4677 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4678 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4679 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4680 puts.
4681 * configure: Regenerated.
4682
d1d3431a
JM
46832012-03-07 Joseph Myers <joseph@codesourcery.com>
4684
af6a1e37
JM
4685 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4686 default includes instead of AC_HEADER_CHECK.
4687 * sysdeps/i386/configure: Regenerated.
4688
d1d3431a
JM
4689 [BZ #10716]
4690 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4691 * math/s_cacoshf.c (__cacoshf): Likewise.
4692 * math/s_cacoshl.c (__cacoshl): Likewise.
4693 * math/s_casinh.c (__casinh): Set signs of result from argument.
4694 * math/s_casinhf.c (__casinhf): Likewise.
4695 * math/s_casinhl.c (__casinhl): Likewise.
4696 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4697 (casinh_test): Add more tests.
4698 * sysdeps/i386/fpu/libm-test-ulps: Update.
4699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4700
482ff4da
UD
47012012-03-07 Ulrich Drepper <drepper@gmail.com>
4702
872fda05
UD
4703 * po/zh_TW.po: Update from translation team.
4704
a4300c7a
UD
4705 * login/Makefile (distribute): Remove variable.
4706 * catgets/Makefile: Likewise.
4707 * mach/Makefile: Likewise.
4708 * malloc/Makefile: Likewise.
4709 * misc/Makefile: Likewise.
4710 * iconv/Makefile: Likewise.
4711 * nscd/Makefile: Likewise.
4712 * hurd/Makefile: Likewise.
4713 * manual/Makefile: Likewise.
4714 * locale/Makefile: Likewise.
4715 * intl/Makefile: Likewise.
4716 * conform/Makefile: Likewise.
4717 * nss/Makefile: Likewise.
4718 * time/Makefile: Likewise.
4719 * soft-fp/Makefile: Likewise.
4720 * dirent/Makefile: Likewise.
4721 * gmon/Makefile: Likewise.
4722 * po/Makefile: Likewise.
4723 * rt/Makefile: Likewise.
4724 * socket/Makefile: Likewise.
4725 * math/Makefile: Likewise.
4726 * signal/Makefile: Likewise.
4727 * debug/Makefile: Likewise.
4728 * elf/Makefile: Likewise.
4729 * timezone/Makefile: Likewise.
4730 * stdlib/Makefile: Likewise.
4731 * iconvdata/Makefile: Likewise.
4732 * sunrpc/Makefile: Likewise.
4733 * io/Makefile: Likewise.
4734 * argp/Makefile: Likewise.
4735 * inet/Makefile: Likewise.
4736 * hesiod/Makefile: Likewise.
4737 * grp/Makefile: Likewise.
4738 * csu/Makefile: Likewise.
4739 * wctype/Makefile: Likewise.
4740 * crypt/Makefile: Likewise.
4741 * libio/Makefile: Likewise.
4742 * string/Makefile: Likewise.
4743 * nis/Makefile: Likewise.
4744 * resolv/Makefile: Likewise.
4745 * stdio-common/Makefile: Likewise.
4746 * wcsmbs/Makefile: Likewise.
4747 * dlfcn/Makefile: Likewise.
4748 * posix/Makefile: Likewise.
4749
3b7c4e74 4750 [BZ #6959]
482ff4da
UD
4751 * timezone/Makefile: Don't install timezone files, just the programs
4752 and scripts.
4753
f72ed77d
UD
47542012-03-06 Ulrich Drepper <drepper@gmail.com>
4755
a000466f
UD
4756 * nss/databases.def: Add missing gshadow entry.
4757
f72ed77d
UD
4758 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4759
a53b7a4e
MP
47602012-03-06 Marek Polacek <polacek@redhat.com>
4761
4762 [BZ #13726]
4763 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4764 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4765 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4766 * stdio-common/tst-long-dbl-fphex.c: New file.
4767
e9258400
DM
47682012-03-06 David S. Miller <davem@davemloft.net>
4769
4770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4771 (set_obp_int): New function.
4772 (get_obp_int): New function.
4773 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4774 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4775 Avoid unused variable warnings on 'val' and use builtin_expect.
4776 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4777 __builtin_expect.
e9258400
DM
4778 (INLINE_CLONE_SYSCALL): Likewise.
4779
3bd2c723
DM
47802012-03-05 David S. Miller <davem@davemloft.net>
4781
4782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4783
bbb78d03
AS
47842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4785
884c5db4
AS
4786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4787
bbb78d03
AS
4788 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4789 only for |x| >= 40.
4790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4791
1c9f702a 47922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4793
4794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4795 Replace gettimeofday with __vdso_gettimeofday.
4796
7be16f82
RM
4797 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4798 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4799 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4800
4801 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4802 time with __vdso_time.
4803
ed58a00f
JM
48042012-03-05 Joseph Myers <joseph@codesourcery.com>
4805
4806 * manual/lang.texi (size_t): Note types to which size_t may be
4807 equivalent with the GNU C Library, but do not describe when
4808 differences between them are significant.
4809
30ee4ced
AJ
48102012-03-05 Andreas Jaeger <aj@suse.de>
4811
4812 * sysdeps/i386/fpu/libm-test-ulps: Update.
4813
b7cd39e8
JM
48142012-03-05 Joseph Myers <joseph@codesourcery.com>
4815
4816 [BZ #3976]
4817 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4818 (__ieee754_pow): Save and restore rounding mode and use
4819 round-to-nearest for main computations.
4820 * math/libm-test.inc (pow_test_tonearest): New function.
4821 (pow_test_towardzero): Likewise.
4822 (pow_test_downward): Likewise.
4823 (pow_test_upward): Likewise.
4824 (main): Call the new functions.
4825 * sysdeps/i386/fpu/libm-test-ulps: Update.
4826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4827
4828 [BZ #3976]
4829 * math/libm-test.inc (cosh_test_tonearest): New function.
4830 (cosh_test_towardzero): Likewise.
4831 (cosh_test_downward): Likewise.
4832 (cosh_test_upward): Likewise.
4833 (sinh_test_tonearest): Likewise.
4834 (sinh_test_towardzero): Likewise.
4835 (sinh_test_downward): Likewise.
4836 (sinh_test_upward): Likewise.
4837 (main): Call the new functions.
4838 * sysdeps/i386/fpu/libm-test-ulps: Update.
4839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4840
6c6a98c9
TV
48412012-03-05 Tom de Vries <tom@codesourcery.com>
4842
4843 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4844 default stack guard is set in last bytes.
4845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4846
21bb2d2e 48472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4848
21bb2d2e 4849 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4850
21bb2d2e
AJ
4851 [BZ #13656]
4852 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4853 possibly allocate from heap instead of stack.
4854 * stdio-common/bug-vfprintf-nargs.c: New file.
4855 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4856
c6922934
AS
48572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4858
4859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4860
bc957d53
MP
48612012-03-03 Marek Polacek <polacek@redhat.com>
4862
4863 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4864 * math/math_private.h: Likewise.
4865 * stdlib/tst-strtod.c: Likewise.
4866 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4867 * sysdeps/x86_64/bits/atomic.h: Likewise.
4868
6358490d
DM
48692012-03-02 David S. Miller <davem@davemloft.net>
4870
4871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4875 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4876 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4877 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4878 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4879
01ae168d
RM
48802012-03-02 Roland McGrath <roland@hack.frob.com>
4881
d9a17c07
RM
4882 [BZ #13792]
4883 * manual/examples/README: New file, says the example source files
4884 can be used under GPL>=2.
4885 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4886 line containing just "*/".
4887 * manual/examples/add.c: Add copyright header (GPL>=2).
4888 * manual/examples/argp-ex1.c: Likewise.
4889 * manual/examples/argp-ex2.c: Likewise.
4890 * manual/examples/argp-ex3.c: Likewise.
4891 * manual/examples/argp-ex4.c: Likewise.
4892 * manual/examples/atexit.c: Likewise.
4893 * manual/examples/db.c: Likewise.
4894 * manual/examples/dir.c: Likewise.
4895 * manual/examples/dir2.c: Likewise.
4896 * manual/examples/execinfo.c: Likewise.
4897 * manual/examples/filecli.c: Likewise.
4898 * manual/examples/filesrv.c: Likewise.
4899 * manual/examples/fmtmsgexpl.c: Likewise.
4900 * manual/examples/genpass.c: Likewise.
4901 * manual/examples/inetcli.c: Likewise.
4902 * manual/examples/inetsrv.c: Likewise.
4903 * manual/examples/isockad.c: Likewise.
4904 * manual/examples/longopt.c: Likewise.
4905 * manual/examples/memopen.c: Likewise.
4906 * manual/examples/memstrm.c: Likewise.
4907 * manual/examples/mkfsock.c: Likewise.
4908 * manual/examples/mkisock.c: Likewise.
4909 * manual/examples/mygetpass.c: Likewise.
4910 * manual/examples/pipe.c: Likewise.
4911 * manual/examples/popen.c: Likewise.
4912 * manual/examples/rprintf.c: Likewise.
4913 * manual/examples/search.c: Likewise.
4914 * manual/examples/select.c: Likewise.
4915 * manual/examples/setjmp.c: Likewise.
4916 * manual/examples/sigh1.c: Likewise.
4917 * manual/examples/sigusr.c: Likewise.
4918 * manual/examples/stpcpy.c: Likewise.
4919 * manual/examples/strdupa.c: Likewise.
4920 * manual/examples/strftim.c: Likewise.
4921 * manual/examples/strncat.c: Likewise.
4922 * manual/examples/subopt.c: Likewise.
4923 * manual/examples/swapcontext.c: Likewise.
4924 * manual/examples/termios.c: Likewise.
4925 * manual/examples/testopt.c: Likewise.
4926 * manual/examples/testpass.c: Likewise.
4927 * manual/examples/timeval_subtract.c: Likewise.
4928
01ae168d
RM
4929 [BZ #13792]
4930 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4931 function to ...
4932 * manual/timeval_subtract.c.texi: ... here, new file.
4933
49efa33d
DM
49342012-03-02 David S. Miller <davem@davemloft.net>
4935
4936 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4937
28afd92d
JM
49382012-03-02 Joseph Myers <joseph@codesourcery.com>
4939
804360ed
JM
4940 [BZ #3976]
4941 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4942 (__sin): Save and restore rounding mode and use round-to-nearest
4943 for all computations.
4944 (__cos): Save and restore rounding mode and use round-to-nearest
4945 for all computations.
4946 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4947 <fenv.h>.
4948 (tan): Save and restore rounding mode and use round-to-nearest for
4949 all computations.
4950 * math/libm-test.inc (cos_test_tonearest): New function.
4951 (cos_test_towardzero): Likewise.
4952 (cos_test_downward): Likewise.
4953 (cos_test_upward): Likewise.
4954 (sin_test_tonearest): Likewise.
4955 (sin_test_towardzero): Likewise.
4956 (sin_test_downward): Likewise.
4957 (sin_test_upward): Likewise.
4958 (tan_test_tonearest): Likewise.
4959 (tan_test_towardzero): Likewise.
4960 (tan_test_downward): Likewise.
4961 (tan_test_upward): Likewise.
4962 (main): Call the new functions.
4963 * sysdeps/i386/fpu/libm-test-ulps: Update.
4964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4965
a6d06d7b
JM
4966 [BZ #10135]
4967 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4968 small n, then large n, before computing and testing k+n.
4969 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4971 Likewise.
4972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4973 Likewise.
4974 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4975 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4976 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4977 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4978 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4982 * math/libm-test.inc (scalbn_test): Add more tests.
4983 (scalbln_test): Likewise.
4984
07e12bb3
JM
4985 * manual/filesys.texi (mode_t): Describe constraints on size and
4986 signedness, not exact equivalence to a particular type.
4987 (ino_t): Likewise.
4988 (ino64_t): Likewise.
4989 (dev_t): Likewise.
4990 (nlink_t): Likewise.
4991 (blkcnt_t): Likewise.
4992 (blkcnt64_t): Likewise.
4993 * manual/llio.texi (off_t): Likewise.
4994
28afd92d
JM
4995 [BZ #3976]
4996 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4997 (__ieee754_exp): Save and restore rounding mode and use
4998 round-to-nearest for all computations.
4999 * math/libm-test.inc (exp_test_tonearest): New function.
5000 (exp_test_towardzero): Likewise.
5001 (exp_test_downward): Likewise.
5002 (exp_test_upward): Likewise.
5003 (main): Call the new functions.
5004 * sysdeps/i386/fpu/libm-test-ulps: Update.
5005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5006
b1eeb65d
CD
50072012-03-01 Chris Demetriou <cgd@google.com>
5008
5009 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5010 have predictable order.
5011
53362a4b
DM
50122012-03-01 David S. Miller <davem@davemloft.net>
5013
3c969083
DM
5014 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5015
759707de
DM
5016 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5017 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5018 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5019 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5020
dfdb8ff2
DM
5021 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5022 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5023 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5025 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5026 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5027 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5028 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5029 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5030
ead89f96
DM
5031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5032
7f66bd07
DM
5033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5034 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5035 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5036
53362a4b
DM
5037 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5038 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5039 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5040 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5041 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5042 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5044 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5045 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5046 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5047 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5048 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5050 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5051 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5053 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5054 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5055 * sysdeps/sparc/elf/configure: Regenerated.
5056
7b1902cb
JM
50572012-03-01 Joseph Myers <joseph@codesourcery.com>
5058
bec039bc
JM
5059 * configure.in (AS, LD): Require binutils 2.20 or later.
5060 * configure: Regenerated.
5061 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5062 as required minimum version.
5063 * INSTALL: Regenerated.
5064
7b1902cb
JM
5065 [BZ #2541]
5066 [BZ #4108]
5067 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5068 before squaring exponent.
5069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5070 bottom long double and 27 bits of top long double before squaring
5071 exponent.
5072 * math/libm-test.inc (erfc_test): Add more tests.
5073 * sysdeps/i386/fpu/libm-test-ulps: Update.
5074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5076
f775c276
KT
50772012-03-01 Kai Tietz <ktietz@redhat.com>
5078
5079 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5080 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5081 containing bit-fields.
5082 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5083 * soft-fp/single.h (_FP_UNION_S): Likewise.
5084 * soft-fp/double.h (_FP_UNION_D): Likewise.
5085
5b8a4d4a
JM
50862012-02-29 Joseph Myers <joseph@codesourcery.com>
5087
0bab47b6
JM
5088 [BZ #13786]
5089 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5090 not include ../strcmp.S.
5091 [USE_AS_STRNCASECMP_L]: Likewise.
5092 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5093 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5094 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5095 (__strncasecmp_l_ia32): Define as alias to
5096 __strncasecmp_l_nonascii.
5097
0fcad3e2
JM
5098 [BZ #5794]
5099 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5100 * sysdeps/i386/fpu/libm-test-ulps: Update.
5101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5102
5b8a4d4a
JM
5103 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5105
8fdceb2e
JL
51062012-02-29 Jeff Law <law@redhat.com>
5107
5108 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5109 out of bounds read.
5110
1f393a11
MP
51112012-02-29 Marek Polacek <polacek@redhat.com>
5112
5113 [BZ #13706]
5114 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5115 * elf/Makefile: Add rules to run tst-unused-dep.out.
5116
8847f037
DM
51172012-02-28 David S. Miller <davem@davemloft.net>
5118
5119 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5120 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5121 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5123 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5124 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5125
169d7f11
JM
51262012-02-29 Joseph Myers <joseph@codesourcery.com>
5127
5128 * math/libm-test.inc (llround_test): Move one test from
5129 lround_test. Use TEST_f_L in moved test.
5130 (lround_test): Move misplaced test to llround_test. Add testcase
5131 from bug 2561.
5132
39adf059
UD
51332012-02-28 Ulrich Drepper <drepper@gmail.com>
5134
5135 * sysdeps/x86_64/fpu/e_expf.S: New file.
5136 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5137
71b5d1c5
SB
51382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5139
5140 [BZ #13637]
5141 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5142 of remain_len that may cause incomplete multi-byte character and
5143 false match.
5144 * posix/bug-regex33.c: New file.
5145 * posix/Makefile (tests): Add bug-regex33.
5146
1f77f049
JM
51472012-02-28 Joseph Myers <joseph@codesourcery.com>
5148
5149 * manual/macros.texi: New file.
5150 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5151 * manual/libc.texinfo: Include macros.texi.
5152 * manual/creatute.texi: Likewise.
5153 * manual/install.texi: Likewise.
5154 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5155 @glibcadj{} in references to the GNU C Library.
5156 * manual/charset.texi: Likewise.
5157 * manual/conf.texi: Likewise.
5158 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5159 when not using those macros.
5160 * manual/creature.texi: Likewise.
5161 * manual/crypt.texi: Likewise.
5162 * manual/errno.texi: Likewise.
5163 * manual/filesys.texi: Likewise.
5164 * manual/header.texi: Likewise.
5165 * manual/install.texi: Likewise.
5166 * manual/intro.texi: Likewise.
5167 * manual/io.texi: Likewise.
5168 * manual/job.texi: Likewise.
5169 * manual/lang.texi: Likewise.
5170 * manual/libc.texiinfo: Likewise.
5171 * manual/llio.texi: Likewise.
5172 * manual/locale.texi: Likewise.
5173 * manual/maint.texi: Likewise.
5174 * manual/math.texi: Likewise.
5175 * manual/memory.texi: Likewise.
5176 * manual/message.texi: Likewise.
5177 * manual/nss.texi: Likewise.
5178 * manual/pattern.texi: Likewise.
5179 * manual/process.texi: Likewise.
5180 * manual/resource.texi: Likewise.
5181 * manual/search.texi: Likewise.
5182 * manual/setjmp.texi: Likewise.
5183 * manual/signal.texi: Likewise.
5184 * manual/socket.texi: Likewise.
5185 * manual/startup.texi: Likewise.
5186 * manual/stdio.texi: Likewise.
5187 * manual/string.texi: Likewise.
5188 * manual/sysinfo.texi: Likewise.
5189 * manual/syslog.texi: Likewise.
5190 * manual/terminal.texi: Likewise.
5191 * manual/time.texi: Likewise.
5192 * manual/users.texi: Likewise.
5193 * INSTALL: Regenerated.
5194 * NOTES: Regenerated.
d40c5d54 5195 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5196
450bf206
AS
51972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5198
5199 * include/dirent.h: Include <dirstream.h> before
5200 <dirent/dirent.h>.
5201
741a235b
DM
52022012-02-28 David S. Miller <davem@davemloft.net>
5203
5204 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5205 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5206 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5207 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5208
d6b5aa58
DM
52092012-02-27 David S. Miller <davem@davemloft.net>
5210
1aff59a3
DM
5211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5213 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5214 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5215
d6b5aa58
DM
5216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5217 frame pointer instead of stack pointer relative arg slot.
5218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5219 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5220 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5221
433f48bf
CD
52222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5223
5224 [BZ #3992]
5225 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5226
d674b76d
DM
52272012-02-27 David S. Miller <davem@davemloft.net>
5228
5229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5233 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5234 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5235 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5236 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5237
0e7727f7
JM
52382012-02-27 Joseph Myers <joseph@codesourcery.com>
5239
5240 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5241 later. Allow versions 5-9.
43be4ca2 5242 * configure: Regenerated.
0e7727f7
JM
5243 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5244 required minimum version and 4.6 as recommended version. Do not
5245 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5246 * INSTALL: Regenerated.
0e7727f7 5247
a78bc654
DM
52482012-02-27 David S. Miller <davem@davemloft.net>
5249
428d5830
DM
5250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5254 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5255 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5256 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5257 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5258
a78bc654
DM
5259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5260 manipulate bits before adding and subtracting TWO112[sx].
5261 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5262
4579f81c
RM
52632012-02-27 Roland McGrath <roland@hack.frob.com>
5264
36c8acb4
RM
5265 [BZ #13775]
5266 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5267 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5268 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5269 being in POSIX, because they are in 1003.1-2008.
5270
84ad622b
RM
5271 * rt/tst-aio.c: Include <fcntl.h>.
5272 * rt/tst-aio7.c: Likewise.
5273 * rt/tst-aio64.c: Likewise.
5274
4579f81c
RM
5275 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5276
abd923db
JM
52772012-02-27 Joseph Myers <joseph@codesourcery.com>
5278
5279 * manual/install.texi (--with-headers): Describe headers as
5280 interface headers, not private headers.
5281 (Specific advice for GNU/Linux systems): Describe use of headers
5282 from "make headers_install", not private headers from older
5283 kernels.
43be4ca2 5284 * INSTALL: Regenerated.
abd923db
JM
5285 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5286 Change to 2.6.19.
5287 * sysdeps/unix/sysv/linux/configure: Regenerated.
5288
6664049b
JM
5289 * manual/llio.texi (fclean): Remove documentation.
5290
bb8b6697
JM
5291 * manual/Makefile (libc-texi-generated): New variable. Include
5292 version.texi.
5293 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5294 $(libc-texi-generated), not duplicated list of files.
5295 (version.texi, stamp-version): New rules.
5296 (realclean): Remove $(libc-texi-generated), not individual files
5297 from that list. Do not remove dir-add.texinfo.
5298 * manual/libc.texinfo: Comment out uses of edition numbers and
5299 references to printed manual. Remove last-updated dates.
5300 (EDITION): Comment out.
5301 (ISBN): Likewise.
5302 (VERSION, UPDATED): Remove.
5303 (version.texi): Include.
5304
12e5c3b9
AS
53052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5306
5307 * sysdeps/posix/spawni.c: Include <signal.h>.
5308 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5309 * sysdeps/pthread/aio_fsync.c: Likewise.
5310
4efeffc1 53112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5312
ba63ba08
UD
5313 * conform/Makefile (tests): Run only when not cross-compiling and
5314 when fast-check is not defined.
5315
d94a4670
UD
5316 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5317 * conform/data/limits.h-data: Fixes for POSIX2008.
5318 * conform/run-conformtest.sh: Run all tests.
5319 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5320 headers.
5321 * include/bits/dlfcn.h: Likewise.
5322 * include/langinfo.h: Likewise.
5323 * include/monetary.h: Likewise.
5324 * include/sys/poll.h: Likewise.
5325
5326 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5327 for __USE_GNU.
5328 * posix/spawn.h: Define __need_sigset_t.
5329 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5330 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5331 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5332 to get sigevent_t only.
5333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5334 only for __USE_GNU.
5335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5336 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5337 process_vm_writev only for __USE_GNU.
5338 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5339
5340 * conform/Makefile: For now ignore errors from run-conformtest.
5341 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5342 POSIX to avoid namespace pollution. Don't prepend headers.
5343 * conform/data/aio.h-data: Fixes for POSIX testing.
5344 * conform/data/fcntl.h-data: Likewise.
5345 * conform/data/glob.h-data: Likewise.
5346 * conform/data/grp.h-data: Likewise.
5347 * conform/data/pthread.h-data: Likewise.
5348 * conform/data/pwd.h-data: Likewise.
5349 * conform/data/signal.h-data: Likewise.
5350 * conform/data/spawn.h-data: Likewise.
5351 * conform/data/stdio.h-data: Likewise.
5352 * conform/data/stdlib.h-data: Likewise.
5353 * conform/data/stropts.h-data: Likewise.
5354 * conform/data/sys/mman.h-data: Likewise.
5355 * conform/data/sys/stat.h-data: Likewise.
5356 * conform/data/sys/types.h-data: Likewise.
5357 * conform/data/sys/wait.h-data: Likewise.
5358 * conform/data/time.h-data: Likewise.
5359 * conform/data/unistd.h-data: Likewise.
5360 * conform/data/utime.h-data: Likewise.
5361
5362 * io/sys/stat.h: fchmod was always in POSIX.
5363 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5364 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5365 * rt/aio.h: Define __need_timespec before including <time.h>.
5366 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5367 struct. Add forward declaration of pthread_attr_t and use it in
5368 sigevent.
5369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5371 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5372 always remove CLK_TCK definition.
5373
c20105c3
AS
53742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5375
5376 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5377
7a270350
UD
53782012-02-25 Ulrich Drepper <drepper@gmail.com>
5379
31341567
UD
5380 * conform/run-conformtest.sh: New file.
5381 * conform/Makefile: Run run-conformtest for tests.
5382 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5383 support.
5384
5385 * conform/data/uchar.h-data: New file.
5386 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5387 * conform/data/arpa/inet.h-data: Likewise.
5388 * conform/data/assert.h-data: Likewise.
5389 * conform/data/complex.h-data: Likewise.
5390 * conform/data/cpio.h-data: Likewise.
5391 * conform/data/ctype.h-data: Likewise.
5392 * conform/data/dirent.h-data: Likewise.
5393 * conform/data/dlfcn.h-data: Likewise.
5394 * conform/data/errno.h-data: Likewise.
5395 * conform/data/fcntl.h-data: Likewise.
5396 * conform/data/float.h-data: Likewise.
5397 * conform/data/fmtmsg.h-data: Likewise.
5398 * conform/data/fnmatch.h-data: Likewise.
5399 * conform/data/ftw.h-data: Likewise.
5400 * conform/data/glob.h-data: Likewise.
5401 * conform/data/grp.h-data: Likewise.
5402 * conform/data/iconv.h-data: Likewise.
5403 * conform/data/inttypes.h-data: Likewise.
5404 * conform/data/langinfo.h-data: Likewise.
5405 * conform/data/libgen.h-data: Likewise.
5406 * conform/data/limits.h-data: Likewise.
5407 * conform/data/locale.h-data: Likewise.
5408 * conform/data/math.h-data: Likewise.
5409 * conform/data/monetary.h-data: Likewise.
5410 * conform/data/mqueue.h-data: Likewise.
5411 * conform/data/ndbm.h-data: Likewise.
5412 * conform/data/net/if.h-data: Likewise.
5413 * conform/data/netdb.h-data: Likewise.
5414 * conform/data/netinet/in.h-data: Likewise.
5415 * conform/data/nl_types.h-data: Likewise.
5416 * conform/data/poll.h-data: Likewise.
5417 * conform/data/pthread.h-data: Likewise.
5418 * conform/data/pwd.h-data: Likewise.
5419 * conform/data/regex.h-data: Likewise.
5420 * conform/data/sched.h-data: Likewise.
5421 * conform/data/search.h-data: Likewise.
5422 * conform/data/semaphore.h-data: Likewise.
5423 * conform/data/setjmp.h-data: Likewise.
5424 * conform/data/signal.h-data: Likewise.
5425 * conform/data/spawn.h-data: Likewise.
5426 * conform/data/stdarg.h-data: Likewise.
5427 * conform/data/stdio.h-data: Likewise.
5428 * conform/data/stdlib.h-data: Likewise.
5429 * conform/data/string.h-data: Likewise.
5430 * conform/data/strings.h-data: Likewise.
5431 * conform/data/stropts.h-data: Likewise.
5432 * conform/data/sys/ipc.h-data: Likewise.
5433 * conform/data/sys/mman.h-data: Likewise.
5434 * conform/data/sys/msg.h-data: Likewise.
5435 * conform/data/sys/resource.h-data: Likewise.
5436 * conform/data/sys/select.h-data: Likewise.
5437 * conform/data/sys/sem.h-data: Likewise.
5438 * conform/data/sys/shm.h-data: Likewise.
5439 * conform/data/sys/socket.h-data: Likewise.
5440 * conform/data/sys/stat.h-data: Likewise.
5441 * conform/data/sys/statvfs.h-data: Likewise.
5442 * conform/data/sys/time.h-data: Likewise.
5443 * conform/data/sys/timeb.h-data: Likewise.
5444 * conform/data/sys/times.h-data: Likewise.
5445 * conform/data/sys/types.h-data: Likewise.
5446 * conform/data/sys/uio.h-data: Likewise.
5447 * conform/data/sys/un.h-data: Likewise.
5448 * conform/data/sys/utsname.h-data: Likewise.
5449 * conform/data/sys/wait.h-data: Likewise.
5450 * conform/data/syslog.h-data: Likewise.
5451 * conform/data/tar.h-data: Likewise.
5452 * conform/data/termios.h-data: Likewise.
5453 * conform/data/utime.h-data: Likewise.
5454 * conform/data/utmpx.h-data: Likewise.
5455 * conform/data/varargs.h-data: Likewise.
5456 * conform/data/wchar.h-data: Likewise.
5457 * conform/data/wctype.h-data: Likewise.
5458 * conform/data/wordexp.h-data: Likewise.
5459
5460 * include/stropts.h: New file.
5461 * include/uchar.h: New file.
5462 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5463 * include/assert.h: Likewise.
5464 * include/ctype.h: Likewise.
5465 * include/dirent.h: Likewise.
5466 * include/dlfcn.h: Likewise.
5467 * include/fcntl.h: Likewise.
5468 * include/fnmatch.h: Likewise.
5469 * include/glob.h: Likewise.
5470 * include/grp.h: Likewise.
5471 * include/libio.h: Likewise.
5472 * include/locale.h: Likewise.
5473 * include/math.h: Likewise.
5474 * include/net/if.h: Likewise.
5475 * include/netdb.h: Likewise.
5476 * include/netinet/in.h: Likewise.
5477 * include/pthread.h: Likewise.
5478 * include/pwd.h: Likewise.
5479 * include/regex.h: Likewise.
5480 * include/sched.h: Likewise.
5481 * include/search.h: Likewise.
5482 * include/setjmp.h: Likewise.
5483 * include/signal.h: Likewise.
5484 * include/stdio.h: Likewise.
5485 * include/stdlib.h: Likewise.
5486 * include/string.h: Likewise.
5487 * include/sys/cdefs.h: Likewise.
5488 * include/sys/mman.h: Likewise.
5489 * include/sys/msg.h: Likewise.
5490 * include/sys/resource.h: Likewise.
5491 * include/sys/select.h: Likewise.
5492 * include/sys/socket.h: Likewise.
5493 * include/sys/stat.h: Likewise.
5494 * include/sys/statvfs.h: Likewise.
5495 * include/sys/time.h: Likewise.
5496 * include/sys/times.h: Likewise.
5497 * include/sys/uio.h: Likewise.
5498 * include/sys/utsname.h: Likewise.
5499 * include/sys/wait.h: Likewise.
5500 * include/termios.h: Likewise.
5501 * include/time.h: Likewise.
5502 * include/ulimit.h: Likewise.
5503 * include/unistd.h: Likewise.
5504 * include/utime.h: Likewise.
5505 * include/wchar.h: Likewise.
5506 * include/wctype.h: Likewise.
5507 * include/wordexp.h: Likewise.
5508
5509 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5510
7a270350
UD
5511 * time/time.h: TIME_UTC must be a macro.
5512 Make timespec_get available for ISO C11 only as well.
5513
7724defc
UD
55142012-02-24 Ulrich Drepper <drepper@gmail.com>
5515
5516 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5517 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5518
6b1d1d46
JM
55192012-02-24 Joseph Myers <joseph@codesourcery.com>
5520
5521 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5522
0f8bbd69
JM
55232012-02-24 Joseph Myers <joseph@codesourcery.com>
5524
5525 * manual/texinfo.tex: Update to version 2012-01-19.16.
5526
66ab80bc
JM
55272012-02-24 Joseph Myers <joseph@codesourcery.com>
5528
5529 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5530
74981cc5
RM
55312012-02-24 Roland McGrath <roland@hack.frob.com>
5532
ee968201
RM
5533 [BZ #13738]
5534 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5535 * manual/fdl-1.3.texi: New file.
5536 * manual/fdl-1.1.texi: File removed.
5537
74981cc5
RM
5538 [BZ #13738]
5539 * manual/libc.texinfo (FDL_VERSION): New @set.
5540 Use it for mention of FDL in cover text.
5541 (Documentation License): Use it in @include file name.
5542
7bb764bc
JM
55432012-02-22 Joseph Myers <joseph@codesourcery.com>
5544 Roland McGrath <roland@hack.frob.com>
5545
5546 [BZ #5461]
5547 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5548 not LONG_LONG_MAX and LONG_LONG_MIN.
5549 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5550 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5551 name.
5552 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5553
6cbeae47
JM
55542012-02-22 Joseph Myers <joseph@codesourcery.com>
5555
5556 [BZ #2547]
5557 [BZ #11365]
5558 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5559 manipulate bits before adding and subtracting TWO23[sx].
5560 * math/libm-test.inc (nearbyint_test): Add more tests.
5561
fe45ce09
JM
55622012-02-22 Joseph Myers <joseph@codesourcery.com>
5563
5564 [BZ #2548]
5565 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5566 bits before adding and subtracting TWO23[sx].
5567 * math/libm-test.inc (rint_test): Add more tests.
5568 (rint_test_tonearest): Likewise.
5569 (rint_test_towardzero): Likewise.
5570 (rint_test_downward): Likewise.
5571 (rint_test_upward: Likewise.
5572
ff3b3d82
JM
55732012-02-22 Joseph Myers <joseph@codesourcery.com>
5574
5575 [BZ #10110]
5576 * include/stdc-predef.h: New file. Extracted from features.h.
5577 * include/features.h: Include stdc-predef.h.
5578 * Makefile (headers): Add stdc-predef.h.
5579 * CONFORMANCE (Compiler limitations): Update.
5580
ef0aab35
JM
55812012-02-22 Joseph Myers <joseph@codesourcery.com>
5582
5583 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5584
58639409
DM
55852012-02-21 David S. Miller <davem@davemloft.net>
5586
5587 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5588 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5589
c0e70b25
DM
55902012-02-20 David S. Miller <davem@davemloft.net>
5591
5592 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5593 using a normal save/restore sequence, rather than allocating a
5594 dummy stack frame just to store a frame pointer and restore.
5595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5596
fb06851d
JM
55972012-02-21 Joseph Myers <joseph@codesourcery.com>
5598
5599 * manual/install.texi: Fix stray word in line-wrapped comment.
5600
7a8b71c3
DM
56012012-02-20 David S. Miller <davem@davemloft.net>
5602
d510c123
DM
5603 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5604 both binutils and gcc support GOTDATA.
5605
0722d7c2
DM
5606 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5607 "rd %pc" in the PIC register setup sequences.
5608
3d2b3019
DM
5609 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5610 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5611 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5612 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5613 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5615 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5616 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5618 (SYSCALL_ERROR_HANDLER): Likewise.
5619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5622 (SYSCALL_ERROR_HANDLER): Likewise.
5623
c80098a9
DM
5624 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5625 (HAVE_GCC_GOTDATA): New.
5626 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5627 relocation support in both binutils and gcc.
5628 * sysdeps/sparc/elf/configure: Regenerate.
5629
3a2545a0
DM
5630 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5631 * sysdeps/sparc/sparc32/elf/configure: Delete.
5632 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5633 * sysdeps/sparc/sparc64/elf/configure: Delete.
5634 * sysdeps/sparc/elf/configure.in: New file.
5635 * sysdeps/sparc/elf/configure: Generate.
5636
7a8b71c3
DM
5637 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5638 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5639 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5640 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5641 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5642
f1e86fca
JM
56432012-02-21 Joseph Myers <joseph@codesourcery.com>
5644
5645 * manual/install.texi: Do not mention specific glibc version
5646 numbers.
5647 * manual/libc.texinfo (VERSION, UPDATED): Update.
5648 (@copying): Use @copyright{} and range of years.
5649
0e7dfaef
JM
56502012-02-21 Joseph Myers <joseph@codesourcery.com>
5651
5652 [BZ #13695]
5653 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5654 [crti.S not in sysdirs] (generated): Do not append.
5655 [crti.S not in sysdirs] (omit-deps): Likewise.
5656 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5657 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5658 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5659 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5660 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5661 Likewise.
5662 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5663 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5664 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5665 * csu/defs.awk: Remove file.
5666 * sysdeps/generic/initfini.c: Likewise.
5667 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5668 variable.
5669 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5670 Likewise.
5671
599af3ca
JM
56722012-02-20 Joseph Myers <joseph@codesourcery.com>
5673
5674 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5675 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5676 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5677 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5678 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5679 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5680 <bits/epoll.h>.
5681 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5682 (__EPOLL_PACKED): Define to empty if not defined by
5683 <bits/epoll.h>.
5684 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5686 bits/epoll.h.
5687
0e499750
JM
56882012-02-20 Joseph Myers <joseph@codesourcery.com>
5689
5690 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5691 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5692 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5693 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5694 <bits/timerfd.h>.
5695 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5697 bits/timerfd.h.
5698
5ad91f6e
JM
56992012-02-20 Joseph Myers <joseph@codesourcery.com>
5700
5701 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5702 in C locale.
5703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5704 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5707
06b99b02
AJ
57082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5709
5710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5711 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5712
7638c0fd
AS
57132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5714
5715 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5716 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5717 defined.
5718 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5719 Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5721 entry for 2.16.
5722
92221550
AJ
57232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5724
5725 * math/w_acos.c: Use non-signaling floating-point comparisons.
5726 * math/w_acosf.c: Likewise.
5727 * math/w_acosh.c: Likewise.
5728 * math/w_acoshf.c: Likewise.
5729 * math/w_acoshl.c: Likewise.
5730 * math/w_acosl.c: Likewise.
5731 * math/w_asin.c: Likewise.
5732 * math/w_asinf.c: Likewise.
5733 * math/w_asinl.c: Likewise.
5734 * math/w_atanh.c: Likewise.
5735 * math/w_atanhf.c: Likewise.
5736 * math/w_atanhl.c: Likewise.
5737 * math/w_exp2.c: Likewise.
5738 * math/w_exp2f.c: Likewise.
5739 * math/w_exp2l.c: Likewise.
5740 * math/w_j0.c: Likewise.
5741 * math/w_j0f.c: Likewise.
5742 * math/w_j0l.c: Likewise.
5743 * math/w_j1.c: Likewise.
5744 * math/w_j1f.c: Likewise.
5745 * math/w_j1l.c: Likewise.
5746 * math/w_jn.c: Likewise.
5747 * math/w_jnf.c: Likewise.
5748 * math/w_log.c: Likewise.
5749 * math/w_log10.c: Likewise.
5750 * math/w_log10f.c: Likewise.
5751 * math/w_log10l.c: Likewise.
5752 * math/w_log2.c: Likewise.
5753 * math/w_log2f.c: Likewise.
5754 * math/w_log2l.c: Likewise.
5755 * math/w_logf.c: Likewise.
5756 * math/w_logl.c: Likewise.
5757 * math/w_sqrt.c: Likewise.
5758 * math/w_sqrtf.c: Likewise.
5759 * math/w_sqrtl.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5762 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5763 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5764 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5765
ebaf36eb
JM
57662012-02-19 Joseph Myers <joseph@codesourcery.com>
5767
5768 [BZ #9739]
5769 * manual/string.texi (strnlen): Use correct parameter name in
5770 equivalent expression.
5771
71c254a6
JM
57722012-02-19 Joseph Myers <joseph@codesourcery.com>
5773
5774 [BZ #11174]
5775 * manual/users.texi (seteuid): Consistently use neweuid for
5776 argument name.
5777
16d2c631
JM
57782012-02-19 Joseph Myers <joseph@codesourcery.com>
5779
5780 [BZ #13704]
5781 * manual/nss.texi (Services in the NSS configuration): Correct
5782 list of services in example configuration file.
5783
cd837b09
NB
57842012-02-19 Nick Bowler <nbowler@draconx.ca>
5785
5786 [BZ #11322]
5787 * manual/arith.texi: Remove statements about negative zero
5788 behaving identically to zero.
5789
02c4bbad
JM
57902012-02-18 Joseph Myers <joseph@codesourcery.com>
5791
5792 [BZ #5993]
5793 * manual/install.texi: Do not document upgrading from libc5.
5794
366842e7
JM
57952012-02-18 Joseph Myers <joseph@codesourcery.com>
5796
5797 [BZ #4596]
5798 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5799
dd54084d
DM
58002012-02-18 David S. Miller <davem@davemloft.net>
5801
5802 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5803 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5804 %o7 across the call.
5805 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5806 instead.
5807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5808 SETUP_PIC_REG_LEAF.
5809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5810 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5811 * sysdeps/sparc/crtn.S: Likewise.
5812
2bcc53a3
UD
58132012-02-17 Ulrich Drepper <drepper@gmail.com>
5814
5815 * aout/Makefile: Remove.
5816
09c093b5
RK
58172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5818
5819 [BZ #13058]
5820 * manual/examples/argp-ex1.c (main): Format definition in GNU
5821 style.
5822 * manual/examples/argp-ex2.c (main): Likewise.
5823 * manual/examples/argp-ex3.c (main): Likewise.
5824 * manual/examples/argp-ex4.c (main): Likewise.
5825 * manual/examples/longopt.c (main): Use new-style prototype
5826 definition.
5827 * manual/examples/strncat.c (main): Specify return type and use
5828 (void) for arguments.
5829 * manual/examples/subopt.c (main): Use char **argv argument.
5830
2ee633a2
JM
58312012-02-17 Joseph Myers <joseph@codesourcery.com>
5832
5833 [BZ #5077]
5834 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5835 rounding modes.
5836
0520adde
FB
58372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5838
5839 [BZ #6907]
5840 * manual/string.texi (strchr): Change when strchrnul is
5841 recommended.
5842
3f4081cd
DGM
58432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5844
5845 [BZ #174]
5846 * manual/locale.texi (setlocale): Document LOCPATH.
5847
d1b10e78
JM
58482012-02-17 Joseph Myers <joseph@codesourcery.com>
5849
5850 [BZ #10210]
5851 * manual/process.texi (execle): Move @dots{} before last argument.
5852
79c6869c
PB
58532012-02-17 Paul Bolle <pebolle@tiscali.nl>
5854
5855 [BZ #12047]
5856 * manual/charset.texi (Generic Charset Conversion): Fix typo
5857 (LC_TYPE -> LC_CTYPE).
5858
cc6e48bc
NB
58592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5860
5861 [BZ #5805]
5862 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5863 (scalbnf): Likewise.
5864 (scalbnl): Likewise.
5865 (scalbln): Likewise.
5866 (scalblnf): Likewise.
5867 (scalblnl): Likewise.
5868 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5869 (vwarnx): Likewise.
5870 (verr): Likewise.
5871 (verrx): Likewise.
5872 * manual/filesys.texi (telldir): Use braces around return type.
5873 * manual/llio.texi (mmap): Add space after comma.
5874 (mmap64): Likewise.
5875 * manual/math.texi (jn): Use @var{} on parameter names.
5876 (jnf): Likewise.
5877 (jnl): Likewise.
5878 (yn): Likewise.
5879 (ynf): Likewise.
5880 (ynl): Likewise.
5881 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5882 line.
5883 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5884 "...".
5885 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5886 (sched_get_priority_max): Likewise.
5887 * manual/signal.texi (sigvec): Add space after comma.
5888 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5889 names.
5890 (if_indextoname): Likewise.
5891 (if_freenameindex): Likewise.
5892 (sendto): Use ',' instead of '.' in prototype.
5893 * manual/startup.texi (syscall): Use @dots{} instead of literal
5894 "...".
5895 * manual/stdio.texi (__fpending): Separate initial words of
5896 paragraph from @deftypefun line.
5897 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5898 "...".
5899 (vsyslog): Use @var{} on parameter names.
5900 * manual/terminal.texi (stty): Use @var{} on parameter names.
5901 * manual/users.texi (getutmp): Use @var{} on parameter names.
5902 (getutmpx): Likewise.
5903
5b23062f
JM
59042012-02-17 Joseph Myers <joseph@codesourcery.com>
5905
5906 [BZ #6884]
5907 * manual/stdio.texi (fopen): Fix typos in description of
5908 ",ccs=STRING".
5909
8dee4833
AJ
59102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5911
5912 [BZ #4026]
5913 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5914 get clock_id definition.
5915
9078ce93
TS
59162012-02-17 Thomas Schwinge <thomas@schwinge.name>
5917
5918 [BZ #4822]
5919 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5920 (madvise): Cast every argument to void on its own.
5921
3835c55f
JM
59222012-02-17 Joseph Myers <joseph@codesourcery.com>
5923
5924 [BZ #9902]
5925 * manual/startup.texi (Exit Status): Fix typo.
5926
35c47e37
JM
59272012-02-17 Joseph Myers <joseph@codesourcery.com>
5928
5929 [BZ #10140]
5930 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5931 * manual/examples/argp-ex2.c: Likewise.
5932 * manual/examples/argp-ex3.c: Likewise.
5933
e3b69ca7
RH
59342012-02-16 Richard Henderson <rth@redhat.com>
5935
5936 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5937 * sysdeps/s390/s390-32/initfini.c: Remove.
5938 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5939 * sysdeps/s390/s390-64/initfini.c: Remove.
5940
df83af67
KK
59412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5942
5943 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5944 compiler output for sysdeps/generic/initfini.c.
5945 * sysdeps/sh/elf/initfini.c: Remove file.
5946
f63f3380
DM
59472012-02-16 David S. Miller <davem@davemloft.net>
5948
fb59b3a4
DM
5949 [BZ #11494]
5950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5951
f63f3380
DM
5952 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5953 * sysdeps/sparc/crti.S: New file.
5954 * sysdeps/sparc/crtn.S: New file.
5955 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5956 * sysdeps/sparc/sparc64/Makefile: Likewise.
5957
df6a4a4a
MF
59582012-02-15 Mike Frysinger <vapier@gentoo.org>
5959
6dd8f3dc 5960 [BZ #3335]
df6a4a4a
MF
5961 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5962
1cac7236
RM
59632012-02-15 Roland McGrath <roland@hack.frob.com>
5964
d2c736f8
RM
5965 [BZ #4822]
5966 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5967
1cac7236
RM
5968 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5969 (write, read, close): Likewise.
5970 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5971
8e475601
JM
59722012-02-15 Joseph Myers <joseph@codesourcery.com>
5973
5974 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5975 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5977 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5978 <bits/signalfd.h>.
5979 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5981 bits/signalfd.h.
5982
ed656b40
MP
59832012-02-14 Marek Polacek <polacek@redhat.com>
5984
5985 * sysdeps/x86_64/crti.S: New file.
5986 * sysdeps/x86_64/crtn.S: New file.
5987 * sysdeps/x86_64/elf/initfini.c: Remove file.
5988
2a979d3a
JM
59892012-02-13 Joseph Myers <joseph@codesourcery.com>
5990
5991 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5992 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5993 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5994 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5995 <bits/inotify.h>.
5996 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5998 bits/inotify.h.
5999
2a418ac3
JM
60002012-02-13 Joseph Myers <joseph@codesourcery.com>
6001
6002 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6003 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6004 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6005 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6006 <bits/eventfd.h>.
6007 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6009 bits/eventfd.h.
6010
fb779be7
TS
60112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6012
e19e83c5
RM
6013 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6014 __feraiseexcept instead of feraiseexcept.
7c35ffed 6015
fb779be7
TS
6016 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6017 nanosleep invocations.
6018 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6019 strings, and add error checking for a nanosleep invocations.
6020
59ba27a6
PE
60212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6022
6023 Replace FSF snail mail address with URLs, as per GNU coding standards.
6024 Most of the snail mail addresses were wrong anyway, and omitting
6025 them makes the source code easier to maintain. Almost all of the
6026 changes are to license notices and to locale LC_IDENTIFICATION
6027 addresses, except for this one:
6028 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6029 not its snail mail address.
6030
57b957eb
RH
60312012-02-09 Richard Henderson <rth@twiddle.net>
6032
af850b1c
RH
6033 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6034 of kernel-features.h.
6035
57b957eb
RH
6036 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6037
6b73181a
MP
60382012-02-08 Marek Polacek <polacek@redhat.com>
6039
6040 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6041 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6042 * sysdeps/gnu/_G_config.h: Likewise.
6043 * sysdeps/generic/_G_config.h: Likewise.
6044
26ecc33a
AS
60452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6046
6c6dbc63
AS
6047 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6048 tests.
6049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6050
e216c012
AS
6051 * sysdeps/powerpc/powerpc32/crti.S: New file.
6052 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6053 * sysdeps/powerpc/powerpc64/crti.S: New file.
6054 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6055
26ecc33a
AS
6056 * Makeconfig (have-initfini): Don't set.
6057 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6058 * configure.in (nopic_initfini): Don't substitute.
6059 * config.h.in (HAVE_INITFINI): Don't #undef.
6060 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6061 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6062
3add8e13
JM
60632012-02-08 Joseph Myers <joseph@codesourcery.com>
6064
6065 Support crti.S and crtn.S provided directly by architectures.
6066 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6067 [crti.S in sysdirs] (omit-deps): Likewise.
6068 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6069 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6070 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6071 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6072 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6073 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6074 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6075 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6076 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6077 compiler output for sysdeps/generic/initfini.c.
6078 * sysdeps/i386/elf/Makefile: Remove file.
6079 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6080
a22f12b4
MP
60812012-02-07 Marek Polacek <polacek@redhat.com>
6082
6083 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6084 * sysdeps/gnu/_G_config.h: Likewise.
6085 * sysdeps/mach/hurd/_G_config.h: Likewise.
6086
148cf100
MP
60872012-02-07 Marek Polacek <polacek@redhat.com>
6088
6089 * math/Makefile (tests): Add tst-CMPLX2.
6090 * math/tst-CMPLX2.c: New file.
6091
cfdc0dd7
AS
60922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6093
84ba42c4
AS
6094 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6095
cfdc0dd7
AS
6096 * math/libm-test.inc (jn_test): Add missing L suffix.
6097
622c86f4
MP
60982012-02-06 Marek Polacek <polacek@redhat.com>
6099
6100 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6101 * sysdeps/i386/fpu/e_powf.S: Likewise.
6102 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6103 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6104 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6105 * sysdeps/i386/fpu/e_pow.S: Likewise.
6106 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6107 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6108 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6109 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6110 * sysdeps/i386/fpu/e_log2.S: Likewise.
6111 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6112 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6113 * sysdeps/i386/fpu/e_powl.S: Likewise.
6114 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6115 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6116 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6117 * sysdeps/i386/fpu/e_logl.S: Likewise.
6118 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6119 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6120 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6121 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6122 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6123 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6124 * sysdeps/i386/fpu/e_log.S: Likewise.
6125 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6127 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6128 * sysdeps/i386/fpu/e_logf.S: Likewise.
6129 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6130 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6131 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6132 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6133 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6134 * sysdeps/i386/fpu/e_log10.S: Likewise.
6135 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6136 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6137 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6138 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6139 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6140 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6141 * sysdeps/i386/asm-syntax.h: Likewise.
6142 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6143 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6144 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6145 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6146 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6148 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6149 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6150 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6151 * sysdeps/powerpc/sysdep.h: Likewise.
6152 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6153 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6154
d4a54ac6
JM
61552012-02-06 Joseph Myers <joseph@codesourcery.com>
6156
6157 [BZ #411]
6158 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6159
314054ea
JM
61602012-02-06 Joseph Myers <joseph@codesourcery.com>
6161
6162 * sysdeps/i386/sysdep.h: Include <features.h>.
6163 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6164 version.
6165
d8e0ca50
JM
61662012-02-05 Joseph Myers <joseph@codesourcery.com>
6167
6168 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6169 Define.
6170 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6171 LOAD_PIC_REG_STR.
6172
b1da7dd9
JM
61732012-02-03 Joseph Myers <joseph@codesourcery.com>
6174
6175 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6176 (SETUP_PIC_REG): Use GET_PC_THUNK.
6177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6178 macro.
6179
9a1d9254
JM
61802012-02-03 Joseph Myers <joseph@codesourcery.com>
6181
6182 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6183 for non-PIC compilation.
6184 (SETUP_PIC_REG): Add .p2align directive.
6185 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6186 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6187 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6188 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6189 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6190 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6191 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6193 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6194 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6195 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6196 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6197 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6198 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6199 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6200 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6201 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6202 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6203 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6204 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6205 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6207 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6208 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6209 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6211 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6212 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6213 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6214 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6215 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6216 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6217 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6218 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6219 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6220 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6221 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6222 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6223 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6224 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6225 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6226
65dc3b75
JM
62272012-02-03 Joseph Myers <joseph@codesourcery.com>
6228
6229 * math/tst-CMPLX.c: Include <stdio.h>.
6230
d55bf177
JM
62312012-01-31 Joseph Myers <joseph@codesourcery.com>
6232
6233 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6234 float.
6235 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6236 * sysdeps/sparc/bits/mathdef.h: Likewise.
6237
69db4f8f
MP
62382012-01-31 Marek Polacek <polacek@redhat.com>
6239
6240 * libio/libio.h: Don't define _PARAMS.
6241 * locale/programs/config.h: Don't define PARAMS.
6242 * stdlib/strtol_l.c: Likewise.
6243 (__strtol_l): Remove PARAMS from the prototype.
6244
41b81892
UD
62452012-01-31 Ulrich Drepper <drepper@gmail.com>
6246
3b49edc0
UD
6247 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6248 names. Just use the correct names. Remove unnecessary wrapper
6249 functions.
6250 * malloc/arena.c: Likewise.
6251 * malloc/hooks.c: Likewise.
6252
41b81892
UD
6253 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6254 ARENA_TEST says not to. Simplify test for creation of a new arena.
6255 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6256
27a25b6e
UD
62572012-01-30 Ulrich Drepper <drepper@gmail.com>
6258
6259 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6260 into tail calls.
6261 (update_get_addr): New function.
6262 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6263 GET_ADDR_MODULE parameter.
6264
c8a89e7d
JM
62652012-01-30 Joseph Myers <joseph@codesourcery.com>
6266
6267 * crypt/cert.c: Remove __STDC__ conditionals.
6268 * crypt/crypt-entry.c: Likewise.
6269 * crypt/crypt_util.c: Likewise.
6270 * libio/filedoalloc.c: Likewise.
6271 * libio/fileops.c: Likewise.
6272 * libio/genops.c: Likewise.
6273 * libio/iofclose.c: Likewise.
6274 * libio/iofdopen.c: Likewise.
6275 * libio/iofopen.c: Likewise.
6276 * libio/iofopen64.c: Likewise.
6277 * libio/iogetdelim.c: Likewise.
6278 * libio/iopopen.c: Likewise.
6279 * libio/obprintf.c: Likewise.
6280 * libio/oldfileops.c: Likewise.
6281 * libio/oldiofclose.c: Likewise.
6282 * libio/oldiofdopen.c: Likewise.
6283 * libio/oldiofopen.c: Likewise.
6284 * libio/oldiopopen.c: Likewise.
6285 * libio/wfiledoalloc.c: Likewise.
6286 * libio/wgenops.c: Likewise.
6287 * locale/programs/xmalloc.c: Likewise.
6288 * misc/syslog.c: Likewise.
6289 * stdio-common/xbug.c: Likewise.
6290 * string/memchr.c: Likewise.
6291 * string/memcmp.c: Likewise.
6292 * string/memrchr.c: Likewise.
6293 * string/rawmemchr.c: Likewise.
6294 * sysdeps/posix/getcwd.c: Likewise.
6295 * time/strftime_l.c: Likewise.
6296
3b100462
JM
62972012-01-30 Joseph Myers <joseph@codesourcery.com>
6298
6299 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6300 * config.make.in (config-cflags-sse2avx): Define.
6301 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6302 Fix typo.
6303
607998af
CM
63042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6305
6306 * scripts/config.guess: Update from upstream config git repository.
6307 * scripts/config.sub: Likewise.
6308
3601428f
CM
63092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6310
3ac8b282
CM
6311 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6312 (EM_NUM): Update.
6313 (R_TILEPRO_*, R_TILEGX_*): New macros.
6314
e034841e
CM
6315 * scripts/firstversions.awk: Fix bug in version range handling.
6316
540d7568
CM
6317 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6318
3601428f
CM
6319 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6320
463de862
CM
6321 * include/sys/epoll.h: New file.
6322 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6323 libc_hidden_def.
6324
73139a76
UD
63252012-01-28 Ulrich Drepper <drepper@gmail.com>
6326
96bc5b45
UD
6327 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6328 Avoid unnecessary __WORDSIZE == 64 test.
6329 (fmaxf): Use VEX format if possible.
6330 (fmax): Likewise.
6331 (fminf): Likewise.
6332 (fmin): Likewise.
6333
56f6f6a2
UD
6334 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6335 * math/math_private.h: Remove libc_fegetround* and
6336 libc_fesetround*.
6337 * sysdeps/i386/configure.in: Check for -msse2avx.
6338 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6339 also if SSE2AVX is defined.
6340 Remove libc_fegetround* and libc_fesetround*.
6341 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6342 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6343 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6344 of HAS_YMM_USABLE.
6345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6346 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6348 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6349 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6350
73139a76
UD
6351 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6352
d73f93a4
AZ
63532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6354
6355 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6356 size is not set.
6357 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6358
6ee65ed6
UD
63592012-01-27 Ulrich Drepper <drepper@gmail.com>
6360
6361 [BZ #13618]
6362 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6363 relocation.
6364 * Makeconfig (libm): Define.
6365 * elf/Makefile: Add rules to build and run tst-relsort1.
6366 * elf/tst-relsort1.c: New file.
6367 * elf/tst-relsort1mod1.c: New file.
6368 * elf/tst-relsort1mod2.c: New file.
6369
8db21882
JM
63702012-01-27 Joseph Myers <joseph@codesourcery.com>
6371
6372 * math/s_ldexp.c: Remove __STDC__ conditionals.
6373 * math/s_ldexpf.c: Likewise.
6374 * math/s_ldexpl.c: Likewise.
6375 * math/s_nextafter.c: Likewise.
6376 * math/s_nexttowardf.c: Likewise.
6377 * math/s_significand.c: Likewise.
6378 * math/s_significandf.c: Likewise.
6379 * math/s_significandl.c: Likewise.
6380 * math/w_jnl.c: Likewise.
6381 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6382 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6383 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6384 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6385 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6387 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6400 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6401 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6403 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6405 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6406 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6407 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6408 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6411 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6413 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6414 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6415 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6416 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6417 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6418 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6419 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6420 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6421 * sysdeps/ieee754/k_standard.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6483 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6488 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6497 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6501 * sysdeps/ieee754/s_matherr.c: Likewise.
6502 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6503 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6506
965a54a4
JM
65072012-01-26 Joseph Myers <joseph@codesourcery.com>
6508
6509 * crypt/md5.h: Remove __STDC__ conditionals.
6510 * libio/libioP.h: Likewise.
6511 * locale/programs/config.h: Likewise.
6512 * sysdeps/generic/sysdep.h: Likewise.
6513 * sysdeps/i386/asm-syntax.h: Likewise.
6514 * sysdeps/s390/asm-syntax.h: Likewise.
6515 * sysdeps/unix/sysdep.h: Likewise.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6518
7071ad79
JM
65192012-01-26 Joseph Myers <joseph@codesourcery.com>
6520
6521 * libio/libio.h: Remove __STDC__ conditionals.
6522 * malloc/obstack.h: Likewise.
6523 * math/complex.h: Likewise.
6524 * math/math.h: Likewise.
6525 * sysdeps/generic/_G_config.h: Likewise.
6526 * sysdeps/gnu/_G_config.h: Likewise.
6527 * sysdeps/mach/hurd/_G_config.h: Likewise.
6528 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6529 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6530 * sysdeps/sparc/bits/mathdef.h: Likewise.
6531
afc5ed09
UD
65322012-01-26 Ulrich Drepper <drepper@gmail.com>
6533
6534 [BZ #13583]
6535 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6536 Clean up HAS_* macros.
afc5ed09 6537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6538 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6539 possible.
6540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6541 HAS_AVX.
6542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6547
bdb6de1d
JM
65482012-01-25 Joseph Myers <joseph@codesourcery.com>
6549
6550 * elf/tst-unique3.cc (gets): Remove declaration.
6551 * elf/tst-unique3lib.cc (gets): Likewise.
6552 * elf/tst-unique3lib2.cc (gets): Likewise.
6553 * elf/tst-unique4.cc (gets): Likewise.
6554
b15549e6
UD
65552012-01-24 Ulrich Drepper <drepper@gmail.com>
6556
6557 * include/stdio.h: Add C++ protection. Add gets declarations and
6558 definitions.
6559 * debug/tst-chk1.c: Don't declare gets here.
6560 * stdio-common/tst-gets.c: Likewise.
6561
a037381f
JM
65622012-01-24 Joseph Myers <joseph@codesourcery.com>
6563
6564 * posix/glob: Remove directory.
6565
f1d4aa75
JM
65662012-01-24 Joseph Myers <joseph@codesourcery.com>
6567
6568 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6569
81c0c964
PT
65702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6571
6572 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6573 of the non-standard EPFNOSUPPORT.
6574
0ea698ae
ST
65752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6576
6577 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6578 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6579 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6580
d220b117
UD
65812012-01-21 Ulrich Drepper <drepper@gmail.com>
6582
6583 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6584
3e1aa84e
UD
65852012-01-20 Ulrich Drepper <drepper@gmail.com>
6586
6587 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6588 transient errors.
6589 * nscd/grpcache.c (cache_addgr): Likewise.
6590 * nscd/hstcache.c (cache_addhst): Likewise.
6591 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6592 * nscd/pwdcache.c (cache_addpw): Likewise.
6593 * nscd/servicescache.c (cache_addserv): Likewise.
6594
400aa020
UD
65952012-01-16 Ulrich Drepper <drepper@gmail.com>
6596
d77e7869
UD
6597 * malloc/malloc.c: Various cleanups.
6598 * malloc/hooks.c: Likewise.
6599
400aa020
UD
6600 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6601 * stdlib/bug-fmtmsg1.c: New file.
6602
6603 * stdlib/fmtmsg.c (init): Add missing unlock.
6604 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6605
e0a309cf
MP
66062012-01-12 Marek Polacek <polacek@redhat.com>
6607
6608 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6609 and _GNU_SOURCE.
6610
929d11c7
WS
66112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6612
6613 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6614 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6615 macro to ensure uniqueness of label name.
6616 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6617 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6618
41d0e869
UD
66192012-01-11 Ulrich Drepper <drepper@gmail.com>
6620
0cc5ed3b
UD
6621 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6622
41d0e869
UD
6623 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6624 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6627
a47a831a
UD
66282012-01-10 Ulrich Drepper <drepper@gmail.com>
6629
daa891c0
UD
6630 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6631
6632 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6633 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6634 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6635
e58ef0f2
UD
6636 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6637
a47a831a 6638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6639 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6642
6643 * math/bits/math-finite.h: Add ldexp support.
6644
a0bfc9c7
MP
66452012-01-10 Marek Polacek <polacek@redhat.com>
6646
6647 * locale/programs/localedef.h (show_archive_content): Add noreturn
6648 attribute.
6649
d6e97a1d
UD
66502012-01-09 Ulrich Drepper <drepper@gmail.com>
6651
6652 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6653
d5835c26
UD
66542012-01-08 Ulrich Drepper <drepper@gmail.com>
6655
e5f484c6
UD
6656 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6657
d5835c26
UD
6658 * io/Makefile (headers): Add bits/poll2.h.
6659
d1f741e9
WS
66602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6661
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6663 typo #include statement.
6664
ec09c1c4
UD
66652012-01-08 Ulrich Drepper <drepper@gmail.com>
6666
6667 * include/sys/cdefs.h: Define __attribute_alloc_size.
6668 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6669 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6670 * elf/pldd.c: Likewise.
6671 * iconv/iconv_charmap.c: Likewise.
6672 * iconv/iconvconfig.c: Likewise.
6673 * iconv/strtab.c: Likewise.
6674 * locale/programs/locale.c: Likewise.
6675 * locale/programs/localedef.h: Likewise.
6676 * locale/programs/simple-hash.c: Likewise.
6677 * nscd/nscd.h: Likewise.
6678 * nss/makedb.c: Likewise.
6679 * sysdeps/generic/ldconfig.h: Likewise.
6680 * locale/programs/localedef.c: Remove xmalloc prototype.
6681 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6682
20b38e03
PP
66832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6684
6685 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6686 appropriate.
6687
a0da5fe1
UD
66882012-01-08 Ulrich Drepper <drepper@gmail.com>
6689
1d5a644a 6690 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6691 * math/tst-CMPLX.c: New file.
1d5a644a 6692
8784a6db
UD
6693 * math/complex.h (CMPLXL): Fix typo.
6694
d9a216c0
UD
6695 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6696 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6697 GLIBC_2.16.
6698 * debug/tst-chk1.c: Add poll and ppoll tests.
6699 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6700 * include/sys/poll.h: Add hidden proto for ppoll.
6701 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6702 * sysdeps/mach/hurd/ppoll.c: Likewise.
6703 * io/ppoll.c: Likewise.
6704 * debug/poll_chk.c: New file.
6705 * debug/ppoll_chk.c: New file.
6706 * include/bits/poll2.h: New file.
6707 * io/bits/poll2.h: New file.
6708
ac097f5c
UD
6709 [BZ #1350]
6710 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6711
2119dcfa
UD
6712 * configure.in: static is always set to yes. Remove.
6713 * config.make.in: Don't set build-static.
6714 * Makeconfig: Remove use of build-static.
6715 * dlfcn/Makefile: Likewise.
6716 * elf/Makefile: Likewise.
6717 * math/Makefile: Likewise.
6718 * misc/Makefile: Likewise.
6719 * nptl/Makefile: Likewise.
6720 * sysdeps/mach/hurd/Makefile: Likewise.
6721
121766a9
UD
6722 * configure.in: PWD_P is not used anymore.
6723 * config.make.in: Remove PWD_P entry.
6724
51a1d39c 6725 * configure.in: Remove last remnants of RANLIB.
8720d066 6726 No need to check for signed size_t anymore.
215f4bdc
UD
6727 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6728 and IA-64.
3857022a 6729 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6730 * aclocal.m4: Likewise.
6731
d3ed7225
UD
6732 * wcsmbs/mbrtoc16.c: Implement using towc function.
6733 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6734 * wcsmbs/wcsmbsload.c: Likewise.
6735 * iconv/gconv_simple.c: Likewise.
6736 * iconv/gconv_int.h: Likewise.
6737 * iconv/gconv_builtin.h: Likewise.
6738 * iconv/iconv_prog.c: Remove CHAR16 handling.
6739
6740 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6741
6742 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6743
a0da5fe1
UD
6744 * configure.in: Remove --with-elf and --enable-bounded options.
6745 Dont set base_machine for ia64. More non-ELF conditions removed.
6746 Remove testing and setting of leading underscore information.
6747 * config.make.in (build-bounded): Set to no.
6748 * config.h.in: Remove NO_UNDERSCORES entry.
6749 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6750 them.
6751 * csu/start.c: Remove !NO_UNDERSCORE code.
6752 * locale/localeinfo.h: Likewise.
6753 * sysdeps/generic/machine-gmon.h: Likewise.
6754 * sysdeps/generic/sysdep.h: Likewise.
6755 * sysdeps/i386/sysdep.h: Likewise.
6756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6757 * sysdeps/mach/sysdep.h: Likewise.
6758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6760 * sysdeps/sh/sysdep.h: Likewise.
6761 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6762 * sysdeps/unix/i386/sysdep.S: Likewise.
6763 * sysdeps/unix/sparc/start.c: Likewise.
6764 * sysdeps/unix/sparc/sysdep.S: Likewise.
6765 * sysdeps/unix/sparc/sysdep.h: Likewise.
6766 * sysdeps/unix/start.c: Likewise.
6767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6768 * sysdeps/x86_64/sysdep.h: Likewise.
6769
df78418a
UD
67702012-01-07 Ulrich Drepper <drepper@gmail.com>
6771
a784e502
UD
6772 [BZ #13553]
6773 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6774 for non-gcc.
6775 * argp/argp-fmtstream.h: Use const instead __const.
6776 * argp/argp.h: Likewise.
6777 * assert/assert.h: Likewise.
6778 * bits/fenv.h: Likewise.
6779 * bits/sched.h: Likewise.
6780 * bits/sigset.h: Likewise.
6781 * bits/sigthread.h: Likewise.
6782 * catgets/nl_types.h: Likewise.
6783 * conform/data/pthread.h-data: Likewise.
6784 * crypt/crypt-private.h: Likewise.
6785 * crypt/crypt.h: Likewise.
6786 * crypt/crypt_util.c: Likewise.
6787 * ctype/ctype.h: Likewise.
6788 * debug/execinfo.h: Likewise.
6789 * debug/mbsnrtowcs_chk.c: Likewise.
6790 * debug/mbsrtowcs_chk.c: Likewise.
6791 * debug/wcsnrtombs_chk.c: Likewise.
6792 * debug/wcsrtombs_chk.c: Likewise.
6793 * debug/wcstombs_chk.c: Likewise.
6794 * dirent/dirent.h: Likewise.
6795 * dlfcn/dlfcn.h: Likewise.
6796 * elf/neededtest4.c: Likewise.
6797 * grp/grp.h: Likewise.
6798 * gshadow/gshadow.h: Likewise.
6799 * iconv/gconv.h: Likewise.
6800 * iconv/gconv_int.h: Likewise.
6801 * iconv/gconv_simple.c: Likewise.
6802 * iconv/iconv.h: Likewise.
6803 * iconv/loop.c: Likewise.
6804 * iconv/skeleton.c: Likewise.
6805 * include/aio.h: Likewise.
6806 * include/aliases.h: Likewise.
6807 * include/argz.h: Likewise.
6808 * include/arpa/inet.h: Likewise.
6809 * include/assert.h: Likewise.
6810 * include/dirent.h: Likewise.
6811 * include/dlfcn.h: Likewise.
6812 * include/execinfo.h: Likewise.
6813 * include/fcntl.h: Likewise.
6814 * include/fenv.h: Likewise.
6815 * include/glob.h: Likewise.
6816 * include/grp.h: Likewise.
6817 * include/libintl.h: Likewise.
6818 * include/mntent.h: Likewise.
6819 * include/netdb.h: Likewise.
6820 * include/pwd.h: Likewise.
6821 * include/rpc/netdb.h: Likewise.
6822 * include/sched.h: Likewise.
6823 * include/search.h: Likewise.
6824 * include/shadow.h: Likewise.
6825 * include/signal.h: Likewise.
6826 * include/stdio.h: Likewise.
6827 * include/stdlib.h: Likewise.
6828 * include/string.h: Likewise.
6829 * include/sys/socket.h: Likewise.
6830 * include/sys/stat.h: Likewise.
6831 * include/sys/statfs.h: Likewise.
6832 * include/sys/statvfs.h: Likewise.
6833 * include/sys/syslog.h: Likewise.
6834 * include/sys/time.h: Likewise.
6835 * include/sys/uio.h: Likewise.
6836 * include/time.h: Likewise.
6837 * include/unistd.h: Likewise.
6838 * include/utmp.h: Likewise.
6839 * include/wchar.h: Likewise.
6840 * include/wctype.h: Likewise.
6841 * inet/aliases.h: Likewise.
6842 * inet/arpa/inet.h: Likewise.
6843 * inet/netinet/ether.h: Likewise.
6844 * inet/netinet/in.h: Likewise.
6845 * intl/libintl.h: Likewise.
6846 * io/bits/fcntl2.h: Likewise.
6847 * io/fcntl.h: Likewise.
6848 * io/ftw.h: Likewise.
6849 * io/sys/poll.h: Likewise.
6850 * io/sys/stat.h: Likewise.
6851 * io/sys/statfs.h: Likewise.
6852 * io/sys/statvfs.h: Likewise.
6853 * io/utime.h: Likewise.
6854 * libio/bits/stdio.h: Likewise.
6855 * libio/bits/stdio2.h: Likewise.
6856 * libio/libio.h: Likewise.
6857 * libio/libioP.h: Likewise.
6858 * libio/stdio.h: Likewise.
6859 * locale/lc-ctype.c: Likewise.
6860 * locale/locale.h: Likewise.
6861 * login/utmp.h: Likewise.
6862 * malloc/arena.c: Likewise.
6863 * malloc/malloc.c: Likewise.
6864 * malloc/malloc.h: Likewise.
6865 * malloc/mcheck.c: Likewise.
6866 * malloc/mtrace.c: Likewise.
6867 * math/bits/mathcalls.h: Likewise.
6868 * math/fenv.h: Likewise.
6869 * math/math_private.h: Likewise.
6870 * misc/bits/error.h: Likewise.
6871 * misc/bits/syslog.h: Likewise.
6872 * misc/err.h: Likewise.
6873 * misc/error.h: Likewise.
6874 * misc/fstab.h: Likewise.
6875 * misc/mntent.h: Likewise.
6876 * misc/regexp.h: Likewise.
6877 * misc/search.h: Likewise.
6878 * misc/sgtty.h: Likewise.
6879 * misc/sys/mman.h: Likewise.
6880 * misc/sys/syslog.h: Likewise.
6881 * misc/sys/uio.h: Likewise.
6882 * misc/sys/xattr.h: Likewise.
6883 * misc/ttyent.h: Likewise.
6884 * nis/rpcsvc/ypclnt.h: Likewise.
6885 * nss/nss.h: Likewise.
6886 * posix/bits/unistd.h: Likewise.
6887 * posix/fnmatch.h: Likewise.
6888 * posix/glob.h: Likewise.
6889 * posix/sched.h: Likewise.
6890 * posix/spawn.h: Likewise.
6891 * posix/sys/wait.h: Likewise.
6892 * posix/unistd.h: Likewise.
6893 * posix/wordexp.h: Likewise.
6894 * pwd/pwd.h: Likewise.
6895 * resolv/netdb.h: Likewise.
6896 * resource/sys/resource.h: Likewise.
6897 * rt/aio.h: Likewise.
6898 * rt/bits/mqueue2.h: Likewise.
6899 * rt/mqueue.h: Likewise.
6900 * shadow/shadow.h: Likewise.
6901 * signal/signal.h: Likewise.
6902 * socket/send.c: Likewise.
6903 * socket/sendto.c: Likewise.
6904 * socket/sys/socket.h: Likewise.
6905 * stdio-common/printf.h: Likewise.
6906 * stdlib/bits/stdlib.h: Likewise.
6907 * stdlib/fmtmsg.h: Likewise.
6908 * stdlib/monetary.h: Likewise.
6909 * stdlib/stdlib.h: Likewise.
6910 * stdlib/ucontext.h: Likewise.
6911 * streams/stropts.h: Likewise.
6912 * string/argz.h: Likewise.
6913 * string/bits/string2.h: Likewise.
6914 * string/string.h: Likewise.
6915 * string/strings.h: Likewise.
6916 * sunrpc/rpc/auth.h: Likewise.
6917 * sunrpc/rpc/auth_des.h: Likewise.
6918 * sunrpc/rpc/clnt.h: Likewise.
6919 * sunrpc/rpc/netdb.h: Likewise.
6920 * sunrpc/rpc/pmap_clnt.h: Likewise.
6921 * sunrpc/rpc/xdr.h: Likewise.
6922 * sysdeps/generic/inttypes.h: Likewise.
6923 * sysdeps/generic/net/if.h: Likewise.
6924 * sysdeps/generic/sys/swap.h: Likewise.
6925 * sysdeps/gnu/net/if.h: Likewise.
6926 * sysdeps/gnu/utmpx.h: Likewise.
6927 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6928 * sysdeps/i386/i486/bits/string.h: Likewise.
6929 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6930 * sysdeps/s390/bits/string.h: Likewise.
6931 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6932 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6933 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6934 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6935 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6936 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6937 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6938 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6939 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6940 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6941 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6942 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6943 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6944 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6945 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6946 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6947 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6950 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6953 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6954 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6955 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6956 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6957 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6959 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6961 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6962 * sysvipc/sys/ipc.h: Likewise.
6963 * sysvipc/sys/msg.h: Likewise.
6964 * sysvipc/sys/sem.h: Likewise.
6965 * sysvipc/sys/shm.h: Likewise.
6966 * termios/termios.h: Likewise.
6967 * time/sys/time.h: Likewise.
6968 * time/time.h: Likewise.
6969 * wcsmbs/bits/wchar2.h: Likewise.
6970 * wcsmbs/uchar.h: Likewise.
6971 * wcsmbs/wchar.h: Likewise.
6972 * wctype/wctype.h: Likewise.
6973
0269750c
UD
6974 [BZ #13551]
6975 * Makeconfig: Remove all but ELF support including AIX support.
6976 * Makerules: Likewise.
6977 * config.h.in: Likewise.
6978 * config.make.in: Likewise.
6979 * configure: Likewise.
6980 * configure.in: Likewise.
6981 * csu/Makefile: Likewise.
6982 * csu/version.c: Likewise.
6983 * debug/Makefile: Likewise.
6984 * dlfcn/Makefile: Likewise.
6985 * elf/Makefile: Likewise.
6986 * extra-lib.mk: Likewise.
6987 * iconv/Makefile: Likewise.
6988 * include/libc-symbols.h: Likewise.
6989 * include/shlib-compat.h: Likewise.
6990 * resolv/Makefile: Likewise.
6991 * resolv/res_libc.c: Likewise.
6992 * rt/Makefile: Likewise.
6993 * sysdeps/i386/asm-syntax.h: Likewise.
6994 * sysdeps/i386/sysdep.h: Likewise.
6995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6996 * sysdeps/mach/sysdep.h: Likewise.
6997 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6998 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6999 * sysdeps/s390/asm-syntax.h: Likewise.
7000 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7002 * sysdeps/sh/sysdep.h: Likewise.
7003 * sysdeps/unix/sparc/sysdep.h: Likewise.
7004 * sysdeps/wordsize-32/divdi3.c: Likewise.
7005 * sysdeps/x86_64/sysdep.h: Likewise.
7006
00bbd29b
UD
7007 * argp/Versions: Remove _argp_unlock_xxx.
7008
7009 [BZ #13559]
7010 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7011 * abilist/libBrokenLocale.abilist: Likewise.
7012 * abilist/libanl.abilist: Likewise.
7013 * abilist/libc.abilist: Likewise.
7014 * abilist/libcrypt.abilist: Likewise.
7015 * abilist/libdl.abilist: Likewise.
7016 * abilist/libm.abilist: Likewise.
7017 * abilist/libnsl.abilist: Likewise.
7018 * abilist/libpthread.abilist: Likewise.
7019 * abilist/libresolv.abilist: Likewise.
7020 * abilist/librt.abilist: Likewise.
7021 * abilist/libthread_db.abilist: Likewise.
7022 * abilist/libutil.abilist: Likewise.
7023 * abilist/libnss_db.abilist: New file.
7024
7025 * scripts/abilist.awk: Add support for indirect functions.
7026
a2693a0e
UD
7027 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7028
3f05895f
UD
7029 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7030
ecb6fb48
UD
7031 * shlib-versions: Remove entries for ports architectures.
7032
664f8cb9
UD
7033 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7034 files in ports.
7035 * elf/stackguard-macros.h: Remove support for IA-64.
7036 * elf/tst-auditmod1.c: Likewise.
7037 * sysdeps/generic/ldsodefs.h: Likewise.
7038
7ae81d88
UD
7039 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7040 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7041 configure files.
7042
bdeba135
UD
7043 [BZ #13552]
7044 * configure.in: Remove --enable-omitfp support.
7045 * FAQ.in: Adjust.
7046 * config.make.in: Likewise.
7047 * Makeconfig: Likewise.
7048 * manual/install.texi: Likewise.
7049
d75a0a62
UD
7050 In case anyone cares, the IA-64 architecture could move to ports.
7051 * sysdeps/ia64/*: Removed.
7052 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7053 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7054
dcc9756b
UD
7055 [BZ #13555]
7056 * configure.in: Remove entries for unsupported architectures.
7057
d3761ebc 7058 [BZ #13533]
9954432e
UD
7059 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7060 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7061 routines.
7062 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7063 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7064 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7065 fall back to using wcrtomb.
7066 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7067 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7068 renaming.
7069 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7070 * wcsmbs/tst-c16c32-1.c: New file.
7071
7072 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7073 local variable.
7074
c3a87236
UD
7075 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7076
28926a1b
UD
7077 * elf/tst-unique3.cc: Add explicit declaration of gets.
7078 * elf/tst-unique3lib.cc: Likewise.
7079 * elf/tst-unique3lib2.cc: Likewise.
7080 * elf/tst-unique4.cc: Likewise.
7081
df78418a
UD
7082 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7083
8ecd6b2a
JM
70842012-01-06 Joseph Myers <joseph@codesourcery.com>
7085
7086 [BZ #13566]
7087 * assert/assert.h (static_assert): Don't define for C++.
7088 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7089 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7090
9f115170
UD
70912012-01-03 Ulrich Drepper <drepper@gmail.com>
7092
5e0d0300
UD
7093 * iconv/loop.c (single loop): Fix assertion in storing of
7094 remaining bytes.
7095
9f115170
UD
7096 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7097
81fb02b0
UD
70982012-01-01 Ulrich Drepper <drepper@gmail.com>
7099
7100 * posix/getconf.c: Update copyright year.
7101 * nss/getent.c: Likewise.
a316c1f6 7102 * nss/makedb.c: Likewise.
81fb02b0
UD
7103 * iconv/iconvconfig.c: Likewise.
7104 * iconv/iconv_prog.c: Likewise.
7105 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7106 * elf/pldd.c: Likewise.
7107 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7108 * catgets/gencat.c: Likewise.
7109 * csu/version.c: Likewise.
7110 * elf/ldd.bash.in: Likewise.
7111 * elf/sprof.c (print_version): Likewise.
7112 * locale/programs/locale.c: Likewise.
7113 * locale/programs/localedef.c: Likewise.
a316c1f6 7114 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7115 * nscd/nscd.c (print_version): Likewise.
7116 * debug/xtrace.sh: Likewise.
7117 * malloc/memusage.sh: Likewise.
7118 * malloc/mtrace.pl: Likewise.
7119 * debug/catchsegv.sh: Likewise.
7120
2ba92745
JJ
71212011-12-30 Jakub Jelinek <jakub@redhat.com>
7122
7123 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7124 pure attribute.
7125
dadebdae
UD
71262011-12-24 Ulrich Drepper <drepper@gmail.com>
7127
d3761ebc 7128 [BZ #13533]
db6af3eb
UD
7129 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7130 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7131 transformations.
7132 * iconv/gconv_int.h: Likewise.
7133 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7134 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7135 from libc for GLIBC_2.16.
7136 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7137 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7138 * wcsmbs/uchar.h: Really define mbstate_t.
7139 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7140 * wcsmbs/c16rtomb.c: New file.
7141 * wcsmbs/mbrtoc16.c: New file.
7142 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7143 for C/POSIX locale.
7144 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7145 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7146
dadebdae
UD
7147 * wcsmbs/wchar.h: Add missing __restrict.
7148
67371b56
UD
71492011-12-23 Ulrich Drepper <drepper@gmail.com>
7150
74033a25
UD
7151 [BZ #13532]
7152 * time/Makefile (routines): Add timespec_get.
7153 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7154 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7155 timespec for ISO C11.
7156 * time/timespec_get.c: New file.
7157 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7158 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7159
380d7e87
UD
7160 [BZ #13531]
7161 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7162 * stdlib/stdlib.h: Declare aligned_alloc.
7163 * Versions.def: Add GLIBC_2.16 for libc.
7164 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7165
4e9e7a35
UD
7166 [BZ 13527]
7167 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7168 ISO C11.
7169
380d7e87 7170 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7171 code.
7172
03a71829
UD
7173 [BZ #13528]
7174 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7175
839e283e
UD
7176 [BZ #13529]
7177 * assert/assert.h (static_assert): Define.
7178
ce5294e2 7179 * version.h: Update for 2.16 development version.
90fa7312 7180
8d44e150 7181 [BZ #13526]
d7809905
UD
7182 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7183 _ISOC11_SOURCE.
7184
c0da14cd
UD
7185 * version.h (RELEASE): Bump for 2.15 release.
7186 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7187
530a3249
MP
7188 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7189 Patch by Marek Polacek <mpolacek@redhat.com>.
7190
67371b56
UD
7191 * bits/byteswap.h: Protect long long constants with __extension__.
7192 * sysdeps/i386/bits/byteswap.h: Likewise.
7193 * sysdeps/ia64/bits/byteswap.h: Likewise.
7194 * sysdeps/s390/bits/byteswap.h: Likewise.
7195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7196
15db4de1
LD
71972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7198
7199 [BZ #13540]
bbe315ea
LD
7200 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7201 destination buffer.
15db4de1
LD
7202 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7203
2b2596b1
MP
72042011-12-23 Marek Polacek <polacek@redhat.com>
7205
7206 * elf/dl-addr.c (determine_info): Add inline keyword.
7207 * elf/tst-auditmod4b.c (check_avx): Likewise.
7208 * elf/tst-auditmod6b.c (check_avx): Likewise.
7209 * elf/tst-auditmod6c.c (check_avx): Likewise.
7210 * elf/tst-auditmod7b.c (check_avx): Likewise.
7211
70c6c246
UD
72122011-12-23 Ulrich Drepper <drepper@gmail.com>
7213
7214 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7215 !__SSE_MATH__.
7216
c044cf14
LD
72172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7218
15db4de1 7219 [BZ #13540]
c044cf14
LD
7220 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7221 processing for last bytes.
7222
6b13d9d9
BH
72232011-08-06 Bruno Haible <bruno@clisp.org>
7224
d455f537
BH
7225 [BZ #13061]
7226 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7227 U+0385, not to U+1FEE.
7228
6b13d9d9
BH
7229 [BZ #13062]
7230 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7231 entry for U+00A5 U+0301.
7232
db910efd
UD
72332011-12-22 Ulrich Drepper <drepper@gmail.com>
7234
27deeafc
UD
7235 [BZ #13166]
7236 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7237 buffer for the output is too small.
7238
aed9d171
UD
7239 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7240 optimization.
7241
db910efd
UD
7242 [BZ #13185]
7243 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7244 SSE flags if possible.
7245
2bd779ae
LD
72462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7247
e7f9dac3 7248 [BZ #13540]
2bd779ae
LD
7249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7250 processing for last bytes.
7251
154bfc16
JM
72522011-12-22 Joseph Myers <joseph@codesourcery.com>
7253
7254 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7255 (syscall-list-default-options, syscall-list-default-condition)
7256 (syscall-list-includes): Define.
7257 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7258 list of ABIs and options and #if conditions for each ABI. Do not
7259 handle common syscalls between ABIs specially.
7260 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7261 Remove.
7262 (syscall-list-variants, syscall-list-32bit-options)
7263 (syscall-list-32bit-condition, syscall-list-64bit-options)
7264 (syscall-list-64bit-condition): Define.
7265 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7266 (syscall-list-variants, syscall-list-32bit-options)
7267 (syscall-list-32bit-condition, syscall-list-64bit-options)
7268 (syscall-list-64bit-condition): Define.
7269 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7270 Remove.
7271 (syscall-list-variants, syscall-list-32bit-options)
7272 (syscall-list-32bit-condition, syscall-list-64bit-options)
7273 (syscall-list-64bit-condition): Define.
7274 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7275 Remove.
7276 (syscall-list-variants, syscall-list-32bit-options)
7277 (syscall-list-32bit-condition, syscall-list-64bit-options)
7278 (syscall-list-64bit-condition): Define.
7279
21eaf3a5
UD
72802011-12-22 Ulrich Drepper <drepper@gmail.com>
7281
16c6f992
UD
7282 * locale/iso-639.def: Add brx entry.
7283
41043168
UD
7284 [BZ #13328]
7285 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7286 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7287
21eaf3a5
UD
7288 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7289 __feraiseexcept_renamed.
7290
e3a851a2
UD
72912011-12-21 Ulrich Drepper <drepper@gmail.com>
7292
4920765e
UD
7293 [BZ #13538]
7294 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7295 EPOLLET with unsigned values.
7296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7298
e3a851a2
UD
7299 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7300 to large cancellation.
7301 * math/s_cacoshf.c: Likewise.
7302 * math/s_cacoshl.c: Likewise.
7303
b27e24b8
RK
73042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7305
7306 [BZ #13305]
aebefeee 7307 [BZ #12786]
b27e24b8
RK
7308 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7309 * math/s_cacoshf.c: Likewise.
7310 * math/s_cacoshl.c: Likewise.
7311
ee190f67
UD
73122011-12-21 Ulrich Drepper <drepper@gmail.com>
7313
7314 [BZ #13439]
7315 * iconv/gconv.h: Define __GCONV_SWAP.
7316 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7317 * iconvdata/utf-16.c: Likewise.
7318 * iconvdata/utf-32.c: Likewise.
7319
707f25df
AS
73202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7321
7322 [BZ #13524]
7323 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7324 numerator after shifting it by one limb.
7325
d2daaa1e
RÁE
73262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7327
7328 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7329 under [__USE_EXTERN_INLINES].
7330
a4647e72
UD
73312011-12-17 Ulrich Drepper <drepper@gmail.com>
7332
7333 [BZ #13446]
7334 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7335
f0b264f1
AZ
73362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7337
7338 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7339 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7340 optimized code.
7341 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7342 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7343 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7344 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7345 for strncasecmp/strncasecmp_l compilation.
7346 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7347 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7348
8ef4f244
MP
73492011-12-08 Marek Polacek <mpolacek@redhat.com>
7350
7351 [BZ #13484]
7352 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7353 of __asm__.
7354
97ac2654
UD
73552011-12-17 Ulrich Drepper <drepper@gmail.com>
7356
7357 [BZ #13506]
7358 * time/tzfile.c (__tzfile_read): Check values from file header.
7359
91d2a845
WS
73602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7361
7362 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7363 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7364 * powerpc/powerpc32/dl-start.S: Likewise.
7365 * powerpc/powerpc32/elf/start.S: Likewise.
7366 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7367 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7368 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7369 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7370 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7371 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7372 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7373 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7374 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7375 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7376 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7377 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7378 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7379 * powerpc/powerpc32/memset.S: Likewise.
7380 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7381 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7382 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7383 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7384 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7385 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7386 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7387 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7388 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7389 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7390 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7391 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7392 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7393
a1267ba1
AZ
73942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7395
7396 * math/libm-test.inc: Added more nearbyint tests.
7397 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7401
ad8ac1bd
RL
74022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7403
7404 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7405 FD_CLOEXEC.
7406
1d3e4b61
UD
74072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7408
7409 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7410 Add wcscpy-ssse3 wcscpy-c.
7411 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7412 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7413 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7414 * sysdeps/x86_64/wcschr.S: New file.
7415 * sysdeps/x86_64/wcsrchr.S: New file.
7416 * string/test-strcmp.c: Remove checking of wcscmp function for
7417 wrong alignments.
7418 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7419 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7420 wcsrchr-sse2 wcsrchr-c.
7421 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7422 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7423 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7424 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7425 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7426 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7427 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7428 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7429 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7430 * wcsmbc/wcschr.c (WCSCHR): New macro.
7431
5b330a2d
UD
74322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7433
7434 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7435 * wcsmbs/test-wcsrchr.c: New file.
7436 * string/test-strrchr.c: Add wcsrchr support.
7437 (WIDE): New macro.
7438 * wcsmbs/test-wcscpy.c: New file.
7439 * string/test-strcpy.c: Add wcscpy support.
7440 (WIDE): New macro.
26428b7c 7441
f039c043
UD
74422011-12-10 Ulrich Drepper <drepper@gmail.com>
7443
7444 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7445 the inner loop.
7446
850fb039
AS
74472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7448
7449 [BZ #13472]
7450 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7451
4efbd5cb
UD
74522011-12-04 Ulrich Drepper <drepper@gmail.com>
7453
52ff5dd0 7454 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7455 Minor optimizations.
52ff5dd0 7456
4efbd5cb
UD
7457 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7458 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7459 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7460
8a426e12
UD
74612011-12-03 Ulrich Drepper <drepper@gmail.com>
7462
aff2453d
UD
7463 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7464 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7465 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7466 for gcc to avoid warnings.
7467 * inet/Makefile (tests): Add tst-checks.
7468 * inet/tst-checks.c: New file.
7469
7470 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7471 warning.
7472
7473 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7474 __wmemcmp_sse2.
7475
7476 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7477 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7478
8a426e12
UD
7479 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7480
9bea3473
UD
74812011-12-02 Ulrich Drepper <drepper@gmail.com>
7482
3a965496
UD
7483 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7484 problem.
7485
9bea3473
UD
7486 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7487
f101631b
UD
74882011-11-29 Joseph Myers <joseph@codesourcery.com>
7489
7490 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7491 conditional on GCC version.
7492 (__arch_compare_and_exchange_val_8_acq)
7493 (__arch_compare_and_exchange_val_16_acq)
7494 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7495 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7496 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7497
a98275aa
UD
74982011-12-02 Joseph Myers <joseph@codesourcery.com>
7499
7500 * sysdeps/sh/backtrace.c: New file.
7501
d4cc29a2
AS
75022011-12-02 Andreas Schwab <schwab@redhat.com>
7503
7504 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7505 parenthesis.
7506
6257af2d
AS
75072011-12-01 Andreas Schwab <schwab@redhat.com>
7508
7509 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7510 falling back to utime.
7511
b5f44c1a
AS
75122011-11-30 Andreas Schwab <schwab@redhat.com>
7513
7514 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7515 expectations for float.
7516
f3a6cc0a
AS
75172011-11-29 Andreas Schwab <schwab@redhat.com>
7518
7519 * locale/weight.h (findidx): Add parameter len.
7520 * locale/weightwc.h (findidx): Likewise.
7521 * posix/fnmatch_loop.c (FCT): Adjust caller.
7522 * posix/regcomp.c (build_equiv_class): Likewise.
7523 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7524 * posix/regexec.c (check_node_accept_bytes): Likewise.
7525 * string/strcoll_l.c (STRCOLL): Likewise.
7526 * string/strxfrm_l.c (STRXFRM): Likewise.
7527
9d65ea3a
UD
75282011-11-17 Ulrich Drepper <drepper@gmail.com>
7529
7530 * Makefile.in: Remove CVSOPT handling.
7531 * configure.in: Remove use of AC_REVISION.
7532 * iconvdata/Makefile (distribute): No need to filter out CVS.
7533 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7534 handling.
7535
5583a086
AS
75362011-11-16 Andreas Schwab <schwab@redhat.com>
7537
7538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7539 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7540 [USE_AS_STRNCASECMP_L]: Likewise.
7541 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7542 NO_TLS_DIRECT_SEG_REFS.
7543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7544 Fix argument offsets for non-PIC.
7545 [USE_AS_STRNCASECMP_L]: Likewise.
7546 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7547 NO_TLS_DIRECT_SEG_REFS.
7548
d62a8200
UD
75492011-11-15 Ulrich Drepper <drepper@gmail.com>
7550
9d65ea3a 7551 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7552 O_CLOEXEC.
7553 * locale/loadlocale.c (_nl_load_locale): Likewise.
7554
09f93bd3
AS
75552011-11-15 Andreas Schwab <schwab@redhat.com>
7556
446514f9
AS
7557 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7558 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7560 (SYSCALL_GETTIME): Set errno on error.
7561
09f93bd3
AS
7562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7563 count references to noai6ai_cached.
7564
312be3f9
UD
75652011-11-15 Ulrich Drepper <drepper@gmail.com>
7566
7567 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7568
7569 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7570 FD_CLOEXEC for /proc/self/maps.
7571
7572 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7573 FD_CLOEXEC for /proc/meminfo.
7574
7575 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7576 gai.conf.
7577
7578 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7579 FD_CLOEXEC for given file.
7580
7581 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7582
7583 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7584 FD_CLOEXEC for /etc/hosts.
7585 (_gethtent): Likewise.
7586
7587 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7588
7589 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7590 cancellation and set FD_CLOEXEC for /etc/netgroup.
7591
7592 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7593 reading /etc/publickey.
7594
7595 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7596 allow cancellation when reading /etc/group.
7597
7598 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7599 cancellation.
7600 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7601
7602 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7603 when using data file.
7604
7605 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7606
7607 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7608 (write_nis_obj): Use "c" and "e" in fopen.
7609
7610 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7611
7612 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7613
7614 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7615
7616 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7617
7618 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7619 locale.alias.
7620
7621 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7622
7623 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7624
7625 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7626
7627 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7628 file parsing and set FD_CLOEXEC.
7629
82af0fa8
UD
76302011-11-14 Ulrich Drepper <drepper@gmail.com>
7631
7632 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7633
a5fb313c
AS
76342011-11-14 Andreas Schwab <schwab@redhat.com>
7635
7636 * malloc/arena.c (arena_get2): Don't call reused_arena when
7637 _int_new_arena failed.
7638
6abf3465
UD
76392011-11-14 Ulrich Drepper <drepper@gmail.com>
7640
7641 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7642 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7643 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7646 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7647 to compile strcasecmp and strncasecmp.
7648 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7649 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7650
7651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7652
76e3966e
UD
76532011-11-13 Ulrich Drepper <drepper@gmail.com>
7654
7655 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7656 locale-defines.sym to gen-as-const-headers.
7657 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7658 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7660 to compile strcasecmp and strncasecmp.
7661 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7662 strcasecmp_l and strncasecmp_l.
7663 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7664 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7665 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7666 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7667 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7668 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7669 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7670 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7671 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7672 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7673 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7674
ab26144e
UD
76752011-11-12 Ulrich Drepper <drepper@gmail.com>
7676
7edb22ef
UD
7677 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7678 result of SYSDEP_GETTIME_CPU to retval.
7679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7680 parameter list to macro. Remove trailing semicolon. Adjust users.
7681
9694fc44
UD
7682 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7683 variable.
7684
8ad89ef8
UD
7685 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7686 mantissa words.
7687 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7688
0c822ef9
UD
7689 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7690 from unused variable.
7691
874e0564
UD
7692 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7693 DWARF definitions.
7694 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7695 for assembling.
7696
3a2edc79
UD
7697 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7698 over namespaces.
7699
f3c2577f
UD
7700 * sunrpc/rpc_prot.c (rejected): Fix case value.
7701
294ce126
UD
7702 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7703 unsigned long long int to avoid warnings in shift.
7704
5e2b63c6
UD
7705 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7706 of use of trans.
7707 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7708 variable tmp.
7709
e7f4b08e
UD
7710 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7711 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7712 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7713
ab26144e
UD
7714 * nis/nis_table.c (nis_list): Use variable of correct type for
7715 result of __follow_path call.
7716
8a6d5255
AZ
77172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7718
7719 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7720 of math functions ceil, trunc, floor, round, and sqrt, when
7721 avaliable on the platform.
7722 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7723 name clash.
7724 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7725 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7726 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7727
aaddc98c
MP
77282011-10-30 Marek Polacek <mpolacek@redhat.com>
7729
7730 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7732
95b7042b
RM
77332011-11-11 Roland McGrath <roland@hack.frob.com>
7734
7735 * include/unistd.h: Fix __readlink return type.
7736 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7737
57769839
UD
77382011-11-11 Ulrich Drepper <drepper@gmail.com>
7739
7740 * stdlib/ucontext.h: Undo last change for makecontext.
7741
edc5984d
AS
77422011-11-11 Andreas Schwab <schwab@redhat.com>
7743
98591e58
AS
7744 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7745
edc5984d
AS
7746 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7747 * setjmp/setjmp.h: Mark functions as non-leaf.
7748 * setjmp/bits/setjmp2.h: Likewise.
7749 * stdlib/ucontext.h: Likewise.
7750
77cdc054
AS
77512011-11-10 Andreas Schwab <schwab@redhat.com>
7752
7753 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7754 (reused_arena): Don't check arena limit.
7755 (arena_get2): Atomically check arena limit.
7756
fe72eebd
UD
77572011-11-08 Ulrich Drepper <drepper@gmail.com>
7758
5f078c32
UD
7759 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7760 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7761
fe72eebd
UD
7762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7763 instructions.
7764
ae1bc2fa
AS
77652011-11-07 Andreas Schwab <schwab@redhat.com>
7766
7583a88d
AS
7767 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7768 handler when locking.
7769
ae1bc2fa
AS
7770 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7771 Fix size of allocated buffer.
7772
10fb0bfa
AS
77732011-11-04 Andreas Schwab <schwab@redhat.com>
7774
998832a4
AS
7775 [BZ #10103]
7776 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7777 declarations for long double functions.
7778 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7779
10fb0bfa
AS
7780 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7781
3d7ba52b
AS
77822011-11-03 Andreas Schwab <schwab@redhat.com>
7783
a9ae54a1
AS
7784 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7785 installed.
7786
3d7ba52b
AS
7787 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7788 is disabled.
7789
bc8db248
ST
77902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7791
7792 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7793
45b96dd6
AS
77942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7795
647776f6
AS
7796 * include/alloca.h (stackinfo_alloca_round): Define.
7797 (extend_alloca): Use it.
7798 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7799 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7800 here.
7801
d91a8b93
AS
7802 * scripts/check-local-headers.sh: Ignore libaudit.h.
7803
45b96dd6
AS
7804 * nscd/Makefile (extra-objs): Make recursively expanded.
7805
432d41ce
UD
78062011-11-01 Ulrich Drepper <drepper@gmail.com>
7807
34372fc6
UD
7808 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7810
fadb59f8
UD
7811 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7812 * posix/tst-rfc3484-2.c: Likewise.
7813 * posix/tst-rfc3484-3.c: Likewise.
7814
78239589
UD
7815 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7816 process_vm_writev.
7817 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7818 process_vm_writev.
7819 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7820 process_vm_writev from libc using GLIBC_2.15 version.
7821
432d41ce
UD
7822 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7823
02f9c6cf
PP
78242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7825
7826 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7827 stack usage.
7828
3a2c0242
UD
78292011-10-31 Ulrich Drepper <drepper@gmail.com>
7830
f4ec4833
UD
7831 [BZ #13367]
7832 * nss/getent.c (initgroups_keys): Show error message in case no group
7833 names are given.
7834
3a2c0242
UD
7835 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7836 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7837 __bump_nl_timestamp.
7838 * nscd/connections (nscd_init): When host database is served open
7839 netlink socket and request notification about configuration changes.
7840 (main_loop_poll): Track netlink file descriptor and bump timestamp
7841 in case data becomes available.
7842 (main_loop_epoll): Likewise.
7843 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7844 (database_pers_head): Add extra_data fileds.
7845 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7846 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7847 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7848 Adjust caller.
7849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7850 in6ai data, call __free_in6ai.
7851 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7852 Add -DHAVE_NETLINK.
7853 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7854 interface information. Reuse previous data if netlink timestamp
7855 is not changed.
7856 (__bump_nl_timestamp): New function.
7857 (__free_in6ai): New function.
7858
636064eb
UD
78592011-10-30 Ulrich Drepper <drepper@gmail.com>
7860
7861 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7862 close_not_cancel_no_status here.
7863 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7864
9beb2334
UD
78652011-10-29 Ulrich Drepper <drepper@gmail.com>
7866
6ef76f3b
UD
7867 [BZ #13276]
7868 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7869 return value.
7870
0ffc4f3e 7871 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7872 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7873 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7874
cb95113e
UD
78752011-07-03 Andreas Jaeger <aj@suse.de>
7876
7877 [BZ #10709]
7878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7879 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7880 * math/libm-test.inc (sin_test): Add test case.
7881
a1b560ff
UD
78822011-10-29 Ulrich Drepper <drepper@gmail.com>
7883
c9aaface
UD
7884 [BZ #13337]
7885 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7886 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7887
d272e7f1
UD
7888 * elf/chroot_canon.c (chroot_canon): Cleanups.
7889
1bc33071
UD
7890 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7891
1760874d
TJ
7892 [BZ #13335]
7893 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7894 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7895
51d91b18
UD
7896 * string/test-strchr.c: Make usable for strchrnul testing.
7897 * string/test-strchrnul.c: New file.
7898 * string/Makefile (strop-tests): Add strchrnul.
7899
a1b560ff 7900 * po/it.po: Update from translation team.
b611fb81 7901 * po/es.po: Likewise.
a1b560ff 7902
a5b81e1f
UD
79032011-10-28 Ulrich Drepper <drepper@gmail.com>
7904
fd52bc6d
UD
7905 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7906 the three constants needed as parameters. Drop the others.
7907 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7908 __m128i_strloadu_tolower.
52e4b9eb
UD
7909 Create and initialize variable zero and use it in all the places
7910 where _mm_setzero_si128 was used.
fd52bc6d 7911
a5b81e1f
UD
7912 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7913 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7914 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7915 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7916 anymore.
7917 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7918 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7919 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7920 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7921 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7922 __mpranred, __mptan.
7923 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7924 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7925 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7926 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7927 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7928 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7929 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7930 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7931 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7932
b4343346
AS
79332011-10-28 Andreas Schwab <schwab@redhat.com>
7934
0c92d8a8
AS
7935 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7936 redefine if SHARED.
7937 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7938
b4343346
AS
7939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7940 wide char related routines to wcsmbs subdir.
7941
3871f58f
AS
79422011-10-27 Andreas Schwab <schwab@redhat.com>
7943
7944 [BZ #13344]
7945 * misc/sys/cdefs.h (__THROWNL): Define.
7946 * posix/unistd.h: Use __THREADNL instead of __THREAD
7947 for memory synchronization functions.
7948
94d44d9f
RM
79492011-10-26 Roland McGrath <roland@hack.frob.com>
7950
21b64b15 7951 [BZ #13349]
94d44d9f
RM
7952 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7953 doesn't exist.
7954 * manual/stdio.texi (Obstack Streams): Node removed.
7955
f6ce9294
AS
79562011-10-26 Andreas Schwab <schwab@redhat.com>
7957
80479147
AS
7958 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7959 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7960 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7961
f6ce9294
AS
7962 * math/math_private.h (math_force_eval): Allow non-addressable
7963 arguments.
7964 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7965
618280a1
UD
79662011-10-25 Ulrich Drepper <drepper@gmail.com>
7967
e0016b11
UD
7968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7969 file is not needed.
7970
7971 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7973 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7974 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7975 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7976 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7977 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7978 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7979 Add AVX variants.
7980 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7981 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7982 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7983 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7984 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7985 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7986 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7987 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7988 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7989 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7990 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7991 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7994 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7995 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7996 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7997 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7998 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7999
8000 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8001 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8002
618280a1
UD
8003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8004 place. Use VEX encoding when compiling for AVX.
8005
37822576
AS
80062011-10-25 Andreas Schwab <schwab@redhat.com>
8007
1f1e1947
AS
8008 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8009 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8010
37822576
AS
8011 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8012
31ea014d
UD
80132011-10-25 Ulrich Drepper <drepper@gmail.com>
8014
d7826aa1 8015 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8016 useless if() expression.
d7826aa1
UD
8017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8026 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8027 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8028 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8029 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8030 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8031 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8032 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8033 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8036
31ea014d
UD
8037 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8038
16437fec
AS
80392011-10-25 Andreas Schwab <schwab@redhat.com>
8040
8041 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8042 condition.
8043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8044
31d3cc00
UD
80452011-10-25 Ulrich Drepper <drepper@gmail.com>
8046
8047 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8048 .text section. Avoid duplicate constants.
8049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8061 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8066 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8072 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8073 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8074 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8075 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8076 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8077 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8079 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8080 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8081 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8082 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8083 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8084 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8085 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8087 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8088 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8089 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8090 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8094
58985aa9
UD
80952011-10-24 Ulrich Drepper <drepper@gmail.com>
8096
202c9deb
UD
8097 * sysdeps/x86_64/dla.h: Move to ...
8098 * sysdeps/x86_64/fpu/dla.h: ...here.
8099 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8100 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8101
af968f62
UD
8102 * config.make.in: Add have-mfma4 entry.
8103 * configure.in: Substitute libc_cv_cc_fma4.
8104 * math/Makefile (dbl-only-routines): Add sincostab.
8105 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8106 Use __sincostab not sincos.
8107 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8108 name is a macro.
8109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8113 using __copysign.
8114 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8115 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8116 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8117 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8118 and __inv.
8119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8120 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8121 __copysign.
8122 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8123 define aliases when function name is a macro.
8124 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8125 sysdeps/ieee754/dbl-64/sincos.tbl.
8126 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8127 fma4-enabled routines.
8128 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8129 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8130 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8131 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8132 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8133 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8135 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8137 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8138 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8139 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8140 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8141 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8142 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8143 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8144 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8145 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8146 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8147 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8148 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8149 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8150 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8151 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8154 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8155 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8156 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8157 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8158
58985aa9
UD
8159 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8160 rename.
8161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8169
a201fbcf
AS
81702011-10-24 Andreas Schwab <schwab@redhat.com>
8171
8172 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8173
fc2ee42a
LD
81742011-10-23 Ulrich Drepper <drepper@gmail.com>
8175
bb3129bd
UD
8176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8177
0275fff8
UD
8178 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8179 prediction.
8180 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8181
2fa2ae85
UD
8182 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8183 Remove unused variable magic_bits.
8184 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8185
fc2ee42a
LD
8186 * string/strnlen.c: Define and use STRNLEN macro.
8187 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8188 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8190 * wcsmbs/wcslen.c: Define and use WCSLEN.
8191 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8192 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8193 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8194 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8195 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8196 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8197 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8198
ce7dd29f
LD
81992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8200
8201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8202 strnlen-sse2-no-bsf.
8203 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8204 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8205 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8206 Add strnlen support.
8207 (USE_AS_STRNLEN): New macro.
8208 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8209 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8210 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8211 * sysdeps/x86_64/wcslen.S: New file.
8212
979c70a3
MZ
82132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8214
8215 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8216 XMM-moves are used for copying on small sizes.
8217
2d09f82f
LD
82182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8219
8220 * wcsmbs/Makefile (strop-tests): Add wcschr.
8221 * wcsmbs/test-wcschr.c: New file.
8222 * string/test-strchr.c: Update.
8223 Add wcschr support.
8224 (WIDE): New macro.
8225
619fccca
LD
82262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8227
2d09f82f 8228 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8229 * wcsmbs/test-wcslen.c: New file.
8230 * string/test-strlen.c: Update.
8231 Add wcslen support.
8232 (WIDE): New macro.
8233
09f699ea
UD
82342011-10-23 Ulrich Drepper <drepper@gmail.com>
8235
8236 * po/it.po: Update from translation team.
8237
95584d3b
LD
82382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8239
8240 * sysdeps/x86_64/wcscmp.S: Update.
8241 Fix wrong comparison semantics.
8242 wcscmp shall use signed comparison not unsigned.
8243 Don't use substraction to avoid overflow bug.
8244 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8245 * wcsmbc/wcscmp.c: Likewise.
8246 * string/test-strcmp.c: Likewise.
8247 Add new tests to check cases with negative values.
8248
c8b3296b
UD
82492011-10-23 Ulrich Drepper <drepper@gmail.com>
8250
8251 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8252 * sysdeps/x86_64/dla.h: ...here. New file.
8253 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8262
246ad57a
AS
82632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8264
8265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8266 __ynl_finite aliases.
8267
a1a87169
UD
82682011-10-22 Ulrich Drepper <drepper@gmail.com>
8269
0d355eb7
UD
8270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8271
a1a87169
UD
8272 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8273 define DLA_FMA.
8274 [DLA_FMA] (EMULV): Use DLA_FMA.
8275 [DLA_FMA] (MUL12): Use EMULV.
8276 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8277 that are not needed.
8278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8285
ee2aafe0
AS
82862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8287
8288 * math/s_nan.c: Undef __nan.
8289 * math/s_nanf.c: Undef __nanf.
8290 * math/s_nanl.c: Undef __nanl.
8291 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8292 "math_private.h".
8293
bc62c2fb
UD
82942011-10-22 Ulrich Drepper <drepper@gmail.com>
8295
77425c63
UD
8296 * math/s_catan.c: Add branch predictions.
8297 * math/s_catanf.c: Likewise.
8298 * math/s_catanh.c: Likewise.
8299 * math/s_catanhf.c: Likewise.
8300 * math/s_catanhl.c: Likewise.
8301 * math/s_catanl.c: Likewise.
8302 * math/s_cexp.c: Likewise.
8303 * math/s_cexpf.c: Likewise.
8304 * math/s_cexpl.c: Likewise.
8305 * math/s_clog.c: Likewise.
8306 * math/s_clog10.c: Likewise.
8307 * math/s_clog10f.c: Likewise.
8308 * math/s_clog10l.c: Likewise.
8309 * math/s_clogf.c: Likewise.
8310 * math/s_clogl.c: Likewise.
8311 * math/s_csqrt.c: Likewise.
8312 * math/s_csqrtf.c: Likewise.
8313 * math/s_csqrtl.c: Likewise.
8314 * math/s_ctanf.c: Likewise.
8315 * math/s_ctanh.c: Likewise.
8316 * math/s_ctanhf.c: Likewise.
8317 * math/s_ctanhl.c: Likewise.
8318 * math/s_ctanl.c: Likewise.
8319
bc62c2fb
UD
8320 * math/math_private.h: Define __nan, __nanf, __nanl.
8321 * math/s_cacosh.c: Include <math_private.h>.
8322 * math/s_cacoshl.c: Likewise.
8323 * math/s_casinh.c: Likewise.
8324 * math/s_casinhf.c: Likewise.
8325 * math/s_casinhl.c: Likewise.
8326 * math/s_ccos.c: Rely entire on ccosh.
8327 * math/s_ccosf.c: Rely entire on ccoshf.
8328 * math/s_ccosl.c: Rely entirely on ccoshl.
8329 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8330 Remove tests for FE_INVALID.
8331 * math/s_ccoshf.c: Likewise.
8332 * math/s_ccoshl.c: Likewise.
8333 * math/s_csin.c: Likewise.
8334 * math/s_csinf.c: Likewise.
8335 * math/s_csinh.c Likewise.
8336 * math/s_csinhf.c: Likewise.
8337 * math/s_csinhl.c: Likewise.
8338 * math/s_csinl.c: Likewise.
8339 * math/s_ctan.c: Likewise.
8340 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8341 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8342 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8343
8ec250a4
UD
83442011-10-21 Ulrich Drepper <drepper@gmail.com>
8345
c196fed8
UD
8346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8347 compilation problems.
8348
8ec250a4
UD
8349 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8350 __builtin_expect.
8351
8d4f46c6
UD
83522011-10-20 Ulrich Drepper <drepper@gmail.com>
8353
ed72b654
UD
8354 * sysdeps/i386/configure.in: Test for -mfma4 option.
8355 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8356 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8357 COMMON_CPUID_INDEX_80000001.
8358 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8359 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8360 use it if FMA3 is not supported.
8361 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8362
8d4f46c6
UD
8363 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8364 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8365
d45c60c2
AS
83662011-10-20 Andreas Schwab <schwab@redhat.com>
8367
8368 [BZ #12892]
8369 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8370 it would create a cycle with a link time dependency.
8371
d9a4d2ab
UD
83722011-10-19 Ulrich Drepper <drepper@gmail.com>
8373
855d1560
UD
8374 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8375 instruction.
8376 * string/Makefile (strop-tests): Add rawmemchr.
8377 * string/test-rawmemchr.c: New file.
8378
d9a4d2ab
UD
8379 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8381 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8382 when compiling str{,n}casecmp and when AVX is available. Hook up
8383 new optimized code in initializers.
8384
8f3b1ffe
AS
83852011-10-19 Andreas Schwab <schwab@redhat.com>
8386
8387 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8388 __feraiseexcept instead of feraiseexcept.
8389
d38f1dba
UD
83902011-10-18 Ulrich Drepper <drepper@gmail.com>
8391
d9a8d0ab
UD
8392 * math/math_private.h: Define defaults for libc_fetestexcept and
8393 libc_feupdateenv.
8394 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8395 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8396 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8397 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8398 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8399 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8400 libc_fetestexcept and libc_feupdateenv.
8401
4855e3dd
UD
8402 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8403 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8404 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8405 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8406 libc_feholdexcept_setround.
8407
581d30e3
UD
8408 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8409 Add s_nearbyint-c and s_nearbyintf-c.
8410 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8411 nearbyintf inlines.
8412 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8414 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8416
d38f1dba
UD
8417 * math/math_private.h: Define defaults for libc_fegetround,
8418 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8419 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8420 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8421 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8422 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8423 standard functions.
8424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8425 Remove comments and hacks for old compiler versions.
8426 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8427 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8428 libc_feholdexceptl.
8429
caa6c9d8
AS
84302011-10-18 Andreas Schwab <schwab@redhat.com>
8431
8432 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8433 (__feraiseexcept_renamed): Add __NTH.
8434 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8435 namespace violations.
8436
97c066e6
UD
84372011-10-17 Ulrich Drepper <drepper@gmail.com>
8438
99ce7b04
UD
8439 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8440
1004d182
UD
8441 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8442
228a984d
UD
8443 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8444 recently added interfaces.
8445 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8446
c8553a6a
UD
8447 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8448 about macro parameter expansion.
8449
ed22dcf6
UD
8450 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8451 __NO_MATH_INLINES is defined. Cleanups.
8452
8453 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8454 and __floorf is target has SSE4.1.
8455 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8456 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8457 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8458 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8459
b171c137
UD
8460 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8461 name.
8462 (floorf): Likewise.
8463
97c066e6
UD
8464 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8465
629f62ef
AS
84662011-10-17 Andreas Schwab <schwab@redhat.com>
8467
49a43d80
AS
8468 * misc/sys/cdefs.h: Fix last change.
8469
629f62ef
AS
8470 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8471 database lookup.
8472
e453f6cd
UD
84732011-10-16 Ulrich Drepper <drepper@gmail.com>
8474
aa78043a
UD
8475 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8476
ad0f5cad
UD
8477 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8485 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8486 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8487 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8488 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8489 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8490 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8491 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8492 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8493 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8494 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8495 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8496 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8497 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8498 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8499
8500 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8501 ceil, ceilf, floor, floorf.
8502
8503 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8504 Perform IRELATIVE relocations last.
8505
e453f6cd
UD
8506 * elf/do-rel.h: Add another parameter nrelative, replacing the
8507 local variable with the same name. Change name of the function
8508 to end in Rel or Rela (uppercase).
8509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8510 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8511 elf_dynamic_do_##reloc function.
8512
fd5bdc09
UD
85132011-10-15 Ulrich Drepper <drepper@gmail.com>
8514
79b195b5
UD
8515 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8516 is sufficient, at least on modern CPUs.
8517
d4a28569
UD
8518 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8519
b61099b5
UD
8520 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8522
bcf01e6d
UD
8523 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8524 __expl_finite.
8525 * math/bits/math-finite.h: Add entries for exp.
8526 * math/e_expl.c: Add __*_finite alias.
8527 * sysdeps/i386/fpu/e_exp.S: Likewise.
8528 * sysdeps/i386/fpu/e_expf.S: Likewise.
8529 * sysdeps/i386/fpu/e_expl.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8531 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8535 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8536 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8537
ba1a0d59
UD
8538 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8539 is sufficient, at least on modern CPUs.
8540
fd5bdc09
UD
8541 * ctype/ctype-info.c (__ctype_init): Define.
8542 * include/ctype.h (__ctype_init): Declare.
8543 (__ctype_b_loc): The variable is always initialized.
8544 (__ctype_toupper_loc): Likewise.
8545 (__ctype_tolower_loc): Likewise.
8546 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8547 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8548
7872cfb0
AS
85492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8550
b468825a
AS
8551 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8552
7872cfb0
AS
8553 * configure.in: Also look in $cxxmachine/include for C++ system
8554 headers.
8555
be13f7bf
LD
85562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8557
8558 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8559 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8560 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8561 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8563 (USE_AS_WMEMCMP): New macro.
8564 Fixing indents.
8565 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8566 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8567 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8568 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8570 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8571 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8572 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8573 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8574 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8575 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8576 (USE_AS_WMEMCMP): New macro.
8577 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8578 * sysdeps/string/test-memcmp.c: Update.
8579 Fix simple_wmemcmp.
8580 Add new tests.
8581 * wcsmbs/wmemcmp.c: Update.
8582 (WMEMCMP): New macro.
8583 Fix overflow bug.
8584
556a2007
AJ
85852011-10-12 Andreas Jaeger <aj@suse.de>
8586
8587 [BZ #13268]
8588 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8589
538faaa7
UD
85902011-10-15 Ulrich Drepper <drepper@gmail.com>
8591
ab6737ff
UD
8592 * libio/iofwide.c (do_length): Avoid warning.
8593
538faaa7
UD
8594 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8595
396a21b1
UD
85962011-10-14 Ulrich Drepper <drepper@gmail.com>
8597
cdf2901f
UD
8598 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8599
38ad40ce
UD
8600 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8601 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8602 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8603 * sysdeps/i386/i686/fpu/e_log.S: New file.
8604 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8605 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8606
396a21b1
UD
8607 * ctype/ctype.h: Add support for inlined isXXX functions when
8608 compiling C++ code.
8609
6b1f68c9
AS
86102011-10-14 Andreas Schwab <schwab@redhat.com>
8611
349290c0
AS
8612 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8613
6b1f68c9
AS
8614 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8615
f2282d42
RM
86162011-10-13 Roland McGrath <roland@hack.frob.com>
8617
8618 [BZ #13291]
8619 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8620
5298ffa8
AS
86212011-10-13 Andreas Schwab <schwab@redhat.com>
8622
714fad23
AS
8623 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8624 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8625 feraiseexcept.
8626
81dcc7fb
AS
8627 * sysdeps/x86_64/memrchr.S: Check for zero size.
8628
5298ffa8
AS
8629 * string/stratcliff.c: Add memrchr tests.
8630
951fbcec
LD
86312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8632
8633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8634 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8635 rawmemchr-sse2 rawmemchr-sse2-bsf.
8636 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8637 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8638 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8639 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8640 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8641 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8642 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8643 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8644 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8646 * string/memrchr.c (MEMRCHR): New macro.
8647
0ac5ae23
UD
86482011-10-12 Ulrich Drepper <drepper@gmail.com>
8649
8650 Add integration with gcc's -ffinite-math-only and optimize wrapper
8651 functions in libm.
8652 * Versions.def: Define GLIBC_2.15 version for libm.
8653 * math/Makefile (headers): Add bits/math-finite.h.
8654 * math/bits/math-finite.h: New file.
8655 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8656 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8657 * math/e_acoshl.c: Add __*_finite alias.
8658 * math/e_acosl.c: Likewise.
8659 * math/e_asinl.c: Likewise.
8660 * math/e_atan2l.c: Likewise.
8661 * math/e_atanhl.c: Likewise.
8662 * math/e_coshl.c: Likewise.
8663 * math/e_exp10.c: Likewise.
8664 * math/e_exp10f.c: Likewise.
8665 * math/e_exp10l.c: Likewise.
8666 * math/e_exp2l.c: Likewise.
8667 * math/e_fmodl.c: Likewise.
8668 * math/e_gammal_r.c: Likewise.
8669 * math/e_hypotl.c: Likewise.
8670 * math/e_j0l.c: Likewise.
8671 * math/e_j1l.c: Likewise.
8672 * math/e_jnl.c: Likewise.
8673 * math/e_lgammal_r.c: Likewise.
8674 * math/e_log10l.c: Likewise.
8675 * math/e_log2l.c: Likewise.
8676 * math/e_logl.c: Likewise.
8677 * math/e_powl.c: Likewise.
8678 * math/e_sinhl.c: Likewise.
8679 * math/e_sqrtl.c: Likewise.
8680 * math/e_scalb.c: Completely rewritten and optimized.
8681 * math/e_scalbf.c: Likewise.
8682 * math/e_scalbl.c: Likewise.
8683 * math/w_acos.c: Likewise.
8684 * math/w_acosf.c: Likewise.
8685 * math/w_acosl.c: Likewise.
8686 * math/w_acosh.c: Likewise.
8687 * math/w_acoshf.c: Likewise.
8688 * math/w_acoshl.c: Likewise.
8689 * math/w_asin.c: Likewise.
8690 * math/w_asinf.c: Likewise.
8691 * math/w_asinl.c: Likewise.
8692 * math/w_atan2.c: Likewise.
8693 * math/w_atan2f.c: Likewise.
8694 * math/w_atan2l.c: Likewise.
8695 * math/w_atanh.c: Likewise.
8696 * math/w_atanhf.c: Likewise.
8697 * math/w_atanhl.c: Likewise.
8698 * math/w_exp10.c: Likewise.
8699 * math/w_exp10f.c: Likewise.
8700 * math/w_exp10l.c: Likewise.
8701 * math/w_fmod.c: Likewise.
8702 * math/w_fmodf.c: Likewise.
8703 * math/w_fmodl.c: Likewise.
8704 * math/w_j0.c: Likewise.
8705 * math/w_j0f.c: Likewise.
8706 * math/w_j0l.c: Likewise.
8707 * math/w_j1.c: Likewise.
8708 * math/w_j1f.c: Likewise.
8709 * math/w_j1l.c: Likewise.
8710 * math/w_jn.c: Likewise.
8711 * math/w_jnf.c: Likewise.
8712 * math/w_log.c: Likewise.
8713 * math/w_logf.c: Likewise.
8714 * math/w_logl.c: Likewise.
8715 * math/w_log10.c: Likewise.
8716 * math/w_log10f.c: Likewise.
8717 * math/w_log10l.c: Likewise.
8718 * math/w_log2.c: Likewise.
8719 * math/w_log2f.c: Likewise.
8720 * math/w_log2l.c: Likewise.
8721 * math/w_pow.c: Likewise.
8722 * math/w_powf.c: Likewise.
8723 * math/w_powl.c: Likewise.
8724 * math/w_remainder.c: Likewise.
8725 * math/w_remainderf.c: Likewise.
8726 * math/w_remainderl.c: Likewise.
8727 * math/w_scalb.c: Likewise.
8728 * math/w_scalbf.c: Likewise.
8729 * math/w_scalbl.c: Likewise.
8730 * math/w_sqrt.c: Likewise.
8731 * math/w_sqrtf.c: Likewise.
8732 * math/w_sqrtl.c: Likewise.
8733 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8734 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8735 used.
8736 * math/math_private.h: Declare __kernel_standard_f.
8737 * math/w_cosh.c: Remove cruft and optimize a bit.
8738 * math/w_coshf.c: Likewise.
8739 * math/w_coshl.c: Likewise.
8740 * math/w_exp2.c: Likewise.
8741 * math/w_exp2f.c: Likewise.
8742 * math/w_exp2l.c: Likewise.
8743 * math/w_hypot.c: Likewise.
8744 * math/w_hypotf.c: Likewise.
8745 * math/w_hypotl.c: Likewise.
8746 * math/w_lgamma.c: Likewise.
8747 * math/w_lgamma_r.c: Likewise.
8748 * math/w_lgammaf.c: Likewise.
8749 * math/w_lgammaf_r.c: Likewise.
8750 * math/w_lgammal.c: Likewise.
8751 * math/w_lgammal_r.c: Likewise.
8752 * math/w_sinh.c: Likewise.
8753 * math/w_sinhf.c: Likewise.
8754 * math/w_sinhl.c: Likewise.
8755 * math/w_tgamma.c: Likewise.
8756 * math/w_tgammaf.c: Likewise.
8757 * math/w_tgammal.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8759 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8760 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8761 Minor optimizations. Pretty printing. Remove cruft.
8762 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8765 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8766 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8767 * sysdeps/i386/fpu/e_asin.S: Likewise.
8768 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8769 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8770 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8771 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8772 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8773 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8775 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8776 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8777 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8778 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8779 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8780 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8781 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8782 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8783 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8784 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8785 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8786 * sysdeps/i386/fpu/e_log.S: Likewise.
8787 * sysdeps/i386/fpu/e_log10.S: Likewise.
8788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8789 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8790 * sysdeps/i386/fpu/e_log2.S: Likewise.
8791 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8792 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8793 * sysdeps/i386/fpu/e_logf.S: Likewise.
8794 * sysdeps/i386/fpu/e_logl.S: Likewise.
8795 * sysdeps/i386/fpu/e_pow.S: Likewise.
8796 * sysdeps/i386/fpu/e_powf.S: Likewise.
8797 * sysdeps/i386/fpu/e_powl.S: Likewise.
8798 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8799 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8800 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8801 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8804 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8805 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8806 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8828 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8831 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8832 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8833 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8834 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8835 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8836 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8838 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8839 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8840 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8841 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8842 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8843 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8844 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8845 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8846 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8847 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8848 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8849 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8890 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8898 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8899 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8900 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8901 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8902 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8903 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8904 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8905 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8906 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8907 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8908 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8909 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8910 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8911 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8912 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8913 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8915 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8916 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8917 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8918 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8919 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8920 (__isnanf): Likewise.
8921 (__isinf_ns): Likewise.
8922 (__isinf_nsf): Likewise.
8923 (__finite): Likewise.
8924 (__finitef): Likewise.
8925 (__ieee754_sqrt): Define as macro.
8926 (__ieee754_sqrtf): Define as macro.
8927 (__ieee754_sqrtl): Define as macro.
8928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8929 inlined copy.
8930 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8931 __FINITE_MATH_ONLY__ consistent.
8932 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8933
12cc2fcd
AS
89342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8935
a843a204
AS
8936 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8937 of rawmemchr.
8938
12cc2fcd
AS
8939 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8940
c853acd5
UD
89412011-10-09 Ulrich Drepper <drepper@gmail.com>
8942
8943 * po/ja.po: Update from translation team.
8944
c658d255
RM
89452011-10-08 Roland McGrath <roland@hack.frob.com>
8946
110946e4
RM
8947 * locale/programs/locarchive.c (prepare_address_space): New function.
8948 (create_archive, enlarge_archive, open_archive): Use it.
8949
50604220
RM
8950 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8951 inside [SHARED], where it is used.
8952
c658d255
RM
8953 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8954
8955 * nss/getent.c (netgroup_keys): Remove unused variable.
8956 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8957
6a621eb7
UD
89582011-10-08 Ulrich Drepper <drepper@gmail.com>
8959
7edb55ce
UD
8960 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8961 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8963 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8964 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8965 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8966 * math/Makefile (libm-calls): Add s_isinf_ns.
8967 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8968 * math/multc3.c: Likewise.
8969 * math/s_casin.c: Likewise.
8970 * math/s_casinf.c: Likewise.
8971 * math/s_casinl.c: Likewise.
8972 * math/s_ccos.c: Likewise.
8973 * math/s_ccosf.c: Likewise.
8974 * math/s_ccosl.c: Likewise.
8975 * math/s_ctan.c: Likewise.
8976 * math/s_ctanf.c: Likewise.
8977 * math/s_ctanh.c: Likewise.
8978 * math/s_ctanhf.c: Likewise.
8979 * math/s_ctanhl.c: Likewise.
8980 * math/s_ctanl.c: Likewise.
8981 * math/w_fmod.c: Likewise.
8982 * math/w_fmodf.c: Likewise.
8983 * math/w_fmodl.c: Likewise.
8984 * math/w_remainder.c: Likewise.
8985 * math/w_remainderf.c: Likewise.
8986 * math/w_remainderl.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8988 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8991 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8992 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8993 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8994 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8995
187da0ae
UD
8996 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8997 of the number.
8998 * stdio-common/printf_fphex.c: Likewise.
8999 * stdio-common/printf_size.c: Likewise.
9000
9277c064
UD
9001 * math/e_exp10.c: Include math_private.h using <...> not "...".
9002 * math/e_exp10f.c: Likewise.
9003 * math/e_exp10l.c: Likewise.
9004 * math/e_exp2l.c: Likewise.
9005 * math/e_j0l.c: Likewise.
9006 * math/e_j1l.c: Likewise.
9007 * math/e_jnl.c: Likewise.
9008 * math/e_lgammal_r.c: Likewise.
9009 * math/e_rem_pio2l.c: Likewise.
9010 * math/e_scalb.c: Likewise.
9011 * math/e_scalbf.c: Likewise.
9012 * math/e_scalbl.c: Likewise.
9013 * math/k_cosl.c: Likewise.
9014 * math/k_sinl.c: Likewise.
9015 * math/k_tanl.c: Likewise.
9016 * math/s_cacoshf.c: Likewise.
9017 * math/s_catan.c: Likewise.
9018 * math/s_catanf.c: Likewise.
9019 * math/s_catanh.c: Likewise.
9020 * math/s_catanhf.c: Likewise.
9021 * math/s_catanhl.c: Likewise.
9022 * math/s_catanl.c: Likewise.
9023 * math/s_ccosh.c: Likewise.
9024 * math/s_ccoshf.c: Likewise.
9025 * math/s_ccoshl.c: Likewise.
9026 * math/s_cexp.c: Likewise.
9027 * math/s_cexpf.c: Likewise.
9028 * math/s_cexpl.c: Likewise.
9029 * math/s_clog.c: Likewise.
9030 * math/s_clog10.c: Likewise.
9031 * math/s_clog10f.c: Likewise.
9032 * math/s_clog10l.c: Likewise.
9033 * math/s_clogf.c: Likewise.
9034 * math/s_clogl.c: Likewise.
9035 * math/s_csin.c: Likewise.
9036 * math/s_csinf.c: Likewise.
9037 * math/s_csinh.c: Likewise.
9038 * math/s_csinhf.c: Likewise.
9039 * math/s_csinhl.c: Likewise.
9040 * math/s_csinl.c: Likewise.
9041 * math/s_csqrt.c: Likewise.
9042 * math/s_csqrtf.c: Likewise.
9043 * math/s_csqrtl.c: Likewise.
9044 * math/s_ctan.c: Likewise.
9045 * math/s_ctanf.c: Likewise.
9046 * math/s_ctanh.c: Likewise.
9047 * math/s_ctanhf.c: Likewise.
9048 * math/s_ctanhl.c: Likewise.
9049 * math/s_ctanl.c: Likewise.
9050 * math/s_ldexp.c: Likewise.
9051 * math/s_ldexpf.c: Likewise.
9052 * math/s_ldexpl.c: Likewise.
9053 * math/s_significand.c: Likewise.
9054 * math/s_significandf.c: Likewise.
9055 * math/s_significandl.c: Likewise.
9056 * math/w_acos.c: Likewise.
9057 * math/w_acosf.c: Likewise.
9058 * math/w_acosh.c: Likewise.
9059 * math/w_acoshf.c: Likewise.
9060 * math/w_acoshl.c: Likewise.
9061 * math/w_acosl.c: Likewise.
9062 * math/w_asin.c: Likewise.
9063 * math/w_asinf.c: Likewise.
9064 * math/w_asinl.c: Likewise.
9065 * math/w_atan2.c: Likewise.
9066 * math/w_atan2f.c: Likewise.
9067 * math/w_atan2l.c: Likewise.
9068 * math/w_atanh.c: Likewise.
9069 * math/w_atanhf.c: Likewise.
9070 * math/w_atanhl.c: Likewise.
9071 * math/w_cosh.c: Likewise.
9072 * math/w_coshf.c: Likewise.
9073 * math/w_coshl.c: Likewise.
9074 * math/w_dremf.c: Likewise.
9075 * math/w_exp10.c: Likewise.
9076 * math/w_exp10f.c: Likewise.
9077 * math/w_exp10l.c: Likewise.
9078 * math/w_exp2.c: Likewise.
9079 * math/w_exp2f.c: Likewise.
9080 * math/w_fmod.c: Likewise.
9081 * math/w_fmodf.c: Likewise.
9082 * math/w_fmodl.c: Likewise.
9083 * math/w_hypot.c: Likewise.
9084 * math/w_hypotf.c: Likewise.
9085 * math/w_hypotl.c: Likewise.
9086 * math/w_j0.c: Likewise.
9087 * math/w_j0f.c: Likewise.
9088 * math/w_j0l.c: Likewise.
9089 * math/w_j1.c: Likewise.
9090 * math/w_j1f.c: Likewise.
9091 * math/w_j1l.c: Likewise.
9092 * math/w_jn.c: Likewise.
9093 * math/w_jnf.c: Likewise.
9094 * math/w_jnl.c: Likewise.
9095 * math/w_lgamma.c: Likewise.
9096 * math/w_lgamma_r.c: Likewise.
9097 * math/w_lgammaf.c: Likewise.
9098 * math/w_lgammaf_r.c: Likewise.
9099 * math/w_lgammal.c: Likewise.
9100 * math/w_lgammal_r.c: Likewise.
9101 * math/w_log.c: Likewise.
9102 * math/w_log10.c: Likewise.
9103 * math/w_log10f.c: Likewise.
9104 * math/w_log10l.c: Likewise.
9105 * math/w_log2.c: Likewise.
9106 * math/w_log2f.c: Likewise.
9107 * math/w_log2l.c: Likewise.
9108 * math/w_logf.c: Likewise.
9109 * math/w_logl.c: Likewise.
9110 * math/w_pow.c: Likewise.
9111 * math/w_powf.c: Likewise.
9112 * math/w_powl.c: Likewise.
9113 * math/w_remainder.c: Likewise.
9114 * math/w_remainderf.c: Likewise.
9115 * math/w_remainderl.c: Likewise.
9116 * math/w_scalb.c: Likewise.
9117 * math/w_scalbf.c: Likewise.
9118 * math/w_scalbl.c: Likewise.
9119 * math/w_sinh.c: Likewise.
9120 * math/w_sinhf.c: Likewise.
9121 * math/w_sinhl.c: Likewise.
9122 * math/w_sqrt.c: Likewise.
9123 * math/w_sqrtf.c: Likewise.
9124 * math/w_sqrtl.c: Likewise.
9125 * math/w_tgamma.c: Likewise.
9126 * math/w_tgammaf.c: Likewise.
9127 * math/w_tgammal.c: Likewise.
9128
6a621eb7
UD
9129 * po/ja.po: Update from translation team.
9130
bf582445
AJ
91312011-09-29 Andreas Jaeger <aj@suse.de>
9132
f9efbf3a
AJ
9133 [BZ #13179]
9134 * sunrpc/netname.c (netname2host): Fix logic.
9135
bf582445
AJ
9136 [BZ #6779]
9137 [BZ #6783]
9138 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9139 correctly.
9140 * math/w_remainder.c (__remainder): Likewise.
9141 * math/w_remainderf.c (__remainderf): Likewise.
9142 * math/libm-test.inc (remainder_test): Add test cases.
9143
48693bea
AK
91442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9145
9146 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9147 sdiv_qrnnd.
9148
42622229
LD
91492011-10-07 Ulrich Drepper <drepper@gmail.com>
9150
9151 * string/test-memcmp.c: Avoid unncessary #defines.
9152 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9153
093ecf92
LD
91542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9155
9156 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9157 Use new sse2 version for core i3 - i7 as it's faster
9158 than sse42 version.
9159 (bit_Prefer_PMINUB_for_stringop): New.
9160 * sysdeps/x86_64/rawmemchr.S: Update.
9161 Replace with faster SSE2 version.
9162 * sysdeps/x86_64/memrchr.S: New file.
9163 * sysdeps/x86_64/memchr.S: Update.
9164 Replace with faster SSE2 version.
9165
fde56e5c
MP
91662011-09-12 Marek Polacek <mpolacek@redhat.com>
9167
9168 * elf/dl-load.c (lose): Add cast to avoid warning.
9169
21fd49a9
UD
91702011-10-07 Ulrich Drepper <drepper@gmail.com>
9171
5a06e643
UD
9172 * po/ca.po: Update from translation team.
9173
684ae515
UD
9174 * inet/getnetgrent_r.c: Hook up nscd.
9175 * nscd/Makefile (routines): Add nscd_netgroup.
9176 (nscd-modules): Add netgroupcache.
9177 (CFLAGS-netgroupcache.c): Define.
9178 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9179 (cache_search): Add const to second parameter.
9180 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9181 INNETGR.
9182 (dbs): Add netgrdb entry.
9183 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9184 (verify_persistent_db): Handle netgrdb.
9185 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9186 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9187 GETFDNETGR.
9188 (netgroup_response_header): Define.
9189 (innetgroup_response_header): Define.
9190 (datahead): Add netgroup_response_header and innetgroup_response_header
9191 elements.
9192 * nscd/nscd.conf: Add entries for netgroup cache.
9193 * nscd/nscd.h (dbtype): Add netgrdb.
9194 (_PATH_NSCD_NETGROUP_DB): Define.
9195 (netgroup_iov_disabled): Declare.
9196 (xmalloc, xcalloc, xrealloc): Move declarations here.
9197 (cache_search): Adjust prototype.
9198 Add netgroup-related prototypes.
9199 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9200 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9201 (__nscd_innetgr): Declare.
9202 * nscd/selinux.c (perms): Use access_vector_t as element type and
9203 add netgroup-related initializers.
9204 * nscd/netgroupcache.c: New file.
9205 * nscd/nscd_netgroup.c: New file.
9206 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9207 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9208 For four parameters use innetgr.
9209 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9210 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9211 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9212 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9213
21fd49a9
UD
9214 * nscd/connections.c (register_traced_file): Don't register file
9215 for disabled databases.
9216
054c0457
UD
92172011-10-06 Ulrich Drepper <drepper@gmail.com>
9218
32b63198
UD
9219 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9220
054c0457
UD
9221 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9222 from tree and freeing node.
9223
64031225
JO
92242011-09-25 Jiri Olsa <jolsa@redhat.com>
9225
9226 * nss/nsswitch.c (__nss_database_lookup): Handle
9227 nss_parse_service_list out of memory case.
9228
0490345c
JO
92292011-09-15 Jiri Olsa <jolsa@redhat.com>
9230
9231 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9232 out of memory case.
9233
3a62d00d
AS
92342011-10-04 Andreas Schwab <schwab@redhat.com>
9235
9236 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9237 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9238 pass it down.
9239 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9240 elf_machine_rela, elf_machine_lazy_rel.
9241 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9242 (ELF_DYNAMIC_DO_REL): Likewise.
9243 (ELF_DYNAMIC_DO_RELA): Likewise.
9244 (ELF_DYNAMIC_RELOCATE): Likewise.
9245 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9246 to ELF_DYNAMIC_DO_REL.
9247 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9248 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9249 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9250 elf_machine_rela.
9251 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9252 skip_ifunc, don't call ifunc function if non-zero.
9253 (elf_machine_rela): Likewise.
9254 (elf_machine_lazy_rel): Likewise.
9255 (elf_machine_lazy_rela): Likewise.
9256 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9257 (elf_machine_lazy_rel): Likewise.
9258 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9259 Likewise.
9260 (elf_machine_lazy_rel): Likewise.
9261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9262 Likewise.
9263 (elf_machine_lazy_rel): Likewise.
9264 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9265 (elf_machine_lazy_rel): Likewise.
9266 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9267 (elf_machine_lazy_rel): Likewise.
9268 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9269 (elf_machine_lazy_rel): Likewise.
9270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9271 (elf_machine_lazy_rel): Likewise.
9272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9273 (elf_machine_lazy_rel): Likewise.
9274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9275 (elf_machine_lazy_rel): Likewise.
9276
68577918
UD
92772011-09-28 Ulrich Drepper <drepper@gmail.com>
9278
9279 * nss/nss_files/files-init.c (_nss_files_init): Use static
9280 initialization for all the *_traced_file variables.
9281
68822d74
AS
92822011-09-28 Andreas Schwab <schwab@redhat.com>
9283
9284 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9285
2056100b
RM
92862011-09-27 Roland McGrath <roland@hack.frob.com>
9287
9288 [BZ #13226]
9289 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9290
32c76b63
AS
92912011-09-27 Andreas Schwab <schwab@redhat.com>
9292
9293 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9294 Reread the line before reparsing it.
9295
bf972c9d
AS
92962011-09-26 Andreas Schwab <schwab@redhat.com>
9297
9298 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9299
e057a1b5
JM
93002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9301 Maxim Kuvyrkov <maxim@codesourcery.com>
9302 Joseph Myers <joseph@codesourcery.com>
9303
9304 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9305 if needed for __stack_chk_guard.
9306
bc7e1c36
RM
93072011-09-19 Roland McGrath <roland@hack.frob.com>
9308
ecb1482f
RM
9309 * sysdeps/posix/spawni.c (script_execute): Always define it.
9310 It will be optimized away if unused.
9311 (maybe_script_execute): New function.
9312 (__spawni): Call it.
9313
bc7e1c36
RM
9314 * Makerules: Don't include tls.make.
9315 (config-tls): Always set to thread.
9316 * tls.make.c: File removed.
9317
1c3b002b
MF
93182011-09-19 Mike Frysinger <vapier@gentoo.org>
9319
9320 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9321 * config.make.in (CPPFLAGS-config): New substituted variable.
9322
2840865d
UD
93232011-09-15 Ulrich Drepper <drepper@gmail.com>
9324
88738eb6
UD
9325 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9326
cbf645a6 9327 [BZ #13192]
2840865d
UD
9328 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9329 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9330
b402e91a
RM
93312011-09-15 Roland McGrath <roland@hack.frob.com>
9332
9333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9334 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9336 (CALL_FAIL): Likewise.
9337 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9338 (CALL_FAIL): Macro removed.
9339 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9340
4c1a1f71
UD
93412011-09-15 Ulrich Drepper <drepper@gmail.com>
9342
9343 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9344 for __FINITE_MATH_ONLY__ == 1.
9345
edc121be
AS
93462011-09-15 Andreas Schwab <schwab@redhat.com>
9347
9348 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9349 __ieee754_sqrt instead of sqrt.
9350 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9351 __ieee754_sqrtf instead of sqrtf.
9352 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9353 __floorf instead of floorf.
9354 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9355 __floorf, __truncf instead of floorf, truncf.
9356
cd205654
UD
93572011-09-14 Ulrich Drepper <drepper@gmail.com>
9358
ee4d0315
UD
9359 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9360
cd205654
UD
9361 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9362 __extern_always_inline.
9363 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9364 32-bit.
9365
48b67d71
AS
93662011-09-14 Andreas Schwab <schwab@redhat.com>
9367
9368 * elf/rtld.c (dl_main): Also relocate in dependency order when
9369 doing symbol dependency testing.
9370
1ae12c75
AS
93712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9372
9373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9374 Always define `refsym'.
9375
995a80df
AS
93762011-09-13 Andreas Schwab <schwab@redhat.com>
9377
e529793b
AS
9378 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9379 (__FD_ELT): Renamed from __FDELT.
9380 * misc/bits/select2.h (__FD_ELT): Likewise.
9381 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9382 __FD_MASK instead of __FDELT, __FDMASK.
9383 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9384 Likewise.
9385 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9386 Likewise.
9387
52d4fef8
AS
9388 * elf/Makefile (gen-ldd): Fix pattern.
9389
995a80df
AS
9390 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9391 (init_tls): Likewise.
9392
8682f8b0
UD
93932011-09-12 Ulrich Drepper <drepper@gmail.com>
9394
9395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9396
de82006d
AS
93972011-09-12 Andreas Schwab <schwab@redhat.com>
9398
a7c8e6a1
AS
9399 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9400 `struct cmsghdr *' instead of `void *'.
9401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9402 Likewise.
9403
0f31fe77
AS
94042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9405
9406 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9407 if non-absolute.
9408 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9409 ldd_rewrite_script.
0f31fe77 9410
32b4c839
UD
94112011-09-11 Ulrich Drepper <drepper@gmail.com>
9412
83cd1420
UD
9413 * configure.in: Remove --with-tls option.
9414 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9415 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9416 out in case it is missing.
9417 * sysdeps/ia64/elf/configure.in: Likewise.
9418 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9419 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9420 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9421 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9422 * sysdeps/sh/elf/configure.in: Likewise.
9423 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9424 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9425 * sysdeps/x86_64/elf/configure.in: Likewise.
9426 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9427 * sysdeps/mach/hurd/tls.h: Likewise.
9428
633f745d
UD
9429 [BZ #13067]
9430 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9431
f318beb8
UD
9432 [BZ #13090]
9433 * configure.in: Fix use of AC_INIT.
9434
32b4c839
UD
9435 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9436
3ce1f295
UD
94372011-09-10 Ulrich Drepper <drepper@gmail.com>
9438
bb016596
UD
9439 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9440 __set_errno.
8e58439c
UD
9441 * malloc/hooks.c: Likewise.
9442
aebae053 9443 [BZ #11929]
02d46fc4
UD
9444 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9445 variables statically.
9446 (narenas): Initialize.
9447 (list_lock): Initialize.
bb016596
UD
9448 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9449 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9450 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9451 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9452 Add initializers to main_arena and mp_.
9453 (malloc_state): Remove pagesize member. Change all users to use
9454 GLRO(dl_pagesize).
9455
9456 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9457 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9458 is always initialized.
9459
22a89187
UD
9460 * malloc/malloc.c: Removed unused configurations and dead code.
9461 * malloc/arena.c: Likewise.
9462 * malloc/hooks.c: Likewise.
02d46fc4 9463 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9464
d063d164
UD
9465 * include/tls.h: Removed. USE___THREAD must always be defined.
9466 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9467 * elf/dl-libc.c: Likewise.
9468 * elf/dl-tsd.c: Likewise.
9469 * include/errno.h: Likewise.
9470 * include/netdb.h: Likewise.
9471 * include/resolv.h: Likewise.
9472 * inet/herrno-loc.c: Likewise.
9473 * inet/herrno.c: Likewise.
9474 * malloc/arena.c: Likewise.
9475 * malloc/hooks.c: Likewise.
9476 * malloc/malloc.c: Likewise.
9477 * resolv/res-state.c: Likewise.
9478 * resolv/res_libc.c: Likewise.
9479 * sysdeps/i386/dl-machine.h: Likewise.
9480 * sysdeps/ia64/dl-machine.h: Likewise.
9481 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9482 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9483 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9484 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9485 * sysdeps/sh/dl-machine.h: Likewise.
9486 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9487 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9488 * sysdeps/unix/i386/sysdep.S: Likewise.
9489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9490 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9491 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9495 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9500 * sysdeps/x86_64/dl-machine.h: Likewise.
9501 * tls.make.c: Likewise.
9502
3ce1f295
UD
9503 * configure.in: Remove --with-__thread option. Make tests for
9504 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9505 tls_model attribute fail if no support is available. Remove
9506 USE_IN_LIBIO.
9507 * Makeconfig: Adjust for dropped configure option. All features are
9508 now mandatory.
9509 * Makerules: Likewise.
9510 * Versions.def: Likewise.
9511 * argp/argp-fmtstream.c: Likewise.
9512 * argp/argp-fmtstream.h: Likewise.
9513 * argp/argp-help.c: Likewise.
9514 * assert/assert.c: Likewise.
9515 * config.h.in: Likewise.
9516 * config.make.in: Likewise.
9517 * configure: Likewise.
9518 * configure.in: Likewise.
9519 * csu/Versions: Likewise.
9520 * csu/init.c: Likewise.
9521 * elf/tst-audit2.c: Likewise.
9522 * elf/tst-tls10.c: Likewise.
9523 * elf/tst-tls10.h: Likewise.
9524 * elf/tst-tls11.c: Likewise.
9525 * elf/tst-tls12.c: Likewise.
9526 * elf/tst-tls14.c: Likewise.
9527 * elf/tst-tlsmod11.c: Likewise.
9528 * elf/tst-tlsmod12.c: Likewise.
9529 * elf/tst-tlsmod13.c: Likewise.
9530 * elf/tst-tlsmod13a.c: Likewise.
9531 * elf/tst-tlsmod14a.c: Likewise.
9532 * elf/tst-tlsmod15b.c: Likewise.
9533 * elf/tst-tlsmod16a.c: Likewise.
9534 * elf/tst-tlsmod16b.c: Likewise.
9535 * elf/tst-tlsmod7.c: Likewise.
9536 * elf/tst-tlsmod8.c: Likewise.
9537 * elf/tst-tlsmod9.c: Likewise.
9538 * gmon/gmon.c: Likewise.
9539 * grp/fgetgrent_r.c: Likewise.
9540 * grp/putgrent.c: Likewise.
9541 * hurd/fopenport.c: Likewise.
9542 * include/libc-symbols.h: Likewise.
9543 * include/tls.h: Likewise.
9544 * intl/gettextP.h: Likewise.
9545 * intl/loadinfo.h: Likewise.
9546 * locale/global-locale.c: Likewise.
9547 * locale/localeinfo.h: Likewise.
9548 * mach/devstream.c: Likewise.
9549 * malloc/arena.c: Likewise.
9550 * malloc/set-freeres.c: Likewise.
9551 * misc/err.c: Likewise.
9552 * misc/getttyent.c: Likewise.
9553 * misc/mntent_r.c: Likewise.
9554 * posix/getopt.c: Likewise.
9555 * posix/wordexp.c: Likewise.
9556 * pwd/fgetpwent_r.c: Likewise.
9557 * resolv/Versions: Likewise.
9558 * resolv/res_hconf.c: Likewise.
9559 * shadow/fgetspent_r.c: Likewise.
9560 * shadow/putspent.c: Likewise.
9561 * stdio-common/printf_fphex.c: Likewise.
9562 * stdio-common/tmpfile.c: Likewise.
9563 * stdlib/abort.c: Likewise.
9564 * stdlib/fmtmsg.c: Likewise.
9565 * sunrpc/auth_unix.c: Likewise.
9566 * sunrpc/clnt_perr.c: Likewise.
9567 * sunrpc/clnt_tcp.c: Likewise.
9568 * sunrpc/clnt_udp.c: Likewise.
9569 * sunrpc/clnt_unix.c: Likewise.
9570 * sunrpc/openchild.c: Likewise.
9571 * sunrpc/svc_simple.c: Likewise.
9572 * sunrpc/svc_tcp.c: Likewise.
9573 * sunrpc/svc_udp.c: Likewise.
9574 * sunrpc/svc_unix.c: Likewise.
9575 * sunrpc/xdr.c: Likewise.
9576 * sunrpc/xdr_array.c: Likewise.
9577 * sunrpc/xdr_rec.c: Likewise.
9578 * sunrpc/xdr_ref.c: Likewise.
9579 * sunrpc/xdr_stdio.c: Likewise.
9580
1248c1c4
PB
95812011-09-09 Ulrich Drepper <drepper@gmail.com>
9582
9583 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9584
95852011-07-03 Andreas Jaeger <aj@suse.de>
9586
9587 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9588 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9589 regenerate with gen-libm-tests.pl.
9590
95912010-05-12 Petr Baudis <pasky@suse.cz>
9592
9593 [BZ #11589]
9594 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9595 around j0() zero points by switching to j1().
9596 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9600
f22e1074
UD
96012011-09-09 Ulrich Drepper <drepper@gmail.com>
9602
f19009c1
UD
9603 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9604 instead of 0.
9605 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9606 instead of 0. .
9607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9608 Patch in part by Pavel Roskin <proski@gnu.org>.
9609
3f8cc204
UD
9610 [BZ #13138]
9611 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9612 realloc.
9613 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9614 Free memory block if necessary.
9615
f22e1074
UD
9616 [BZ #12847]
9617 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9618 be NULL. Don't lock in this case.
9619
0a2349f9
RM
96202011-09-09 Roland McGrath <roland@hack.frob.com>
9621
9622 * elf/elf.h (ELFOSABI_GNU): New macro.
9623 (ELFOSABI_LINUX): Define to that.
9624
f3cdd467
DZ
96252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9626
9627 * string/strncat.c (strncat): Undef the symbol in case it has been
9628 defined in bits/string.h.
9629
74718d13
UD
96302011-09-09 Ulrich Drepper <drepper@gmail.com>
9631
633e9e0f
UD
9632 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9633
0a2349f9 9634 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9635 link map.
9636
f9924780
AJ
96372011-08-17 Andreas Jaeger <aj@suse.de>
9638
9639 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9640
7f5517aa
PP
96412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9642 Ian Lance Taylor <iant@google.com>
9643
9644 * math/libm-test.inc (lround_test): New testcase.
9645 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9646
762011fe
UD
96472011-09-08 Ulrich Drepper <drepper@gmail.com>
9648
92963737
UD
9649 * Makefile: Remove support for automatic cvs check-ins.
9650 * Makerules: Likewise.
9651 * config.make.in: Likewise.
9652 * configure.in: Likewise.
9653 * intl/Makefile: Likewise.
9654 * locale/Makefile: Likewise.
9655 * po/Makefile: Likewise.
9656 * posix/Makefile: Likewise.
9657 * sysdeps/gnu/Makefile: Likewise.
9658 * sysdeps/mach/hurd/Makefile: Likewise.
9659 * sysdeps/sparc/sparc32/Makefile: Likewise.
9660
b0727fd8
JS
9661 [BZ #13118]
9662 * posix/Makefile (bug-regex32-ENV): Define.
9663 Patch by John Stanley <jpsinthemix@verizon.net>.
9664
a0f33f99
UD
9665 * misc/Makefile (headers): Add bits/select2.h.
9666 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9667 * misc/bits/select2.h: New file.
9668 * include/bits/select2.h: New file.
9669 * debug/Makefile (routines): Add fdelt_chk.
9670 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9671 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9672 FD_ISSET.
9673 * debug/fdelt_chk.c: New file.
9674
762011fe
UD
9675 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9676 * wcsmbs/test-wmemcmp.c: Likewise.
9677 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9678 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9679
96802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9681
9682 * string/Makefile (strop-tests): Add memcmp.
9683 * string/test-wmemcmp.c: New file.
9684 * string/test-memcmp.c: Add wmemcmp support.
9685
7f513ec8
RM
96862011-09-08 Roland McGrath <roland@hack.frob.com>
9687
0442afb4
RM
9688 [BZ #13153]
9689 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9690 2011-07-19 change.
9691
7f513ec8
RM
9692 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9693 garbage value in a __mach_port_mod_refs call in the cases of the
9694 task-self and thread-self ports.
9695
a12b2239
ST
96962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9697
9698 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9699
610f9ab4
AS
97002011-09-08 Andreas Schwab <schwab@redhat.com>
9701
7f513ec8 9702 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9703
48882a1a
LD
97042011-09-07 Ulrich Drepper <drepper@gmail.com>
9705
b49865be
UD
9706 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9707
fdc86bc9
UD
9708 * elf/dl-libc.c (dlerror_run): Pass back error code from
9709 dl_catch_error.
9710
c966526a
UD
9711 [BZ #13123]
9712 * elf/dl-load.c (lose): Free l_origin if it is valid.
9713
48882a1a
LD
9714 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9715 names.
9716 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9717 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9718 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9719 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9720 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9721 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9722
77a2a8b4
AZ
97232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9724
9725 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9726 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9727 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9728 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9729 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9730 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9731 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9732 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9733 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9734 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9735
24f579d8
AM
97362011-08-15 Alan Modra <amodra@gmail.com>
9737
9738 [BZ #13092]
9739 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9740 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9741 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9742 ppc_mcount to static-only-routines.
9743 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9744 __mcount_internal.
9745 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9746 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9747
3d4837df
UD
97482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9749
9750 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9751 for finite and infinity parameters.
9752
22700377
WS
97532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9754
9755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9756 and add nop instructions for throughput optimization.
9757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9758
5025581e
WS
97592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9760
9761 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9762 aligned copy for power7 with vector-scalar instructions.
9763 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9764
08a300c9
L
97652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9766
9767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9768 AVX check.
9769
59178ef9
AS
97702011-09-07 Andreas Schwab <schwab@redhat.com>
9771
9772 [BZ #13144]
9773 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9774 last change.
9775
e38ba7ab
UD
97762011-09-07 Ulrich Drepper <drepper@gmail.com>
9777
9778 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9779 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9780 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9782 clock_gettime.
9783
d53a73ac
UD
97842011-09-06 Ulrich Drepper <drepper@gmail.com>
9785
fc8bffcc
UD
9786 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9787 Forgot to demangle the pointer.
9788
ceaa0c5d
UD
9789 * sysdeps/i386/sysdep.h: Define atom_text_section.
9790 * sysdeps/x86_64/sysdep.h: Likewise.
9791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9792 section with atom_text_section.
9793 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9795 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9798
a77d3c17
UD
9799 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9801 already be defined. Change to take two parameters and don't assign
9802 result to variable. Adjust all users.
9803 Define INTERNAL_GETTIME if not already defined.
9804 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9805 call.
9806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9807 HAVE_CLOCK_GETTIME_VSYSCALL.
9808 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9809
d53a73ac
UD
9810 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9811 gettimeofday vsyscall, just use time.
9812
a8f84144
AS
98132011-09-06 Andreas Schwab <schwab@redhat.com>
9814
9815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9816 <errno.h>.
9817
ef606249
UD
98182011-09-06 Ulrich Drepper <drepper@gmail.com>
9819
9820 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9821 syscall on x86-64.
9822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9823 syscall.
9824 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9826 syscall if possible.
9827
6585cb60
UD
98282011-09-05 Ulrich Drepper <drepper@gmail.com>
9829
9830 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9831 e_ident. Don't pass to find_mapsXX.
9832 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9833
a5f524e4
LD
98342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9835
9836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9837 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9838 * sysdeps/x86_64/multiarch/strchr.S: Update.
9839 Check bit_slow_BSF bit.
9840 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9841 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9842 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9843
554881ef
UD
98442011-09-05 Ulrich Drepper <drepper@gmail.com>
9845
d96de963
UD
9846 [BZ #13134]
9847 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9848 before glibc 2.15.
9849 (tryshell): Define.
9850 (__spawni): Change last parameter to be flag. Test
9851 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9852 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9853 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9854 * posix/spawni.c: Likewise.
9855 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9856 * posix/spawnp.c: Likewise. Change normal version to use
9857 SPAWN_XFLAGS_USE_PATH.
9858 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9859 SPAWN_XFLAGS_TRY_SHELL.
9860
d48e5868
UD
9861 [BZ #13150]
9862 * posix/glob.h: Remove gcc 1.x support.
9863
554881ef
UD
9864 [BZ #13068]
9865 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9866
693fb948
LD
98672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9868
9869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9870 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9871 strrchr-sse2-bsf
9872 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9873 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9874 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9875 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9876 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9877 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9878
1b48c537
UD
98792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9880
49d42c37
UD
9881 * sysdeps/x86_64/wcscmp.S: New file.
9882
1b48c537
UD
9883 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9884 wcscmp-c wcscmp-sse2
9885 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9886 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9887 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9888 * wcsmbs/wcscmp.c: Allow renaming.
9889
15c95c5d
DM
98902011-09-05 David S. Miller <davem@davemloft.net>
9891
9892 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9893 stack slot, rather than the struct return pointer slot.
9894 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9895 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9897 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9898
2f0ad8f3
UD
98992011-09-05 Ulrich Drepper <drepper@gmail.com>
9900
d88ae418
UD
9901 * po/ja.po: Update from translation team.
9902
2f0ad8f3
UD
9903 [BZ #13144]
9904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9905 kernel in 64-bit binaries.
9906
5f4318d1
DM
99072011-09-01 David S. Miller <davem@davemloft.net>
9908
9909 * elf/elf.h (HWCAP_SPARC_*): Move to..
9910 * sysdeps/sparc/sysdep.h: this new file and add new values.
9911 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9912 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9913 _DL_HWCAP_COUNT to 24.
9914 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9915 entries.
9916 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9917 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9918 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9920 instead of magic constants.
9921 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9922
3ba57516
DM
99232011-08-31 David S. Miller <davem@davemloft.net>
9924
9925 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9927 Reimplement to do errno handling inline.
9928 (SYSCALL_ERROR_HANDLER): New macro.
9929 (__SYSCALL_STRING): Do not do errno handling in asm.
9930 (__CLONE_SYSCALL_STRING): Delete.
9931 (__INTERNAL_SYSCALL_STRING): Delete.
9932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9933 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9934 (PSEUDO): Reimplement to do errno handling inline.
9935 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9936 (SYSCALL_ERROR_HANDLER): New macro.
9937 (__SYSCALL_STRING): Do not do errno handling in asm.
9938 (__CLONE_SYSCALL_STRING): Delete.
9939 (__INTERNAL_SYSCALL_STRING): Delete.
9940 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9941 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9942 i386.
9943 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9944 (inline_syscall*): Add 'err' argument.
9945 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9946 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9947 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9948 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9949
9950 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9951 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9952
2bc17433
AS
99532011-08-30 Andreas Schwab <schwab@redhat.com>
9954
9955 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9956
fbeb5f4d
JO
99572011-08-29 Jiri Olsa <jolsa@redhat.com>
9958
9959 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9960 directive.
9961
ad69cc26
DM
99622011-08-24 David S. Miller <davem@davemloft.net>
9963
9964 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9965
39dd69df
AS
99662011-08-24 Andreas Schwab <schwab@redhat.com>
9967
9968 * elf/Makefile: Add rules to build and run unload8 test.
9969 * elf/unload8.c: New file.
9970 * elf/unload8mod1.c: New file.
9971 * elf/unload8mod1x.c: New file.
9972 * elf/unload8mod2.c: New file.
9973 * elf/unload8mod3.c: New file.
9974
9975 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9976 it wasn't used.
9977
2c0b250a
DM
99782011-08-23 David S. Miller <davem@davemloft.net>
9979
9980 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9981 subtract stack bias.
9982 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9983 %sp not %fp in calculations.
9984 (_JMPBUF_UNWINDS_ADJ): Likewise.
9985
22044b48
DM
9986 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9987 (aio_suspend): Call it to force an exception region around the
9988 AIO_MISC_WAIT() invocation.
9989
2cae4995
AS
99902011-08-23 Andreas Schwab <schwab@redhat.com>
9991
9992 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9993 backslash.
9994
873a772e
AJ
99952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9996
9997 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9998 protection macro.
9999 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10000 and <dl-machine.h>.
10001 (Elf64_FuncDesc): Remove.
10002
25ad0df1
DM
100032011-08-22 David S. Miller <davem@davemloft.net>
10004
10005 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10006 sigaltstack check, add missing cfi directives.
10007 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10008 missing cfi directives, and sigaltstack handling.
10009
e888bcbe
AS
100102011-08-16 Andreas Schwab <schwab@redhat.com>
10011
10012 [BZ #11724]
10013 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10014 object is seen twice.
10015 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10016
10017 * elf/Makefile (distribute): Add tst-initorder2.c.
10018 (tests): Add tst-initorder2.
10019 (modules-names): Add tst-initorder2a tst-initorder2b
10020 tst-initorder2c tst-initorder2d. Add rules to build them.
10021 ($(objpfx)tst-initorder2.out): New rule.
10022 * elf/tst-initorder2.c: New file.
10023 * elf/tst-initorder2.exp: New file.
10024
87162f46
AS
100252011-08-22 Andreas Schwab <schwab@redhat.com>
10026
70538b7f
AS
10027 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10028
f55ffe58
AS
10029 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10030 dependencies back to end of function.
10031
87162f46
AS
10032 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10033 $(elfobjdir)/ld.so.
10034
91b392a4
UD
100352011-08-21 Ulrich Drepper <drepper@gmail.com>
10036
10037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10038 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10040 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10041 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10042 of __vdso_gettimeofday.
10043 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10044 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10045 attribute_hidden.
10046 (_libc_vdso_platform_setup): Remove initialization of
10047 __vdso_gettimeofday and __vdso_time.
10048
5c43483f
UD
100492011-08-20 Ulrich Drepper <drepper@gmail.com>
10050
775a77e7
UD
10051 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10052 and fgetc_unlocked.
10053 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10054 getc_unlocked.
89f447ed 10055
49c74ba9
UD
10056 * elf/dl-open.c (add_to_global): Report additions to the global scope
10057 for LD_DEBUG=scopes.
10058 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10059 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10060
5c43483f
UD
10061 [BZ #13114]
10062 * stdio-common/Makefile (tests): Add bug24.
10063 * stdio-common/bug24.c: New file.
10064
a101b025
AJ
100652011-08-19 Andreas Jaeger <aj@suse.de>
10066
10067 [BZ #13114]
10068 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10069 non-existant file when using close-on-exec mode.
10070
c88f1766
UD
100712011-08-20 Ulrich Drepper <drepper@gmail.com>
10072
0276a718
UD
10073 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10074 the very first instruction.
10075
c88f1766
UD
10076 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10077 the CFI state in the end.
10078 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10079 inclusion of dl-trampoline.h.
10080 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10081
51ccffa0
AS
100822011-08-19 Andreas Schwab <schwab@redhat.com>
10083
94d7165f
AS
10084 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10085 expectations for long double.
10086
51ccffa0
AS
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10088 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10089
fd708658 100902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10091
10092 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10093 artificual limit depends upon the system page size.
10094
44f0a71e
UD
100952011-08-17 Ulrich Drepper <drepper@gmail.com>
10096
10097 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10098 * resolv/Makefile: Define CFLAGS-libresolv.
10099
8de79a24
AS
101002011-08-17 Andreas Schwab <schwab@redhat.com>
10101
10102 * nss/makedb.c (compute_tables): Make variables used in nested
10103 function static.
10104
27724598
UD
101052011-08-17 Ulrich Drepper <drepper@gmail.com>
10106
c5305d88
UD
10107 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10108 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10109 if buffer was too small.
10110
27724598
UD
10111 * elf/pldd.c (main): Attach to all threads in the process.
10112 Rewrite /proc handling to use *at functions.
10113
076fe015
UD
101142011-08-16 Ulrich Drepper <drepper@gmail.com>
10115
174baab3
UD
10116 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10117 specifies first scope to show.
10118 (dl_open_worker): Update callers. Move printing scope of new
10119 object to before the relocation.
44f0a71e 10120 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10121 * sysdeps/generic/ldsodefs.h: Update declaration.
10122
076fe015
UD
10123 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10124 string for the scope number.
10125
a60df2c3
UD
101262011-08-14 Ulrich Drepper <drepper@gmail.com>
10127
10128 * nscd/servicescache.c (cache_addserv): Make sure written is always
10129 initialized.
10130
5e4287d1
RM
101312011-08-14 Roland McGrath <roland@hack.frob.com>
10132
85ae0589
RM
10133 * sysdeps/i386/i486/bits/atomic.h
10134 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10135 statement expression, so as to suppress "set but not used" warning.
10136 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10137
69f63097
RM
10138 * string/strncat.c (STRNCAT): Use prototype definition.
10139
675456ef
RM
10140 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10141 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10142 -Iprograms here.
10143 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10144 (localedef-modules): Add localedef.
10145 (locale-modules): Add locale.
10146
5e4287d1
RM
10147 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10148 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10149 to avoid a warning.
10150
9c96ff23
DM
101512011-08-14 David S. Miller <davem@davemloft.net>
10152
10153 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10154 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10155
f9ddf089
UD
101562011-08-13 Ulrich Drepper <drepper@gmail.com>
10157
44f0a71e 10158 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10159 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10160 * elf/rtld.c (dl_main): Set l_name of vDSO.
10161 Call _dl_show_scope when DL_DEBUG_SCOPES.
10162 (process_dl_debug): Recognize scopes flag and also set it for all.
10163 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10164 Declare _dl_show_scope.
10165
1dc27704
UD
10166 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10167 (do_dlopen): Pass caller_dlopen to dl_open.
10168 (__libc_dlopen_mode): Initialize caller_dlopen.
10169
f9ddf089
UD
10170 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10171 of libc. Make tolower call locale-independent. Optimize a bit by
10172 using isdigit instead of isalnum.
10173 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10174
9ac533d3
UD
101752011-08-12 Ulrich Drepper <drepper@gmail.com>
10176
10177 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10178 was a dependency or dynamically loaded.
10179
89edf2e9
UD
101802011-08-11 Ulrich Drepper <drepper@gmail.com>
10181
8e999d29
UD
10182 * intl/l10nflist.c: Allow architecture-specific pop function.
10183 * sysdeps/x86_64/l10nflist.c: New file.
10184
89edf2e9
UD
10185 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10186 classification.
10187
14d96785
AS
101882011-08-10 Andreas Schwab <schwab@redhat.com>
10189
10190 * include/dirent.h: Add libc_hidden_proto for scandirat and
10191 scandirat64. Don't declare __scandirat64.
10192 * dirent/scandirat.c: Add libc_hidden_def.
10193 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10194 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10195
6761ac04
DM
101962011-08-10 David S. Miller <davem@davemloft.net>
10197
10198 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10199 enum.
10200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10203
c55fbd1e
UD
102042011-08-09 Ulrich Drepper <drepper@gmail.com>
10205
10206 * Versions.def [libc]: Add GLIBC_2.15.
10207 * dirent/Makefile (routines): Add scandirat and scandirat64.
10208 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10209 GLIBC_2.15.
10210 * dirent/dirent.h: Declare scandirat and scandirat64.
10211 * dirent/scandirat.c: New file.
10212 * dirent/scandirat64.c: New file.
10213 * sysdeps/wordsize-64/scandirat.c: New file.
10214 * sysdeps/wordsize-64/scandirat64.c: New file.
10215 * dirent/opendir.c: Define opendirat.
10216 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10217 using scandirat.
10218 * dirent/scandir64.c: Adjust for scandir.c change.
10219 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10220 __scandirat64, and __scandir_cancel_handler.
10221 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10222 additional parameter and use openat instead of open (outside of ld.so).
10223 Add new __opendir as wrapper around __opendirat.
10224 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10225 here without requiring old scandirat implementation.
10226
879165f2
UD
102272011-08-08 Ulrich Drepper <drepper@gmail.com>
10228
10229 * dirent/scandir.c (cancel_handler): Renamed to
10230 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10231 defined. Adjust users.
10232 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10233 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10234
cb7e923b
UD
102352011-08-04 Ulrich Drepper <drepper@gmail.com>
10236
16292edd
UD
10237 * string/test-string.h (IMPL): Use __STRING to expand name and then
10238 stringify it.
10239
cb7e923b
UD
10240 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10241 of cleanups.
10242
cff82933
LD
102432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10244
10245 * string/Makefile: Update.
10246 (strop-tests): Append strncat.
10247 * string/test-wcscmp.c: New file.
10248 New comprehensive test for wcscmp.
10249 * string/test-strcmp.c: Update.
10250 (WIDE): New define.
10251
9be9bfcc
AS
102522011-07-22 Andreas Schwab <schwab@redhat.com>
10253
10254 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10255 line.
10256
2e96f1c7
AS
102572011-07-26 Andreas Schwab <schwab@redhat.com>
10258
10259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10260 encoding to ACE if AI_IDN.
10261
85188888
JJ
102622011-08-01 Jakub Jelinek <jakub@redhat.com>
10263
10264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10265 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10266
5fa16e9b
LD
102672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10268
10269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10270 Fix overflow bug in strncat.
10271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10272
10273 * string/test-strncat.c: Update.
10274 Add new tests for checking overflow bugs.
10275
102762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10277
10278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10279 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10280 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10281 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10282 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10283 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10284 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10285 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10286 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10287
10288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10289 (USE_AS_STRCAT): Define.
10290 Add strcat and strncat support.
10291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10292
8c1a459f
AS
102932011-07-25 Andreas Schwab <schwab@redhat.com>
10294
10295 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10296 __n bigger than INT_MAX+1.
10297 (__strncmp_g): Likewise.
10298
bba33c28
UD
102992011-07-23 Ulrich Drepper <drepper@gmail.com>
10300
798be72d
UD
10301 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10302 * libio/stido.h: Likewise.
10303
8accd4dc
UD
10304 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10305 (AF_NFC): Define.
10306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10307 (AF_NFC): Define.
10308
cbff0d96
UD
10309 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10311 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10312 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10314
9191c04a
UD
10315 [BZ #13021]
10316 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10317 installed.
10318
bba33c28
UD
10319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10320 typo.
10321 (_dl_x86_64_save_sse): Likewise.
10322
90f139dd
UD
103232011-07-22 Ulrich Drepper <drepper@gmail.com>
10324
1aae088a
UD
10325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10326 OSXSAVE.
10327 (_dl_x86_64_save_sse): Likewise.
10328
8e2045f5
UD
10329 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10330
90f139dd
UD
10331 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10332
1d002f25
AS
103332011-07-21 Andreas Schwab <schwab@redhat.com>
10334
10335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10336 change.
10337 (_dl_x86_64_save_sse): Use correct AVX check.
10338
21137f89
UD
103392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10340
10341 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10342 bug in strncpy/strncat.
10343 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10344
a65c0b7a
UD
103452011-07-21 Ulrich Drepper <drepper@gmail.com>
10346
10347 * string/tester.c (test_strcat): Add tests for different alignments
10348 of source and destination.
10349 (test_strncat): Likewise.
10350
6986b98a
UD
103512011-07-20 Ulrich Drepper <drepper@gmail.com>
10352
90bb2039
UD
10353 [BZ #12852]
10354 * posix/glob.c (glob): Check passed in values before using them in
10355 expressions to avoid some overflows.
10356 (glob_in_dir): Likewise.
10357
5644ef54
UD
10358 [BZ #13007]
10359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10360 check for AVX enablement so that we don't crash with old kernels and
10361 new hardware.
10362 * elf/tst-audit4.c: Add same checks here.
10363 * elf/tst-audit6.c: Likewise.
10364
10365 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10366
bfc9dc9b
AS
103672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10368
10369 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10370
702e64bb
UD
103712011-07-20 Ulrich Drepper <drepper@gmail.com>
10372
10373 * po/cs.po: Update from translation team.
10374 * po/bg.po: Likewise.
10375
295e904f
MP
103762011-07-12 Marek Polacek <mpolacek@redhat.com>
10377
10378 * misc/sys/cdefs.h: Add support for const attribute.
10379 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10380 to gnu_dev_{major,minor,makedev} functions.
10381
3ff94596
MP
103822011-07-20 Marek Polacek <mpolacek@redhat.com>
10383
10384 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10385
28b59fca
AS
103862011-07-20 Andreas Schwab <schwab@redhat.com>
10387
10388 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10389 strlen results.
10390
19df733e
AK
103912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10392
10393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10394 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10395 register in order to avoid conflicts with the soft frame pointer
10396 being held in r11 when necessary.
10397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10398 (INTERNAL_VSYSCALL_NCS): Likewise.
10399
c8835729
MP
104002011-07-14 Marek Polacek <mpolacek@redhat.com>
10401
10402 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10403 * elf/dl-fini.c (_dl_fini): Adjust caller.
10404 * elf/dl-close.c (_dl_close_worker): Likewise.
10405 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10406
b902330c
MP
104072011-07-15 Marek Polacek <mpolacek@redhat.com>
10408
8991e135
MP
10409 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10410 "aux_cache->nlibs < 0".
10411
b902330c
MP
10412 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10413 in the reload-count case.
10414
99710781
LD
104152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10416
10417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10418 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10419 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10420 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10421 * sysdeps/x86_64/multiarch/strcat.S: New file.
10422 * sysdeps/x86_64/multiarch/strncat.S: New file.
10423 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10424 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10425 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10426 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10427 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10428 (USE_AS_STRCAT): Define.
10429 Add strcat and strncat support.
10430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10431 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10432 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10433 * string/strncat.c: Update.
10434 (USE_AS_STRNCAT): Define.
10435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10436 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10437 and i7.
10438 * sysdeps/x86_64/multiarch/init-arch.h
10439 (bit_Prefer_PMINUB_for_stringop): New.
10440 (index_Prefer_PMINUB_for_stringop): Likewise.
10441 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10442 bit_Prefer_PMINUB_for_stringop.
10443
7dc6bd90
UD
104442011-07-19 Ulrich Drepper <drepper@gmail.com>
10445
10446 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10447 buffer64.
10448 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10449 of casting of buffer.
10450 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10451 buffer32 and buffer64.
10452 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10453 writes instead of casting of buffer.
10454 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10455 buffer32.
10456 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10457 casting of buffer.
10458
e0e72284
AS
104592011-07-19 Andreas Schwab <schwab@redhat.com>
10460
10461 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10462
feb1eb0b
UD
104632011-07-19 Ulrich Drepper <drepper@gmail.com>
10464
10465 * nscd/nscd.c (termination_handler): Don't do anything for a database
10466 if it has not yet been initialized.
10467
298711ff
UD
104682011-07-18 Ulrich Drepper <drepper@gmail.com>
10469
10470 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10471
104722011-07-15 Marek Polacek <mpolacek@redhat.com>
10473
10474 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10475
f9d68389
UD
104762011-07-18 Ulrich Drepper <drepper@gmail.com>
10477
10478 * po/nl.po: Update from translation team.
10479 * po/sv.po: Likewise.
10480
db290cf5
RM
104812011-07-16 Roland McGrath <roland@hack.frob.com>
10482
10483 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10484 now disallowed by GCC.
5c550700 10485
fd5e21c7
RM
10486 * configure.in (use-default-link): Default to yes if a test -shared
10487 link meets our qualifications.
10488 * configure: Regenerated.
10489
5c550700
RM
10490 * config.make.in (output-format): New variable.
10491 * configure.in: Check for ld --print-output-format support.
10492 * configure: Regenerated.
10493 * Makerules ($(common-objpfx)format.lds)
10494 [$(output-format) != unknown]: Just use $(output-format),
10495 instead of the linker-script munging.
10496
9fa2c032
RM
104972011-07-14 Roland McGrath <roland@hack.frob.com>
10498
a6928d51
RM
10499 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10500 of $(common-objpfx)shlib.lds.
10501 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10502
661607b3
RM
10503 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10504 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10505
9fa2c032
RM
10506 * configure.in (-z relro check): Adjust test code to add a large
10507 writable data section after it.
10508 * configure: Regenerated.
10509
defe9061
RM
105102011-07-11 Roland McGrath <roland@hack.frob.com>
10511
10512 * configure.in (-z relro check): Fix test code to make the variable
10513 truly const.
10514 * configure: Regenerated.
10515
319b9ad4
UD
105162011-07-11 Ulrich Drepper <drepper@gmail.com>
10517
10518 * nscd/nscd.h (struct traced_file): Define.
10519 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10520 elements. Add traced_files.
10521 (inotify_fd): Declare.
10522 (register_traced_file): Declare.
10523 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10524 (inotify_fd): Export.
10525 (resolv_conf_descr): Remove.
10526 (nscd_init): Move inotify descriptor creation to main.
10527 Don't register files for notification here.
10528 (register_traced_file): New function.
10529 (invalidate_cache): Don't use reset_res to determine whether to call
10530 res_init, go through the list of registered files.
10531 (main_loop_poll): The inotify descriptors are now stored in the
10532 structures for the traced files.
10533 (main_loop_epoll): Likewise
10534 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10535 to __nss_disable_nscd.
10536 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10537 for a database anymore. Check the records for all the registered
10538 files instead.
10539 * nss/Makefile (libnss_files-routines): Add files-init.
10540 (libnss_db-routines): Add db-init.
10541 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10542 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10543 * nss/nss_db/db-init.c: New file.
10544 * nss/nss_files/files-init.c: New file.
10545 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10546 __nss_lookup_function.
10547 (__nss_lookup_function): Call nss_load_library.
10548 (nss_load_all_libraries): New function.
10549 (__nss_disable_nscd): Take parameter with callback function for files
10550 to register. Set is_nscd. Load all the DSOs for the NSS modules
10551 used for the cached services.
10552 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10553 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10554 options for features to all the files in nscd.
10555
10556 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10557
23bee3e8
RM
105582011-07-10 Roland McGrath <roland@hack.frob.com>
10559
10560 * csu/elf-init.c (__libc_csu_init): Comment typo.
10561
46a5b7f0
UD
105622011-07-09 Ulrich Drepper <drepper@gmail.com>
10563
10564 * po/pl.po: Update from translation team.
10565 * po/ja.po: Likewise.
10566 * po/ru.po: Likewise.
10567 * po/ko.po: Likewise.
10568 * po/fr.po: Likewise.
10569
d30cf5bb
RM
105702011-07-09 Roland McGrath <roland@hack.frob.com>
10571
113ddea4
RM
10572 * configure.in (.ctors/.dtors header and trailer check):
10573 Use an empirical test on a built program.
10574 * configure: Regenerated.
10575
574920b4
RM
10576 * configure.in (-z relro check): Use an empirical test on a built DSO.
10577 Detect, but do not require, on ia64.
10578 * configure: Regenerated.
10579
d30cf5bb
RM
10580 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10581 Update tests that use readelf to use $READELF instead.
10582 * configure: Regenerated.
10583
8538fdb3
UD
105842011-07-08 Ulrich Drepper <drepper@gmail.com>
10585
10586 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10587 if the result is not used.
10588
04d08991
AJ
105892011-07-05 Andreas Jaeger <aj@suse.de>
10590
10591 [BZ#9696]
10592 * stdlib/tst-strtod.c: Add testcase.
10593
de283087
AD
105942011-07-07 Ulrich Drepper <drepper@gmail.com>
10595
4e5f31c8 10596 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10597 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10598 The latter has a higher limit. Take additional parameter to pass to
10599 the new function.
10600 (__pathconf): Pass file to __statfs_link_max.
10601 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10602 __statfs_link_max.
10603 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10604 __statfs_link_max.
10605
de283087
AD
10606 [BZ #12868]
10607 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10609 Handle Lustre.
10610 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10611 (__statfs_filesize_max): Likewise.
10612 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10613
c75fa153
AJ
106142011-07-05 Andreas Jaeger <aj@suse.de>
10615
10616 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10617
1a544854
UD
106182011-07-06 Marek Polacek <mpolacek@redhat.com>
10619
10620 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10621 `status' variable.
10622 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10623 Likewise.
10624
6f0eec67
UD
106252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10626
10627 * Makefile (strop-tests): Add strncat.
10628 * string/test-strncat.c: New file.
10629
aae30307
UD
106302011-06-30 Marek Polacek <mpolacek@redhat.com>
10631
10632 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10633
c0cfb5eb
UD
106342011-06-21 Andreas Jaeger <aj@suse.de>
10635
10636 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10637 Copy rule from iconvdata/Makefile.
10638
01636b21
UD
106392011-07-06 Ulrich Drepper <drepper@gmail.com>
10640
10641 [BZ #12922]
10642 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10643 but no long options are defined, just return 'W'.
10644
9895c8bc
UD
106452011-06-22 Marek Polacek <mpolacek@redhat.com>
10646
10647 [BZ #9696]
10648 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10649
5d4cf042
UD
106502011-07-06 Ulrich Drepper <drepper@gmail.com>
10651
10652 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10653 netgroups to read.
960e5535 10654 (innetgr): Likewise.
5d4cf042 10655
751eb97e
RM
106562011-07-05 Roland McGrath <roland@hack.frob.com>
10657
10658 * config.make.in (install_root): Default to $(DESTDIR).
10659
f15f1e45
UD
106602011-07-05 Ulrich Drepper <drepper@gmail.com>
10661
10662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10663
4e34ac6a
RM
106642011-07-02 Roland McGrath <roland@hack.frob.com>
10665
5e9b6af4
RM
10666 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10667
84f9ea0f
RM
10668 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10669 containing directory rather than embedding absolute directory names.
10670
ea5ee9f7
RM
10671 * scripts/check-local-headers.sh: Rewritten using awk.
10672 Match by word, not by line. Print error messages for matches.
10673 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10674
1b74661a
RM
10675 * Makerules [shlib-lds-flags empty]:
10676 ($(common-objpfx)libc_pic.opts): New target.
10677 ($(common-objpfx)libc_pic.os.clean): New target.
10678 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10679
10680 * config.make.in (OBJCOPY): New variable.
10681 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10682 * configure: Regenerated.
10683
f781ef40
RM
10684 * config.make.in (use-default-link): New variable.
10685 * configure.in (use_default_link): Grok --with-default-link to set it.
10686 * configure: Regenerated.
10687 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10688 (shlib-lds, shlib-lds-flags): Define to empty.
10689
2d4fa81e
RM
10690 * Makerules (shlib-lds): New variable.
10691 (shlib-lds-flags): New variable.
10692 (build-shlib, build-moduile, build-module-asneeded): Use it.
10693 ($(common-objpfx)libc.so): Use $(shlib-lds).
10694 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10695 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10696
31fffa6b
RM
10697 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10698 DT_FLAGS/DT_FLAGS_1 with zero flags.
10699
4e34ac6a
RM
10700 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10701 linker script munging.
10702
fcfc776b
UD
107032011-07-02 Ulrich Drepper <drepper@gmail.com>
10704
10705 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10706 as 128-bit value.
10707 * crypt/sha512.c (sha512_process_block): Perform total addition using
10708 128-bit if possible.
10709 (__sha512_finish_ctx): Likewise.
10710 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10711 as 64-bit value.
10712 * crypt/sha256.c (SWAP64): Define.
10713 (sha256_process_block): Perform total addition using 64-bit if
10714 possible.
10715 (__sha256_finish_ctx): Likewise.
10716
99231d9a
UD
107172011-07-01 Ulrich Drepper <drepper@gmail.com>
10718
10719 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10720 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10721 * nscd/hstcache.c (cache_addhst): Likewise.
10722 * nscd/grpcache.c (cache_addgr): Likewise.
10723 * nscd/aicache.c (addhstaiX): Likewise
10724 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10725
445b4a53
TK
107262011-07-01 Thorsten Kukuk <kukuk@suse.de>
10727
10728 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10730 * nscd/hstcache.c (cache_addhst): Likewise.
10731 * nscd/grpcache.c (cache_addgr): Likewise.
10732 * nscd/aicache.c (addhstaiX): Likewise
10733
6d4d8e8e
AS
107342011-07-01 Andreas Schwab <schwab@redhat.com>
10735
10736 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10737 domain only when needed.
10738
89f654c5
AS
107392011-06-30 Andreas Schwab <schwab@redhat.com>
10740
10741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10742 is always restored.
10743
cf3b23ff
UD
107442011-06-29 Ulrich Drepper <drepper@gmail.com>
10745
10746 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10747 are re-adding the entry.
10748 * nscd/servicescache.c (cache_addserv): Likewise.
10749
751626f9
AJ
107502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10751
10752 * sysdeps/generic/dl-irel.h: fix protection against multiple
10753 inclusions.
10754 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10755
9113ea1f
UD
107562011-06-28 Ulrich Drepper <drepper@gmail.com>
10757
5c0b8d90
UD
10758 [BZ #12935]
10759 * malloc/memusage.sh: Fix quoting in message.
10760 * debug/xtrace.sh: Likewise.
10761
9113ea1f
UD
10762 * configure.in: Remove support for --experimental-malloc option, make
10763 it the default.
10764 * config.make.in: Likewise.
10765 * malloc/Makefile: Likewise.
10766
a4172181
AS
107672011-06-27 Andreas Schwab <schwab@redhat.com>
10768
10769 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10770 two-byte characters.
10771
78a7eee7
RM
107722011-06-27 Roland McGrath <roland@hack.frob.com>
10773
62bede13
RM
10774 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10775 AC_CACHE_CHECK invocation.
10776 * configure: Regenerated.
10777
78a7eee7
RM
10778 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10779
5ce33a62
UD
107802011-06-27 Ulrich Drepper <drepper@gmail.com>
10781
034807a9
UD
10782 [BZ #12350]
10783 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10784 bit from old_res_options.
10785
4902da17
UD
10786 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10787
5ce33a62
UD
10788 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10789 value type for setfct.
10790
c2344f56
L
107912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10792
10793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10794 __gettimeofday instead of gettimeofday.
10795
68468076
UD
107962011-06-26 Ulrich Drepper <drepper@gmail.com>
10797
10798 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10799
acb0d739
L
108002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10801
10802 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10803
10804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10805 info.
10806
8912479f
L
108072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10808
10809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10810 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10811 strcpy-sse2-unaligned strncpy-sse2-unaligned
10812 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10813 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10814 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10815 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10816 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10819 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10820 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10821 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10822 (STRCPY): Support SSE2 and SSSE3 versions.
10823
d5495a11
UD
108242011-06-24 Ulrich Drepper <drepper@gmail.com>
10825
10826 [BZ #12874]
10827 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10828 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10829 kernels which artificially limit size of requests.
10830
0b1cbaae
L
108312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10832
10833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10834 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10835 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10836 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10837 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10838 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10839 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10840 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10842 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10843 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10844 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10845 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10846 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10847 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10849 Enable unaligned load optimization for Intel Core i3, i5 and i7
10850 processors.
10851 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10852 Define.
10853 (index_Fast_Unaligned_Load): Define.
10854 (HAS_FAST_UNALIGNED_LOAD): Define.
10855
07f494a0
MP
108562011-06-23 Marek Polacek <mpolacek@redhat.com>
10857
10858 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10859
fa3fc0fe
UD
108602011-06-22 Ulrich Drepper <drepper@gmail.com>
10861
10862 [BZ #12907]
10863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10864 until it is clear that the information is realy needed.
10865 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10866
e12df166
AS
108672011-06-22 Andreas Schwab <schwab@redhat.com>
10868
10869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10870
852eb34d
UD
108712011-06-22 Ulrich Drepper <drepper@gmail.com>
10872
84e2a551
UD
10873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10874 /sys/devices/system/cpu/online if it is usable.
10875
852eb34d
UD
10876 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10877 reading the information from the /proc filesystem to once a second.
10878
6e502e19
UD
108792011-06-21 Andreas Jaeger <aj@suse.de>
10880
10881 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10882 NULL after inclusion of kernel headers.
10883
75d39ff2
UD
108842011-06-21 Ulrich Drepper <drepper@gmail.com>
10885
51f9aa6a
UD
10886 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10887 calls to internal_setent.
10888
c0244a9d
UD
10889 [BZ #12885]
10890 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10891 addresses using gethostbyname4_r ignore IPv4 addresses.
10892
c5e3c2ae
UD
10893 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10894 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10895
75d39ff2
UD
10896 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10897
42675c6f
DM
108982011-06-20 David S. Miller <davem@davemloft.net>
10899
10900 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10901 inclusions.
10902 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10903
10904 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10905 (elf_irel): Use it.
10906 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10907 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10908 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10909 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10910 * sysdeps/x86_64/dl-irel.h: Likewise.
10911
10912 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10913 * elf/dl-sym.c: Likewise.
10914
57912a71
UD
109152011-06-15 Ulrich Drepper <drepper@gmail.com>
10916
10917 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10918 need to dereference resplen2.
10919
ee22793d
AS
109202011-06-14 Andreas Schwab <schwab@redhat.com>
10921
10922 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10923
a9e836b0
UD
109242011-06-15 Ulrich Drepper <drepper@gmail.com>
10925
77fb9117
UD
10926 * Makeconfig: Define vardbdir and inst_vardbdir.
10927 * nss/Makefile: Add rules to install db-Makefile.
10928
40c1b22c
UD
10929 * nss/nss_db/db-XXX.c: Cleanup.
10930
9f2da732
UD
10931 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10932 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10933 GLIBC_PRIVATE.
10934 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10935 * nss/makedb.c: Implement -g option to specify that value strings
10936 are generated and should not be added to table iterated over for
10937 get*ent calls.
10938 * nss/nss_db/db-initgroups.c: New file.
10939
82e9a1f7
UD
10940 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10941 interface.
10942
c41af17e
UD
10943 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10944 (internal_getgrouplist): Adjust to name change.
10945 Update use_initgroups_entry if this is not the first call.
10946 * nss/databases.def: Add initgroups entry.
10947
a9e836b0
UD
10948 * nss/makedb.c (compute_tables): Check result of multiple hash table
10949 sizes to minimize maximum chain length.
10950
2666d441
UD
109512011-06-14 Ulrich Drepper <drepper@gmail.com>
10952
10953 * Versions.def: Add entry for libnss_db.
10954 * shlib-versions: Likewise.
10955 * nss/Makefile: Add rules to build libnss_db.
10956 * nss/Versions: Add libnss_db information. Organize libnss_files
10957 entries better.
10958 * nss/db-Makefile: Add gshadow support. Change rules for the new
10959 makedb progra. Some minor improvements to generate smaller files.
10960 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10961 here from...
10962 * nss/makedb.c: ...here.
10963 Improve database format to be smaller and require less memory at
10964 runtime.
10965 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10966 db anymore.
10967 * nss/nss_db/db-netgrp.c: Likewise.
10968 * nss/nss_db/db-open.c: Likewise.
10969 * nss/nss_files/flies-XXX.x: Adjust comments.
10970 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10971 * nss/nss_files/files-grp.c: Likewise.
10972 * nss/nss_files/files-hosts.c: Likewise.
10973 * nss/nss_files/files-network.c: Likewise.
10974 * nss/nss_files/files-proto.c: Likewise.
10975 * nss/nss_files/files-pwd.c: Likewise.
10976 * nss/nss_files/files-rpc.c: Likewise.
10977 * nss/nss_files/files-service.c: Likewise.
10978 * nss/nss_files/files-sgrp.c: Likewise.
10979 * nss/nss_files/files-spwd.c: Likewise.
10980 * nss/nss_db/db-alias.c: Removed.
10981 * nss/nss_db/dummy-db.h: Removed.
10982
9ee76b5a
UD
109832011-06-02 Ulrich Drepper <drepper@gmail.com>
10984
10985 * nss/makedb.c: Rewritten to not use database library.
10986 * nss/Makefile: Update to build new makedb program.
10987
c71ca1f8
AJ
109882011-06-14 Andreas Jaeger <aj@suse.de>
10989
10990 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10991 memset declaration.
10992
3154bfb8
UD
109932011-06-10 Andreas Schwab <schwab@redhat.com>
10994
10995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10996 tmpbuf.
10997
b350afab
RM
109982011-06-10 Roland McGrath <roland@hack.frob.com>
10999
decd4e50
RM
11000 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11001 * elf/Makefile ($(objpfx)ld.so): Likewise.
11002
5615eaf2
RM
11003 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11004 Don't list ld.so twice in dependencies.
11005
11006 * posix/bug-regex31.c: Include <stdlib.h>.
11007
11008 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11009
11010 * nis/nss_compat/compat-spwd.c
11011 (getspent_next_nss_netgr): Remove unused variable.
11012 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11013
11014 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11015 nonmembers" output to use the right array.
11016
11017 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11018
11019 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11020
11021 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11022 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11023 * catgets/gencat.c (read_input_file): Likewise.
11024 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11025
11026 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11027 variable definition inside #if's controlling its use.
11028
11029 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11030
11031 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11032
11033 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11034
11035 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11036 unreachable code.
11037
11038 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11039
b68e08db
RM
11040 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11041 * configure: Regenerated.
11042
b350afab
RM
11043 * Makerules: Revert last change.
11044 * elf/Makefile: Likewise.
11045
28368601
RM
110462011-06-09 Roland McGrath <roland@hack.frob.com>
11047
11048 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11049 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11050 (reloc-link): Likewise.
11051
11988f8f
UD
110522011-06-09 Ulrich Drepper <drepper@gmail.com>
11053
11054 * elf/Makefile: Add rules to build pldd.
11055 * elf/pldd.c: New file.
11056 * elf/pldd-xx.c: New file.
11057
e80fab37
UD
110582011-06-07 Ulrich Drepper <drepper@gmail.com>
11059
11060 * version.h: Update for 2.15 development version.
11061
9b849836
DM
110622011-06-07 David S. Miller <davem@davemloft.net>
11063
11064 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11065 ifuncs.
11066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11067 elf_machine_lazy_rel): Likewise.
11068 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11070 elf_machine_lazy_rel): Likewise.
11071 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11072 dl_hwcap via passed in argument.
11073 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11074 Likewise.
11075
5a31b283
AK
110762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11077
11078 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11079
069e52f8
RM
110802011-06-06 Roland McGrath <roland@hack.frob.com>
11081
11082 [BZ #12849]
11083 * manual/fdl-1.1.texi: New file, verbatim from:
11084 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11085 * manual/lgpl-2.1.texi: New file, verbatim from:
11086 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11087 * manual/Makefile (licenses): New variable, list those new file names.
11088 (texis): Use it.
11089 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11090
11091 * manual/fdl.texi: File removed.
11092 * manual/lesser.texi: File removed.
11093 * manual/libc.texinfo (Copying, Documentation License):
11094 Use new @include file names, put @appendix directive before @include.
11095
f16846a5
JJ
110962011-06-04 Jakub Jelinek <jakub@redhat.com>
11097
11098 [BZ #12841]
11099 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11100 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11101 (mq_open): Add __NTH.
11102
3d29045b
L
111032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11106 Assume Intel Core i3/i5/i7 processor if AVX is available.
11107
8c297311
UD
111082011-05-31 Ulrich Drepper <drepper@gmail.com>
11109
11110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11111 typo.
11112
c8fc0c91
UD
111132011-05-31 Andreas Schwab <schwab@redhat.com>
11114
11115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11116 memory. Use alloca_account. Fix memory leak when retrying.
11117
5b27a807
UD
111182011-05-31 Ulrich Drepper <drepper@gmail.com>
11119
356f8bc6
UD
11120 * version.h (RELEASE): Bump for 2.14 release.
11121 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11122
5b27a807
UD
11123 * config.make.in (RANLIB): Remove entry.
11124
01f16ab0
UD
111252011-05-30 Ulrich Drepper <drepper@gmail.com>
11126
41fce8bd
UD
11127 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11128 (libc.pot): Work around missing support for .ksh extension in xgettext.
11129
4769ae77
UD
11130 [BZ #12684]
11131 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11132 if both request failed.
11133 (send_dg): In case of server errors clear resplen or *resplen2.
11134
6b1e7d19
UD
11135 [BZ #12454]
11136 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11137 when there are multiple maps.
11138 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11139 (_dl_fini): Remove test here.
11140
01f16ab0
UD
11141 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11142
b1ebd700
UD
111432011-05-29 Ulrich Drepper <drepper@gmail.com>
11144
7ae22829
UD
11145 [BZ #12350]
11146 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11147 bit from old_res_options.
11148 (gaih_inet): Likewise.
11149
553149f6 11150 [BZ #11099]
18a84741 11151 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11152 as signed.
11153
652ffab1
UD
11154 * resolv/res_init.c (res_setoptions): Make the code more compact.
11155
16985fd0
UD
11156 [BZ #11558]
11157 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11158 set RES_USEVC.
11159
0464f746
UD
11160 [BZ #11634]
11161 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11162
7d17596c
UD
11163 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11164
cf6bbbd7
UD
11165 [BZ #11781]
11166 * malloc/malloc.h: Declare malloc hook variables as volatile.
11167
13f1ab36
UD
11168 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11169 in last patch.
11170
b1ebd700
UD
11171 [BZ #11799]
11172 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11173 raise in the comment.
80e2212d
UD
11174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11176 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11177
ce67228d
UD
111782011-05-28 Ulrich Drepper <drepper@gmail.com>
11179
8887a920
UD
11180 [BZ #12811]
11181 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11182 grow the buffers more if it already has to be sufficient.
11183 (build_wcs_upper_buffer): Likewise.
11184 * posix/regexec.c (check_matching): Likewise.
11185 (clean_state_log_if_needed): Likewise.
11186 (extend_buffers): Don't enlarge buffers beyond size of the input
11187 buffer.
11188 Patches mostly by Emil Wojak <emil@wojak.eu>.
11189 * posix/bug-regex32.c: New file.
11190 * posix/Makefile (tests): Add bug-regex32.
11191
4f031072
UD
11192 * locale/findlocale.c (_nl_find_locale): Return right away if
11193 _nl_explode_name failed.
11194 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11195
d0478f0c
UD
11196 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11197
de81b246
UD
11198 * debug/xtrace.sh: Unify messages.
11199 * malloc/memusage.sh: Likewise.
11200
c738465a
UD
11201 [BZ #12813]
11202 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11203 time symbol from vDSO. Substitute with vsyscall if not available.
11204 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11205 __vdso_time.
11206
f1f929d7
UD
11207 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11208 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11209 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11210 Add sendmmsg and internal_sendmmsg.
11211 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11213 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11214
ce67228d
UD
11215 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11216 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11218
e57420c6
UD
112192011-05-27 Ulrich Drepper <drepper@gmail.com>
11220
a8509ca5
UD
11221 [BZ #12813]
11222 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11223 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11224 available.
11225 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11226 __vdso_getcpu.
11227
e57420c6
UD
11228 [BZ #12814]
11229 * iconvdata/Makefile (tests): Add bug-iconv9.
11230 * iconvdata/bug-iconv9.c: New file.
11231
4d07db15
AS
112322011-05-27 Andreas Schwab <schwab@redhat.com>
11233
11234 [BZ #12814]
11235 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11236
ea486f69
JJ
112372011-05-25 Jakub Jelinek <jakub@redhat.com>
11238
11239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11240 (struct user_regs_struct): Change intcs field back to cs.
11241
6f038433
UD
112422011-05-25 Ulrich Drepper <drepper@gmail.com>
11243
11244 * po/ja.po: Update from translation team.
11245
67f86a25
UD
112462011-05-23 Ulrich Drepper <drepper@gmail.com>
11247
11248 [BZ #12795]
11249 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11250 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11251
def7fbd6
AS
112522011-05-20 Andreas Schwab <schwab@redhat.com>
11253
11254 * stdlib/longlong.h: Update from GCC.
11255
f50ef8f1
AS
112562011-05-23 Andreas Schwab <schwab@redhat.com>
11257
11258 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11259 parameter name.
11260 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11261 Add parameter name.
11262 (__sysconf): Pass it down.
11263
de7ce8f1
UD
112642011-05-22 Ulrich Drepper <drepper@gmail.com>
11265
f2962a71
UD
11266 [BZ #12671]
11267 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11268 some situations.
11269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11270 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11271 add in in __libc_use_alloca calls. Adjust callers.
11272 (glob): Use malloc in some situations.
11273
de7ce8f1
UD
11274 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11275 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11276 pltexit.
11277
aec84f53
UD
112782011-05-21 Ulrich Drepper <drepper@gmail.com>
11279
05bb4a68
UD
11280 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11281 and CLOCK_BOOTTIME_ALARM.
11282
7ea72f99
UD
11283 [BZ #12782]
11284 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11285 is returned.
11286
7e4afad5
UD
11287 * string/_strerror.c (__strerror_r): Print negative errors as signed
11288 numbers.
11289
8e211fec
UD
11290 [BZ #12777]
11291 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11292 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11293 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11294
f7d82dc9
UD
11295 * configure.in: Fix typo in redirection and correct removal of test
11296 files in two cases.
11297
cc9e536d
UD
11298 [BZ #12788]
11299 * locale/setlocale.c (new_composite_name): Fix test to check for
11300 identical name of all categories.
11301
aec84f53
UD
11302 [BZ #12792]
11303 * libio/filedoalloc.c (local_isatty): New function.
11304 (_IO_file_doallocate): Use local_isatty.
11305 * stdio-common/perror.c (perror): In case a new stream is used
11306 forward the stream error.
11307 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11308 error flag.
11309
78e64fdc
RT
113102011-05-20 Ulrich Drepper <drepper@gmail.com>
11311
34a9094f
UD
11312 [BZ #11869]
11313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11314 alloca.
11315 * include/alloca.h (extend_alloca_account): Define.
11316
78e64fdc
RT
11317 [BZ #11857]
11318 * posix/regex.h: Fix comments with documentation of user-accessible
11319 fields after compilation and describe correct free'ing of pattern
11320 after re_compile_pattern.
11321 Patch by Reuben Thomas <rrt@sc3d.org>.
11322
457bddfc
RA
113232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11324
11325 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11326 and -mno-altivec to prevent the compiler from using Altivec and/or
11327 VSX instructions when the corresponding registers are not available.
11328
a4527b51
AS
113292011-05-19 Andreas Schwab <schwab@redhat.com>
11330
11331 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11332
ed690b2f
UD
113332011-05-19 Ulrich Drepper <drepper@gmail.com>
11334
11335 * libio/freopen.c (freopen): Use __dup2, not dup2.
11336 * libio/freopen64.c (freopen64): Likewise.
11337
8db73634
L
113382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 [BZ #12775]
11341 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11342 * math/Makefile (tests): Add test-powl.
11343 (CFLAGS-test-powl.c): Define.
11344 * math/test-powl.c: New file.
11345
0a197a9d
L
113462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11347
11348 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11349
ee30c380
UD
113502011-05-17 Ulrich Drepper <drepper@gmail.com>
11351
11352 [BZ #11837]
11353 * iconvdata/gb18030.c: Update to GB18020-2005.
11354
6ce75379
UD
113552011-05-16 Ulrich Drepper <drepper@gmail.com>
11356
a4b89fd8
AR
11357 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11358 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11359 Patch by Aharon Robbins <arnold@skeeve.com>.
11360
ea389b12
UD
11361 [BZ #11892]
11362 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11363 on the stack.
11364
68a3f91f
UD
11365 [BZ #11895]
11366 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11367 through underflows.
11368
15cc7dd1
UD
11369 [BZ #12766]
11370 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11371 point to strings before performing equality test for error_one_per_line
11372 mode.
11373
f3799213
UD
11374 [BZ #11697]
11375 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11376
d79a9c94
UD
11377 [BZ #11820]
11378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11379 (struct user_fpregs_struct): Avoid __uint*_t types.
11380
56e5eb46
UD
11381 [BZ #6420]
11382 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11383 symbol info. Use it instead of calling _dl_addr locally.
11384 (lock_and_info): New function.
11385 (tr_freehook): Call lock_and_info and pass symbol info as additional
11386 parameter to tr_where.
11387 (tr_mallochook): Likewise.
11388 (tr_reallochook): Likewise.
11389 (tr_memalignhook): Likewise.
11390
6ce75379
UD
11391 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11392 used and couldn't be at all thread-safe.
11393
f8a3b5bf
UD
113942011-05-15 Ulrich Drepper <drepper@gmail.com>
11395
94b7cc37
UD
11396 * libio/freopen.c (freopen): Don't close old file descriptor
11397 before the new one is opened. Instead dup the new file descriptor
11398 to the old one after the new stream is created.
11399 * libio/freopen64.c (freopen64): Likewise.
11400 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11401 * libio/fileops.c (_IO_new_file_close_it): Handle new
11402 _IO_FLAGS2_NOCLOSE flag.
11403 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11404 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11405 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11406 _IO_FLAGS2_NOCLOSE flag.
11407 * include/unistd.h: Add hidden_proto for dup3.
11408 Define __have_dup3.
11409 * io/dup3.c: Define hidden symbol.
11410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11411
bd25564e
UD
11412 [BZ #7101]
11413 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11414 when an incomplete long option is used.
11415 * posix/tst-getopt_long1.c: New file.
11416 * posix/Makefile (tests): Add tst-getopt_long1.
11417
c84cfef4
UD
11418 [BZ #10138]
11419 * scripts/config.guess: Update from autoconf-2.68.
11420 * scripts/config.sub: Likewise.
11421
3b85df27
UD
11422 [BZ #10157]
11423 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11424 tests into ...
11425 (has_cpuclock): ...this. New function.
11426 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11427 macro here based on has_cpuclock code.
11428
15a856b1
UD
11429 [BZ #10149]
11430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11431 First byte (not low byte) is now always NUL.
11432 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11433
05f399e6
UD
11434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11435 Use non-cancelable interfaces.
11436
10a52685 11437 [BZ #9809]
94ecc67d
UD
11438 * locale/iso-639.def: Add entry for Sorani.
11439
f8a3b5bf
UD
11440 [BZ #11901]
11441 * include/stdlib.h: Move include protection to the right place.
11442 Define abort_msg_s. Declare __abort_msg with it.
11443 * stdlib/abort.c (__abort_msg): Adjust type.
11444 * assert/assert.c (__assert_fail_base): New function. Majority
11445 of code from __assert_fail. Allocate memory for __abort_msg with
11446 mmap.
11447 (__assert_fail): Now call __assert_fail_base.
11448 * assert/assert-perr.c: Remove bulk of implementation. Use
11449 __assert_fail_base.
11450 * include/assert.hL Declare __assert_fail_base.
11451 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11452 mmap.
11453 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11454
1af4e298
UD
114552011-05-14 Ulrich Drepper <drepper@gmail.com>
11456
f8a3b5bf 11457 [BZ #11952]
d26dfc60
MG
11458 [BZ #12453]
11459 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11460 until all modules are registered in the DTV.
11461 * elf/Makefile: Add rules to build and run tst-tls19.
11462 * elf/tst-tls19.c: New file.
11463 * elf/tst-tls19mod1.c: New file.
11464 * elf/tst-tls19mod2.c: New file.
11465 * elf/tst-tls19mod3.c: New file.
11466 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11467
2fc54d6f
UD
11468 [BZ #12083]
11469 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11470 correctly.
11471
98d76b46
UD
11472 [BZ #12601]
11473 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11474 two-byte sequence errors.
11475 * iconvdata/Makefile (tests): Add bug-iconv8.
11476 * iconvdata/bug-iconv8.c: New file.
11477
da3c19ef
UD
11478 [BZ #12626]
11479 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11480 buf2 definition.
11481
ca408c15
UD
11482 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11483
d6f67f7d
UD
11484 [BZ #12432]
11485 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11486 (dummy_getcfa): New function.
11487 (init): Get _Unwind_GetCFA address, use dummy if not found.
11488 (backtrace_helper): In recursion check, also check whether CFA changes.
11489 (__backtrace): Completely initialize arg.
11490
1af4e298 11491 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11492 storing incomplete byte sequence in state object. Avoid testing for
11493 guaranteed too small input if we know there is enough data available.
1af4e298 11494
da62f81b
AS
114952011-05-11 Andreas Schwab <schwab@redhat.com>
11496
11497 * Makeconfig (+link-pie): Indent.
11498 * Rules (binaries-pie): Define if $(have-fpie) and
11499 $(build-shared).
11500 (binaries-shared): Also filter out $(binaries-pie).
11501 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11502 * nscd/Makefile (others-pie): Add nscd.
11503 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11504 ($(objpfx)nscd): Remove command override.
11505 * login/Makefile (others-pie): Add pt_chown.
11506 ($(objpfx)pt_chown): Remove command override.
11507 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11508 remove command overrides.
11509
fcabc0f8
UD
115102011-05-13 Ulrich Drepper <drepper@gmail.com>
11511
20030ae6
UD
11512 * libio/tst_putwc.c: Fix error messages.
11513
fcabc0f8
UD
11514 [BZ #12724]
11515 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11516 currently writing and seek to current position when not.
11517 * libio/Makefile (tests): Add bug-fclose1.
11518 * libio/bug-fclose1.c: New file.
11519
320a5dc0
PB
115202011-05-12 Ulrich Drepper <drepper@gmail.com>
11521
11522 [BZ #12511]
11523 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11524 don't set DF_1_NODELETE here.
11525 (do_lookup_x): When entering new entry test for copy relocation
11526 and if necessary set DF_1_NODELETE flag.
11527 * elf/tst-unique4.cc: New file.
11528 * elf/tst-unique4.h: New file.
11529 * elf/tst-unique4lib.cc: New file.
11530 * elf/Makefile: Add rules to build and run tst-unique4.
11531 Patch by Piotr Bury <pbury@goahead.com>.
11532
22836f52
UD
115332011-05-11 Ulrich Drepper <drepper@gmail.com>
11534
f574184a
UD
11535 [BZ #12052]
11536 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11537
e1fb097f
UD
11538 [BZ #12625]
11539 * misc/mntent_r.c (addmntent): Flush the stream after the output
11540
22836f52
UD
11541 [BZ #12393]
11542 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11543 (is_trusted_path_normalize): Skip initial colon. Append slash
11544 to empty buffer. Duplicate is_trusted_path code but allow
11545 constructed patch to be prefix.
11546 (is_dst): Allow $ORIGIN followed by /.
11547 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11548 Correct testing of result of is_trusted_path_normalize
11549 (decompose_rpath): Fix warning.
11550
7b3b0b2a
UD
115512011-05-10 Ulrich Drepper <drepper@gmail.com>
11552
11553 [BZ #11257]
11554 * grp/initgroups.c (internal_getgrouplist): When we found the service
11555 list through the initgroups entry in nsswitch.conf do not always
11556 continue on a successful lookup. Don't always use the
eac80ce2 11557 __nss_group_database value if it is set.
7b3b0b2a
UD
11558 * nss/nsswitch.conf (initgroups): Change action for successful db
11559 lookup to continue for compatibility.
11560
2a81eaa5
UD
115612011-05-09 Ulrich Drepper <drepper@gmail.com>
11562
be97a69e
UD
11563 [BZ #11532]
11564 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11565 and CP774 modules.
11566 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11567 and CP774 modules.
11568 * iconvdata/tst-tables.sh: Likewise.
11569 * iconvdata/cp770.c: New file.
11570 * iconvdata/cp771.c: New file.
11571 * iconvdata/cp772.c: New file.
11572 * iconvdata/cp773.c: New file.
11573 * iconvdata/cp774.c: New file.
11574 * iconvdata/testdata/CP770: New file.
11575 * iconvdata/testdata/CP770..UTF8: New file.
11576 * iconvdata/testdata/CP771: New file.
11577 * iconvdata/testdata/CP771..UTF8: New file.
11578 * iconvdata/testdata/CP772: New file.
11579 * iconvdata/testdata/CP772..UTF8: New file.
11580 * iconvdata/testdata/CP773: New file.
11581 * iconvdata/testdata/CP773..UTF8: New file.
11582 * iconvdata/testdata/CP774: New file.
11583 * iconvdata/testdata/CP774..UTF8: New file.
11584
11585 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11586 END CHARMAP line.
11587 * iconvdata/gen-8bit-gap.sh: Likewise.
11588 * iconvdata/gen-8bit.sh: Likewise.
11589
c1e9e399
UD
11590 * locale/iso-639.def: Add ary entry.
11591
24c55fb3 11592 [BZ #11258]
96b4b1b0
UD
11593 * locale/C-translit.h.in: Add U20A1 transliteration.
11594
bdc2f971
KB
11595 [BZ #12178]
11596 * locale/iso-639.def: Add wae entry.
11597 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11598
2952b117
UD
11599 [BZ #12545]
11600 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11601 for n.
11602
2a81eaa5
UD
11603 [BZ #12711]
11604 * locale/C-translit.h.in: Add entry for U20B9.
11605 Patch by pravin.d.s@gmail.com.
11606
28377d1b
UD
116072011-05-08 Ulrich Drepper <drepper@gmail.com>
11608
7fb90fb8
UD
11609 [BZ #12713]
11610 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11611 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11612 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11613 in rtld. Use *stat64.
7fb90fb8 11614 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11615 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11616 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11617 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11618 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11619 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11620 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11621 __fstatat64 macros.
7fb90fb8
UD
11622 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11623 * dirent/rewinddir.c: Add libc_hidden_def.
11624 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11625 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11626
28377d1b
UD
11627 * include/dirent.h (__alloc_dir): Add flags parameter.
11628 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11629 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11630 __alloc_dir.
11631 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11632 from fdopendir if O_CLOEXEC is already set.
11633
66bdbaa4
AM
116342011-03-15 Alan Modra <amodra@gmail.com>
11635
11636 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11637 l_tls_firstbyte_offset non-zero. Save padding offset in
11638 l_tls_firstbyte_offset for later use.
11639 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11640 freeing static tls block.
11641
95721191
JN
116422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11643
11644 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11645 where #ifdef was intended. The intent is to prevent ARG_MAX from
11646 being defined by the kernel headers.
11647
f87dfb1f
UD
116482011-05-07 Ulrich Drepper <drepper@gmail.com>
11649
11650 [BZ #12734]
11651 * resolv/resolv.h: Define RES_NOTLDQUERY.
11652 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11653 no-tld-query and set RES_NOTLDQUERY.
11654 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11655 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11656 modern BIND to search name as TLD unless forbidden.
11657
47c3cd7a
UD
116582011-05-07 Petr Baudis <pasky@suse.cz>
11659 Ulrich Drepper <drepper@gmail.com>
11660
11661 [BZ #12393]
11662 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11663 (is_trusted_path): ...to here.
c1e9ea35 11664 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11665 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11666 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11667
8a35c912
PP
116682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11669
11670 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11671 __BEGIN/__END_DECLS.
11672
acd41f47
UD
116732011-05-06 Ulrich Drepper <drepper@gmail.com>
11674
11675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11676 NSS_STATUS_NOTFOUND if no record was found.
11677
597df647
AS
116782011-05-05 Andreas Schwab <schwab@redhat.com>
11679
11680 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11681 (headers-not-in-tirpc): Remove rpc/netdb.h
11682 * resolv/netdb.h: Revert last change.
11683
b9af1301
PP
116842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11685
11686 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11687 circular dependency between libgcc.a and libc.a.
11688
4e34d5f5
AS
116892011-05-05 Andreas Schwab <schwab@redhat.com>
11690
11691 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11692 * nis/Makefile: Don't install rpcsvc/*.
11693 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11694 instead of <rpc/types.h>.
11695 (MAXHOSTNAMELEN): Define.
11696
00ee369c
AS
116972011-05-03 Andreas Schwab <schwab@redhat.com>
11698
11699 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11700
0b592a30
MB
117012011-04-28 Maciej Babinski <mbabinski@google.com>
11702
11703 [BZ #12714]
11704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11705 gethostbyname4_r when IPv6 results are possible.
11706
6e04cbbe
UD
117072011-05-02 Ulrich Drepper <drepper@gmail.com>
11708
11709 [BZ #12723]
11710 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11711 _PC_PIPE_BUF handling.
11712
e4ecafe0
BH
117132011-04-30 Bruno Haible <bruno@clisp.org>
11714
11715 [BZ #12717]
11716 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11717 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11718 to 'int'.
11719 * inet/getnameinfo.c (getnameinfo): Likewise.
11720
125ee683
UD
117212011-04-29 Ulrich Drepper <drepper@gmail.com>
11722
11723 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11724 to groups setting in database lookup.
11725 * nss/nsswitch.conf: Add initgroups entry.
11726
b722481a
EB
117272011-04-22 Ulrich Drepper <drepper@gmail.com>
11728
11729 [BZ #12685]
11730 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11731 mode string.
11732 Patch by Eric Blake <eblake@redhat.com>.
11733
4df46dbd
L
117342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11735
11736 * sunrpc/Makefile (need-export-routines): Add svc_run.
11737 (routines): Remove svc_run.
11738 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11739 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11740 * sunrpc/svc_run.c (svc_run): Likewise.
11741 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11742
e84142d2
UD
117432011-04-21 Ulrich Drepper <drepper@gmail.com>
11744
11745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11746 problem in reallocation in last patch.
11747
877175d8
UD
117482011-04-20 Ulrich Drepper <drepper@gmail.com>
11749
11750 * sunrpc/Makefile: Move inclusion of Rules.
11751
ab8eed78
UD
117522011-04-19 Ulrich Drepper <drepper@gmail.com>
11753
11754 * nss/nss_files/files-initgroups.c: New file.
11755 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11756 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11757 _nss_files_initgroups_dyn.
11758
e3d8f584
RS
117592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11760
11761 * elf/elf.h (R_ARM_IRELATIVE): Define.
11762
af190f45
UD
117632011-04-19 Ulrich Drepper <drepper@gmail.com>
11764
11765 * po/ru.po: Update from translation team.
11766
53cf59ef
UD
117672011-04-17 Ulrich Drepper <drepper@gmail.com>
11768
11769 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11770 dependencies.
11771
4c559bcd
MF
117722011-02-06 Mike Frysinger <vapier@gentoo.org>
11773
11774 [BZ #12653]
11775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11776 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11777 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11778 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11779 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11780
4420675c
AS
117812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11782
11783 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11784 differing bytes.
11785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11788
75ea32ab
UD
117892011-04-17 Ulrich Drepper <drepper@gmail.com>
11790
11791 [BZ #12420]
11792 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11793 storing it.
11794 * stdlib/bug-getcontext.c: New file.
11795 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11796
27390476
AK
117972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11798
11799 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11800 instructions into .machine "z9-109".
11801 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11802 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11803
10442705
AK
118042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11805
11806 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11807 between environment variables and auxiliary vector.
11808
7b57bfe5
UD
118092011-04-16 Ulrich Drepper <drepper@gmail.com>
11810
11811 * Makefile: Add rules to build linkobj/libc.so.
11812 * include/libc-symbols.h: Define libc_hidden_nolink.
11813 * include/rpc/auth.h: Mark functions which are to be hidden.
11814 * include/rpc/auth_des.h: Likewise.
11815 * include/rpc/auth_unix.h: Likewise.
11816 * include/rpc/clnt.h: Likewise.
11817 * include/rpc/des_crypt.h: Likewise.
11818 * include/rpc/key_prot.h: Likewise.
11819 * include/rpc/pmap_clnt.h: Likewise.
11820 * include/rpc/pmap_prot.h: Likewise.
11821 * include/rpc/pmap_rmt.h: Likewise.
11822 * include/rpc/rpc_msg.h: Likewise.
11823 * include/rpc/svc.h: Likewise.
11824 * include/rpc/svc_auth.h: Likewise.
11825 * include/rpc/xdr.h: Likewise.
11826 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11827 * nss/Makefile: Likewise.
11828 * sunrpc/Makefile: Don't install headers. Build library with normal
11829 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11830 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11831 for the compat linking library. Remove use of INTDEF/INTUSE.
11832 * sunrpc/auth_none.c: Likewise.
11833 * sunrpc/auth_unix.c: Likewise.
11834 * sunrpc/authdes_prot.c: Likewise.
11835 * sunrpc/authuxprot.c: Likewise.
11836 * sunrpc/clnt_gen.c: Likewise.
11837 * sunrpc/clnt_perr.c: Likewise.
11838 * sunrpc/clnt_raw.c: Likewise.
11839 * sunrpc/clnt_simp.c: Likewise.
11840 * sunrpc/clnt_tcp.c: Likewise.
11841 * sunrpc/clnt_udp.c: Likewise.
11842 * sunrpc/clnt_unix.c: Likewise.
11843 * sunrpc/des_crypt.c: Likewise.
11844 * sunrpc/des_soft.c: Likewise.
11845 * sunrpc/get_myaddr.c: Likewise.
11846 * sunrpc/key_call.c: Likewise.
11847 * sunrpc/key_prot.c: Likewise.
11848 * sunrpc/netname.c: Likewise.
11849 * sunrpc/pm_getmaps.c: Likewise.
11850 * sunrpc/pm_getport.c: Likewise.
11851 * sunrpc/pmap_clnt.c: Likewise.
11852 * sunrpc/pmap_prot.c: Likewise.
11853 * sunrpc/pmap_prot2.c: Likewise.
11854 * sunrpc/pmap_rmt.c: Likewise.
11855 * sunrpc/publickey.c: Likewise.
11856 * sunrpc/rpc_cmsg.c: Likewise.
11857 * sunrpc/rpc_common.c: Likewise.
11858 * sunrpc/rpc_dtable.c: Likewise.
11859 * sunrpc/rpc_prot.c: Likewise.
11860 * sunrpc/rpc_thread.c: Likewise.
11861 * sunrpc/rtime.c: Likewise.
11862 * sunrpc/svc.c: Likewise.
11863 * sunrpc/svc_auth.c: Likewise.
11864 * sunrpc/svc_authux.c: Likewise.
11865 * sunrpc/svc_raw.c: Likewise.
11866 * sunrpc/svc_run.c: Likewise.
11867 * sunrpc/svc_simple.c: Likewise.
11868 * sunrpc/svc_tcp.c: Likewise.
11869 * sunrpc/svc_udp.c: Likewise.
11870 * sunrpc/svc_unix.c: Likewise.
11871 * sunrpc/svcauth_des.c: Likewise.
11872 * sunrpc/xcrypt.c: Likewise.
11873 * sunrpc/xdr.c: Likewise.
11874 * sunrpc/xdr_array.c: Likewise.
11875 * sunrpc/xdr_float.c: Likewise.
11876 * sunrpc/xdr_intXX_t.c: Likewise.
11877 * sunrpc/xdr_mem.c: Likewise.
11878 * sunrpc/xdr_rec.c: Likewise.
11879 * sunrpc/xdr_ref.c: Likewise.
11880 * sunrpc/xdr_sizeof.c: Likewise.
11881 * sunrpc/xdr_stdio.c: Likewise.
11882
e6c61494
UD
118832011-04-10 Ulrich Drepper <drepper@gmail.com>
11884
11885 [BZ #12650]
11886 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11887 * sysdeps/ia64/dl-tls.h: Likewise.
11888 * sysdeps/powerpc/dl-tls.h: Likewise.
11889 * sysdeps/s390/dl-tls.h: Likewise.
11890 * sysdeps/sh/dl-tls.h: Likewise.
11891 * sysdeps/sparc/dl-tls.h: Likewise.
11892 * sysdeps/x86_64/dl-tls.h: Likewise.
11893 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11894
34fe483e
AS
118952011-03-14 Andreas Schwab <schwab@redhat.com>
11896
11897 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11898 rpath element also skip the following colon.
11899 (expand_dynamic_string_token): Add is_path parameter and pass
11900 down to DL_DST_REQUIRED and _dl_dst_substitute.
11901 (decompose_rpath): Call expand_dynamic_string_token with
11902 non-zero is_path. Ignore empty rpaths.
11903 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11904 with zero is_path.
11905
f12a32e6
AS
119062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11907
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11909 Make cancelable.
11910
38a7d692
UD
119112011-04-09 Ulrich Drepper <drepper@gmail.com>
11912
11913 [BZ #12655]
11914 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11915 Patch by Filipe David Manana <fdmanana@apache.org>.
11916
e451d22b
AS
119172011-04-07 Andreas Schwab <schwab@redhat.com>
11918
11919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11920 Maintain aligned stack.
11921 (CHECK_RSP): Remove unused macro.
11922
dedc7c7b
UD
119232011-04-03 Ulrich Drepper <drepper@gmail.com>
11924
11925 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11926 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11927
94521213
UD
119282011-04-02 Ulrich Drepper <drepper@gmail.com>
11929
11930 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11931
8cb700c0 11932 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11933
0354e355
L
119342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11935
11936 [BZ #12518]
11937 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11938 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11939 * sysdeps/x86_64/memmove.c: New file.
11940 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11941 (memcpy): Renamed to ...
11942 (__new_memcpy): This.
11943 (memcpy): Provide GLIBC_2_14 memcpy.
11944 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11945 (memcpy): Provide GLIBC_2_2_5 memcpy.
11946
8593482f
UD
119472011-04-01 Ulrich Drepper <drepper@gmail.com>
11948
11949 [BZ #12631]
11950 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11951
81a5726b
AS
119522011-03-30 Andreas Schwab <schwab@redhat.com>
11953
11954 * misc/syncfs.c: New file.
11955 * misc/Makefile (routines): Add syncfs.
11956 * posix/unistd.h: Declare syncfs.
11957 * sysdeps/unix/syscalls.list: Add syncfs.
11958
00e5419f
AS
119592011-04-01 Andreas Schwab <schwab@redhat.com>
11960
11961 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11962 open_by_handle_at.
11963 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11964 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11968 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11970
748876bf
UD
119712011-04-01 Ulrich Drepper <drepper@gmail.com>
11972
658e451d
UD
11973 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11974 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11975 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11980
748876bf
UD
11981 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11982 sync_file_range.c with -fexceptions.
11983 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11984 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11985 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11986 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11987 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11988 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11990 sync_file_range as cancellation point
11991 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11992 now a wrapper around __call_sync_file_range with cancellation handling.
11993 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11994 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11995 function name to __call_sync_file_range.
11996 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11997 Add call_sync_file_range.
748876bf 11998
6e63d5e1
AS
119992011-04-01 Andreas Schwab <schwab@redhat.com>
12000
12001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12002 bits/timex.h.
6e63d5e1 12003
46998f74
UD
120042011-04-01 Ulrich Drepper <drepper@gmail.com>
12005
4c1423ed
UD
12006 * iconv/iconv.h: Fix typo in comment.
12007 * io/fcntl.h: Likewise.
12008 * libio/stdio.h: Likewise.
12009 * posix/spawn.h: Likewise.
12010 * posix/unistd.h: Likewise.
12011 * stdlib/stdlib.h: Likewise.
12012 * time/time.h: Likewise.
12013 * wcsmbs/wchar.h: Likewise.
12014
158648c0
UD
12015 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12016 open_by_handle): Add.
12017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12018 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12019 Augment a few comments.
12020 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12025 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12026 open_by_handle.
12027
46998f74
UD
12028 * io/fcntl.h (AT_EMPTY_PATH): Define.
12029
83fe108b
UD
120302011-03-30 Ulrich Drepper <drepper@gmail.com>
12031
12032 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12033 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12034 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12035 to...
12036 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12037 * Versions.def: Add GLIBC_2.14.
12038 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12039 Export.
83fe108b 12040
bb242059
UD
120412011-03-22 Ulrich Drepper <drepper@gmail.com>
12042
12043 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12044 round counter.
12045 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12046
c97a1282
L
120472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 [BZ #12597]
12050 * string/test-strncmp.c (do_page_test): New function.
12051 (check2): Likewise.
12052 (test_main): Call check2.
12053 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12054
2a115601
UD
120552011-03-20 Ulrich Drepper <drepper@gmail.com>
12056
12057 [BZ #12587]
12058 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12059 Handle cache information in CPU leaf 4.
12060 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12061
8126d904
UD
120622011-03-18 Ulrich Drepper <drepper@gmail.com>
12063
042c49c6 12064 [BZ #12583]
8126d904
UD
12065 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12066 character representation.
12067 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12068
ccfe366e
RA
120692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12070
12071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12072 END(__isnan) to END(__isnanf) to match function entry point/label
12073 EALIGN(__isnanf,...).
12074
c6e13027
JJ
120752011-03-10 Jakub Jelinek <jakub@redhat.com>
12076
12077 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12078
33f85a3f
UD
120792011-03-10 Ulrich Drepper <drepper@gmail.com>
12080
028478fa
UD
12081 [BZ #12510]
12082 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12083 copy from the symbol referenced in the relocation to initialize the
12084 used variable.
12085 Patch by Piotr Bury <pbury@goahead.com>.
12086 * elf/Makefile: Add rules to build and tst-unique3.
12087 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12088 * elf/tst-unique3.cc: New file.
12089 * elf/tst-unique3.h: New file.
12090 * elf/tst-unique3lib.cc: New file.
12091 * elf/tst-unique3lib2.cc: New file.
12092
33f85a3f
UD
12093 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12094
03592fc7
MF
120952011-03-10 Mike Frysinger <vapier@gentoo.org>
12096
12097 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12098 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12099 to _start.
03592fc7 12100
6a5ee102
UD
121012011-03-06 Ulrich Drepper <drepper@gmail.com>
12102
12103 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12104 to-be-loaded object along a path to loader is ld.so.
12105
7e4ba49c
HJ
121062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12107 Ulrich Drepper <drepper@gmail.com>
12108
12109 * sysdeps/x86_64/memset.S: After aligning destination, code
12110 branches to different locations depending on the value of
12111 misalignment, when multiarch is enabled. Fix this.
12112
121132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12114
12115 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12116 Set _x86_64_preferred_memory_instruction for AMD processsors.
12117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12118 Set bit_Prefer_SSE_for_memop for AMD processors.
12119
13a804de
UD
121202011-03-04 Ulrich Drepper <drepper@gmail.com>
12121
12122 * libio/fmemopen.c (fmemopen): Optimize a bit.
12123
9d25c392
AS
121242011-03-03 Andreas Schwab <schwab@redhat.com>
12125
12126 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12127
a5543c6a
RM
121282011-03-03 Roland McGrath <roland@redhat.com>
12129
12130 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12131
012d35f7
DM
121322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12133
7e4ba49c 12134 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12135 __bzero_ultra1 instead of __memset_ultra1.
12136
4bff6e01
AS
121372011-02-23 Andreas Schwab <schwab@redhat.com>
12138 Ulrich Drepper <drepper@gmail.com>
12139
12140 [BZ #12509]
12141 * include/link.h (struct link_map): Add l_orig_initfini.
12142 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12143 returning unsuccessfully.
12144 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12145 close of a file loaded at startup, restore the original l_initfini
12146 list.
12147 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12148 list, store the pointer.
12149 * elf/Makefile ($(objpfx)noload-mem): New rule.
12150 (noload-ENV): Define.
12151 (tests): Add $(objpfx)noload-mem.
12152 * elf/noload.c: Include <memcheck.h>.
12153 (main): Call mtrace. Close all opened handles.
12154
f2092faf
AS
121552011-02-17 Andreas Schwab <schwab@redhat.com>
12156
12157 [BZ #12454]
12158 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12159 dependencies are missing.
12160
6c8a2e88
ST
121612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12162
f2092faf 12163 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12164 Hurd needs munmap.
12165 * sysdeps/mach/hurd/ifreq.h: New file.
12166
84a42118
PB
121672011-01-27 Petr Baudis <pasky@suse.cz>
12168 Ulrich Drepper <drepper@gmail.com>
12169
071f805e 12170 [BZ 12445]#
84a42118
PB
12171 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12172 to extend_alloca().
12173 * stdio-common/bug23.c: New file.
12174 * stdio-common/Makefile (tests): Add bug23.
12175
e23fe25b
AS
121762010-09-28 Andreas Schwab <schwab@redhat.com>
12177 Ulrich Drepper <drepper@gmail.com>
12178
12179 [BZ #12489]
12180 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12181 before performing relro protection. At old place add assertion
12182 to make sure nothing changed.
12183
d3f02e10
NS
121842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12185 Glauber de Oliveira Costa <glommer@gmail.com>
12186
12187 * elf/elf.h: Add new ARM TLS relocs.
12188
d55fd7a5
RA
121892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12190
12191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12192 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12193 cast from r3.
12194 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12195 'tests' variable.
12196 * sysdeps/wordsize-64/tst-writev.c: New file.
12197
2206397e
RA
121982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12199
12200 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12201 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12202 insns in _dl_start to prevent a TOC reference before relocs are
12203 resolved.
12204
e9433893
UD
122052011-02-15 Ulrich Drepper <drepper@gmail.com>
12206
12207 [BZ #12469]
12208 * Makeconfig: Remove RANLIB definition.
12209 * Makerules: Don't use RANLIB.
12210 * aclocal.m4: Remove ranlib test.
12211 * configure.in: No need to check for ranlib.
12212 * elf/rtld-Rules: Don't use RANLIB.
12213
f75286c6
ST
122142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12215
8e31c82d
ST
12216 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12217 protection macro.
12218 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12219 inclusion protection macro.
12220
f75286c6
ST
12221 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12222 SIGRTMIN and SIGRTMAX and print information in that case only when
12223 SIGRTMIN is defined.
12224
c1d0e639
JJ
122252011-02-11 Jakub Jelinek <jakub@redhat.com>
12226
12227 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12228 arginfo fn returning -1.
12229
12230 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12231 and thousands string is zero terminated.
12232
edf9294e
AS
122332011-02-03 Andreas Schwab <schwab@redhat.com>
12234
12235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12236 sysdeps/unix/sysv/linux/bits/socket.h.
12237
2b7e92df
ST
122382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12239
edf9294e
AS
12240 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12241 (__CPU_COUNT): Remove old macros.
12242 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12243 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12244 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12245 (__sched_cpualloc, __sched_cpufree): Add declarations.
12246
a4c7ea7b
UD
122472011-02-05 Ulrich Drepper <drepper@gmail.com>
12248
12249 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12250 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12251 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12252 (readdhstai): Return value of addhstaiX call.
12253 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12254 (addgrbyX): Return value returned by cache_addgr.
12255 (readdgrbyname): Return value returned by addgrbyX.
12256 (readdgrbygid): Likewise.
12257 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12258 (addpwbyX): Return value returned by cache_addpw.
12259 (readdpwbyname): Return value returned by addhstbyX.
12260 (readdpwbyuid): Likewise.
12261 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12262 (addservbyX): Return value returned by cache_addserv.
12263 (readdservbyname): Return value returned by addservbyX:
12264 (readdservbyport): Likewise.
12265 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12266 (addhstbyX): Return value returned by cache_addhst.
12267 (readdhstbyname): Return value returned by addhstbyX.
12268 (readdhstbyaddr): Likewise.
12269 (readdhstbynamev6): Likewise.
12270 (readdhstbyaddrv6): Likewise.
12271 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12272 (readdinitgroups): Return value returned by addinitgroupsX.
12273 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12274 (prune_cache): Keep track of timeout value of re-added entries.
12275 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12276 * nscd/nscd.h: Adjust prototypes of readd* functions.
12277
a0bf67cc
RM
122782011-02-04 Roland McGrath <roland@redhat.com>
12279
12280 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12281 (nis_stats): Likewise.
12282 * nis/nis_modify.c (nis_modify): Likewise.
12283 * nis/nis_remove.c (nis_remove): Likewise.
12284 * nis/nis_add.c (nis_add): Likewise.
12285
12286 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12287
12288 * posix/fnmatch_loop.c: Add some consts.
12289
12290 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12291
435b95eb
L
122922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12293
12294 [BZ #12460]
12295 * config.make.in (config-cflags-novzeroupper): Define.
12296 * configure.in: Substitute libc_cv_cc_novzeroupper.
12297 * elf/Makefile (AVX-CFLAGS): Define.
12298 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12299 (CFLAGS-tst-auditmod4a.c): Likewise.
12300 (CFLAGS-tst-auditmod4b.c): Likewise.
12301 (CFLAGS-tst-auditmod6b.c): Likewise.
12302 (CFLAGS-tst-auditmod6c.c): Likewise.
12303 (CFLAGS-tst-auditmod7b.c): Likewise.
12304 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12305
8517b15e
UD
123062011-02-02 Ulrich Drepper <drepper@gmail.com>
12307
12308 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12309 function to the callback.
12310 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12311
10a656fe
AS
123122011-02-02 Andreas Schwab <schwab@redhat.com>
12313
12314 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12315 of errno.
12316
968dad0a
UD
123172011-01-19 Ulrich Drepper <drepper@gmail.com>
12318
9f94d2ea 12319 [BZ #11724]
968dad0a
UD
12320 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12321 of constructors.
12322 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12323 of destructors.
12324 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12325
12326 [BZ #11724]
12327 * elf/Makefile: Add rules to build and run new test.
12328 * elf/tst-initorder.c: New file.
12329 * elf/tst-initorder.exp: New file.
12330 * elf/tst-initordera1.c: New file.
12331 * elf/tst-initordera2.c: New file.
12332 * elf/tst-initordera3.c: New file.
12333 * elf/tst-initordera4.c: New file.
12334 * elf/tst-initorderb1.c: New file.
12335 * elf/tst-initorderb2.c: New file.
12336 * elf/tst-order-a1.c: New file.
12337 * elf/tst-order-a2.c: New file.
12338 * elf/tst-order-a3.c: New file.
12339 * elf/tst-order-a4.c: New file.
12340 * elf/tst-order-b1.c: New file.
12341 * elf/tst-order-b2.c: New file.
12342 * elf/tst-order-main.c: New file.
12343 New test case by George Gensure <werkt0@gmail.com>.
12344
86e92359
UD
123452010-10-01 Andreas Schwab <schwab@redhat.com>
12346
12347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12348 decoding ACE if AI_CANONIDN.
12349
5d5732b0
UD
123502011-01-18 Ulrich Drepper <drepper@gmail.com>
12351
12352 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12353
a77e8cbc
UD
123542011-01-17 Ulrich Drepper <drepper@gmail.com>
12355
6392473f
UD
12356 * version.h (RELEASE): Bump for 2.13 release.
12357 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12358
620a0529
UD
12359 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12360
18ba70a5
UD
12361 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12362 MADV_NOHUGEPAGE.
32465c3e
UD
12363 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12365 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12366 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12369
c0dafcf1
UD
12370 * posix/getconf.c: Update copyright year.
12371 * catgets/gencat.c: Likewise.
12372 * csu/version.c: Likewise.
12373 * debug/catchsegv.sh: Likewise.
12374 * debug/xtrace.sh: Likewise.
12375 * elf/ldconfig.c: Likewise.
12376 * elf/ldd.bash.in: Likewise.
12377 * elf/sprof.c (print_version): Likewise.
12378 * iconv/iconv_prog.c: Likewise.
12379 * iconv/iconvconfig.c: Likewise.
12380 * locale/programs/locale.c: Likewise.
12381 * locale/programs/localedef.c: Likewise.
12382 * malloc/memusage.sh: Likewise.
12383 * malloc/mtrace.pl: Likewise.
12384 * nscd/nscd.c (print_version): Likewise.
12385 * nss/getent.c: Likewise.
12386
a77e8cbc
UD
12387 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12388 PF_CAIF, and PF_ALG.
12389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12390
77e8bddf
AS
123912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12392
1f20b93a
AS
12393 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12394 (modules-names): Use them.
12395 (ifunc-test-modules, ifunc-pie-tests): Define.
12396 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12397 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12398 (test-extras): Likewise.
12399 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12400 $(compile-command.c).
12401 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12402 (all-built-dso): Define.
12403 (check-textrel.out, check-execstack.out): Depend on it.
12404
77e8bddf
AS
12405 * configure.in: Don't override --enable-multi-arch.
12406
bc425b33
UD
124072011-01-15 Ulrich Drepper <drepper@gmail.com>
12408
12409 [BZ #6812]
12410 * nscd/hstcache.c (tryagain): Define.
12411 (cache_addhst): Return tryagain not notfound for temporary errors.
12412 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12413 failed.
12414
794c3ad3
UD
124152011-01-14 Ulrich Drepper <drepper@gmail.com>
12416
70181fdd
UD
12417 [BZ #10563]
12418 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12419 to make the syscall.
12420 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12421
794c3ad3
UD
12422 [BZ #12378]
12423 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12424 and fall back to matching as normal character if the string ends before
12425 the matching ']' is found. This is what POSIX requires.
12426 * posix/testfnm.c: Adjust test result.
12427 * posix/globtest.sh: Adjust test result. Add new test.
12428 * posix/tst-fnmatch.input: Likewise.
12429 * posix/tst-fnmatch2.c: Add new test.
12430
68dc9497
AS
124312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12432
12433 * elf/Makefile (check-execstack): Revert last change. Depend on
12434 check-execstack.h.
12435 (check-execstack.h): New target.
12436 (generated): Add check-execstack.h.
12437 * elf/check-execstack.c: Include "check-execstack.h".
12438 (main): Revert last change.
12439 (handle_file): Return zero if GNU_STACK is absent and
12440 DEFAULT_STACK_PERMS doesn't include PF_X.
12441
451f001b
UD
124422011-01-13 Ulrich Drepper <drepper@gmail.com>
12443
cfa28e56
UD
12444 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12445 in child fails because the descriptor is already closed.
8cf8ce17
UD
12446 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12447 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12448 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12449
1086d70d
UD
12450 [BZ #12397]
12451 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12452 syscall.
12453
451f001b
UD
12454 [BZ #10484]
12455 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12456 temporary buffer used to handle multi lookups locally.
a85b5cb4 12457 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12458
08769175
UD
124592011-01-12 Ulrich Drepper <drepper@gmail.com>
12460
12461 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12462 loader is ld.so.
12463
5e49c52e
UD
124642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12465
12466 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12467 alignment for SSE2.
12468
60522a5f
UD
124692011-01-12 Ulrich Drepper <drepper@gmail.com>
12470
12471 [BZ #12394]
12472 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12473 characters. When rounding increased number of integer digits recompute
12474 number of groups.
12475 * stdio-common/tst-grouping.c: New file.
12476 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12477
f257bbd7
UD
124782011-01-09 Ulrich Drepper <drepper@gmail.com>
12479
12480 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12481 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12482
12483 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12484 void.
12485 * bits/select.h: Likewise.
12486
fa9c15cb
UD
124872011-01-08 Ulrich Drepper <drepper@gmail.com>
12488
12489 * po/ja.po: Update from translation team.
12490
16c2895f
DM
124912011-01-04 David S. Miller <davem@sunset.davemloft.net>
12492
12493 [BZ #11155]
12494 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12495 implementation just like for lxstat, fxstatat, et al.
12496
2543fef2
JM
124972010-12-27 Jim Meyering <meyering@redhat.com>
12498
12499 [BZ #12348]
12500 * posix/regexec.c (build_trtable): Return failure indication upon
12501 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12502
98727dbe
UD
125032010-12-25 Ulrich Drepper <drepper@gmail.com>
12504
5bd6dc5c
UD
12505 [BZ #12201]
12506 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12507 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12509 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12510
97983464
UD
12511 [BZ #12207]
12512 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12513
98727dbe
UD
12514 [BZ #12204]
12515 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12516 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12517
4a531bb0
L
125182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12519
12520 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12521 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12522 script has SORT_BY_INIT_PRIORITY.
12523 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12524 NO_CTORS_DTORS_SECTIONS is defined.
12525 * elf/soinit.c: Likewise.
12526 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12527 NO_CTORS_DTORS_SECTIONS is defined.
12528 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12529 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12530 * sysdeps/sh/init-first.c: Likewise.
12531 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12532
07eb4b71
UD
125332010-12-24 Ulrich Drepper <drepper@gmail.com>
12534
12535 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12536 always use the slow path.
12537
30950a5f
RA
125382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12539
12540 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12541 similar rule which adds the sysdep directories to the header search in
12542 order to pick up the correct platform stackinfo.h.
12543 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12544 perform test if it is, otherwise return successfully without testing.
12545 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12546 DEFAULT_STACK_PERMS define in stackinfo.h.
12547 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12548 defined in stackinfo.h.
12549 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12550 DEFAULT_STACK_PERMS defined in stackinfo.h.
12551 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12552 * sysdeps/ia64/stackinfo.h: Likewise.
12553 * sysdeps/s390/stackinfo.h: Likewise.
12554 * sysdeps/sh/stackinfo.h: Likewise.
12555 * sysdeps/sparc/stackinfo.h: Likewise.
12556 * sysdeps/x86_64/stackinfo.h: Likewise.
12557 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12558 PF_X for powerpc64. Retain PF_X for powerpc32.
12559
db753e2c
UD
125602010-12-19 Ulrich Drepper <drepper@gmail.com>
12561
14b697f7
UD
12562 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12563 accurately.
db753e2c
UD
12564 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12565 GETDENTS_64BIT_ALIGNED.
12566
28300719
UD
125672010-12-14 Ulrich Drepper <dreper@gmail.com>
12568
14b697f7 12569 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12570
4f197237
AS
125712010-12-10 Andreas Schwab <schwab@redhat.com>
12572
dbb0472f
AS
12573 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12574 _GNU_SOURCE.
12575
4f197237
AS
12576 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12577 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12578 Remove __restrict.
12579 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12580 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12581
fb88ac72
UD
125822010-12-09 Ulrich Drepper <drepper@gmail.com>
12583
12584 [BZ #11655]
12585 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12586 are initialized.
12587
42acbb92
JJ
125882010-12-09 Jakub Jelinek <jakub@redhat.com>
12589
12590 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12591
c038d98d
UD
125922010-12-03 Ulrich Drepper <drepper@gmail.com>
12593
12594 * po/it.po: Update from translation team.
12595
3a4a2499
L
125962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12597
12598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12599 unused codes.
12600
1e24cf6e
UD
126012010-11-30 Ulrich Drepper <drepper@gmail.com>
12602
12603 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12604
a7690819
AS
126052010-11-24 Andreas Schwab <schwab@redhat.com>
12606
12607 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12608 specially.
12609 (gaih_getanswer_slice): Likewise.
12610
3bf8d1b1
JJ
126112010-10-20 Jakub Jelinek <jakub@redhat.com>
12612
12613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12614
6db52fbb
PB
126152010-05-31 Petr Baudis <pasky@suse.cz>
12616
12617 [BZ #11149]
12618 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12619 silently even in the chroot mode.
12620
eaca7569
UD
126212010-11-22 Ulrich Drepper <drepper@gmail.com>
12622
12623 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12624 last patch a bit. Pretty printing
12625
3056dcdb
UD
126262010-05-31 Petr Baudis <pasky@suse.cz>
12627
12628 [BZ #10085]
12629 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12630 initialization of skip_initgroups_dyn.
12631
cf7c9078
UD
126322010-11-19 Ulrich Drepper <drepper@gmail.com>
12633
12634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12635 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12636
a1fb5e3e
UD
126372010-11-16 Ulrich Drepper <drepper@gmail.com>
12638
12639 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12640
3540d66b
AS
126412010-11-11 Andreas Schwab <schwab@redhat.com>
12642
12643 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12644 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12645 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12646 ($(objpfx)tst-fnmatch-mem): New rule.
12647 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12648 * posix/tst-fnmatch.c (main): Call mtrace.
12649
13b69574
L
126502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12651
12652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12653 Support Intel processor model 6 and model 0x2c.
12654
da93d214
LM
126552010-11-10 Luis Machado <luisgpm@br.ibm.com>
12656
12657 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12658 signed comparison.
12659
8ca52c6e
L
126602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12661
12662 [BZ #12205]
12663 * string/test-strncasecmp.c (check_result): New function.
12664 (do_one_test): Use it.
12665 (check1): New function.
12666 (test_main): Use it.
12667 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12668 Support strcasecmp and strncasecmp.
12669
69da074d
UD
126702010-11-08 Ulrich Drepper <drepper@gmail.com>
12671
12672 [BZ #12194]
12673 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12675
ff02d528
L
126762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12677
12678 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12679 IFUNC support.
12680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12681 memset-x86-64.
12682 * sysdeps/x86_64/multiarch/bzero.S: New file.
12683 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12684 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12685 * sysdeps/x86_64/multiarch/memset.S: New file.
12686 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12688 Set bit_Prefer_SSE_for_memop for Intel processors.
12689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12690 Define.
12691 (index_Prefer_SSE_for_memop): Define.
12692 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12693
344d0b54
LM
126942010-11-04 Luis Machado <luisgpm@br.ibm.com>
12695
12696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12697 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12698
c0dde15b
UD
126992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12700
12701 [BZ #12191]
12702 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12703 (__x86_64_raw_data_cache_size_half): Likewise.
12704 (__x86_64_raw_shared_cache_size): Likewise.
12705 (__x86_64_raw_shared_cache_size_half): Likewise.
12706
12707 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12708 (__x86_64_raw_data_cache_size_half): Likewise.
12709 (__x86_64_raw_shared_cache_size): Likewise.
12710 (__x86_64_raw_shared_cache_size_half): Likewise.
12711 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12712 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12713 and __x86_64_raw_shared_cache_size_half. Round
12714 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12715 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12716 to multiple of 256 bytes.
12717
0e516e0e
MS
127182010-11-03 Ulrich Drepper <drepper@gmail.com>
12719
12720 [BZ #12167]
12721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12722 of inacessible symlinks. Verify result of symlink before returning it.
12723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12724 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12725
0e012e87
ER
127262010-10-28 Erich Ritz <erichritz@gmail.com>
12727
12728 * math/math.h (isinf): Fix typo in comment.
12729
de0ff7bc
UD
127302010-11-01 Ulrich Drepper <drepper@gmail.com>
12731
12732 * po/da.po: Update from translation team.
12733
fa41c84d
UD
127342010-10-26 Ulrich Drepper <drepper@gmail.com>
12735
12736 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12737 is added to the list.
12738
f0967738
AK
127392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12740 Ulrich Drepper <drepper@gmail.com>
12741
12742 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12743 the global list here. Move code to...
12744 (_dl_add_to_namespace_list): ...here. New function.
12745 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12746 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12747 * elf/dl-load.c (lose): Don't remove the element from the list.
12748 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12749 (_dl_map_object): Likewise.
12750
127512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12752
12753 [BZ #12159]
12754 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12755 into all bytes of SSE register.
12756 Patch by Richard Li <richardpku@gmail.com>.
12757
f0967738 127582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12759
12760 [BZ #12140]
12761 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12762 perturbing.
12763
d0b9e94f
MB
127642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12765
12766 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12767 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12768 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12771 submachine.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12773
8e9f92e9
AS
127742010-10-22 Andreas Schwab <schwab@redhat.com>
12775
12776 * include/dlfcn.h (__RTLD_SECURE): Define.
12777 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12778 mode & __RTLD_SECURE instead.
12779 (open_path): Rename preloaded parameter to secure.
12780 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12781 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12782 * elf/dl-deps.c (openaux): Likewise.
12783 * elf/rtld.c (struct map_args): Remove is_preloaded.
12784 (map_doit): Don't use it.
12785 (dl_main): Likewise.
12786 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12787 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12788
bc96fbda
AS
127892010-09-09 Andreas Schwab <schwab@redhat.com>
12790
12791 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12792 (sysd-rules-targets): Remove duplicates.
12793 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12794 rtld-%.$o dependency.
12795
22cd1c9b
AS
127962010-10-18 Andreas Schwab <schwab@redhat.com>
12797
12798 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12799 _dl_map_object do it.
12800
18edac48
UD
128012010-10-19 Ulrich Drepper <drepper@gmail.com>
12802
12803 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12804 fast fma builtins, define the macros in the C99 standard.
12805 (FP_FAST_FMAF): Likewise.
12806 (FP_FAST_FMAL): Likewise.
12807 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12808
12809 * bits/mathdef.h: Update copyright year.
12810 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12811
d2050124
MM
128122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12813
12814 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12815 builtins, define the macros in the C99 standard.
12816 (FP_FAST_FMAF): Likewise.
12817 (FP_FAST_FMAL): Likewise.
12818 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12819 multiply/add.
12820 (FP_FAST_FMAF): Likewise.
12821
475facd1
JJ
128222010-10-15 Jakub Jelinek <jakub@redhat.com>
12823
12824 [BZ #3268]
12825 * math/libm-test.inc (fma_test): Some new testcases.
12826 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12827 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12828 y and infinite z. Do multiplication by C already in long double.
12829 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12831 y and infinite z. Do bitwise or of inexact bit into u.d.
12832 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12833 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12834 * sysdeps/i386/fpu/s_fma.S: Removed.
12835 * sysdeps/i386/fpu/s_fmal.S: Removed.
12836
7c08a05c
JJ
128372010-10-16 Jakub Jelinek <jakub@redhat.com>
12838
12839 [BZ #3268]
12840 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12842 computation is not scheduled after fetestexcept. Fix value
12843 of minimum denormal long double.
12844
f3f7372d
JJ
128452010-10-14 Jakub Jelinek <jakub@redhat.com>
12846
12847 [BZ #3268]
12848 * math/libm-test.inc (fma_test): Add some more tests.
12849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12850 correctly.
12851
14d43591
AS
128522010-10-15 Andreas Schwab <schwab@redhat.com>
12853
12854 * scripts/data/localplt-s390-linux-gnu.data: New file.
12855 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12856
5e908464
JJ
128572010-10-13 Jakub Jelinek <jakub@redhat.com>
12858
12859 [BZ #3268]
12860 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12861 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12862 instead of dbl-64.
12863 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12864 inlines.
12865 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12867 if one of x and y is very large and the other is subnormal.
12868 * sysdeps/s390/fpu/s_fmaf.c: New file.
12869 * sysdeps/s390/fpu/s_fma.c: New file.
12870 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12871 * sysdeps/powerpc/fpu/s_fma.S: New file.
12872 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12873 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12874 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12875
128762010-10-12 Jakub Jelinek <jakub@redhat.com>
12877
12878 [BZ #3268]
12879 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12880 fma tests.
12881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12882 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12883 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12884 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12885 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12886 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12888
b833d51f
UD
128892010-10-12 Ulrich Drepper <drepper@redhat.com>
12890
12891 [BZ #12078]
12892 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12893 * posix/bug-regex31.input: Add test case.
12894
1751705d
UD
128952010-10-11 Ulrich Drepper <drepper@gmail.com>
12896
e9b9cbf5
UD
12897 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12898 * posix/bug-regex31.input: New file.
12899
12900 [BZ #12078]
12901 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12902 (parse_sub_exp): Fix last change, use postorder.
12903
ef06edbe
UD
12904 * posix/bug-regex31.c: New file.
12905 * posix/Makefile: Add rules to build and run bug-regex31.
12906
a129c80d
UD
12907 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12908
12909 [BZ #12078]
12910 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12911
b76b818e
UD
12912 [BZ #12108]
12913 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12914 to have entries in sys_siglist.
12915
1751705d
UD
12916 [BZ #12093]
12917 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12918 be NULL.
12919
9ff8d36f
JJ
129202010-10-07 Jakub Jelinek <jakub@redhat.com>
12921
12922 [BZ #3268]
12923 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12924 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12925 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12926 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12927 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12928 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12929 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12930 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12931 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12932 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12933 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12934 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12935 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12936 * math/ftestexcept.c (fetestexcept): Likewise.
12937 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12938 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12939 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12940 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12941 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12942 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12943 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12944
af325969
UD
129452010-10-11 Ulrich Drepper <drepper@gmail.com>
12946
c579b202 12947 [BZ #12107]
af325969
UD
12948 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12949 newline.
12950
67a67b95
UD
129512010-10-06 Ulrich Drepper <drepper@gmail.com>
12952
12953 * string/bug-strstr1.c: New file.
12954 * string/Makefile: Add rules to build and run bug-strstr1.
12955
5fb308bc
EB
129562010-10-05 Eric Blake <eblake@redhat.com>
12957
12958 [BZ #12092]
12959 * string/str-two-way.h (two_way_long_needle): Always clear memory
12960 when skipping input due to the shift table.
12961
45db99c7
UD
129622010-10-03 Ulrich Drepper <drepper@gmail.com>
12963
3b111893
UD
12964 [BZ #12005]
12965 * malloc/mcheck.c: Handle large requests.
12966
45db99c7
UD
12967 [BZ #12077]
12968 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12969 for strncmp and strncasecmp.
12970 * string/stratcliff.c: Add tests for strcmp and strncmp.
12971 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12972
cf7a1eb8
NI
129732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12974
12975 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12976 __set_fpscr.
12977
6484ba5e
AJ
129782010-09-30 Andreas Jaeger <aj@suse.de>
12979
12980 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12981 (CGROUP_SUPER_MAGIC): Define.
12982 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12983 Handle btrfs and cgroup file systems.
12984 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12985 Likewise.
12986
91c42559
LM
129872010-09-27 Luis Machado <luisgpm@br.ibm.com>
12988
12989 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12990 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12991
87a97932
AK
129922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12993
12994 [BZ #12067]
12995 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12996 trying to locate the ELF header.
12997
c21cc9bc
AS
129982010-09-27 Andreas Schwab <schwab@redhat.com>
12999
13000 [BZ #11611]
13001 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13002 Mask out sign-bit copies when constructing f_fsid.
13003
315970f6
PB
130042010-09-24 Petr Baudis <pasky@suse.cz>
13005
13006 * debug/stack_chk_fail_local.c: Add missing licence exception.
13007 * debug/warning-nop.c: Likewise.
13008
1ac7a2c7
JM
130092010-09-15 Joseph Myers <joseph@codesourcery.com>
13010
13011 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13012 implementing getdents64 using getdents syscall, set d_type if
13013 __ASSUME_GETDENTS32_D_TYPE.
13014
56801c50
AS
130152010-09-16 Andreas Schwab <schwab@redhat.com>
13016
13017 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13018 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13019
dda51327
UD
130202010-09-21 Ulrich Drepper <drepper@redhat.com>
13021
13022 [BZ #12037]
13023 * posix/unistd.h: Undo change of feature selection for ftruncate from
13024 2010-01-11.
13025
8ffcee4a
UD
130262010-09-20 Ulrich Drepper <drepper@redhat.com>
13027
a545ecd9 13028 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13029 detection.
13030
e24f0a8b
AS
130312010-09-20 Andreas Schwab <schwab@redhat.com>
13032
13033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13034 fanotify_mark.
13035 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13036
7291c56f
AS
130372010-09-14 Andreas Schwab <schwab@redhat.com>
13038
13039 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13040 variables after CHECK_SP call.
13041 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13042
bc5fb037
AS
130432010-09-13 Andreas Schwab <schwab@redhat.com>
13044 Ulrich Drepper <drepper@redhat.com>
13045
13046 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13047 re-relocationg ld.so.
13048 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13049 _dl_init_paths call.
13050 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13051 here anymore.
13052
e66e7419
UD
130532010-09-14 Ulrich Drepper <drepper@redhat.com>
13054
13055 * resolv/res_init.c (__res_vinit): Count the default server we added.
13056
c044aa75
CLT
130572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13058 Ulrich Drepper <drepper@redhat.com>
13059
13060 [BZ #11968]
13061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13062 (____longjmp_chk): Use %ebx for saving value across system call.
13063 Add unwind info.
13064
32cf4069
AS
130652010-09-06 Andreas Schwab <schwab@redhat.com>
13066
13067 * manual/Makefile: Don't mix pattern rules with normal rules.
13068
817328ee
AS
130692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13070
13071 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13072 operation.
13073 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13074 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13075 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13076 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13078 Likewise.
13079
29fddf61
UD
130802010-09-04 Ulrich Drepper <drepper@redhat.com>
13081
13082 [BZ #11979]
13083 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13084 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13085
0959ffc9
UD
130862010-09-02 Ulrich Drepper <drepper@redhat.com>
13087
13088 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13089 * sysdeps/x86_64/addmul_1.S: Likewise.
13090 * sysdeps/x86_64/lshift.S: Likewise.
13091 * sysdeps/x86_64/mul_1.S: Likewise.
13092 * sysdeps/x86_64/rshift.S: Likewise.
13093 * sysdeps/x86_64/sub_n.S: Likewise.
13094 * sysdeps/x86_64/submul_1.S: Likewise.
13095
ece29840
ST
130962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13097
0959ffc9
UD
13098 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13099 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13100 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13101 * bits/sched.h [__need_schedparam]
ece29840 13102 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13103 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13104 (__defined_schedparam): Define to 1.
ece29840
ST
13105 (__sched_param): New structure, identical to sched_param.
13106 (__need_schedparam): Undefine.
13107
e53a31fe
MF
131082010-08-31 Mike Frysinger <vapier@gentoo.org>
13109
fdc0c10d
MF
13110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13111 (epoll_create1): Declare.
13112
e53a31fe
MF
13113 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13114
a726d796
AS
131152010-08-31 Andreas Schwab <schwab@redhat.com>
13116
13117 [BZ #7066]
13118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13119 shifting retval into place.
13120
2f3e3dc7
UD
131212010-09-01 Ulrich Drepper <drepper@redhat.com>
13122
f2933da9
UD
13123 * nis/rpcsvc/nis.h: Update copyright notice.
13124 * nis/rpcsvc/nis.x: Likewise.
13125 * nis/rpcsvc/nis_callback.h: Likewise.
13126 * nis/rpcsvc/nis_callback.x: Likewise.
13127 * nis/rpcsvc/nis_object.x: Likewise.
13128 * nis/rpcsvc/nis_tags.h: Likewise.
13129 * nis/rpcsvc/yp.h: Likewise.
13130 * nis/rpcsvc/yp.x: Likewise.
13131 * nis/rpcsvc/ypupd.h: Likewise.
13132 * nis/yp_xdr.c: Likewise.
13133 * nis/ypupdate_xdr.c: Likewise.
13134
2f3e3dc7
UD
13135 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13136 mainly the body of pmap_getport. Add parameters to specify timeouts.
13137 (pmap_getport): Use __libc_rpc_getport.
13138 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13139 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13140 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13141
f3dcc2f9
AS
131422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13143
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13145 fanotify_mark.
13146
6d34eb5b
RM
131472010-08-27 Roland McGrath <roland@redhat.com>
13148
13149 * sysdeps/i386/i686/multiarch/Makefile
13150 (CFLAGS-varshift.c): New variable.
13151
9ea3de11
UD
131522010-08-27 Ulrich Drepper <drepper@redhat.com>
13153
c96d23fc
UD
13154 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13155 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13156
9ea3de11
UD
13157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13158
13159 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13160
623aac7f
L
131612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13162
13163 * sysdeps/x86_64/strlen.S: Unroll the loop.
13164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13165 strlen-sse2 strlen-sse2-bsf.
13166 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13167 __strlen_no_bsf if bit_Slow_BSF is set.
13168 (__strlen_sse42): Removed.
13169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13170 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13171
8b2b7715
RM
131722010-08-25 Roland McGrath <roland@redhat.com>
13173
13174 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13175 * sysdeps/x86_64/multiarch/varshift.c: New file.
13176 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13177 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13178 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13179 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13180
e73015f2
L
131812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13182
13183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13184 strlen-sse2 strlen-sse2-bsf.
13185 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13186 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13187 (__strlen_sse2): Removed.
13188 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13191 bit_Slow_BSF for Atom.
13192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13193 (index_Slow_BSF): Define.
13194 (HAS_SLOW_BSF): Define.
13195
df24a73e
UD
131962010-08-25 Ulrich Drepper <drepper@redhat.com>
13197
13198 [BZ #10851]
13199 * resolv/res_init.c (__res_vinit): When no server address at all
13200 is given default to loopback.
13201
f2ac4868
RM
132022010-08-24 Roland McGrath <roland@redhat.com>
13203
09055553
RM
13204 * configure.in: Remove config-name.h generation.
13205 * configure: Regenerated.
13206 * config-name.in: File removed.
13207 * scripts/config-uname.sh: New file.
13208 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13209 ($(objdir)config-name.h): New target.
13210
f2ac4868
RM
13211 * sunrpc/rpc_parse.h: Avoid nested comment.
13212
73f27d5e
RH
132132010-08-24 Richard Henderson <rth@redhat.com>
13214 Ulrich Drepper <drepper@redhat.com>
13215 H.J. Lu <hongjiu.lu@intel.com>
13216
13217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13219 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13220 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13221 _mm_alignr_epi8 with _mm_loadu_si128.
13222 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13223 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13224 (__m128i_shift_right): Removed.
13225 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13226 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13227 * sysdeps/x86_64/multiarch/varshift.h: New file.
13228 * sysdeps/x86_64/multiarch/varshift.S: New file.
13229
84b9230c
MF
132302010-08-21 Mike Frysinger <vapier@gentoo.org>
13231
13232 * configure.in: Move assembler checks to before sysdep dir checking.
13233
9bbd0ddc
PB
132342010-08-20 Petr Baudis <pasky@suse.cz>
13235
13236 * LICENSES: Sync the sunrpc license.
13237
9da4bb31
UD
132382010-08-19 Ulrich Drepper <drepper@redhat.com>
13239
a7ab6ec8
UD
13240 * sunrpc/auth_des.c: Update copyright notice once again.
13241 * sunrpc/auth_none.c: Likewise.
13242 * sunrpc/auth_unix.c: Likewise.
13243 * sunrpc/authdes_prot.c: Likewise.
13244 * sunrpc/authuxprot.c: Likewise.
13245 * sunrpc/bindrsvprt.c: Likewise.
13246 * sunrpc/clnt_gen.c: Likewise.
13247 * sunrpc/clnt_perr.c: Likewise.
13248 * sunrpc/clnt_raw.c: Likewise.
13249 * sunrpc/clnt_simp.c: Likewise.
13250 * sunrpc/clnt_tcp.c: Likewise.
13251 * sunrpc/clnt_udp.c: Likewise.
13252 * sunrpc/clnt_unix.c: Likewise.
13253 * sunrpc/des_crypt.c: Likewise.
13254 * sunrpc/des_soft.c: Likewise.
13255 * sunrpc/get_myaddr.c: Likewise.
13256 * sunrpc/getrpcport.c: Likewise.
13257 * sunrpc/key_call.c: Likewise.
13258 * sunrpc/key_prot.c: Likewise.
13259 * sunrpc/openchild.c: Likewise.
13260 * sunrpc/pm_getmaps.c: Likewise.
13261 * sunrpc/pm_getport.c: Likewise.
13262 * sunrpc/pmap_clnt.c: Likewise.
13263 * sunrpc/pmap_prot.c: Likewise.
13264 * sunrpc/pmap_prot2.c: Likewise.
13265 * sunrpc/pmap_rmt.c: Likewise.
13266 * sunrpc/rpc/auth.h: Likewise.
13267 * sunrpc/rpc/auth_unix.h: Likewise.
13268 * sunrpc/rpc/clnt.h: Likewise.
13269 * sunrpc/rpc/des_crypt.h: Likewise.
13270 * sunrpc/rpc/key_prot.h: Likewise.
13271 * sunrpc/rpc/netdb.h: Likewise.
13272 * sunrpc/rpc/pmap_clnt.h: Likewise.
13273 * sunrpc/rpc/pmap_prot.h: Likewise.
13274 * sunrpc/rpc/pmap_rmt.h: Likewise.
13275 * sunrpc/rpc/rpc.h: Likewise.
13276 * sunrpc/rpc/rpc_des.h: Likewise.
13277 * sunrpc/rpc/rpc_msg.h: Likewise.
13278 * sunrpc/rpc/svc.h: Likewise.
13279 * sunrpc/rpc/svc_auth.h: Likewise.
13280 * sunrpc/rpc/types.h: Likewise.
13281 * sunrpc/rpc/xdr.h: Likewise.
13282 * sunrpc/rpc_clntout.c: Likewise.
13283 * sunrpc/rpc_cmsg.c: Likewise.
13284 * sunrpc/rpc_common.c: Likewise.
13285 * sunrpc/rpc_cout.c: Likewise.
13286 * sunrpc/rpc_dtable.c: Likewise.
13287 * sunrpc/rpc_hout.c: Likewise.
13288 * sunrpc/rpc_main.c: Likewise.
13289 * sunrpc/rpc_parse.c: Likewise.
13290 * sunrpc/rpc_parse.h: Likewise.
13291 * sunrpc/rpc_prot.c: Likewise.
13292 * sunrpc/rpc_sample.c: Likewise.
13293 * sunrpc/rpc_scan.c: Likewise.
13294 * sunrpc/rpc_scan.h: Likewise.
13295 * sunrpc/rpc_svcout.c: Likewise.
13296 * sunrpc/rpc_tblout.c: Likewise.
13297 * sunrpc/rpc_util.c: Likewise.
13298 * sunrpc/rpc_util.h: Likewise.
13299 * sunrpc/rpcinfo.c: Likewise.
13300 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13301 * sunrpc/rpcsvc/key_prot.x: Likewise.
13302 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13303 * sunrpc/rpcsvc/mount.x: Likewise.
13304 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13305 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13306 * sunrpc/rpcsvc/rex.x: Likewise.
13307 * sunrpc/rpcsvc/rstat.x: Likewise.
13308 * sunrpc/rpcsvc/rusers.x: Likewise.
13309 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13310 * sunrpc/rpcsvc/spray.x: Likewise.
13311 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13312 * sunrpc/rtime.c: Likewise.
13313 * sunrpc/svc.c: Likewise.
13314 * sunrpc/svc_auth.c: Likewise.
13315 * sunrpc/svc_authux.c: Likewise.
13316 * sunrpc/svc_raw.c: Likewise.
13317 * sunrpc/svc_run.c: Likewise.
13318 * sunrpc/svc_simple.c: Likewise.
13319 * sunrpc/svc_tcp.c: Likewise.
13320 * sunrpc/svc_udp.c: Likewise.
13321 * sunrpc/svc_unix.c: Likewise.
13322 * sunrpc/svcauth_des.c: Likewise.
13323 * sunrpc/xcrypt.c: Likewise.
13324 * sunrpc/xdr.c: Likewise.
13325 * sunrpc/xdr_array.c: Likewise.
13326 * sunrpc/xdr_float.c: Likewise.
13327 * sunrpc/xdr_mem.c: Likewise.
13328 * sunrpc/xdr_rec.c: Likewise.
13329 * sunrpc/xdr_ref.c: Likewise.
13330 * sunrpc/xdr_sizeof.c: Likewise.
13331 * sunrpc/xdr_stdio.c: Likewise.
13332
9da4bb31
UD
13333 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13334 handling.
13335
bdaa77bc
AS
133362010-08-19 Andreas Schwab <schwab@redhat.com>
13337
13338 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13339
fe2f79db
LM
133402010-08-19 Luis Machado <luisgpm@br.ibm.com>
13341
13342 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13344 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13345 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13347 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13348 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13349 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13350 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13351 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13352 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13353 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13354 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13355 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13356
b9b42ee0
AB
133572010-07-26 Anton Blanchard <anton@samba.org>
13358
13359 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13360 * malloc/arena.c (heap_trim): Likewise.
13361
1c06ba31
UD
133622010-08-16 Ulrich Drepper <drepper@redhat.com>
13363
13364 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13365 here. Not...
13366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13367 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13368
f8392f40
L
133692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13370
13371 * sysdeps/i386/elf/Makefile: New file.
13372
3162f12e
AS
133732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13374
13375 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13376 from fanotify_init.
13377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13379
28c90b2c
UD
133802010-08-15 Ulrich Drepper <drepper@redhat.com>
13381
13382 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13383 of strncasecmp_l.
1feccb6c 13384 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13385
ca6bb004
UD
133862010-08-14 Ulrich Drepper <drepper@redhat.com>
13387
e9f82e0d
UD
13388 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13389 strncase_l-nonascii.
13390 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13391 Add strncase_l-ssse3.
13392 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13393 * sysdeps/x86_64/strcmp.S: Likewise.
13394 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13395 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13396 * sysdeps/x86_64/strncase.S: New file.
13397 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13398 * sysdeps/x86_64/strncase_l.S: New file.
13399 * string/Makefile (strop-tests): Add strncasecmp.
13400 * string/test-strncasecmp.c: New file.
13401
13402 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13403 warning.
13404
ca6bb004
UD
13405 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13406 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13407
052fa7b3
AS
134082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13409
13410 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13411
962dba78
UD
134122010-08-12 Ulrich Drepper <drepper@redhat.com>
13413
13414 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13415 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13416 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13417
bebff237
AM
134182010-05-01 Alan Modra <amodra@gmail.com>
13419
13420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13421 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13422 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13423 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13424 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13425 tidying. Don't tail-call __sigjmp_save for static lib.
13426 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13427 save location.
13428 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13429 (CALL_MCOUNT): Add eh info, and nop after bl.
13430 (TAIL_CALL_SYSCALL_ERROR): New macro.
13431 (PSEUDO_RET): Use it.
13432 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13433 Correct save location of integer regs and cr.
13434 (_dl_profile_resolve): Correct cr save location. Delete nops
13435 after bl when SHARED. Reduce cfi size a little by better
13436 placement of cfi directives.
13437 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13438 make a stack frame. Instead use parm save area as a temp.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13440 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13442 Don't make a stack frame for parent, use parm save area.
13443 Increase child stack frame to 112 bytes. Don't save unused reg,
13444 and adjust reg usage. Set up cfi on error recovery and
13445 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13447 (__makecontext): Add dummy nop after jump to exit.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13449 Use correct parm save area and cr save, reduce stack frame.
13450 Correct cfi for possible PSEUDO_RET frame setup.
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13452 Branch to local label emitted by PSEUDO_RET rather than
13453 __syscall_error.
13454
02637374
AS
134552010-08-12 Andreas Schwab <schwab@redhat.com>
13456
13457 [BZ #11904]
13458 * locale/programs/locale.c (print_assignment): New function.
13459 (show_locale_vars): Use it.
13460
c3e2f19b
UD
134612010-08-11 Ulrich Drepper <drepper@redhat.com>
13462
3cdaa6ad
UD
13463 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13464 field.
13465 (struct statfs64): Likewise.
13466 (_STATFS_F_FLAGS): Define.
13467 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13469 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13470 (ST_VALID): Define locally.
13471 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13472 __statvfs_getflags, use the provided value.
13473 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13474 __ASSUME_STATFS_F_FLAGS.
13475
754f7da3
UD
13476 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13477
10b3bedc
UD
13478 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13479 Add sys/fanotify.h.
13480 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13481 fanotify_mask for GLIBC_2.13.
13482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13483 fanotify_init and fanotify_mark.
13484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13485 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13486
c08fb0d7
UD
13487 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13488 Add prlimit.
13489 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13490 prlimit64 for GLIBC_2.13.
13491 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13492 prlimit64.
13493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13494 syscall.
13495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13496 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13497 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13500 add prlimit alias.
13501 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13502
15bac72b
UD
13503 [BZ #11903]
13504 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13505 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13506
c3e2f19b
UD
13507 * nss/Makefile: Add rules to build and run tst-nss-test1.
13508 * shlib-versions: Add entry for libnss_test1.
13509 * nss/nss_test1.c: New file.
13510 * nss/tst-nss-test1.c: New file.
13511
13512 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13513 (__nss_configure_lookup): Set appropriate entry in
13514 __nss_configure_lookup to true.
13515 * nss/nsswitch.h: Define enum with indeces of databases in
13516 databases and __nss_database_custom arrays. Declare
13517 __nss_database_custom.
13518 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13519 to avoid using nscd when custom rules are installed.
13520 * nss/getXXbyYY_r.c: Likewise.
13521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13522
13523 * nss/nss_files/files-parse.c: Whitespace fixes.
13524
f15ce4d8
UD
135252010-08-09 Ulrich Drepper <drepper@redhat.com>
13526
13527 [BZ #11883]
13528 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13529 * posix/fnmatch_loop.c: Likewise.
13530
d22e4cc9
AK
135312010-07-17 Andi Kleen <ak@linux.intel.com>
13532
13533 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13534 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13535 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13536 * Versions.def [GLIBC_2.13]: Add.
13537
805bc17d
UD
135382010-08-06 Ulrich Drepper <drepper@redhat.com>
13539
13540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13541 Also fail if tpwd after pwuid call is NULL.
13542
5a42321d
ST
135432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13544
13545 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13546 when converting to ms.
13547
fd3ebeda
ST
135482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13549
13550 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13551 EOPNOTSUPP errors with ENOTTY.
13552 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13553 EOPNOTSUPP errors with ENOTTY.
13554
73507d3a
UD
135552010-07-31 Ulrich Drepper <drepper@redhat.com>
13556
13557 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13558 Add strcasecmp_l-ssse3.
13559 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13560 strcasecmp.
13561 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13562 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13563 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13564
fe36dd02
UD
135652010-07-30 Ulrich Drepper <drepper@redhat.com>
13566
66f6765a
UD
13567 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13568
42e08a54
UD
13569 * string/Makefile (strop-tests): Add strcasecmp.
13570 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13571 strcasecmp_l-nonascii.
13572 (gen-as-const-headers): Add locale-defines.sym.
13573 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13574 * sysdeps/x86_64/strcasecmp.S: New file.
13575 * sysdeps/x86_64/strcasecmp_l.S: New file.
13576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13577 * sysdeps/x86_64/locale-defines.sym: New file.
13578 * string/test-strcasecmp.c: New file.
13579
fe36dd02
UD
13580 * string/test-strcasestr.c: Test both ends of the range of characters.
13581 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13582
48cbc0d6
RM
135832010-07-29 Roland McGrath <roland@redhat.com>
13584
76e6d6bc 13585 [BZ #11856]
48cbc0d6
RM
13586 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13587
880113d9
UD
135882010-07-27 Ulrich Drepper <drepper@redhat.com>
13589
13590 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13591 for ld.so.
13592
deb9cabb
AS
135932010-07-27 Andreas Schwab <schwab@redhat.com>
13594
13595 * manual/memory.texi (Malloc Tunable Parameters): Document
13596 M_PERTURB.
13597
1c7570ff
RM
135982010-07-26 Roland McGrath <roland@redhat.com>
13599
13600 [BZ #11840]
13601 * configure.in (-fgnu89-inline check): Set and substitute
13602 gnu89_inline, not libc_cv_gnu89_inline.
13603 * configure: Regenerated.
13604 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13605
24fb0f88
UD
136062010-07-26 Ulrich Drepper <drepper@redhat.com>
13607
13608 * string/test-strnlen.c: New file.
13609 * string/Makefile (strop-tests): Add strnlen.
13610 * string/tester.c (test_strnlen): Add a few more test cases.
13611 * string/tst-strlen.c: Better error reporting.
13612
13613 * sysdeps/x86_64/strnlen.S: New file.
13614
8e96b93a
UD
136152010-07-24 Ulrich Drepper <drepper@redhat.com>
13616
13617 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13618 lower-latency instructions.
13619
dbc676d4
UD
136202010-07-23 Ulrich Drepper <drepper@redhat.com>
13621
13622 * string/test-strcasestr.c: New file.
13623 * string/test-strstr.c: New file.
13624 * string/Makefile (strop-tests): Add strstr and strcasestr.
13625 * string/str-two-way.h: Don't undefine MAX.
13626 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13627
f6a31e0e
AS
136282010-07-21 Andreas Schwab <schwab@redhat.com>
13629
13630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13631 strcasestr-nonascii.
13632 (CFLAGS-strcasestr-nonascii.c): Define.
13633 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13635 Remove unused attribute.
13636
5dbc3b6c
RM
136372010-07-20 Roland McGrath <roland@redhat.com>
13638
13639 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13640 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13641 ld.so.cache was broken. With it, there is no way to disable dsocaps
13642 like LD_HWCAP_MASK can disable hwcaps.
13643
23d101d8
EPM
136442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13645
13646 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13647
cc9f2e47
UD
136482010-07-16 Ulrich Drepper <drepper@redhat.com>
13649
13650 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13651 call in strcasestr.
13652 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13653 __strcasestr_sse42_nonascii.
13654 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13655 strcasestr-nonascii.c.
13656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13657
77c1b069
LM
136582010-06-15 Luis Machado <luisgpm@br.ibm.com>
13659
13660 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13662 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13664
440566c3
UD
136652010-07-09 Ulrich Drepper <drepper@redhat.com>
13666
13667 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13668 fcntl.
13669
5be9d05d
AS
136702010-07-06 Andreas Schwab <schwab@redhat.com>
13671
c30b7ee2 13672 [BZ #11577]
5be9d05d
AS
13673 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13674 dl_signal_cerror.
13675
8a492a67
UD
136762010-07-06 Ulrich Drepper <drepper@redhat.com>
13677
13678 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13679 _PC_PIPE_BUF using F_GETPIPE_SZ.
13680
713df3d5
RM
136812010-07-05 Roland McGrath <roland@redhat.com>
13682
13683 * manual/arith.texi (Rounding Functions): Fix rint description
13684 implicit in round description.
13685
702e8f14
UD
136862010-07-02 Ulrich Drepper <drepper@redhat.com>
13687
13688 * elf/Makefile: Fix linking for a few tests to make recent linker
13689 happy.
13690
52ed8be9
AS
136912010-06-30 Andreas Schwab <schwab@redhat.com>
13692
13693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13694 $(common-objpfx)libc_nonshared.a.
13695
f47c9a11
LM
136962010-06-21 Luis Machado <luisgpm@br.ibm.com>
13697
13698 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13699 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13700 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13701 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13702 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13703 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13704 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13705 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13720 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13721 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13722 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13723 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13724 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13725 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13726 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13727 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13728 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13729 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13730 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13731 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13746
6fb8cbcb
L
137472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13748
13749 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13750 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13751 * string/memmove.c (memmove): Renamed to ...
13752 (MEMMOVE): ...this. Default to memmove.
13753 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13754 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13755 (END_CHK): Define.
13756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13757 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13758 mempcpy-ssse3-back memmove-ssse3-back.
13759 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13762 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13763 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13764 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13765 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13766 * sysdeps/x86_64/multiarch/memmove.c: New file.
13767 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13768 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13769 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13770 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13771 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13772 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13773 Define.
13774 (index_Fast_Copy_Backward): Define.
13775 (HAS_ARCH_FEATURE): Define.
13776 (HAS_FAST_REP_STRING): Define.
13777 (HAS_FAST_COPY_BACKWARD): Define.
13778
4e733bac 137792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13780
13781 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13782 Restore proper fallback handling.
13783
63c4ed22
UD
137842010-06-19 Ulrich Drepper <drepper@redhat.com>
13785
ac2b484c
UD
13786 [BZ #11701]
13787 * posix/group_member.c (__group_member): Correct checking loop.
13788
63c4ed22
UD
13789 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13790 OOM in getpwuid_r correctly. Return error number when the caller
13791 should return, otherwise -1.
13792 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13793 call returning > 0 value.
13794 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13795
765ade4b
AS
137962010-06-07 Andreas Schwab <schwab@redhat.com>
13797
13798 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13799 libc_nonshared.a from targets in modules-names.
13800
80da2e09
KS
138012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13802
13803 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13804 requires it.
13805
158db122
LM
138062010-06-10 Luis Machado <luisgpm@br.ibm.com>
13807
13808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13809 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13812
caa78cf8
AS
138132010-06-02 Andreas Schwab <schwab@redhat.com>
13814
13815 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13816
b2ef2c01
UD
138172010-06-14 Ulrich Drepper <drepper@redhat.com>
13818
13819 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13820 and F_GETPIPE_SZ.
13821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13825 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13827
fbd643b6
RM
138282010-06-14 Roland McGrath <roland@redhat.com>
13829
13830 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13831
f32f2869
JJ
138322010-06-07 Jakub Jelinek <jakub@redhat.com>
13833
13834 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13835 __REDIRECT followed by __THROW.
13836 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13837 * posix/getopt.h (getopt): Likewise.
13838
2a50c078
EPM
138392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13840
13841 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13842 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13843 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13844 in AT_FLAGS.
13845 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13846 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13847
eb5ad2eb
LM
138482010-05-28 Luis Machado <luisgpm@br.ibm.com>
13849
13850 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13851
3c88fe1e
L
138522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13853
13854 [BZ #11640]
13855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13856 Properly check family and model.
13857
d2f73151
TY
138582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13859
13860 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13861
ebd2e13d
LM
138622010-05-24 Luis Machado <luisgpm@br.ibm.com>
13863
13864 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13865
b32b8b45
UD
138662010-05-21 Ulrich Drepper <drepper@redhat.com>
13867
13868 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13869 symbol reference.
13870
9acbe24d
AS
138712010-05-19 Andreas Schwab <schwab@redhat.com>
13872
13873 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13874 symbol reference.
13875
f0ccf6ea
AS
138762010-05-21 Andreas Schwab <schwab@redhat.com>
13877
3d04ff3a
AS
13878 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13879 and internal_recvmmsg.
13880 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13881 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13882 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13883 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13884
f0ccf6ea
AS
13885 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13886 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13887 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13888
5b08ac57
AS
138892010-05-20 Andreas Schwab <schwab@redhat.com>
13890
13891 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13892
4828935d
LM
138932010-05-17 Luis Machado <luisgpm@br.ibm.com>
13894
13895 POWER7 optimizations.
13896 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13897 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13898
373d545e
UD
138992010-05-19 Ulrich Drepper <drepper@redhat.com>
13900
13901 * version.h: Update for 2.13 development version.
13902
21a2b1ae
AS
139032010-05-12 Andrew Stubbs <ams@codesourcery.com>
13904
13905 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13906 exceptions. Return 0.
13907
3f7dcb2b
RM
139082010-05-07 Roland McGrath <roland@redhat.com>
13909
13910 * elf/ldconfig.c (main): Add a const.
13911
5f24d53a 139122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13913
a160f8d8
UD
13914 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13915 (args_options): Add no-idn option.
13916 (ahosts_keys_int): Add idn_flags to ai_flags.
13917 (parse_option): Handle 'i' option to clear idn_flags.
13918
5f24d53a
UD
13919 * malloc/malloc.c (_int_free): Possible race in the most recently
13920 added check. Only act on the data if no current modification
13921 happened.
265bb1ce
UD
13922
13923See ChangeLog.17 for earlier changes.